Bug 238220

Summary: [ iOS GPUP arm64 ] 5 webaudio/* are constant text failures since being unskipped.
Product: WebKit Reporter: Dawn Morningstar <Morningstar>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, eric.carlson, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Dawn Morningstar 2022-03-22 13:02:31 PDT
webaudio/Analyser/realtimeanalyser-fftsize-reset.html
webaudio/Analyser/realtimeanalyser-freq-data-smoothing.html
webaudio/Analyser/realtimeanalyser-freq-data.html
webaudio/OfflineAudioContext-bad-buffer-crash.html
webaudio/OfflineAudioContext/bad-buffer-length.html

Are constant text failures on GPUP iOS on arm64 since being unskipped in r291336.

HISTORY:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&test=webaudio%2FOfflineAudioContext-bad-buffer-crash.html&test=webaudio%2FOfflineAudioContext%2Fbad-buffer-length.html&test=webaudio%2Faudioworket-out-of-memory.html

(webaudio/OfflineAudioContext-bad-buffer-crash.html)DIFF:
--- /Volumes/Data/worker/ios-simulator-15-release-gpuprocess-arm64-tests-wk2/build/layout-test-results/webaudio/OfflineAudioContext-bad-buffer-crash-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-gpuprocess-arm64-tests-wk2/build/layout-test-results/webaudio/OfflineAudioContext-bad-buffer-crash-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: Failed to construct internal AudioBuffer with 1 channel(s), a sample rate of 44000 and a length of 536870912.
 This test passes if it does not crash.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".



(webaudio/Analyser/realtimeanalyser-freq-data.html)DIFF:
--- /Volumes/Data/worker/ios-simulator-15-release-gpuprocess-arm64-tests-wk2/build/layout-test-results/webaudio/Analyser/realtimeanalyser-freq-data-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-release-gpuprocess-arm64-tests-wk2/build/layout-test-results/webaudio/Analyser/realtimeanalyser-freq-data-actual.txt
@@ -38,11 +38,16 @@
 PASS   256-point byte FFT equals [102,169,255,255,255,255,255,255,252,233,255,253,218,242,250,226...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
 PASS < [8-order FFT] All assertions passed. (total 4 assertions)
 PASS > [9-order FFT]
-PASS   512-point float FFT equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0.000026}.
+FAIL X 512-point float FFT does not equal [expected array] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0.000026}.
+	Index	Actual			Expected		AbsError		RelError		Test threshold
+	[134]	-9.854143e+1	-9.854449e+1	3.059387e-3	3.104575e-5	2.604235e-3
+	Max AbsError of 3.059387e-3 at index of 134.
+	Max RelError of 3.104575e-5 at index of 134.
+ assert_true: expected true got false
 PASS   Order: 9: Min FFT value is less than or equal to -100.
 PASS   Order: 9: Max FFT value is greater than or equal to -30.
 PASS   512-point byte FFT equals [0,16,36,50,65,231,255,255,255,208,59,75,219,255,255,247...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
-PASS < [9-order FFT] All assertions passed. (total 4 assertions)
+FAIL < [9-order FFT] 1 out of 4 assertions were failed. assert_true: expected true got false
 PASS > [10-order FFT]
 PASS   1024-point float FFT equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0.000030}.
 PASS   Order: 10: Min FFT value is less than or equal to -100.
@@ -80,7 +85,12 @@
 PASS   32768-point byte FFT equals [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.
 PASS < [15-order FFT] All assertions passed. (total 4 assertions)
 PASS > [no smoothing]
-PASS   128-point float FFT equals [expected array] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0.000002}.
-PASS < [no smoothing] All assertions passed. (total 1 assertions)
-PASS # AUDIT TASK RUNNER FINISHED: 12 tasks ran successfully.
+FAIL X 128-point float FFT does not equal [expected array] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0.000002}.
+	Index	Actual			Expected		AbsError		RelError		Test threshold
+	[57]	-7.296743e+1	-7.296758e+1	1.449585e-4	1.986615e-6	1.144423e-4
+	Max AbsError of 1.449585e-4 at index of 57.
+	Max RelError of 1.986615e-6 at index of 57.
+ assert_true: expected true got false
+FAIL < [no smoothing] 1 out of 1 assertions were failed. assert_true: expected true got false
+FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 12 tasks were failed. assert_true: expected true got false
 


RESULTS-URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-GPUProcess-arm64-WK2-Tests/r291570%20(1303)/results.html
Comment 1 Radar WebKit Bug Importer 2022-03-22 13:03:24 PDT
<rdar://problem/90654434>
Comment 2 Dawn Morningstar 2022-03-22 13:07:19 PDT
Failure was reproducible on arm64 at iOS TOT using 
run-webkit-tests webaudio/Analyser/realtimeanalyser-fftsize-reset.html --ios-simulator --use-gpu-process