Bug 101229

Summary: [chromium] Layout test inspector-protocol/debugger-pause-dedicated-worker.html is flaky
Product: WebKit Reporter: Stephen White <senorblanco>
Component: Tools / TestsAssignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: dimich, pfeldman, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch vsevik: review+, vsevik: commit-queue+

Description Stephen White 2012-11-05 09:18:45 PST
Layout test inspector-protocol/debugger-pause-dedicated-worker.html is flaky.

Sometimes, it seems to output text in a non-deterministic order (racy?):

--- /mnt/data/b/build/slave/WebKit_Linux/build/layout-test-results/inspector-protocol/debugger-pause-dedicated-worker-expected.txt 
+++ /mnt/data/b/build/slave/WebKit_Linux/build/layout-test-results/inspector-protocol/debugger-pause-dedicated-worker-actual.txt 
@@ -1,6 +1,6 @@
 Started worker
+didEnableWorkerDebugging
 Worker created
-didEnableWorkerDebugging
 didConnectToWorker
 SUCCESS: Worker paused
 
Sometimes, it seems to output extra text (maybe creating an extra worker?):

--- /b/build/slave/WebKit_Linux__dbg_/build/layout-test-results/inspector-protocol/debugger-pause-dedicated-worker-expected.txt 
+++ /b/build/slave/WebKit_Linux__dbg_/build/layout-test-results/inspector-protocol/debugger-pause-dedicated-worker-actual.txt 
@@ -1,6 +1,8 @@
 Started worker
+Worker created
 Worker created
 didEnableWorkerDebugging
 didConnectToWorker
+didConnectToWorker
 SUCCESS: Worker paused

And sometimes (Linux Debug), it crashes with useless stack trace:

crash log for DumpRenderTree (pid 29036):
STDOUT: <empty>
STDERR: <empty>
Comment 1 Yury Semikhatsky 2012-12-04 14:27:09 PST
Created attachment 177563 [details]
Patch
Comment 2 Yury Semikhatsky 2012-12-04 14:30:26 PST
Committed r136571: <http://trac.webkit.org/changeset/136571>