Bug 242864

Summary: REGRESSION(252534@main): [ macOS ] TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories is constantly timing out
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-07-18 10:17:40 PDT
TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories

Is constantly timing out on macOS ToT and since 252534@main.

HISTORY:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories

The diff stdio output is captured locally.

DIFF:
Test suite failed

Timeout

    TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories
        ERROR: Could not create a sandbox extension for '/var/tmp'
        /Volumes/Data/worker/trunk---debug-archive/build/OpenSource/Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm(231) : static std::optional<Handle> WebKit::SandboxExtension::createHandleWithoutResolvingPath(WTF::StringView, WebKit::SandboxExtension::Type)
        ERROR: Could not create a sandbox extension for '/var/tmp'
        /Volumes/Data/worker/trunk---debug-archive/build/OpenSource/Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm(231) : static std::optional<Handle> WebKit::SandboxExtension::createHandleWithoutResolvingPath(WTF::StringView, WebKit::SandboxExtension::Type)
        2022-07-18 12:12:11.531 com.apple.WebKit.WebContent.Development[28466:5742823] ApplePersistence=NO
        ERROR: File failed to delete. Error message: Operation not permitted
        /Volumes/Data/worker/trunk---debug-archive/build/OpenSource/Source/WTF/wtf/posix/FileSystemPOSIX.cpp(269) : bool WTF::FileSystemImpl::deleteFile(const WTF::String &)

DIFF URL:
https://ews-build.webkit.org/#/builders/3/builds/76571/steps/14/logs/stdio
Comment 1 Radar WebKit Bug Importer 2022-07-18 10:18:36 PDT
<rdar://problem/97205394>
Comment 2 Hercules Hjalmarsson 2022-07-18 10:21:25 PDT
I was able to bisect the regression point to changes made in 252534@main running command:

run-api-tests TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageSpecificDirectories
Comment 3 Sihui Liu 2022-07-18 16:02:16 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2527
Comment 4 EWS 2022-07-19 17:41:46 PDT
Committed 252625@main (0915e758ce09): <https://commits.webkit.org/252625@main>

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