[Webkit-unassigned] [Bug 232197] New: Few webkitpy unit-tests fail when run in different time zone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 23 06:56:24 PDT 2021


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

            Bug ID: 232197
           Summary: Few webkitpy unit-tests fail when run in different
                    time zone
           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 unit-tests fail when run in different time zone. e.g.:

[1466/2023] webkitscmpy.test.log_unittest.TestLog.test_git_svn_revision failed:                                                           
  Traceback (most recent call last):
    File "Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/log_unittest.py", line 134, in test_git_svn_revision
      self.assertEqual(
  AssertionError: 'comm[118 chars] 03 00:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n' != 'comm[118 chars] 03 03:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n'
    commit r9 (d8bce26fa65c6fc8f39c17927abb77f69fab82fc, 5 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Sat Oct 03 00:46:40 2020 +0000
  ?                     ^
  + Date:   Sat Oct 03 03:46:40 2020 +0000
  ?                     ^

        Patch Series
        git-svn-id: https://svn.example.org/repository/repository/trunk@9 268f45cc-cd09-0410-ab3c-d52691b4dbfc

    commit r8 (bae5d1e90999d4f916a8a15810ccfa43f37a2fd6, 4 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Sat Oct 03 00:46:40 2020 +0000
  ?                     ^
  + Date:   Sat Oct 03 03:46:40 2020 +0000
  ?                     ^
  AssertionError: 'comm[118 chars] 03 00:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n' != 'comm[118 chars] 03 03:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n'
    commit r9 (d8bce26fa65c6fc8f39c17927abb77f69fab82fc, 5 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Sat Oct 03 00:46:40 2020 +0000
  ?                     ^
  + Date:   Sat Oct 03 03:46:40 2020 +0000
  ?                     ^

        Patch Series
        git-svn-id: https://svn.example.org/repository/repository/trunk@9 268f45cc-cd09-0410-ab3c-d52691b4dbfc

    commit r8 (bae5d1e90999d4f916a8a15810ccfa43f37a2fd6, 4 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Sat Oct 03 00:46:40 2020 +0000
  ?                     ^
  + Date:   Sat Oct 03 03:46:40 2020 +0000
  ?                     ^
        8th commit
        git-svn-id: https://svn.example.org/repository/repository/trunk@8 268f45cc-cd09-0410-ab3c-d52691b4dbfc

    commit r4 (1abe25b443e985f93b90d830e4a7e3731336af4d, 3 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Fri Oct 02 23:23:20 2020 +0000
  ?         ^^^       ---
  + Date:   Sat Oct 03 02:23:20 2020 +0000
  ?         ^^^     +++

        4th commit
        git-svn-id: https://svn.example.org/repository/repository/trunk@4 268f45cc-cd09-0410-ab3c-d52691b4dbfc

    commit r2 (fff83bb2d9171b4d9196e977eb0508fd57e7a08d, 2 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Fri Oct 02 22:50:00 2020 +0000
  ?         ^^^      ^^^^
  + Date:   Sat Oct 03 01:50:00 2020 +0000
  ?         ^^^      ^^^^

        2nd commit
        git-svn-id: https://svn.example.org/repository/repository/trunk@2 268f45cc-cd09-0410-ab3c-d52691b4dbfc

    commit r1 (9b8311f25a77ba14923d9d5a6532103f54abefcb, 1 at main)
    Author: Jonathan Bedard <jbedard at apple.com>
  - Date:   Fri Oct 02 22:33:20 2020 +0000
  ?         ^^^      ^^^^
  + Date:   Sat Oct 03 01:33:20 2020 +0000
  ?         ^^^      ^^^^

        1st commit
        git-svn-id: https://svn.example.org/repository/repository/trunk@1 268f45cc-cd09-0410-ab3c-d52691b4dbfc


[1657/2023] webkitscmpy.test.log_unittest.TestLog.test_git_svn failed:                                        
  Traceback (most recent call last):
    File "Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/log_unittest.py", line 87, in test_git_svn
      self.assertEqual(
  AssertionError: 'comm[118 chars] 03 00:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n' != 'comm[118 chars] 03 03:46:40 2020 +0000\n\n    Patch Series\n [1203 chars]fc\n'
  Diff is 1853 characters long. Set self.maxDiff to None to see it.

-- 
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/20211023/a761ceaf/attachment-0001.htm>


More information about the webkit-unassigned mailing list