Bug 245793

Summary: [ New Test ] (250315@main): [ macOS Debug ] TestWTF.WTF_SuspendableWorkQueue.Suspend is a flaky failure
Product: WebKit Reporter: Karl Rackler <rackler>
Component: Website StorageAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, sihui_liu, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Karl Rackler 2022-09-28 11:30:51 PDT
Description:
TestWTF.WTF_SuspendableWorkQueue.Suspend

This test was added at 250315@main and has been a flaky failure on macOS Debug x86_64 since.

Reproduction steps:
I can reproduce this on <commit> but cannot reproduce it on <commit> or earlier.

Command: 
run-api-tests --iterations=50  --debug  TestWTF.WTF_SuspendableWorkQueue.Suspend

History:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWTF.WTF_SuspendableWorkQueue.SuspendTwice&test=TestWTF.WTF_SuspendableWorkQueue.Suspend&limit=50000&platform=mac&architecture=x86_64&style=debug

Failed
    TestWTF.WTF_SuspendableWorkQueue.Suspend
        
        /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Tools/TestWebKitAPI/Tests/WTF/SuspendableWorkQueue.cpp:70
        Value of: suspended
          Actual: true
        Expected: false
Comment 1 Radar WebKit Bug Importer 2022-09-28 11:31:12 PDT
<rdar://problem/100517874>
Comment 2 Alexey Proskuryakov 2022-09-30 18:26:39 PDT
If SuspendableWorkQueue is broken, that may cause serious problems for its users in WebKit.
Comment 3 Sihui Liu 2022-10-03 16:21:42 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4951
Comment 4 EWS 2022-10-05 01:26:12 PDT
Committed 255161@main (a8ab43132b0d): <https://commits.webkit.org/255161@main>

Reviewed commits have been landed. Closing PR #4951 and removing active labels.