<?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>221499</bug_id>
          
          <creation_ts>2021-02-05 13:27:39 -0800</creation_ts>
          <short_desc>[ iOS 14 WK2] 5 TestWebKitAPI.GPUProcess API tests are flakey failing [webView _isPlayingAudio] checks on bot651</short_desc>
          <delta_ts>2022-02-11 14:25:58 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=225475</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayumi_kojima</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jonlee</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>1726255</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-05 13:27:39 -0800</bug_when>
    <thetext>TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo
TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes
TestWebKitAPI.GPUProcess.RelaunchOnCrash


Are flakey API failures on iOS 14 WK2 occurring on bot651 


Following the history back, the flakey failures for all 3 APIs appear to all occur on the spade spades. 

HISTORY URL:
https://results.webkit.org/?platform=ios&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.GPUProcess.RelaunchOnCrash&amp;test=TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes&amp;test=TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes

CRASH LOG URL:
https://build.webkit.org/builders/Apple-iOS-14-Simulator-Release-WK2-Tests/builds/1981/steps/run-api-tests/logs/json

CRASH LOG TEXT:
{
    &quot;Failed&quot;: [
        {
            &quot;output&quot;: &quot;\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:262\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:282\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n&quot;, 
            &quot;name&quot;: &quot;TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo&quot;
        }, 
        {
            &quot;output&quot;: &quot;ERROR: AudioOutputUnitStart() call failed with error code: -10851\nERROR: AudioOutputUnitStart() call failed with error code: -10851\n\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:153\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:222\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n&quot;, 
            &quot;name&quot;: &quot;TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes&quot;
        }, 
        {
            &quot;output&quot;: &quot;ERROR: AudioOutputUnitStart() call failed with error code: -10851\n\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:97\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n\n/Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:115\nValue of: [webView _isPlayingAudio]\n  Actual: false\nExpected: true\n\n&quot;, 
            &quot;name&quot;: &quot;TestWebKitAPI.GPUProcess.RelaunchOnCrash&quot;
        }
    ], 
    &quot;Timedout&quot;: [], 
    &quot;Skipped&quot;: [], 
    &quot;Crashed&quot;: []
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726256</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-05 13:28:02 -0800</bug_when>
    <thetext>&lt;rdar://problem/74038728&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726267</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-05 14:03:22 -0800</bug_when>
    <thetext>https://build.webkit.org/builders/Apple-iOS-14-Simulator-Release-WK2-Tests/builds/1980/steps/run-api-tests/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726272</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-05 14:16:40 -0800</bug_when>
    <thetext>STDIO LOG URL:
https://build.webkit.org/builders/Apple-iOS-14-Simulator-Release-WK2-Tests/builds/1981/steps/run-api-tests/logs/stdio

TEXT:

TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo

        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:262
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true


        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:282
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true


    TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes
        ERROR: AudioOutputUnitStart() call failed with error code: -10851
        ERROR: AudioOutputUnitStart() call failed with error code: -10851

        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:153
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true


        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:222
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true


    TestWebKitAPI.GPUProcess.RelaunchOnCrash
        ERROR: AudioOutputUnitStart() call failed with error code: -10851

        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:97
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true


        /Volumes/Data/slave/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:115
        Value of: [webView _isPlayingAudio]
          Actual: false
        Expected: true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726760</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-08 13:14:46 -0800</bug_when>
    <thetext>The current theory is that this is a bot specific issue, as we are only seeing this behavior on bot651. We also don&apos;t see it on any Apple internal bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1776944</commentid>
    <comment_count>5</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-14 09:05:03 -0700</bug_when>
    <thetext>TestWebKitAPI.GPUProcess.ExitsUnderMemoryPressureWebAudioNonRenderingAudioContext
TestWebKitAPI.GPUProcess.ExitsUnderMemoryPressureWebAudioCase

Are also flaky API failures/crashes on iOS 14 wk2 on bot651. It seems the tests have been passing for a while, but have started failing/crashing again at around r278398 (6/3/2021)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>