Bug 225816 - REGRESSION(r277313): [ Debug ] 2 TestWebKitAPI.IPCTestingAPI (API-Tests) are constant timeouts
Summary: REGRESSION(r277313): [ Debug ] 2 TestWebKitAPI.IPCTestingAPI (API-Tests) are ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-14 10:48 PDT by Robert Jenner
Modified: 2021-05-14 14:35 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.46 KB, patch)
2021-05-14 13:07 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-05-14 10:48:36 PDT
The following two TestWebKitAPI.IPCTestingAPI are constant timeouts on Catalina, BigSur, and iOS14-Simulator Debug:

TestWebKitAPI.IPCTestingAPI.CanReceiveIPCSemaphore
TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory

HISTORY:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.IPCTestingAPI.CanReceiveIPCSemaphore&test=TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory

Both APIs have the same history. It appears they both started timing out constantly at r277313. Working on reproduction steps.
Comment 1 Robert Jenner 2021-05-14 11:27:05 PDT
I have reproduced the timeout at BigSur Debug ToT using the following test:

run-api-tests TestWebKitAPI.IPCTestingAPI.CanReceiveIPCSemaphore


I was also able to verify the regression point. The timeouts did occur at r277313, but did not occur at r277312. So it appears r277313 caused the regression.
Comment 2 Radar WebKit Bug Importer 2021-05-14 11:27:43 PDT
<rdar://problem/78025515>
Comment 3 Sam Weinig 2021-05-14 13:05:41 PDT
Ok, we just need to update the names of some messages from ImageData to PixelBuffer.

These tests are really error prone and will likely see more of this kind of failure if we don’t have a more robust way to catch these failures at compile time or at least better errors when the signatures don’t match at runtime.
Comment 4 Sam Weinig 2021-05-14 13:07:28 PDT
Created attachment 428648 [details]
Patch
Comment 5 EWS 2021-05-14 14:35:40 PDT
Committed r277506 (237737@main): <https://commits.webkit.org/237737@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 428648 [details].