Bug 158480 - Investigate cause of flakiness in http/tests/websocket/tests/hybi/upgrade-simple-ws.html test
Summary: Investigate cause of flakiness in http/tests/websocket/tests/hybi/upgrade-sim...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
Depends on: 143653
  Show dependency treegraph
Reported: 2016-06-07 08:48 PDT by Brent Fulgham
Modified: 2019-05-02 16:22 PDT (History)
7 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2016-06-07 08:48:54 PDT
Investigate the cause of flakiness in the WebSocket upgrade code path:

Test: http/tests/websocket/tests/hybi/upgrade-simple-ws.html

The test is a flaky failure on El Capitan and iOS simulator. It is failing and crashing on Windows.

Recent failure:

Flakiness dashboard:

--- /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/upgrade-simple-ws-expected.txt
+++ /Volumes/Data/slave/ios-simulator-9-release-tests-wk2/build/layout-test-results/http/tests/websocket/tests/hybi/upgrade-simple-ws-actual.txt
@@ -4,8 +4,4 @@
 Created a socket to 'wss://'; readyState 0.
 The 'ws' protocol should be upgraded to 'wss'. If this happens, we will connect properly and the test will succeed.
-Connected; readyState 1
-Resolved URL: wss://
-Received: 'Hello from Simple WSH.'; readyState 1
-Closed; readyState 3.
Comment 1 Brent Fulgham 2016-06-07 10:32:03 PDT
About 1 in 1000 times I can get the test to time out, but I'm not seeing other failures. Since this test relies on an external Python server to do its work, we might be running into some flakiness with that dependency.
Comment 2 Alexey Proskuryakov 2016-06-07 20:15:43 PDT
Will it reproduce when forced to run many copies of itself in parallel?