Closed Bug 1912561 Opened 1 month ago Closed 19 days ago

screenshot of timed out wayland test suites doesn't work

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1914495

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.)

Blocks: wayland-ci
See Also: → 1912492
See Also: → 1914308

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?

Flags: needinfo?(aerickson)

Yeah, we missed it. Work to add it ongoing in https://bugzilla.mozilla.org/show_bug.cgi?id=1914495.

Flags: needinfo?(aerickson)
Status: NEW → RESOLVED
Closed: 19 days ago
Duplicate of bug: 1914495
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.