<?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>173041</bug_id>
          
          <creation_ts>2017-06-06 17:44:01 -0700</creation_ts>
          <short_desc>Layout Test http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html is a flaky failure</short_desc>
          <delta_ts>2019-03-13 10:26:41 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></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>ryanhaddad</cc>
    
    <cc>sroberts</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1316340</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-06-06 17:44:01 -0700</bug_when>
    <thetext>http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html is a flaky failure.
According to the flakiness dashboard the test has failed intermittently on iOS Simulator WK2 Release and El Capitan WK2 Release:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fwebsocket%2Ftests%2Fhybi%2Fhandshake-ok-with-legacy-sec-websocket-response-headers.html

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/2018
https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r217848%20(2018)/results.html


diff:
--- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: WebSocket network error: The operation couldn’t be completed. Connection reset by peer
 Test whether WebSocket handshake is OK with legacy response headers &apos;Sec-WebSocket-Location&apos; and &apos;Sec-WebSocket-Origin&apos;.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468589</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-10-12 14:31:40 -0700</bug_when>
    <thetext>This is still happening:

--- /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers-expected.txt
+++ /Volumes/Data/slave/highsierra-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers-actual.txt
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: WebSocket network error: The operation couldn’t be completed. Connection reset by peer
+CONSOLE MESSAGE: WebSocket network error: The operation couldn’t be completed. Connection reset by peer
 Test whether WebSocket handshake is OK with legacy response headers &apos;Sec-WebSocket-Location&apos; and &apos;Sec-WebSocket-Origin&apos;.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.

https://build.webkit.org/results/Apple%20High%20Sierra%20Release%20WK2%20(Tests)/r237073%20(7241)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1472271</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-10-25 17:59:42 -0700</bug_when>
    <thetext>Marked test as flaky on iOS in https://trac.webkit.org/changeset/237443/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1516017</commentid>
    <comment_count>3</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-03-13 10:18:12 -0700</bug_when>
    <thetext>Test is now showing on flakiness dashboard with Mojave and High Sierra WK2 as a flaky text diff failure. 

Test is highly flaky. Reproducible with only 1 child process. Recent failures are more consistent approximately 1/500 failures until about r242500 and then its 1/20000

Reproduced with :

run-webkit-tests http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html --iterations 500 --child-processes 1

Due to high flakiness, changing test expectations to include Mac WK2.

Diff:

@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: WebSocket network error: The operation couldn’t be completed. Connection reset by peer
+CONSOLE MESSAGE: WebSocket network error: The operation couldn’t be completed. Connection reset by peer
 Test whether WebSocket handshake is OK with legacy response headers &apos;Sec-WebSocket-Location&apos; and &apos;Sec-WebSocket-Origin&apos;.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1516023</commentid>
    <comment_count>4</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-03-13 10:26:41 -0700</bug_when>
    <thetext>Marked test as flaky on Mac OS in https://trac.webkit.org/changeset/242887/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>