[Webkit-unassigned] [Bug 225741] New: Few webkitpy unit-tests fails in non-PST timezones

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 03:00:36 PDT 2021


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

            Bug ID: 225741
           Summary: Few webkitpy unit-tests fails in non-PST timezones
           Product: WebKit
           Version: WebKit Nightly Build
          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

[Scripts]$./test-webkitpy
...
[1450/1990] webkitscmpy.test.svn_unittest.TestRemoteSvn.test_commits_branch failed:                                                       
  Traceback (most recent call last):
    File "OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py", line 374, in test_commits_branch
      ]), Commit.Encoder().default(list(svn.commits(begin=dict(argument='r1'), end=dict(argument='r7')))))
  AssertionError: Lists differ: [{'re[47 chars]1601640900, 'order': 0, 'message': '7th commit[809 chars]nk'}] != [{'re[47 chars]1601651700, 'order': 0, 'message': '7th commit[809 chars]nk'}]

  First differing element 0:
  {'rev[46 chars]1601640900, 'order': 0, 'message': '7th commit[128 chars]h-a'}
  {'rev[46 chars]1601651700, 'order': 0, 'message': '7th commit[128 chars]h-a'}

  Diff is 1372 characters long. Set self.maxDiff to None to see it.

[1802/1990] webkitscmpy.test.svn_unittest.TestRemoteSvn.test_commits failed:
  Traceback (most recent call last):
    File "OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py", line 364, in test_commits
      ]), Commit.Encoder().default(list(svn.commits(begin=dict(revision='r1'), end=dict(revision='r6')))))
  AssertionError: Lists differ: [{'re[44 chars]1601639900, 'order': 0, 'message': '6th commit[796 chars]nk'}] != [{'re[44 chars]1601650700, 'order': 0, 'message': '6th commit[796 chars]nk'}]

  First differing element 0:
  {'rev[43 chars]1601639900, 'order': 0, 'message': '6th commit[123 chars]unk'}
  {'rev[43 chars]1601650700, 'order': 0, 'message': '6th commit[123 chars]unk'}

    [{'author': {'emails': ['jbedard at apple.com'], 'name': 'jbedard at apple.com'},
      'branch': 'trunk',
      'identifier': '4 at trunk',
      'message': '6th commit',
      'order': 0,
      'repository_id': 'webkit',
      'revision': 6,
  -   'timestamp': 1601639900},
  ?                     ^^^

  +   'timestamp': 1601650700},
  ?                     ^^^

     {'author': {'emails': ['jbedard at apple.com'], 'name': 'jbedard at apple.com'},
      'branch': 'trunk',
      'identifier': '3 at trunk',
      'message': '4th commit',
      'order': 0,
      'repository_id': 'webkit',
      'revision': 4,
  -   'timestamp': 1601637900},
  ?                     ^ -

  +   'timestamp': 1601648700},
  ?                     ^^

     {'author': {'emails': ['jbedard at apple.com'], 'name': 'jbedard at apple.com'},
      'branch': 'trunk',
      'identifier': '2 at trunk',
      'message': '2nd commit',
      'order': 0,
      'repository_id': 'webkit',
      'revision': 2,
  -   'timestamp': 1601635900},
  ?                     ^^^

  +   'timestamp': 1601646700},
  ?                     ^^^

     {'author': {'emails': ['jbedard at apple.com'], 'name': 'jbedard at apple.com'},
      'branch': 'trunk',
      'identifier': '1 at trunk',
      'message': '1st commit',
      'order': 0,
      'repository_id': 'webkit',
      'revision': 1,
  -   'timestamp': 1601634900}]
  ?                     - ^

  +   'timestamp': 1601645700}]
  ?                      ^^


Mock process 68639 send signal 9
Mock process 68639 send signal 9
Mock process 68624 send signal 9
Mock process 68624 send signal 9
Ran 1990 tests in 6.933s                                                                                                                   
FAILED (failures=2, errors=0)


These tests pass when I set my timezone to PST.

-- 
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/20210513/4394f8c5/attachment.htm>


More information about the webkit-unassigned mailing list