Intermittent CI failures (testGtk.js)
We have a few tests that fail only on the Ubuntu GCC job:
/root/jhbuild/checkout/gjs/installed-tests/scripts/testCommandLine.sh: 124: /root/jhbuild/checkout/gjs/installed-tests/scripts/testCommandLine.sh: /builds/GNOME/gjs/.cache/jhbuild/build/gjs/gjs-console: not found
/root/jhbuild/checkout/gjs/installed-tests/scripts/testCommandLine.sh: 131: /root/jhbuild/checkout/gjs/installed-tests/scripts/testCommandLine.sh: /builds/GNOME/gjs/.cache/jhbuild/build/gjs/gjs-console: not found
rm: cannot remove 'foo': Is a directory
Gjs-Message: 23:36:03.240: Profiler started
Gjs-Message: 23:36:03.241: Profiler stopped
Gjs-Message: 23:36:03.353: Profiler started
Gjs-Message: 23:36:03.354: Profiler stopped
Gjs-Message: 23:36:03.481: Profiler started
Gjs-Message: 23:36:03.481: Profiler stopped
/root/jhbuild/checkout/gjs/installed-tests/scripts/testCommandLine.sh: 180: test: gjs-6252.syscap: unexpected operator
...
not ok 27 - GJS_ENABLE_PROFILER=1 should enable the profiler
FAIL: installed-tests/scripts/testCommandLine.sh 27 - GJS_ENABLE_PROFILER=1 should enable the profiler
and
== Stack trace for context 0x55a8290660b0 ==
#0 0x55a8296de760 i /root/jhbuild/checkout/gjs/installed-tests/js/testGtk.js:127 (0x7f47a81f0780 @ 241)
#1 0x7ffdfafb4940 b resource:///org/gjs/jsunit/jasmine.js:1950 (0x7f47a81dc230 @ 26)
...
#145 0x55a82929de78 i resource:///org/gjs/jsunit/jasmine.js:776 (0x7f47a81d2bc0 @ 315)
#146 0x55a82929ddd0 i <jasmine-start>:4 (0x7f47a14019a0 @ 18)
#147 0x55a82929dd48 i <jasmine-start>:12 (0x7f47a1401918 @ 74)
JS G NS: Found info type FUNCTION for 'test_assert_expected_messages_internal' in namespace 'GLib'
JS G NS: Found info type OBJECT for 'Clipboard' in namespace 'Gtk'
JS G OBJ: Defined class Clipboard prototype 0x7f47a819ecd0 class 0x7f47b4506980 in object 0x7f47a819e820
Gdk-Message: 23:36:03.092: minijasmine: Fatal IO error 0 (Success) on X server :102.
PASS: installed-tests/js/testGtk.js 11 Gtk overrides avoid crashing when GTK vfuncs are called in garbage collection
ERROR: installed-tests/js/testGtk.js - too few tests run (expected 13, got 11)
ERROR: installed-tests/js/testGtk.js - exited with status 1
Edited by Philip Chimento