Bug 263623

Summary: NEW TEST (269687@main): [ macOS iOS17 Debug ] Multiple tests are crashing and timing out in http/tests/webgpu/webgpu
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mwyrzykowski, tzagallo, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Marta Darbinyan 2023-10-24 16:21:39 PDT
Description:
The following tests are constantly crashing on macOS and some tests are timing out on iOS17 since they introduced in 269687@main.

http/tests/webgpu/webgpu/shader/validation/shader_io/builtins.html
http/tests/webgpu/webgpu/api/validation/render_pass/attachment_compatibility.html
http/tests/webgpu/webgpu/shader/execution/expression/call/builtin/any.html
http/tests/webgpu/webgpu/api/validation/resource_usages/buffer/in_pass_encoder.html
http/tests/webgpu/webgpu/api/operation/rendering/basic.html
http/tests/webgpu/webgpu/api/validation/resource_usages/buffer/in_pass_misc.html
http/tests/webgpu/webgpu/shader/validation/parse/align.html
http/tests/webgpu/webgpu/shader/execution/expression/call/builtin/acosh.html
http/tests/webgpu/webgpu/shader/execution/expression/call/builtin/all.html
http/tests/webgpu/webgpu/shader/validation/expression/access/vector.html  
http/tests/webgpu/webgpu/shader/execution/expression/call/builtin/acos.html
http/tests/webgpu/webgpu/api/validation/query_set/create.html 
http/tests/webgpu/webgpu/api/operation/memory_sync/buffer/single_buffer.html 
http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/setIndexBuffer.html
http/tests/webgpu/webgpu/api/validation/encoding/cmds/compute_pass.html
http/tests/webgpu/webgpu/api/validation/encoding/cmds/copyTextureToTexture.html
http/tests/webgpu/webgpu/api/validation/queue/copyToTexture/CopyExternalImageToTexture.html
http/tests/webgpu/webgpu/api/validation/encoding/cmds/debug.html
http/tests/webgpu/webgpu/api/validation/render_pipeline/vertex_state.html  
http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/setPipeline.html  
http/tests/webgpu/webgpu/api/validation/render_pass/resolve.html 
http/tests/webgpu/webgpu/shader/execution/expression/call/builtin/abs.html
http/tests/webgpu/webgpu/api/validation/texture/destroy.html 
http/tests/webgpu/webgpu/api/validation/encoding/cmds/setBindGroup.html 
http/tests/webgpu/webgpu/api/operation/memory_sync/texture/same_subresource.html
http/tests/webgpu/webgpu/api/validation/encoding/queries/general.html
http/tests/webgpu/webgpu/api/validation/encoding/createRenderBundleEncoder.html 
http/tests/webgpu/webgpu/api/validation/image_copy/texture_related.html 
http/tests/webgpu/webgpu/api/validation/queue/writeTexture.html 
http/tests/webgpu/webgpu/api/operation/shader_module/compilation_info.html 
http/tests/webgpu/webgpu/api/operation/command_buffer/programmable/state_tracking.html
http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/setVertexBuffer.html 
http/tests/webgpu/webgpu/api/operation/memory_sync/buffer/multiple_buffers.html
http/tests/webgpu/webgpu/shader/validation/shader_io/binding.html
http/tests/webgpu/webgpu/shader/validation/uniformity/uniformity.html
http/tests/webgpu/webgpu/api/validation/resource_usages/texture/in_pass_encoder.html
http/tests/webgpu/webgpu/api/validation/encoding/render_bundle.html
http/tests/webgpu/webgpu/shader/validation/functions/alias_analysis.html
http/tests/webgpu/webgpu/shader/validation/const_assert/const_assert.html
http/tests/webgpu/webgpu/api/operation/sampling/anisotropy.html 
http/tests/webgpu/webgpu/shader/execution/expression/binary/f32_matrix_subtraction.html
http/tests/webgpu/webgpu/shader/validation/expression/call/builtin/acos.html
http/tests/webgpu/webgpu/shader/validation/types/alias.html 
http/tests/webgpu/webgpu/shader/validation/expression/binary/bitwise_shift.html
http/tests/webgpu/webgpu/shader/validation/decl/override.html
http/tests/webgpu/webgpu/shader/validation/expression/call/builtin/abs.html
http/tests/webgpu/webgpu/api/validation/image_copy/buffer_texture_copies.html
http/tests/webgpu/webgpu/shader/validation/decl/const.html
http/tests/webgpu/webgpu/web_platform/canvas/configure.html
http/tests/webgpu/webgpu/api/validation/encoding/encoder_open_state.html
http/tests/webgpu/webgpu/api/validation/encoding/encoder_state.html
http/tests/webgpu/webgpu/api/validation/queue/destroyed/query_set.html 
http/tests/webgpu/webgpu/api/operation/render_pipeline/pipeline_output_targets.html
http/tests/webgpu/webgpu/api/validation/render_pipeline/fragment_state.html 
http/tests/webgpu/webgpu/api/validation/encoding/beginComputePass.html 
http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/indirect_draw.html 
http/tests/webgpu/webgpu/api/validation/encoding/queries/resolveQuerySet.html  
http/tests/webgpu/webgpu/api/validation/encoding/programmable/pipeline_bind_group_compat.html
http/tests/webgpu/webgpu/api/validation/render_pass/render_pass_descriptor.html
http/tests/webgpu/webgpu/api/validation/render_pipeline/depth_stencil_state.html
http/tests/webgpu/webgpu/api/validation/compute_pipeline.html
http/tests/webgpu/webgpu/api/validation/encoding/cmds/render/draw.html 
http/tests/webgpu/webgpu/shader/execution/robust_access.html
http/tests/webgpu/webgpu/api/validation/gpu_external_texture_expiration.html 
http/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxColorAttachments.html
http/tests/webgpu/webgpu/shader/execution/expression/unary/af_arithmetic.html
http/tests/webgpu/webgpu/shader/execution/expression/binary/af_comparison.html 
http/tests/webgpu/webgpu/shader/execution/expression/binary/af_division.html
http/tests/webgpu/webgpu/api/validation/queue/destroyed/texture.html 
http/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxTextureDimension2D.html
http/tests/webgpu/webgpu/api/validation/queue/destroyed/buffer.html
http/tests/webgpu/webgpu/shader/execution/expression/unary/af_assignment.html
http/tests/webgpu/webgpu/shader/execution/expression/unary/bool_conversion.html 
http/tests/webgpu/webgpu/shader/execution/expression/binary/af_addition.html



This issue can be bisected to 269687@main using the command: 
run-webkit-tests --debug --iterations=10 http/tests/webgpu/webgpu/api/validation/capability_checks/limits/maxColorAttachments.html


History:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Foperation%2Fmemory_sync%2Fbuffer%2Fsingle_buffer.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Foperation%2Fmemory_sync%2Ftexture%2Fsame_subresource.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2Fcompute_pass.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2FcopyTextureToTexture.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2Fdebug.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2Frender%2FsetIndexBuffer.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2Frender%2FsetPipeline.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fcmds%2FsetBindGroup.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2FcreateRenderBundleEncoder.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fencoding%2Fqueries%2Fgeneral.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fimage_copy%2Ftexture_related.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fquery_set%2Fcreate.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Fqueue%2FcopyToTexture%2FCopyExternalImageToTexture.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Frender_pass%2Fresolve.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Frender_pipeline%2Fvertex_state.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fapi%2Fvalidation%2Ftexture%2Fdestroy.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fshader%2Fexecution%2Fexpression%2Fcall%2Fbuiltin%2Fabs.html&test=http%2Ftests%2Fwebgpu%2Fwebgpu%2Fshader%2Fvalidation%2Fparse%2Fattribute.html


Link to crash logs:
https://build.webkit.org/results/Apple-iOS-17-Simulator-Debug-WK2-Tests/269700@main%20(196)/fast/dom/Orientation/no-orientation-change-event-when-unparenting-view-crash-log.txt
Comment 1 Radar WebKit Bug Importer 2023-10-24 16:22:00 PDT
<rdar://problem/117441946>
Comment 2 Ryan Haddad 2023-10-24 16:50:14 PDT
The linked crash log is for a different (non WebGPU) test that isn't indicative of the problem.

Looking through the various crashlogs in https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK2-Tests/269687@main%20(285)/results.html for the WebGPU tests, it looks like there are many different crashes. 

Of the three I randomly picked, one is an assertion failure in WGSL::TypeChecker::visitVariable, another in WebGPU::Texture::aspectSpecificFormat, and another is crashing beneath WebKit.
Comment 3 EWS 2023-10-24 17:14:03 PDT
Test gardening commit 269743@main (09f937bd3dc6): <https://commits.webkit.org/269743@main>

Reviewed commits have been landed. Closing PR #19518 and removing active labels.