<?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>278233</bug_id>
          
          <creation_ts>2024-08-16 09:13:23 -0700</creation_ts>
          <short_desc>imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wss is flakey failure on iOS Sim</short_desc>
          <delta_ts>2024-09-26 05:37:06 -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>DUPLICATE</resolution>
          <dup_id>275992</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=278588</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=276764</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="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>fujii</cc>
    
    <cc>gsnedders</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2053300</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2024-08-16 09:13:23 -0700</bug_when>
    <thetext>Summary:
imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wss is flakey failure on iOS Simulator

PR:  &lt;https://github.com/WebKit/WebKit/pull/32275&gt;
Test run:  &lt;https://ews-build.webkit.org/#/builders/42/builds/35920&gt;
Test results #1:  &lt;https://ews-build.s3-us-west-2.amazonaws.com/iOS-17-Simulator-WPT-WK2-Tests-EWS/e3d382f7-35920/results.html&gt;
Test results #2:  &lt;https://ews-build.s3-us-west-2.amazonaws.com/iOS-17-Simulator-WPT-WK2-Tests-EWS/e3d382f7-35920-rerun/results.html&gt;

History (iOS only):  &lt;https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fwebsockets%2Fbasic-auth.any.sharedworker.html%3Fwss&amp;platform=ios&gt;


Diff:

--- /Volumes/Data/worker/iOS-17-Simulator-WPT-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker_wss-expected.txt
+++ /Volumes/Data/worker/iOS-17-Simulator-WPT-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker_wss-actual.txt
@@ -1,3 +1,3 @@
 
-PASS HTTP basic authentication should work with WebSockets
+FAIL HTTP basic authentication should work with WebSockets assert_unreached: open should succeed Reached unreachable code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053301</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-16 09:13:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/134059632&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053302</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2024-08-16 09:17:06 -0700</bug_when>
    <thetext>Current expectations (as of 281902@main):

$ grep -r basic-auth.any.sharedworker.html LayoutTests
LayoutTests/TestExpectations:imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wpt_flags=h2 [ Skip ]
LayoutTests/platform/glib/TestExpectations:webkit.org/b/264805 imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wss [ Failure ]
LayoutTests/platform/mac-wk1/TestExpectations:imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wss [ Pass Failure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053303</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2024-08-16 09:23:44 -0700</bug_when>
    <thetext>Oh, is this the issue?

LayoutTests/TestExpectations:imported/w3c/web-platform-tests/websockets/basic-auth.any.sharedworker.html?wpt_flags=h2 [ Skip ]

Should &quot;wpt_flags=h2&quot; be &quot;wss&quot; like the other two expectations?

I don&apos;t know what the significance of the query parameters is for these tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053309</commentid>
    <comment_count>4</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-08-16 09:44:58 -0700</bug_when>
    <thetext>Adding Sam who has been investigating H/2 WebSockets WPT issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053348</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-08-16 11:56:12 -0700</bug_when>
    <thetext>(In reply to David Kilzer (:ddkilzer) from comment #3)
&gt; Oh, is this the issue?
&gt; 
&gt; LayoutTests/TestExpectations:imported/w3c/web-platform-tests/websockets/
&gt; basic-auth.any.sharedworker.html?wpt_flags=h2 [ Skip ]
&gt; 
&gt; Should &quot;wpt_flags=h2&quot; be &quot;wss&quot; like the other two expectations?
&gt; 
&gt; I don&apos;t know what the significance of the query parameters is for these
&gt; tests.

We run the same tests against an H1 and an H2 server.

That we skip the H2 case (with ?wpt_flags=h2) is expected for Apple ports (we don&apos;t support connecting to WebSockets over HTTP/2).

The H1 case should work, and this is probably genuine flakiness? I wouldn&apos;t be surprised if the underlying cause is within CFNetwork, however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054754</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-22 11:27:55 -0700</bug_when>
    <thetext>Test gardening commit 282627@main (7408abd3fdee): &lt;https://commits.webkit.org/282627@main&gt;

Reviewed commits have been landed. Closing PR #32600 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055711</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-27 11:29:49 -0700</bug_when>
    <thetext>Test gardening commit 282805@main (cf26f601d015): &lt;https://commits.webkit.org/282805@main&gt;

Reviewed commits have been landed. Closing PR #32772 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2063348</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-09-26 05:37:06 -0700</bug_when>
    <thetext>284268@main reverted 280750@main. Closed.

*** This bug has been marked as a duplicate of bug 275992 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>