Bug 237559

Summary: [ iOS Debug ] fast/canvas/webgl/index-validation-with-resized-buffer.html is a flaky failure
Product: WebKit Reporter: Dawn Morningstar <Morningstar>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, dino, kbr, kkinnunen, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 237372    
Bug Blocks:    

Description Dawn Morningstar 2022-03-07 14:50:59 PST
fast/canvas/webgl/index-validation-with-resized-buffer.html
Is a flaky failure on iOS Debug queues.

Failure appears to originate around r289703 but further investigation is needed to identify regression point.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fcanvas%2Fwebgl%2Findex-validation-with-resized-buffer.html&platform=ios

DIFF:
--- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/canvas/webgl/index-validation-with-resized-buffer-expected.txt
+++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/canvas/webgl/index-validation-with-resized-buffer-actual.txt
@@ -1,16 +1,16 @@
+CONSOLE MESSAGE: WebGL: INVALID_VALUE: shaderSource: attempt to use a deleted program or shader
+CONSOLE MESSAGE: WebGL: INVALID_VALUE: compileShader: attempt to use a deleted program or shader
+CONSOLE MESSAGE: WebGL: INVALID_VALUE: getShaderParameter: attempt to use a deleted program or shader
+CONSOLE MESSAGE: WebGL: INVALID_VALUE: getShaderInfoLog: attempt to use a deleted program or shader
+CONSOLE MESSAGE: *** Error compiling shader '[object WebGLShader]':null
+CONSOLE MESSAGE: TypeError: null is not an object (evaluating 'gl.NO_ERROR')
 Test that updating the size of a vertex buffer is properly noticed by the WebGL implementation.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
-PASS getError was expected value: NO_ERROR : after initialization
-PASS getError was expected value: NO_ERROR : after vertex setup
-PASS getError was expected value: NO_ERROR : after texture coord setup
-PASS getError was expected value: NO_ERROR : after vertex redefinition
-PASS getError was expected value: NO_ERROR : after texture coordinate / color redefinition
-PASS getError was expected value: NO_ERROR : after setting up indices
-PASS getError was expected value: NO_ERROR : after drawing
-
-PASS successfullyParsed is true
+*** Error compiling shader '[object WebGLShader]':null
+FAIL successfullyParsed should be true. Was false.
+Some tests failed.
 
 TEST COMPLETE
 
DIFF-URL:
https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/r290888%20(1860)/fast/canvas/webgl/index-validation-with-resized-buffer-diff.txt
Comment 1 Radar WebKit Bug Importer 2022-03-07 14:51:26 PST
<rdar://problem/89931080>
Comment 2 Kenneth Russell 2022-03-09 14:55:28 PST
Could these failures stem from the GPU process crashing unexpectedly?
Comment 3 Dawn Morningstar 2022-03-09 15:31:35 PST
(In reply to Kenneth Russell from comment #2)
> Could these failures stem from the GPU process crashing unexpectedly?

They look as if they could've been tangentially related to https://bugs.webkit.org/show_bug.cgi?id=237372 as after that fix, these appear to no longer be failing.
Comment 4 Kenneth Russell 2022-03-09 15:51:54 PST
Thanks for the info - interesting, but good that these are probably not real failures.
Comment 5 Dawn Morningstar 2022-03-11 11:03:25 PST
Failure appears resolved as of 3/7/22