Bug 240476 - [ iOS ] Two TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA API tests are a consistent failure
Summary: [ iOS ] Two TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA API tests are...
Status: RESOLVED DUPLICATE of bug 240406
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-05-16 13:47 PDT by Karl Rackler
Modified: 2022-05-16 14:40 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-05-16 13:47:22 PDT
Description:
TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA
TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHashMediation

These API tests are a consistent failure on [ iOS ] bots.  The first failure that I saw on the dashboard was 5/12/2022 at r294125.

REPRODUCTION STEPS
I can reproduce this on r294122 but cannot reproduce it on r294121 or earlier.

Command: 
run-api-tests --root 294122-debug --ios-simulator —release TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA

Result: 
Failed

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

        /Volumes/Data/worker/trunk-skyecho-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:2101
        Expected equality of these values:
          [response.authenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA=="
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA=="

Command: 
run-api-tests --root 294122-debug --ios-simulator —release TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHashMediation

Result: 
Failed

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

        /Volumes/Data/worker/trunk-skyecho-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:2151
        Expected equality of these values:
          [response.authenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA=="
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA=="


History:
https://results.webkit.org/?limit=50000&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHash&test=TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHashMediation

Log:
Failed
    TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA
        ERROR: No hid authenticators is available.
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidService.cpp(48) : virtual void WebKit::MockHidService::platformStartDiscovery()
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:2101
        Expected equality of these values:
          [response.authenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA=="
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA=="
        
    TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHashMediation
        ERROR: No hid authenticators is available.
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Source/WebKit/UIProcess/WebAuthentication/Mock/MockHidService.cpp(48) : virtual void WebKit::MockHidService::platformStartDiscovery()
        
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:2151
        Expected equality of these values:
          [response.authenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA=="
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: "o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA=="
Comment 1 Radar WebKit Bug Importer 2022-05-16 13:47:37 PDT
<rdar://problem/93370210>
Comment 2 pascoe@apple.com 2022-05-16 13:51:58 PDT
I believe this is fixed by https://bugs.webkit.org/show_bug.cgi?id=240406
Comment 3 Karl Rackler 2022-05-16 14:01:18 PDT
(In reply to j_pascoe@apple.com from comment #2)
> I believe this is fixed by https://bugs.webkit.org/show_bug.cgi?id=240406

Thank you!
Comment 4 Ryan Haddad 2022-05-16 14:40:25 PDT

*** This bug has been marked as a duplicate of bug 240406 ***