<?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>217669</bug_id>
          
          <creation_ts>2020-10-13 14:17:51 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 14): [ iOS wk2 ] service-workers-spinning tests are flaky failures</short_desc>
          <delta_ts>2024-10-28 06:09:45 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>hector_i_lopez</cc>
    
    <cc>koivisto</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>1697399</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-10-13 14:17:51 -0700</bug_when>
    <thetext>Description:
http/wpt/service-workers/service-worker-spinning-activate.https.html
http/wpt/service-workers/service-worker-spinning-fetch.https.html
http/wpt/service-workers/service-worker-spinning-install.https.html
http/wpt/service-workers/service-worker-spinning-message.https.html

The first failure that I see this on the dashboard was 09/29/20 at r267741, but I was not able to find a commit that seemed relevant that would have caused this.  
All of the failures test times are approximately 27-29 seconds.  The tests also alternate between flaky failing and time out.  The test behavior has been like this since the tests began running on iOS 14.

I have attempted to reproduce the behavior, but so far have been unsuccessful.

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Fwpt%2Fservice-workers%2Fservice-worker-spinning-activate.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fservice-worker-spinning-fetch.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fservice-worker-spinning-install.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fservice-worker-spinning-message.https.html&amp;platform=ios&amp;limit=50000

Diff Log:
http/wpt/service-workers/service-worker-spinning-activate.https.html

--- /Volumes/Data/slave/ios-simulator-14-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-activate.https-expected.txt
+++ /Volumes/Data/slave/ios-simulator-14-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-activate.https-actual.txt
@@ -1,5 +1,7 @@
 
 
-PASS Spin in activate
-PASS Spin after activate
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT Spin in activate Test timed out
+NOTRUN Spin after activate
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697400</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-13 14:18:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/70266069&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697417</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-10-13 14:42:11 -0700</bug_when>
    <thetext>I have marked this test as failing while this issue is investigated.
https://trac.webkit.org/changeset/268422/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699573</commentid>
    <comment_count>3</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-10-19 19:04:27 -0700</bug_when>
    <thetext>http/wpt/service-workers/service-worker-spinning-install.https.html

Test is also a flaky failure on macOS Debug. First occurrence of failure is at r267615 with a crash but has recently only been a failure

History:

https://results.webkit.org/?suite=layout-tests&amp;test=http%2Fwpt%2Fservice-workers%2Fservice-worker-spinning-message.https.html&amp;platform=mac&amp;limit=50000

Diff:
--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-install.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-install.https-actual.txt
@@ -1,5 +1,7 @@
 
-PASS Spin at running
-PASS Spin in install
-PASS Spin after install
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT Spin at running  Test timed out
+NOTRUN Spin in install
+NOTRUN Spin after install
+

Test expectation while investigated:

https://trac.webkit.org/changeset/268706/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1700031</commentid>
    <comment_count>4</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-10-20 18:16:32 -0700</bug_when>
    <thetext>Test expectation was set for;
http/wpt/service-workers/service-worker-spinning-install.https.html
But should have been for:

[tag] [reply] [−] Description Karl Rackler 2020-10-13 14:17:51 PDT
Description:
http/wpt/service-workers/service-worker-spinning-activate.https.html
http/wpt/service-workers/service-worker-spinning-fetch.https.html
http/wpt/service-workers/service-worker-spinning-install.https.html
http/wpt/service-workers/service-worker-spinning-message.https.html

Adjustment:

https://trac.webkit.org/changeset/268778/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070546</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-10-25 05:06:32 -0700</bug_when>
    <thetext>These tests are no longer flaky but http/wpt/service-workers/service-worker-spinning-message.https.html is still marked as flaky, we should remove the flaky expectation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070568</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-10-25 07:58:26 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35721</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070894</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-28 06:09:42 -0700</bug_when>
    <thetext>Committed 285764@main (1debe3c4b3ea): &lt;https://commits.webkit.org/285764@main&gt;

Reviewed commits have been landed. Closing PR #35721 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>