[Webkit-unassigned] [Bug 218079] New: Few webkitpy tests fail for machines in non-PST timezones

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 22 07:43:46 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218079

            Bug ID: 218079
           Summary: Few webkitpy tests fail for machines in non-PST
                    timezones
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aakash_jain at apple.com

Few webkitpy tests fail for machines in non-PST timezones. They pass when I manually change the timezone to PST in my system preferences. Especially 'Last Changed Date' in the testcases seems to vary by timezone.

======================================================================================================
[1543/1960] webkitscmpy.test.git_unittest.TestGit.test_info failed:                                                                       
  Traceback (most recent call last):
    File "/Volumes/Data/aakash_jain/code5/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py", line 101, in test_info
      }, local.Git(self.path).info(),
  AssertionError: {'Last Changed Date': '2020-10-02 11:56:40', 'Node Kind': 'directory', 'Last Cha [truncated]... != {u'Node Kind': u'directory', u'Schedule': u'normal', u'URL': u'git at webkit.org:/m [truncated]...
  Diff is 908 characters long. Set self.maxDiff to None to see it.

[1593/1960] webkitscmpy.test.find_unittest.TestFind.test_standard failed:
  Traceback (most recent call last):
    File "/Volumes/Data/aakash_jain/code5/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py", line 128, in test_standard
      ''',
  AssertionError: 'Title: 4th commit\nAuthor: Jonathan Bedard <jbedard at apple.com>\nIdentifier: 3 at main\nDate: Fri Oct 02 14:23:20 2020\nRevision: 4\nHash: 1abe25b443e9\n' != 'Title: 4th commit\nAuthor: Jonathan Bedard <jbedard at apple.com>\nIdentifier: 3 at main\nDate: Fri Oct 02 11:23:20 2020\nRevision: 4\nHash: 1abe25b443e9\n'

[1706/1960] webkitscmpy.test.find_unittest.TestFind.test_verbose failed:
  Traceback (most recent call last):
    File "/Volumes/Data/aakash_jain/code5/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py", line 147, in test_verbose
      ''',
  AssertionError: 'Title: 4th commit\nAuthor: Jonathan Bedard <jbedard at apple.com>\nIdentifier: 3 at main\nDate: Fri Oct 02 14:23:20 2020\nRevision: 4\nHash: 1abe25b443e9\n    4th commit\n    svn-id: https://svn.webkit.orgrepository/repository/trunk@4 268f45cc-cd09-0410-ab3c-d52691b4dbfc\n' != 'Title: 4th commit\nAuthor: Jonathan Bedard <jbedard at apple.com>\nIdentifier: 3 at main\nDate: Fri Oct 02 11:23:20 2020\nRevision: 4\nHash: 1abe25b443e9\n    4th commit\n    svn-id: https://svn.webkit.orgrepository/repository/trunk@4 268f45cc-cd09-0410-ab3c-d52691b4dbfc\n'

[1748/1960] webkitscmpy.test.svn_unittest.TestSvn.test_info failed:
  Traceback (most recent call last):
    File "/Volumes/Data/aakash_jain/code5/OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py", line 93, in test_info
      }, local.Svn(self.path).info(),
  AssertionError: {u'NodeKind': u'directory', u'URL': u'https://svn.mock.org/repository/repository [truncated]... != {u'NodeKind': u'directory', u'Last Changed Rev': u'6', u'Schedule': u'normal', u [truncated]...
    {u'Last Changed Author': u'jbedard at apple.com',
  -  u'Last Changed Date': u'2020-10-02 11:58:20 -0100 (Fri, 02 Oct 2020)',
  ?                                      ^

  +  u'Last Changed Date': u'2020-10-02 14:58:20 -0100 (Fri, 02 Oct 2020)',
  ?                                      ^

     u'Last Changed Rev': u'6',
     u'NodeKind': u'directory',
     u'Path': u'.',
     u'Relative URL': u'^/trunk',
     u'Repository Root': u'https://svn.mock.org/repository/repository',
     u'Revision': u'6',
     u'Schedule': u'normal',
     u'URL': u'https://svn.mock.org/repository/repository/trunk',
     u'Working Copy Root Path': u'/mock/repository'}

======================================================================================================

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201022/ae0af045/attachment-0001.htm>


More information about the webkit-unassigned mailing list