Bug 265957

Summary: REGRESSION (271535@main): [ macOS Release wk2 ] fullscreen/full-screen-layer-dump.html is frequent failure
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: New BugsAssignee: Claudio Saavedra <csaavedra>
Status: RESOLVED FIXED    
Severity: Normal CC: csaavedra, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marta Darbinyan
Reported 2023-12-06 12:09:40 PST
Description: fullscreen/full-screen-layer-dump.html is failing consistently on macOS Release wk2 started from 271535@main. This issue can be bisected to 271535@main by using the command: run-webkit-tests --release --iterations=50 fullscreen/full-screen-layer-dump.html Confirmed: 271535@main - FAILED 50/50 271534@main - PASSED 50/50 History: https://results.webkit.org/?suite=layout-tests&test=fullscreen%2Ffull-screen-layer-dump.html&version_name=Monterey&version_name=Sonoma&version_name=Ventura&flavor=wk2 Diff Log: Test passes if you see a contents layer 3x the size and with a negative offset equal to the size: (GraphicsLayer (anchor 0.00 0.00) (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (contentsOpaque 1) (backgroundColor #000000) (children 2 (GraphicsLayer (preserves3D 1) (children 1 (GraphicsLayer (bounds 800.00 600.00) (children 2 (GraphicsLayer (anchor 0.00 0.00) (bounds 800.00 600.00) (contents layer (background color) (position -800.00 -600.00) (bounds 2400.00 1800.00) ) ) (GraphicsLayer (bounds 800.00 600.00) ) ) ) ) ) (GraphicsLayer (preserves3D 1) (children 1 (GraphicsLayer (bounds 800.00 600.00) Link: https://build.webkit.org/results/Apple-Sonoma-Release-WK2-Tests/271609@main%20(865)/fullscreen/full-screen-layer-dump-pretty-diff.html
Attachments
Radar WebKit Bug Importer
Comment 1 2023-12-06 12:10:16 PST
EWS
Comment 2 2023-12-06 15:27:36 PST
Test gardening commit 271641@main (b940f6dc0db7): <https://commits.webkit.org/271641@main> Reviewed commits have been landed. Closing PR #21414 and removing active labels.
Alexey Proskuryakov
Comment 3 2023-12-06 16:16:37 PST
Looking at the history, it doesn't appear to be consistent, but is indeed failing very frequently. That must be why EWS didn't detect it.
EWS
Comment 4 2023-12-07 09:57:37 PST
Test gardening commit 271680@main (d57e747ddc89): <https://commits.webkit.org/271680@main> Reviewed commits have been landed. Closing PR #21446 and removing active labels.
Jer Noble
Comment 5 2023-12-07 10:16:02 PST
It seems like this test is doing a layer dump without waiting for layout. There's a `setTimeout(..., 0)` but this will be insufficient to ensure that layout happens before dumping.
Claudio Saavedra
Comment 6 2023-12-12 05:36:36 PST
(In reply to Jer Noble from comment #5) > It seems like this test is doing a layer dump without waiting for layout. > There's a `setTimeout(..., 0)` but this will be insufficient to ensure that > layout happens before dumping. This test is now failing most of the times in most platforms (including Debug), causing false positive rejections in EWS. If a fix for the test is evident maybe it's worth fixing it? Otherwise it should get gardened not only for release.
Claudio Saavedra
Comment 7 2023-12-12 09:29:33 PST
EWS
Comment 8 2023-12-14 09:21:35 PST
Test gardening commit 272043@main (de121adf537e): <https://commits.webkit.org/272043@main> Reviewed commits have been landed. Closing PR #21804 and removing active labels.
Marta Darbinyan
Comment 9 2023-12-14 09:24:45 PST
Setting new test expectation since the test is failing on all configurations.
EWS
Comment 10 2023-12-14 10:26:59 PST
Committed 272053@main (ff8bb9f3e473): <https://commits.webkit.org/272053@main> Reviewed commits have been landed. Closing PR #21808 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.