Bug 245078

Summary: REGRESSION(254321@main): [ iOS macOS Debug ] TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo is a constant failure
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Alex Christensen <achristensen>
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-09-12 08:52:55 PDT
TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo

Is a constant API failure on iOS ToT and since 254321@main.

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

DIFF:
Error while launching com.apple.WebKit.Networking: Connection invalid
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm(233) : auto WebKit::ProcessLauncher::launchProcess()::(anonymous class)::operator()(xpc_object_t) const
        2022-09-12 08:34:46.711 TestWebKitAPI[72640:5389041] Please remove from expectedTypesNeedingDescriptions: {(
            "WebKit::TouchBarMenuData",
            "WebCore::MediaSessionIdentifier",
            "WebCore::PageOverlay::PageOverlayID",
            "WebKit::WebContextMenuItemData",
            "WebCore::DisplayUpdate",
            "WebKit::PDFContextMenu",
            "WebCore::MediaPositionState",
            "WebCore::MediaUsageInfo",
            "WebKit::DisplayLinkObserverID",
            "WebCore::LayoutPoint",
            "WebKit::PDFPluginIdentifier",
            CGDirectDisplayID,
            "audit_token_t",
            "WebCore::HTMLModelElementCamera",
            "WebKit::ContextMenuContextData",
            "WebKit::ScrollingAccelerationCurve",
            "WebCore::PlaybackTargetClientContextIdentifier",
            "WebKit::ModelIdentifier",
            CGDisplayChangeSummaryFlags,
            "Inspector::ExtensionError",
            "WebKit::TouchBarMenuItemData",
            void
        )}
        2022-09-12 08:34:46.712 TestWebKitAPI[72640:5389041] Please add too expectedTypesNeedingDescriptions: {(
            "WebKit::WebAutocorrectionData",
            "WebCore::SystemPreviewInfo",
            "WebKit::WebAutocorrectionContext",
            "WebCore::MediaControlsContextMenuItem",
            "WebCore::SelectionGeometry",
            "WebCore::FloatQuad",
            "WebKit::SelectionFlags",
            "WebKit::InteractionInformationRequest",
            "WebKit::FocusedElementInformation",
            "WebCore::PromisedAttachmentInfo",
            "WebKit::InteractionInformationAtPosition",
            "WebCore::InspectorOverlay::Highlight",
            "WebCore::ApplePayAMSUIRequest",
            "WebKit::WebEvent::Modifier",
            "WebCore::DragSourceAction",
            "WebCore::ViewportArguments",
            "WebCore::PasteboardWebContent",
            "WebKit::TapIdentifier",
            "WebCore::PasteboardImage",
            "WebKit::RevealItem",
            "WebCore::MediaControlsContextMenuItem::ID",
            "WebKit::DocumentEditingContextRequest",
            "WebKit::DocumentEditingContext"
        )}
        LEAK: 1 WebProcessPool
        LEAK: 1 WebPageProxy
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:1130
        Expected equality of these values:
          unexpectedRemovals.count
            Which is: 22
          0u
            Which is: 0
        
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:1131
        Expected equality of these values:
          unexpectedAdditions.count
            Which is: 23
          0u
            Which is: 0
Comment 1 Hercules Hjalmarsson 2022-09-12 08:54:00 PDT
The constant failure is also on macOS and iOS (Debug).
Comment 2 Radar WebKit Bug Importer 2022-09-12 08:54:25 PDT
<rdar://problem/99823665>
Comment 3 Hercules Hjalmarsson 2022-09-12 08:55:45 PDT
This issue can be bisected to 254321@main using command:

run-api-tests --iterations=2  --ios-simulator --debug  TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo

You may need to download builds similar to the bots to test on.
Comment 4 Alex Christensen 2022-09-12 09:40:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4263
Comment 5 EWS 2022-09-12 11:40:21 PDT
Committed 254397@main (26b6fba0b279): <https://commits.webkit.org/254397@main>

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