Bug 222750 - [macOS] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test.html is a flakey crash and failure
Summary: [macOS] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2021-03-04 10:51 PST by Amir Mark Jr
Modified: 2021-04-23 11:54 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Amir Mark Jr 2021-03-04 10:51:32 PST

Is a flakey failure on Big Sur Debug Wk1 and Wk2. It is also a flakey failure on Catalina WK1 and Wk2

It is also flakey crashing on Big Sur Debug Wk1, Catalina Debug WK1 and WK2



Text Diff:

--- /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test-actual.txt
@@ -1,5 +1,7 @@
+Harness Error (TIMEOUT), message = null
 PASS A static import CSS Module within a web worker should not load.
-PASS A dynamic import CSS Module within a web worker should not load.
+TIMEOUT A dynamic import CSS Module within a web worker should not load. Test timed out
 PASS A CSS Module within a web worker should not load.

Crash Log:

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff717b1dfa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff717b2170 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff37607ef5 __CFRunLoopServiceMachPort + 247
3   com.apple.CoreFoundation      	0x00007fff376069c2 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation      	0x00007fff37605e3e CFRunLoopRunSpecific + 462
5   DumpRenderTree                	0x000000010667fc62 runTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 3218 (DumpRenderTree.mm:2029)
Comment 1 Radar WebKit Bug Importer 2021-03-04 10:52:14 PST
Comment 2 Alexey Proskuryakov 2021-03-05 13:26:32 PST
The crash is on a different thread, and might be caused by a preceding test. This one does use workers though.

ASSERTION FAILED: m_globalScope->hasOneRef()
./workers/WorkerOrWorkletThread.cpp(154) : void WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
1   0x362156129 WTFCrash
2   0x3406be43b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x3458386ea WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
4   0x34586eeeb WebCore::WorkerThread::createThread()::$_0::operator()() const
5   0x34586ee9e WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_0, void>::call()
6   0x362181802 WTF::Function<void ()>::operator()() const
7   0x362246298 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
8   0x362254128 WTF::wtfThreadEntryPoint(void*)
Comment 3 Amir Mark Jr 2021-04-02 12:15:54 PDT
This is also flakey failing on EWS:

Comment 4 Amir Mark Jr 2021-04-02 14:33:15 PDT
Updated test expectations: 

Comment 5 Ryan Haddad 2021-04-23 11:54:36 PDT
The flakiness isn't limited to debug. Updated test expectations in r276508