Bug 241421 - [ macOS ][ iOS ] TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError is a flaky timeout
Summary: [ macOS ][ iOS ] TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError is a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-08 09:33 PDT by Karl Rackler
Modified: 2022-06-10 10:30 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2022-06-08 09:33:52 PDT
Description:
TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError

The first failure that I saw on the dashboard was on 2/21/2022 at 247576@main.  The history on the dashboard shows flakiness occurs more frequently on iOS than macOS.

History:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError&limit=50000

Log:
Timeout

    TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError
        ERROR: Could not complete AppSSO: 0
        /Volumes/Data/worker/trunk-opensource-ios-simulator-debug-archive/build/OpenSource/Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.mm(132) : -[WKSOAuthorizationDelegate authorization:didCompleteWithError:]
Comment 1 Radar WebKit Bug Importer 2022-06-08 09:34:15 PDT
<rdar://problem/94641397>
Comment 2 Karl Rackler 2022-06-08 13:36:37 PDT
REPRODUCTION STEPS

Command: 
run-api-tests --ios-simulator --debug TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError

Result: 
Test suite failed

Timeout

    TestWebKitAPI.SOAuthorizationSubFrame.InterceptionError
        ERROR: Could not complete AppSSO: 0
        /Volumes/Data/worker/trunk-opensource-ios-simulator-debug-archive/build/OpenSource/Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.mm(132) : -[WKSOAuthorizationDelegate authorization:didCompleteWithError:]
Comment 3 Brent Fulgham 2022-06-08 13:57:29 PDT
It seems very unlikely that the timeouts are related to the Xcode project change in 247576@main.
Comment 4 Karl Rackler 2022-06-08 16:13:02 PDT
(In reply to Brent Fulgham from comment #3)
> It seems very unlikely that the timeouts are related to the Xcode project
> change in 247576@main.

I agree.  I could not find a commit near that range that I could attribute to the timeouts starting.
Comment 5 Brent Fulgham 2022-06-08 16:21:53 PDT
I tried running this on macOS in a loop, but couldn't get the timeout. I'm building for simulator now to see if I can repro.
Comment 6 Brent Fulgham 2022-06-09 15:45:24 PDT
This is the same issue as Bug 239311.
Comment 7 Brent Fulgham 2022-06-09 15:49:53 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1433
Comment 8 Brent Fulgham 2022-06-09 15:52:09 PDT
The proposed change also removes a number of arbitrary 0.5s sleeps, which may help bots move a tiny bit more quickly.
Comment 9 EWS 2022-06-10 10:30:16 PDT
Committed r295456 (251462@main): <https://commits.webkit.org/251462@main>

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