Bug 236744

Summary: REGRESSION(r289580): [ iOS macOS ] TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory is a constant timeout
Product: WebKit Reporter: Dawn Morningstar <Morningstar>
Component: WebKit2Assignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, eric.carlson, ews-watchlist, glenn, gyuyoung.kim, jer.noble, kkinnunen, koivisto, philipj, ryuan.choi, sergio, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 236305    
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch none

Description Dawn Morningstar 2022-02-16 17:25:19 PST
TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory 

Is a constant timeout on macOS and iOS15.

HISTORY:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory
Comment 1 Radar WebKit Bug Importer 2022-02-16 17:25:54 PST
<rdar://problem/89058397>
Comment 2 Dawn Morningstar 2022-02-16 17:56:28 PST
Timeout was reproduced at Monterey Debug TOT using the following test:
run-api-tests TestWebKitAPI.IPCTestingAPI.CanReceiveSharedMemory

Timeout was also reproduced at r289580 but not r289579.

Changes in r289580 likely caused this timeout.
https://trac.webkit.org/changeset/289580/webkit
Comment 3 Ryan Haddad 2022-02-22 16:44:52 PST
Disabled test in r290340
Comment 4 Kimmo Kinnunen 2022-02-24 23:58:17 PST
Created attachment 453179 [details]
Patch
Comment 5 Kimmo Kinnunen 2022-02-25 00:20:50 PST
Created attachment 453181 [details]
Patch
Comment 6 Kimmo Kinnunen 2022-02-25 00:24:37 PST
Created attachment 453182 [details]
Patch
Comment 7 Antti Koivisto 2022-02-25 05:02:22 PST
Comment on attachment 453182 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=453182&action=review

> LayoutTests/ipc/stream-sync-reply-shared-memory.html:11
> +    const streamTesterID = 447;

Does this number have some significance?
Comment 8 Kimmo Kinnunen 2022-02-25 05:11:30 PST
(In reply to Antti Koivisto from comment #7)
> > LayoutTests/ipc/stream-sync-reply-shared-memory.html:11
> > +    const streamTesterID = 447;
> 
> Does this number have some significance?

No, the test just picks one.
Comment 9 EWS 2022-02-25 05:27:55 PST
Committed r290505 (247790@main): <https://commits.webkit.org/247790@main>

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