<?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>243934</bug_id>
          
          <creation_ts>2022-08-15 07:25:40 -0700</creation_ts>
          <short_desc>REGRESSION (253391@main): [ iOS ] 121 api tests consistent failures, time outs, or crashes</short_desc>
          <delta_ts>2022-08-17 11:03:57 -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>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242730</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=244043</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>emw</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>1891325</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-15 07:25:40 -0700</bug_when>
    <thetext>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&apos;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 &amp;&amp;, 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: &quot;&quot;
          &quot;o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViYo3mm9u6vuaVeN4wRgDTidR5oL6ufLTCrE9ISVYbOGUdFAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEjElx54Be4RDrBJQO9wt0WPvG0epQECAyYgASFYIDj/zxSkzKgaBuS3cdWDF558of8AaIpgFpsjF/Qm1749IlggVBJPgqUIwfhWHJ91nb7UPH76c0+WFOzZKslPyyFse4g=&quot;

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

Diff/Crash Log:
Same as above Result:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891326</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-15 07:25:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/98668559&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891352</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-15 09:34:15 -0700</bug_when>
    <thetext>This reverts commit 3a3ad5e.

Unreviewed revert
This reverts because causing 121 api test failures.

Canonical link: https://commits.webkit.org/253426@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891503</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-15 17:15:24 -0700</bug_when>
    <thetext>Confirmed after landing 253426@main api tests are now passing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>