screenshot of timed out wayland test suites doesn't work
Categories
(Firefox Build System :: Task Configuration, defect)
Tracking
(Not tracked)
People
(Reporter: tnikkel, Unassigned)
References
(Blocks 1 open bug)
Details
(not sure of the right component)
Here is an example log
https://treeherder.mozilla.org/logviewer?job_id=469945053&repo=try&lineNumber=4304
relevant lines
INFO - REFTEST TEST-INFO | started process screentopng
INFO - /task_172325134751625/build/tests/bin/screentopng: g_spawn_sync() of gnome-screenshot failed: Failed to spawn child process “/usr/bin/gnome-screenshot” (No such file or directory)
INFO - /task_172325134751625/build/tests/bin/screentopng: failed to create screenshot Wayland/GdkPixbuf
INFO - REFTEST TEST-INFO | screentopng: exit 1
(Note that normally screenshots don't work for timeouts in crashtest because the reftest harnesses internal timeout kicks in first and moves on or ends the test suite, but in this case I added a patch to make that internal reftest harness timeout much longer specifically so I could get a screenshot.)
Reporter | ||
Updated•1 month ago
|
Comment 1•23 days ago
|
||
so we create screentopng
from:
https://searchfox.org/mozilla-central/source/testing/tools/screenshot/gdk-screenshot.cpp
that has code for wayland, but specifically references /usr/bin/gnome-snapshot.
possibly we don't have gnome on these wayland images?
:aerickson, on the wayland 22.04 vms, do we have /usr/bin/gnome-snapshot available? If not, are we running gnome desktop?
Updated•23 days ago
|
Comment 2•19 days ago
|
||
Yeah, we missed it. Work to add it ongoing in https://bugzilla.mozilla.org/show_bug.cgi?id=1914495.
Updated•19 days ago
|
Description
•