Bug 262133

Summary: REGRESSION(267947@main?): [ macOS wk1 release ] js/ShadowRealm-importValue.html is a flakily/consistently timing out.
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mwyrzykowski, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261484

Description Ben Schwartz 2023-09-26 11:38:55 PDT
js/ShadowRealm-importValue.html

This test is a flaky/consistent timeout on macOS wk1 release builds.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=js%2FShadowRealm-importValue.html&platform=mac&style=release&flavor=wk1

TEXT DIFF:

-CONSOLE MESSAGE: 42
-CONSOLE MESSAGE: 100
+FAIL: Timed out waiting for notifyDone to be called
 Test to ensure correct behaviour of ShadowRealm.prototype.importValue
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-shadowRealm: calling nested realm wrapper uses correct global: OK
-shadowRealm: nested realm eval uses correct global: OK
 
-PASS can import module in a shadow realm
-PASS can nest realms
-

DIFF URL:

https://build.webkit.org/results/Apple-Ventura-Release-WK1-Tests/268448@main%20(4216)/js/ShadowRealm-importValue-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Ventura (13.5, 22G74/arm64) ToT using the following command:

run-webkit-tests -1 --clobber-old-results --verbose --iterations 100 --exit-after-n-failures 1 js/ShadowRealm-importValue.html

REGRESSION:

I was able to identify a potential regression point at 267947@main. As I don't have access to a reliable testing environment, I can't bisect to be sure; however, changes at this point seem directly related to the issue and the first timeout instance is only a few commits later at 267955@main.
Comment 1 Radar WebKit Bug Importer 2023-09-26 11:39:05 PDT
<rdar://problem/116068872>
Comment 2 EWS 2023-09-26 11:47:17 PDT
Test gardening commit 268465@main (210db9aa787e): <https://commits.webkit.org/268465@main>

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