perma fail ubuntu 24.04 toolkit/content/tests/chrome/test_maximized_persist.xhtml | test_maximized_persist_with_no_titlebar.xhtml (due to CSD decoration mode = none?)
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: jmaher, Unassigned)
References
(Blocks 2 open bugs)
Details
when running tests in CI on a newer version of linux (18.04 -> 24.04) we run into some new perma failures.
in this opt log, you can see these failure:
[task 2025-05-24T20:17:06.982Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | sizemode should match when open initially
[task 2025-05-24T20:17:06.983Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | width should match when open initially
[task 2025-05-24T20:17:06.983Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | height should match when open initially
[task 2025-05-24T20:17:06.984Z] 20:17:06 INFO - wait for message "sizemodechange"
[task 2025-05-24T20:17:06.984Z] 20:17:06 INFO - got message "sizemodechange"
[task 2025-05-24T20:17:06.985Z] 20:17:06 INFO - Buffered messages logged at 20:17:06
[task 2025-05-24T20:17:06.986Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | sizemode should match after maximize window
[task 2025-05-24T20:17:06.988Z] 20:17:06 INFO - must wait for load
[task 2025-05-24T20:17:06.989Z] 20:17:06 INFO - must wait for focus
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - Buffered messages finished
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/chrome/test_maximized_persist.xhtml | sizemode should match when reopen to maximized - got 3, expected 1
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - checkWindow@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:31:5
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - runTest@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:80:14
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - async*onload@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_maximized_persist.xhtml:1:8
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - callStackHandler@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:285:24
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - EventHandlerNonNull*this.addLoadEvent@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:314:7
[task 2025-05-24T20:17:06.991Z] 20:17:06 INFO - @chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1804:15
[task 2025-05-24T20:17:06.992Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | sizemode should match after restore window
[task 2025-05-24T20:17:06.993Z] 20:17:06 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | width should match after restore window
[task 2025-05-24T20:17:06.996Z] 20:17:06 INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-05-24T20:17:06.996Z] 20:17:06 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/chrome/test_maximized_persist.xhtml | height should match after restore window - got 263, expected 300
[task 2025-05-24T20:17:06.997Z] 20:17:06 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2025-05-24T20:17:06.997Z] 20:17:06 INFO - checkWindow@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:34:7
[task 2025-05-24T20:17:06.998Z] 20:17:06 INFO - runTest@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:85:14
[task 2025-05-24T20:17:06.998Z] 20:17:06 INFO - async*onload@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_maximized_persist.xhtml:1:8
[task 2025-05-24T20:17:06.999Z] 20:17:06 INFO - callStackHandler@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:285:24
[task 2025-05-24T20:17:07.000Z] 20:17:06 INFO - EventHandlerNonNull*this.addLoadEvent@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:314:7
[task 2025-05-24T20:17:07.000Z] 20:17:06 INFO - @chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1804:15
[task 2025-05-24T20:17:07.001Z] 20:17:07 INFO - must wait for load
[task 2025-05-24T20:17:07.002Z] 20:17:07 INFO - must wait for focus
[task 2025-05-24T20:17:07.006Z] 20:17:07 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist.xhtml | sizemode should match when reopen to normal
and:
[task 2025-05-24T20:17:16.864Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | sizemode should match when open initially
[task 2025-05-24T20:17:16.865Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | width should match when open initially
[task 2025-05-24T20:17:16.867Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | height should match when open initially
[task 2025-05-24T20:17:16.868Z] 20:17:16 INFO - wait for message "sizemodechange"
[task 2025-05-24T20:17:16.869Z] 20:17:16 INFO - got message "sizemodechange"
[task 2025-05-24T20:17:16.870Z] 20:17:16 INFO - Buffered messages logged at 20:17:16
[task 2025-05-24T20:17:16.871Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | sizemode should match after maximize window
[task 2025-05-24T20:17:16.872Z] 20:17:16 INFO - must wait for load
[task 2025-05-24T20:17:16.873Z] 20:17:16 INFO - must wait for focus
[task 2025-05-24T20:17:16.874Z] 20:17:16 INFO - Buffered messages finished
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | sizemode should match when reopen to maximized - got 3, expected 1
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:509:14
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - checkWindow@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:31:5
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - runTest@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/file_maximized_persist.js:80:14
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - async*onload@chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml:1:8
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - callStackHandler@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:285:24
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - EventHandlerNonNull*this.addLoadEvent@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:314:7
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - @chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1804:15
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | sizemode should match after restore window
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | width should match after restore window
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | height should match after restore window
[task 2025-05-24T20:17:16.882Z] 20:17:16 INFO - must wait for load
[task 2025-05-24T20:17:16.977Z] 20:17:16 INFO - must wait for focus
[task 2025-05-24T20:17:17.131Z] 20:17:17 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | sizemode should match when reopen to normal
[task 2025-05-24T20:17:17.131Z] 20:17:17 INFO - TEST-PASS | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | width should match when reopen to normal
[task 2025-05-24T20:17:17.131Z] 20:17:17 INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-05-24T20:17:17.132Z] 20:17:17 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/chrome/test_maximized_persist_with_no_titlebar.xhtml | height should match when reopen to normal - got 263, expected 300
this bug will be for tracking investigations, I will be skipping these tests in a manifest in a larger patch to green stuff up.
Comment 1•10 months ago
|
||
Looks like there is some code to special case Linux already, but these failures are before those checks. On my Ubuntu 22.04 I get windows that are 52px too big (width and height--although checking the content window size it appears to be correct), these failures have them as 37px too short...
Looks like you added these tests Emilio, any ideas?
Comment 2•10 months ago
|
||
Yes, this should probably move to widget: GTK
I can reproduce this failure with MOZ_GTK_TITLEBAR_DECORATION=none, but not with the default settings on Gnome + X11, can you confirm that?
This is probably related to bug 1431429, where we don't allow CSD decorations on automation. I guess once we update to 22.04 I can try to re-land that.
Updated•10 months ago
|
Updated•10 months ago
|
Comment 3•10 months ago
|
||
I believe on Monday my Ubuntu VM was 22.04 and stock Gnome/Wayland and it was failing. I have since updated to 24.10 Gnome/Wayland and it also fails. That looks like an environment variable? Exporting it as none/client/system and running the test seems to have no effect, although perhaps it's X11 only?
| Reporter | ||
Comment 4•10 months ago
|
||
the bug was originally filed for x11. maybe it fails in both wayland and x11.
Comment 5•10 months ago
|
||
Yeah, it's X11 only. You need MOZ_ENABLE_WAYLAND=0 for it to take effect.
Description
•