Bug 243934 - REGRESSION (253391@main): [ iOS ] 121 api tests consistent failures, time outs, or crashes
Summary: REGRESSION (253391@main): [ iOS ] 121 api tests consistent failures, time out...
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-15 07:25 PDT by Karl Rackler
Modified: 2022-08-17 11:03 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-08-15 07:25:40 PDT
Description:
api tests listed here: https://build.webkit.org/#/builders/529/builds/398/steps/18/logs/stdio


REPRODUCTION STEPS
I can reproduce this on 253391@main , but am unable to reproduce it on 253390@main or earlier.

Command: 
run-api-tests --ios-simulator --debug TestWebKitAPI.WebAuthenticationPanel.LANoCredential
run-api-tests --root 253391@main-debug --ios-simulator --debug TestWebKitAPI.WebAuthenticationPanel.MakeCredentialLAAttestationFalback

Result: 
Timeout

    TestWebKitAPI.WebAuthenticationPanel.LANoCredential
        ERROR: No hid authenticators is available.
        /Volumes/Data/worker/trunk-ios-ios-simulator-debug-archive/build/OpenSource/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidService.cpp(48) : virtual void WebKit::MockHidService::platformStartDiscovery()

Failed

    TestWebKitAPI.WebAuthenticationPanel.MakeCredentialLAAttestationFalback
        ERROR: No hid authenticators is available.
        /Volumes/Data/worker/trunk-ios-ios-simulator-debug-archive/build/OpenSource/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidService.cpp(48) : virtual void WebKit::MockHidService::platformStartDiscovery()
        ERROR: Couldn't get existing credentials
        /Volumes/Data/worker/trunk-ios-ios-simulator-debug-archive/build/OpenSource/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm(637) : void WebKit::LocalAuthenticator::receiveException(WebCore::ExceptionData &&, WebKit::WebAuthenticationStatus) const

        /Volumes/Data/worker/trunk-ios-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:1842
        Value of: response
          Actual: false
        Expected: true


        /Volumes/Data/worker/trunk-ios-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:1844
        Expected equality of these values:
          [response.attestationObject base64EncodedStringWithOptions:0]
            Which is: ""
          "o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViYo3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUdFAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEjElx54Be4RDrBJQO9wt0WPvG0epQECAyYgASFYIDj/zxSkzKgaBuS3cdWDF558of8AaIpgFpsjF/Qm1749IlggVBJPgqUIwfhWHJ91nb7UPH76c0+WFOzZKslPyyFse4g="

History:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebAuthenticationPanel.LANoCredential&test=TestWebKitAPI.WebAuthenticationPanel.MakeCredentialLAAttestationFalback&platform=ios

Diff/Crash Log:
Same as above Result:
Comment 1 Radar WebKit Bug Importer 2022-08-15 07:25:59 PDT
<rdar://problem/98668559>
Comment 2 Karl Rackler 2022-08-15 09:34:15 PDT
This reverts commit 3a3ad5e.

Unreviewed revert
This reverts because causing 121 api test failures.

Canonical link: https://commits.webkit.org/253426@main
Comment 3 Karl Rackler 2022-08-15 17:15:24 PDT
Confirmed after landing 253426@main api tests are now passing