poky/meta
Trevor Gamblin bc8676b46b glib-2.0: double test runner timeout in run-ptest
The gnome-desktop-testing-runner has a default timeout of 300s. With
qemuriscv64, some tests in the glib-2.0 test suite (notably
codegen.py.test and gi-compile-repository.py.test) can take a long time
and exceed this timeout limit, resulting in intermittent test failures.
To avoid this problem, double the timeout by passing '-t 600' to
gnome-desktop-testing-runner.

Although not a perfect comparison (I have to use 'taskset --cpu-list 0'
to simulate loading in order to make the tests fail consistently on my
local machine), it's worth noting that the timeout increase does result
in a slightly longer test run. Here is an example of the duration when a
failure happens under 'taskset --cpu-list 0 runqemu nographic snapshot'::

|SUMMARY: total=298; passed=296; skipped=1; failed=1; user=606.7s; system=1388.3s; maxrss=170976
|FAIL: glib/codegen.py.test (Child process killed by signal 9)
|
|ERROR: Exit status is 2
|DURATION: 1368
|END: /usr/lib/glib-2.0/ptest
|2025-09-18T19:04
|STOP: ptest-runner
|TOTAL: 1 FAIL: 1

and a pass:

|SUMMARY: total=298; passed=297; skipped=1; failed=0; user=682.2s; system=1295.0s; maxrss=170476
|+ userdel glib2-test
|DURATION: 1402
|END: /usr/lib/glib-2.0/ptest
|2025-09-18T17:23
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

[YOCTO #15891]

(From OE-Core rev: f634098ed6c5674d81028a7ea8e18a7a93a77fab)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
..
classes classes/lib: Switch classextend to use new filter API 2025-08-12 10:05:11 +01:00
classes-global base.bbclass: remove unneeded bb.runqueue import 2025-09-15 17:57:24 +01:00
classes-recipe kernel.bbclass: add lz4-native dependency for Image.lz4 2025-09-22 22:09:48 +01:00
conf mesa: add opencl DISTRO_FEATURE 2025-09-18 11:16:42 +01:00
files uninative/utils: Drop workarounds for gcc 4.8/4.9 2025-07-03 10:40:16 +01:00
lib patchtest: update testdata for selftest 2025-09-18 11:16:35 +01:00
recipes-bsp grub,grub-efi: Always use BFD linker with clang 2025-09-11 11:31:57 +01:00
recipes-connectivity nfs-utils: 2.8.3 -> 2.8.4 2025-09-18 11:16:42 +01:00
recipes-core glib-2.0: double test runner timeout in run-ptest 2025-09-22 22:09:48 +01:00
recipes-devtools clang: Fix nativesdk build after recipe splits 2025-09-22 22:09:48 +01:00
recipes-extended bzip2: improve symlink creation 2025-09-18 11:16:42 +01:00
recipes-gnome librsvg: add ptest support 2025-09-11 11:31:57 +01:00
recipes-graphics mesa: upgrade 25.2.2 -> 25.2.3 2025-09-22 22:09:48 +01:00
recipes-kernel linux-firmware: Package ${PN}-wl1251 before ${PN}-wl12xx 2025-09-22 22:09:48 +01:00
recipes-multimedia ffmpeg: update 7.1.1 -> 8.0 2025-09-15 17:57:23 +01:00
recipes-rt rt-tests: upgrade 2.8 -> 2.9 2025-07-21 23:00:18 +01:00
recipes-sato puzzles: upgrade to latest revision 2025-09-01 23:07:06 +01:00
recipes-support buildtools-tarball: fix unbound variable issues under 'set -u' 2025-09-15 17:57:23 +01:00
site
COPYING.MIT
recipes.txt