Bug 248842

Summary: REGRESSION(256538@main): TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo is a constant failure
Product: WebKit Reporter: Robert Jenner <jenner>
Component: Service WorkersAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Robert Jenner 2022-12-06 16:17:08 PST
TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo is a constant failure on macOS and iOS. 


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

FAILURE TEXT:

    TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo
        ERROR: Error while launching com.apple.WebKit.Networking: Connection invalid
        /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm(212) : auto WebKit::ProcessLauncher::launchProcess()::(anonymous class)::operator()(xpc_object_t) const
        LEAK: 1 WebProcessPool
        LEAK: 1 WebPageProxy
        
        /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:554
        Value of: [typeInfo[@"WebCore::CacheQueryOptions"] isEqualToArray:expectedArray]
          Actual: false
        Expected: true
        

https://build.webkit.org/#/builders/704/builds/377/steps/19/logs/stdio
Comment 1 Radar WebKit Bug Importer 2022-12-06 16:17:37 PST
<rdar://problem/103046843>
Comment 2 Robert Jenner 2022-12-06 16:33:44 PST
The regression point is very clear in the history link. It appears that 256538@main cause this API-test to fail. 

I have also reproduced the failure at macOS Ventura Debug ToT running the test as follows:


run-api-tests TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo

And I also confirmed that 256538@main introduced the failure, with the failure occurring when testing 256538@main, but not at 256537@main.
Comment 3 youenn fablet 2022-12-07 02:54:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/7254
Comment 4 EWS 2022-12-07 07:58:45 PST
Committed 257479@main (9189eee0f54e): <https://commits.webkit.org/257479@main>

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