<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>240476</bug_id>
          
          <creation_ts>2022-05-16 13:47:22 -0700</creation_ts>
          <short_desc>[ iOS ] Two TestWebKitAPI.WebAuthenticationPanel.GetAssertionLA API tests are a consistent failure</short_desc>
          <delta_ts>2022-05-16 14:40:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>240406</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=240406</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>pascoe</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1869392</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-16 13:47:22 -0700</bug_when>
    <thetext>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: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA==&quot;
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA==&quot;

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: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA==&quot;
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA==&quot;


History:
https://results.webkit.org/?limit=50000&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WebAuthenticationPanel.GetAssertionLAClientDataHash&amp;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: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA==&quot;
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA==&quot;
        
    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: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcdAAAAAA==&quot;
          [expectedAuthenticatorData base64EncodedStringWithOptions:0]
            Which is: &quot;o3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUcFAAAAAA==&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869393</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-16 13:47:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/93370210&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869395</commentid>
    <comment_count>2</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2022-05-16 13:51:58 -0700</bug_when>
    <thetext>I believe this is fixed by https://bugs.webkit.org/show_bug.cgi?id=240406</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869396</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-05-16 14:01:18 -0700</bug_when>
    <thetext>(In reply to j_pascoe@apple.com from comment #2)
&gt; I believe this is fixed by https://bugs.webkit.org/show_bug.cgi?id=240406

Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869423</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-05-16 14:40:25 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 240406 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>