<?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>240074</bug_id>
          
          <creation_ts>2022-05-04 10:53:08 -0700</creation_ts>
          <short_desc>REGRESSION (r293506): [ iOS ][ macOS ] imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html is a flaky failure</short_desc>
          <delta_ts>2022-08-04 12:19:44 -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>Service Workers</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=180982</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=179138</see_also>
    
    <see_also>https://github.com/web-platform-tests/wpt/pull/34506</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=243410</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="Karl Rackler">rackler</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1866531</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 10:53:08 -0700</bug_when>
    <thetext>Description:
imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html

The first failure that I saw on the dashboard for iOS was 4/27/2022 at r293507, but this does not appear relevant to causing this issue.  The first failure that I saw on the dashboard for macOS was 4/27/2022 at r293506, but this does not appear relevant to causing this issue either.   r293506 at https://commits.webkit.org/250037@main modified ServiceWorker, which probably introduced the flakiness/consistent failure. 

History:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fregistration-updateviacache.https.html&amp;platform=ios&amp;platform=mac&amp;limit=50000

Diff:
--- /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-actual.txt
@@ -1,3 +1,4 @@
+
 
 PASS register-with-updateViaCache-undefined
 PASS register-with-updateViaCache-imports
@@ -5,11 +6,11 @@
 PASS register-with-updateViaCache-none
 PASS register-with-updateViaCache-undefined-then-undefined
 PASS register-with-updateViaCache-undefined-then-imports
-PASS register-with-updateViaCache-undefined-then-all
+FAIL register-with-updateViaCache-undefined-then-all assert_equals: No new service worker expected null but got object &quot;[object ServiceWorker]&quot;
 PASS register-with-updateViaCache-undefined-then-none
 PASS register-with-updateViaCache-imports-then-undefined
 PASS register-with-updateViaCache-imports-then-imports
-PASS register-with-updateViaCache-imports-then-all
+FAIL register-with-updateViaCache-imports-then-all assert_equals: No new service worker expected null but got object &quot;[object ServiceWorker]&quot;
 PASS register-with-updateViaCache-imports-then-none
 PASS register-with-updateViaCache-all-then-undefined
 PASS register-with-updateViaCache-all-then-imports
@@ -17,7 +18,7 @@
 PASS register-with-updateViaCache-all-then-none
 PASS register-with-updateViaCache-none-then-undefined
 PASS register-with-updateViaCache-none-then-imports
-PASS register-with-updateViaCache-none-then-all
+FAIL register-with-updateViaCache-none-then-all assert_equals: No new service worker expected null but got object &quot;[object ServiceWorker]&quot;
 PASS register-with-updateViaCache-none-then-none
 PASS access-updateViaCache-after-unregister-undefined
 PASS access-updateViaCache-after-unregister-imports</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866532</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-04 10:54:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/92742526&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866538</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 11:06:16 -0700</bug_when>
    <thetext>I have marked this test as a flaky failure while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866540</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 11:11:57 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/497</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866541</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-04 11:15:18 -0700</bug_when>
    <thetext>(In reply to Karl Rackler from comment #0)
&gt; Description:
&gt; imported/w3c/web-platform-tests/service-workers/service-worker/registration-
&gt; updateviacache.https.html
&gt; 
&gt; The first failure that I saw on the dashboard for iOS was 4/27/2022 at
&gt; r293507, but this does not appear relevant to causing this issue.  The first
&gt; failure that I saw on the dashboard for macOS was 4/27/2022 at r293506, but
&gt; this does not appear relevant to causing this issue either.   r293506 at
&gt; https://commits.webkit.org/250037@main modified ServiceWorker, which
&gt; probably introduced the flakiness/consistent failure. 
&gt; 
&gt; History:
&gt; https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-
&gt; platform-tests%2Fservice-workers%2Fservice-worker%2Fregistration-
&gt; updateviacache.https.html&amp;platform=ios&amp;platform=mac&amp;limit=50000
&gt; 
&gt; Diff:
&gt; ---
&gt; /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-
&gt; test-results/imported/w3c/web-platform-tests/service-workers/service-worker/
&gt; registration-updateviacache.https-expected.txt
&gt; +++
&gt; /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-WK2-Tests/build/layout-
&gt; test-results/imported/w3c/web-platform-tests/service-workers/service-worker/
&gt; registration-updateviacache.https-actual.txt
&gt; @@ -1,3 +1,4 @@
&gt; +
&gt;  
&gt;  PASS register-with-updateViaCache-undefined
&gt;  PASS register-with-updateViaCache-imports
&gt; @@ -5,11 +6,11 @@
&gt;  PASS register-with-updateViaCache-none
&gt;  PASS register-with-updateViaCache-undefined-then-undefined
&gt;  PASS register-with-updateViaCache-undefined-then-imports
&gt; -PASS register-with-updateViaCache-undefined-then-all
&gt; +FAIL register-with-updateViaCache-undefined-then-all assert_equals: No new
&gt; service worker expected null but got object &quot;[object ServiceWorker]&quot;
&gt;  PASS register-with-updateViaCache-undefined-then-none
&gt;  PASS register-with-updateViaCache-imports-then-undefined
&gt;  PASS register-with-updateViaCache-imports-then-imports
&gt; -PASS register-with-updateViaCache-imports-then-all
&gt; +FAIL register-with-updateViaCache-imports-then-all assert_equals: No new
&gt; service worker expected null but got object &quot;[object ServiceWorker]&quot;
&gt;  PASS register-with-updateViaCache-imports-then-none
&gt;  PASS register-with-updateViaCache-all-then-undefined
&gt;  PASS register-with-updateViaCache-all-then-imports
&gt; @@ -17,7 +18,7 @@
&gt;  PASS register-with-updateViaCache-all-then-none
&gt;  PASS register-with-updateViaCache-none-then-undefined
&gt;  PASS register-with-updateViaCache-none-then-imports
&gt; -PASS register-with-updateViaCache-none-then-all
&gt; +FAIL register-with-updateViaCache-none-then-all assert_equals: No new
&gt; service worker expected null but got object &quot;[object ServiceWorker]&quot;
&gt;  PASS register-with-updateViaCache-none-then-none
&gt;  PASS access-updateViaCache-after-unregister-undefined
&gt;  PASS access-updateViaCache-after-unregister-imports

Correct Description to: 
The first failure that I saw on the dashboard for iOS was 4/27/2022 at r293507, but this does not appear relevant to causing this issue.  The first failure that I saw on the dashboard for macOS was 4/27/2022 at r293506, r293506 at https://commits.webkit.org/250037@main modified ServiceWorker, which probably introduced the flakiness failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866837</commentid>
    <comment_count>5</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-05 08:14:45 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/523</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866842</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-05 08:19:14 -0700</bug_when>
    <thetext>Test gardening commit r293834 (250307@main): &lt;https://commits.webkit.org/250307@main&gt;

Reviewed commits have been landed. Closing PR #523 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872289</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-05-27 02:57:12 -0700</bug_when>
    <thetext>This is also consistently showing up as a failure on wpt.fyi as of STP146:

https://wpt.fyi/results/service-workers/service-worker/registration-updateviacache.https.html?q=%20seq%28%28status%3Apass%7Cstatus%3Aok%29%20%28status%3Apass%7Cstatus%3Aok%29%20%28status%3Apass%7Cstatus%3Aok%29%20%28status%3Apass%7Cstatus%3Aok%29%20%28status%3Apass%7Cstatus%3Aok%29%20%28status%3A%21pass%26status%3A%21ok%26status%3A%21unknown%29%20%28status%3A%21pass%26status%3A%21ok%26status%3A%21unknown%29%20%28status%3A%21pass%26status%3A%21ok%26status%3A%21unknown%29%20%28status%3A%21pass%26status%3A%21ok%26status%3A%21unknown%29%20%28status%3A%21pass%26status%3A%21ok%26status%3A%21unknown%29%29&amp;run_id=5118614477733888&amp;run_id=5690424244043776&amp;run_id=5698072775491584&amp;run_id=5702679396352000&amp;run_id=5164587304353792&amp;run_id=5682637401227264&amp;run_id=5757110456418304&amp;run_id=5713130930831360&amp;run_id=5759361623261184&amp;run_id=5743658283302912</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876938</commentid>
    <comment_count>8</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-06-21 03:43:53 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1646</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876948</commentid>
    <comment_count>9</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-06-21 06:19:48 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/34506</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877345</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-22 10:58:12 -0700</bug_when>
    <thetext>Committed r295737 (251742@main): &lt;https://commits.webkit.org/251742@main&gt;

Reviewed commits have been landed. Closing PR #1646 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888931</commentid>
    <comment_count>11</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-04 12:18:20 -0700</bug_when>
    <thetext>According to the flakiness dashboard, this test is still flaky. Also, it is still marked as flaky in TestExpections.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888932</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-04 12:19:44 -0700</bug_when>
    <thetext>This in an example of recent failure:

--- /Volumes/Data/worker/Apple-iPadOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-expected.txt
+++ /Volumes/Data/worker/Apple-iPadOS-15-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https-actual.txt
@@ -1,3 +1,4 @@
+
 
 PASS register-with-updateViaCache-undefined
 PASS register-with-updateViaCache-imports
@@ -16,7 +17,7 @@
 PASS register-with-updateViaCache-all-then-all
 PASS register-with-updateViaCache-all-then-none
 PASS register-with-updateViaCache-none-then-undefined
-PASS register-with-updateViaCache-none-then-imports
+FAIL register-with-updateViaCache-none-then-imports assert_equals: Imported script should be the same expected 1659576339.230555 but got 1659576336.951165
 PASS register-with-updateViaCache-none-then-all
 PASS register-with-updateViaCache-none-then-none
 PASS access-updateViaCache-after-unregister-undefined</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>