Bug 251240

Summary: REGRESSION(259112@main): [ iOS BigSur+ ] TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo is a constant failure.
Product: WebKit Reporter: Bri Harris <bharris9>
Component: WebKit Process ModelAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, gavin.p, rackler, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Bri Harris 2023-01-26 18:07:14 PST
TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo

is a constant failure on iOS and BigSur and higher.

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(213) : auto WebKit::ProcessLauncher::launchProcess()::(anonymous class)::operator()(xpc_object_t) const
        2023-01-26 15:37:14.864 TestWebKitAPI[46117:914644] -[__NSDictionaryM hasPrefix:]: unrecognized selector sent to instance 0x60000019fb40
        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
        
        
        File name unavailable
        Unknown C++ exception thrown in the test body.
Comment 1 Radar WebKit Bug Importer 2023-01-26 18:07:39 PST
<rdar://problem/104722759>
Comment 2 Bri Harris 2023-01-26 18:09:56 PST
I was able to reproduce this failure on Ventura Debug ToT running the test as follows:

run-api-tests TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo

I was also able to bisect and discovered the regression point. It fails at 259112@main but passes at 259111@main.
Comment 3 Alex Christensen 2023-01-27 14:21:31 PST
https://github.com/WebKit/WebKit/pull/9255
Comment 4 Alex Christensen 2023-01-27 14:21:50 PST
*** Bug 251292 has been marked as a duplicate of this bug. ***
Comment 5 Alexey Proskuryakov 2023-01-28 17:03:32 PST
The PR is marked as merged, is this fully fixed?
Comment 6 Karl Rackler 2023-01-31 10:06:53 PST
I confirmed the test is consistently passing after landing https://commits.webkit.org/259517@main.
Comment 7 Alexey Proskuryakov 2023-02-02 19:09:03 PST
So let's mark this RESOLVED/FIXED.