<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>225741</bug_id>
          
          <creation_ts>2021-05-13 03:00:36 -0700</creation_ts>
          <short_desc>Few webkitpy unit-tests fails in non-PST timezones</short_desc>
          <delta_ts>2021-10-23 06:57:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=218079</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=232197</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1759603</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-05-13 03:00:36 -0700</bug_when>
    <thetext>[Scripts]$./test-webkitpy
...
[1450/1990] webkitscmpy.test.svn_unittest.TestRemoteSvn.test_commits_branch failed:                                                       
  Traceback (most recent call last):
    File &quot;OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py&quot;, line 374, in test_commits_branch
      ]), Commit.Encoder().default(list(svn.commits(begin=dict(argument=&apos;r1&apos;), end=dict(argument=&apos;r7&apos;)))))
  AssertionError: Lists differ: [{&apos;re[47 chars]1601640900, &apos;order&apos;: 0, &apos;message&apos;: &apos;7th commit[809 chars]nk&apos;}] != [{&apos;re[47 chars]1601651700, &apos;order&apos;: 0, &apos;message&apos;: &apos;7th commit[809 chars]nk&apos;}]
  
  First differing element 0:
  {&apos;rev[46 chars]1601640900, &apos;order&apos;: 0, &apos;message&apos;: &apos;7th commit[128 chars]h-a&apos;}
  {&apos;rev[46 chars]1601651700, &apos;order&apos;: 0, &apos;message&apos;: &apos;7th commit[128 chars]h-a&apos;}
  
  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 &quot;OpenSource/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py&quot;, line 364, in test_commits
      ]), Commit.Encoder().default(list(svn.commits(begin=dict(revision=&apos;r1&apos;), end=dict(revision=&apos;r6&apos;)))))
  AssertionError: Lists differ: [{&apos;re[44 chars]1601639900, &apos;order&apos;: 0, &apos;message&apos;: &apos;6th commit[796 chars]nk&apos;}] != [{&apos;re[44 chars]1601650700, &apos;order&apos;: 0, &apos;message&apos;: &apos;6th commit[796 chars]nk&apos;}]
  
  First differing element 0:
  {&apos;rev[43 chars]1601639900, &apos;order&apos;: 0, &apos;message&apos;: &apos;6th commit[123 chars]unk&apos;}
  {&apos;rev[43 chars]1601650700, &apos;order&apos;: 0, &apos;message&apos;: &apos;6th commit[123 chars]unk&apos;}
  
    [{&apos;author&apos;: {&apos;emails&apos;: [&apos;jbedard@apple.com&apos;], &apos;name&apos;: &apos;jbedard@apple.com&apos;},
      &apos;branch&apos;: &apos;trunk&apos;,
      &apos;identifier&apos;: &apos;4@trunk&apos;,
      &apos;message&apos;: &apos;6th commit&apos;,
      &apos;order&apos;: 0,
      &apos;repository_id&apos;: &apos;webkit&apos;,
      &apos;revision&apos;: 6,
  -   &apos;timestamp&apos;: 1601639900},
  ?                     ^^^
  
  +   &apos;timestamp&apos;: 1601650700},
  ?                     ^^^
  
     {&apos;author&apos;: {&apos;emails&apos;: [&apos;jbedard@apple.com&apos;], &apos;name&apos;: &apos;jbedard@apple.com&apos;},
      &apos;branch&apos;: &apos;trunk&apos;,
      &apos;identifier&apos;: &apos;3@trunk&apos;,
      &apos;message&apos;: &apos;4th commit&apos;,
      &apos;order&apos;: 0,
      &apos;repository_id&apos;: &apos;webkit&apos;,
      &apos;revision&apos;: 4,
  -   &apos;timestamp&apos;: 1601637900},
  ?                     ^ -
  
  +   &apos;timestamp&apos;: 1601648700},
  ?                     ^^
  
     {&apos;author&apos;: {&apos;emails&apos;: [&apos;jbedard@apple.com&apos;], &apos;name&apos;: &apos;jbedard@apple.com&apos;},
      &apos;branch&apos;: &apos;trunk&apos;,
      &apos;identifier&apos;: &apos;2@trunk&apos;,
      &apos;message&apos;: &apos;2nd commit&apos;,
      &apos;order&apos;: 0,
      &apos;repository_id&apos;: &apos;webkit&apos;,
      &apos;revision&apos;: 2,
  -   &apos;timestamp&apos;: 1601635900},
  ?                     ^^^
  
  +   &apos;timestamp&apos;: 1601646700},
  ?                     ^^^
  
     {&apos;author&apos;: {&apos;emails&apos;: [&apos;jbedard@apple.com&apos;], &apos;name&apos;: &apos;jbedard@apple.com&apos;},
      &apos;branch&apos;: &apos;trunk&apos;,
      &apos;identifier&apos;: &apos;1@trunk&apos;,
      &apos;message&apos;: &apos;1st commit&apos;,
      &apos;order&apos;: 0,
      &apos;repository_id&apos;: &apos;webkit&apos;,
      &apos;revision&apos;: 1,
  -   &apos;timestamp&apos;: 1601634900}]
  ?                     - ^
  
  +   &apos;timestamp&apos;: 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759713</commentid>
    <comment_count>1</comment_count>
      <attachid>428522</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2021-05-13 09:28:48 -0700</bug_when>
    <thetext>Created attachment 428522
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759735</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-05-13 10:36:11 -0700</bug_when>
    <thetext>Committed r277440 (237688@main): &lt;https://commits.webkit.org/237688@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428522.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759737</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-13 10:37:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/77973121&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>428522</attachid>
            <date>2021-05-13 09:28:48 -0700</date>
            <delta_ts>2021-05-13 10:36:11 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-225741-20210513092847.patch</filename>
            <type>text/plain</type>
            <size>2922</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI3NzQzNykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDIxLTA1LTEzICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBGZ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lKCdt
b25vdG9uaWMnLCBWZXJzaW9uKDEsIDUpKSkKSW5kZXg6IFRvb2xzL1NjcmlwdHMvbGlicmFyaWVz
L3dlYmtpdHNjbXB5L3dlYmtpdHNjbXB5L21vY2tzL3JlbW90ZS9zdm4ucHkKPT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQot
LS0gVG9vbHMvU2NyaXB0cy9saWJyYXJpZXMvd2Via2l0c2NtcHkvd2Via2l0c2NtcHkvbW9ja3Mv
cmVtb3RlL3N2bi5weQkocmV2aXNpb24gMjc3NDM1KQorKysgVG9vbHMvU2NyaXB0cy9saWJyYXJp
ZXMvd2Via2l0c2NtcHkvd2Via2l0c2NtcHkvbW9ja3MvcmVtb3RlL3N2bi5weQkod29ya2luZyBj
b3B5KQpAQCAtMjc4LDcgKzI3OCw3IEBAIGNsYXNzIFN2bihtb2Nrcy5SZXF1ZXN0cyk6CiAgICAg
ICAgICAgICAgICAgICAgICAgICAnPFM6ZGF0ZT57fTwvUzpkYXRlPlxuJwogICAgICAgICAgICAg
ICAgICAgICAgICAgJ3t9e308L1M6bG9nLWl0ZW0+XG4nLmZvcm1hdCgKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBjb21taXQucmV2aXNpb24sCi0gICAgICAgICAgICAgICAgICAgICAgICAg
ICAgZGF0ZXRpbWUuZnJvbXRpbWVzdGFtcChjb21taXQudGltZXN0YW1wKS5zdHJmdGltZSgnJVkt
JW0tJWRUJUg6JU06JVMuMTAzNzU0WicpLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRh
dGV0aW1lLnV0Y2Zyb210aW1lc3RhbXAoY29tbWl0LnRpbWVzdGFtcCAtIHRpbWVkZWx0YShob3Vy
cz03KS5zZWNvbmRzKS5zdHJmdGltZSgnJVktJW0tJWRUJUg6JU06JVMuMTAzNzU0WicpLAogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICcnIGlmIGRhdGFbJ1M6bG9nLXJlcG9ydCddLmdldCgn
UzpyZXZwcm8nKSBlbHNlICc8RDpjb21tZW50Pnt9PC9EOmNvbW1lbnQ+XG4nCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgJzxEOmNyZWF0b3ItZGlzcGxheW5hbWU+e308L0Q6Y3JlYXRvci1k
aXNwbGF5bmFtZT5cbicuZm9ybWF0KAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBj
b21taXQubWVzc2FnZSwK
</data>

          </attachment>
      

    </bug>

</bugzilla>