Bug 221222

Summary: [webkitscmpy] Interprocess lock waits indefinitely
Product: WebKit Reporter: Don Olmstead <don.olmstead>
Component: Tools / TestsAssignee: Don Olmstead <don.olmstead>
Status: ASSIGNED ---    
Severity: Normal CC: jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Don Olmstead 2021-02-01 13:13:35 PST
The fasteners.process_lock.InterProcessLock when used in a with block will wait indefinitely for the lock to be available. This can cause tests to hang indefinitely. Suggestion is to create the lock and manually acquire with a timeout and do a release.
Comment 1 Don Olmstead 2021-02-02 09:11:23 PST
Created attachment 419007 [details]
Patch
Comment 2 Jonathan Bedard 2021-02-02 10:20:39 PST
Don and I discussed this on Slack. Long term, this may be correct, but the root of this problem on Windows may be the fact that we're using threads instead of processes. https://bugs.webkit.org/show_bug.cgi?id=217680 is going to fix that, so for now, we're going to skip the effected tests on Windows.
Comment 3 Radar WebKit Bug Importer 2021-02-08 13:14:14 PST
<rdar://problem/74110831>