<?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>215773</bug_id>
          
          <creation_ts>2020-08-24 10:10:26 -0700</creation_ts>
          <short_desc>[ iOS wk2 macOS wk1 ] http/tests/websocket/tests/hybi/client-close-2.html is a flaky failure</short_desc>
          <delta_ts>2025-02-19 11:09:11 -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>New Bugs</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=265209</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="Hector Lopez">hector_i_lopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>rackler</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1682365</commentid>
    <comment_count>0</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-08-24 10:10:26 -0700</bug_when>
    <thetext>http/tests/websocket/tests/hybi/client-close-2.html

Test is a flaky failure according to history on iOS wk2. First occurrence is at r265963 but no indication revision is cause.

History:
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fwebsocket%2Ftests%2Fhybi%2Fclient-close-2.html&amp;limit=50000&amp;platform=ios

Diff:
--- /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/client-close-2-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/client-close-2-actual.txt
@@ -5,7 +5,7 @@
 Connected
 Closed
 PASS receivedMessage is undefined.
-PASS closeEvent.reason is &quot;close_frame[:2]=&apos;\\x88\\x82&apos;&quot;
+FAIL closeEvent.reason should be close_frame[:2]=&apos;\x88\x82&apos;. Was .
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682366</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-08-24 10:10:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/67685669&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682372</commentid>
    <comment_count>2</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-08-24 10:14:06 -0700</bug_when>
    <thetext>Test expectation while investigated:

https://trac.webkit.org/changeset/266067/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095952</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2025-02-19 11:02:20 -0800</bug_when>
    <thetext>Description:
http/tests/websocket/tests/hybi/client-close-2.html is a flaky failure on macOS wk1.

The test was added at 228451@main and shortly thereafter has been a flaky failure on macOS wk1.
The first flaky failure looks at 230927@main removing whitespace and does not seem to be the regression point.
We have had flaky failures on this test since Catalina.  A thorough investigation is necessary to address this issue.

This issue can be reproduced using command:
run-webkit-tests --release -1 --no-retry --force --iterations=50 http/tests/websocket/tests/hybi/client-close-2.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095955</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2025-02-19 11:03:47 -0800</bug_when>
    <thetext>Diff: 
@@ -5,7 +5,7 @@
 Connected
 Closed
 PASS receivedMessage is undefined.
-PASS closeEvent.reason is &quot;close_frame[:2]=b&apos;\\x88\\x82&apos;&quot;
+FAIL closeEvent.reason should be close_frame[:2]=b&apos;\x88\x82&apos;. Was .
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095958</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-19 11:09:11 -0800</bug_when>
    <thetext>Test gardening commit 290627@main (b0afdfc60917): &lt;https://commits.webkit.org/290627@main&gt;

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

    </bug>

</bugzilla>