<?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>182311</bug_id>
          
          <creation_ts>2018-01-30 14:26:38 -0800</creation_ts>
          <short_desc>Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https.html is flaky</short_desc>
          <delta_ts>2018-01-31 09:41:16 -0800</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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=182054</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=182134</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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1394766</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-30 14:26:38 -0800</bug_when>
    <thetext>The following layout test is a flaky failure on macOS and iOS Simulator release and a flaky crash on iOS Simulator Debug and occasionally macOS Debug.

imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https.html

Probable cause:

while the test started crashing and failing with https://trac.webkit.org/changeset/227770/webkit the crash can most likely be traced back to the same issue as https://bugs.webkit.org/show_bug.cgi?id=182054

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fnavigation-redirect.https.html

failure:
https://build.webkit.org/results/Apple%20High%20Sierra%20Release%20WK2%20(Tests)/r227841%20(2618)/results.html

crash:
https://build.webkit.org/results/Apple%20iOS%2011%20Simulator%20Debug%20WK2%20(Tests)/r227841%20(2414)/results.html

failure diff:

--- /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https-expected.txt
+++ /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https-actual.txt
@@ -1,32 +1,34 @@
 
 
-PASS Normal redirect to same-origin scope. 
-PASS Normal redirect to other-origin scope. 
-PASS SW-fallbacked redirect to same-origin out-scope. 
-PASS SW-fallbacked redirect to same-origin same-scope. 
-PASS SW-fallbacked redirect to same-origin other-scope. 
-PASS SW-fallbacked redirect to other-origin out-scope. 
-PASS SW-fallbacked redirect to other-origin in-scope. 
-PASS SW-generated redirect to same-origin out-scope. 
-PASS SW-generated redirect to same-origin same-scope. 
-PASS SW-generated redirect to same-origin other-scope. 
-PASS SW-generated redirect to other-origin out-scope. 
-PASS SW-generated redirect to other-origin in-scope. 
-PASS SW-fetched redirect to same-origin out-scope. 
-PASS SW-fetched redirect to same-origin same-scope. 
-PASS SW-fetched redirect to same-origin other-scope. 
-PASS SW-fetched redirect to other-origin out-scope. 
-PASS SW-fetched redirect to other-origin in-scope. 
-PASS Redirect to same-origin out-scope with opaque redirect response. 
-PASS Redirect to same-origin same-scope with opaque redirect response. 
-PASS Redirect to same-origin other-scope with opaque redirect response. 
-PASS Redirect to other-origin out-scope with opaque redirect response. 
-PASS Redirect to other-origin in-scope with opaque redirect response. 
-PASS No location redirect response. 
-PASS Redirect to same-origin out-scope with opaque redirect response which is passed through Cache. 
-PASS Redirect to same-origin same-scope with opaque redirect response which is passed through Cache. 
-PASS Redirect to same-origin other-scope with opaque redirect response which is passed through Cache. 
-PASS Redirect to other-origin out-scope with opaque redirect response which is passed through Cache. 
-PASS Redirect to other-origin in-scope with opaque redirect response which is passed through Cache. 
-PASS No location redirect response via Cache. 
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT Normal redirect to same-origin scope. Test timed out
+NOTRUN Normal redirect to other-origin scope. 
+NOTRUN SW-fallbacked redirect to same-origin out-scope. 
+NOTRUN SW-fallbacked redirect to same-origin same-scope. 
+NOTRUN SW-fallbacked redirect to same-origin other-scope. 
+NOTRUN SW-fallbacked redirect to other-origin out-scope. 
+NOTRUN SW-fallbacked redirect to other-origin in-scope. 
+NOTRUN SW-generated redirect to same-origin out-scope. 
+NOTRUN SW-generated redirect to same-origin same-scope. 
+NOTRUN SW-generated redirect to same-origin other-scope. 
+NOTRUN SW-generated redirect to other-origin out-scope. 
+NOTRUN SW-generated redirect to other-origin in-scope. 
+NOTRUN SW-fetched redirect to same-origin out-scope. 
+NOTRUN SW-fetched redirect to same-origin same-scope. 
+NOTRUN SW-fetched redirect to same-origin other-scope. 
+NOTRUN SW-fetched redirect to other-origin out-scope. 
+NOTRUN SW-fetched redirect to other-origin in-scope. 
+NOTRUN Redirect to same-origin out-scope with opaque redirect response. 
+NOTRUN Redirect to same-origin same-scope with opaque redirect response. 
+NOTRUN Redirect to same-origin other-scope with opaque redirect response. 
+NOTRUN Redirect to other-origin out-scope with opaque redirect response. 
+NOTRUN Redirect to other-origin in-scope with opaque redirect response. 
+NOTRUN No location redirect response. 
+NOTRUN Redirect to same-origin out-scope with opaque redirect response which is passed through Cache. 
+NOTRUN Redirect to same-origin same-scope with opaque redirect response which is passed through Cache. 
+NOTRUN Redirect to same-origin other-scope with opaque redirect response which is passed through Cache. 
+NOTRUN Redirect to other-origin out-scope with opaque redirect response which is passed through Cache. 
+NOTRUN Redirect to other-origin in-scope with opaque redirect response which is passed through Cache. 
+NOTRUN No location redirect response via Cache. 
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394771</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-30 14:27:37 -0800</bug_when>
    <thetext>*** Bug 182310 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394777</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-01-30 14:39:14 -0800</bug_when>
    <thetext>Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   JavaScriptCore                	0x0000000101a3fd44 WTFCrash + 36
1   com.apple.WebCore             	0x00000001100de18c WebCore::MessagePortChannel::entanglePortWithProcess(WebCore::MessagePortIdentifier const&amp;, WTF::ObjectIdentifier&lt;WebCore::ProcessIdentifierType&gt;) + 524
2   com.apple.WebCore             	0x00000001100e0933 WebCore::MessagePortChannelRegistry::didEntangleLocalToRemote(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;, WTF::ObjectIdentifier&lt;WebCore::ProcessIdentifierType&gt;) + 211
3   com.apple.WebKit              	0x0000000107c1d6ec WebKit::WebProcessProxy::entangleLocalPortInThisProcessToRemote(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;) + 156
4   com.apple.WebKit              	0x0000000107c4d6ad void IPC::callMemberFunctionImpl&lt;WebKit::WebProcessProxy, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;), std::__1::tuple&lt;WebCore::MessagePortIdentifier, WebCore::MessagePortIdentifier&gt;, 0ul, 1ul&gt;(WebKit::WebProcessProxy*, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;), std::__1::tuple&lt;WebCore::MessagePortIdentifier, WebCore::MessagePortIdentifier&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;) + 189
5   com.apple.WebKit              	0x0000000107c4d430 void IPC::callMemberFunction&lt;WebKit::WebProcessProxy, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;), std::__1::tuple&lt;WebCore::MessagePortIdentifier, WebCore::MessagePortIdentifier&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(std::__1::tuple&lt;WebCore::MessagePortIdentifier, WebCore::MessagePortIdentifier&gt;&amp;&amp;, WebKit::WebProcessProxy*, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;)) + 96
6   com.apple.WebKit              	0x0000000107c4b728 void IPC::handleMessage&lt;Messages::WebProcessProxy::EntangleLocalPortInThisProcessToRemote, WebKit::WebProcessProxy, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebProcessProxy*, void (WebKit::WebProcessProxy::*)(WebCore::MessagePortIdentifier const&amp;, WebCore::MessagePortIdentifier const&amp;)) + 344
7   com.apple.WebKit              	0x0000000107c4a10a WebKit::WebProcessProxy::didReceiveWebProcessProxyMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 2378
8   com.apple.WebKit              	0x0000000107c16da9 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 201
9   com.apple.WebKit              	0x0000000107c16e14 non-virtual thunk to WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 52
10  com.apple.WebKit              	0x000000010719add3 IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 51
11  com.apple.WebKit              	0x00000001071909f8 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 712
12  com.apple.WebKit              	0x000000010719b3da IPC::Connection::dispatchOneMessage() + 1530
13  com.apple.WebKit              	0x00000001071b31fd IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()() + 29
14  com.apple.WebKit              	0x00000001071b3159 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call() + 25
15  JavaScriptCore                	0x0000000101a5bfcb WTF::Function&lt;void ()&gt;::operator()() const + 139
16  JavaScriptCore                	0x0000000101a9f6b3 WTF::RunLoop::performWork() + 211
17  JavaScriptCore                	0x0000000101a9ff54 WTF::RunLoop::performWork(void*) + 36
18  com.apple.CoreFoundation      	0x000000010c0e72b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19  com.apple.CoreFoundation      	0x000000010c186d31 __CFRunLoopDoSource0 + 81
20  com.apple.CoreFoundation      	0x000000010c0cbc19 __CFRunLoopDoSources0 + 185
21  com.apple.CoreFoundation      	0x000000010c0cb1ff __CFRunLoopRun + 1279
22  com.apple.CoreFoundation      	0x000000010c0caa89 CFRunLoopRunSpecific + 409
23  com.apple.Foundation          	0x000000010b4aae5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
24  org.webkit.WebKitTestRunnerApp	0x00000001001787b4 WTR::TestController::platformRunUntil(bool&amp;, double) + 260
25  org.webkit.WebKitTestRunnerApp	0x00000001001530d9 WTR::TestController::runUntil(bool&amp;, double) + 73
26  org.webkit.WebKitTestRunnerApp	0x000000010017ba1a WTR::TestInvocation::invoke() + 1370
27  org.webkit.WebKitTestRunnerApp	0x000000010015bfed WTR::TestController::runTest(char const*) + 2061
28  org.webkit.WebKitTestRunnerApp	0x000000010015d174 WTR::TestController::runTestingServerLoop() + 228
29  org.webkit.WebKitTestRunnerApp	0x000000010014da36 WTR::TestController::run() + 54
30  org.webkit.WebKitTestRunnerApp	0x000000010014d3ba WTR::TestController::TestController(int, char const**) + 1530
31  org.webkit.WebKitTestRunnerApp	0x000000010014dbf3 WTR::TestController::TestController(int, char const**) + 35
32  org.webkit.WebKitTestRunnerApp	0x000000010013d68f -[WebKitTestRunnerApp _runTestController] + 47
33  com.apple.Foundation          	0x000000010b4f0948 __NSThreadPerformPerform + 334
34  com.apple.CoreFoundation      	0x000000010c0e72b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
35  com.apple.CoreFoundation      	0x000000010c186d31 __CFRunLoopDoSource0 + 81
36  com.apple.CoreFoundation      	0x000000010c0cbc6b __CFRunLoopDoSources0 + 267
37  com.apple.CoreFoundation      	0x000000010c0cb1ff __CFRunLoopRun + 1279
38  com.apple.CoreFoundation      	0x000000010c0caa89 CFRunLoopRunSpecific + 409
39  com.apple.GraphicsServices    	0x000000010b3a69c6 GSEventRunModal + 62
40  com.apple.UIKit               	0x0000000104f16d30 UIApplicationMain + 159
41  org.webkit.WebKitTestRunnerApp	0x000000010013d81a main + 138
42  libdyld.dylib                 	0x000000011c58fd81 start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1394782</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2018-01-30 14:46:11 -0800</bug_when>
    <thetext>Skipped the test for now due to it causing EWS to consistently fail.

https://trac.webkit.org/changeset/227857/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1395030</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-31 09:37:37 -0800</bug_when>
    <thetext>This appears to have regressed with https://trac.webkit.org/changeset/227770/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1395031</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-01-31 09:39:14 -0800</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #4)
&gt; This appears to have regressed with
&gt; https://trac.webkit.org/changeset/227770/webkit
Well, the test was unskipped with this change, so perhaps &quot;regression&quot; wasn&apos;t the right term to use there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1395033</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-31 09:41:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/37073937&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>