| Summary: | AB-INT PTEST ARM: glib-2.0 glib/timeout.test failure | ||
|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | Alexandre Belloni <alexandre.belloni> |
| Component: | ptest | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandre.belloni, joaomarcos.costa, randy.macleod, ross.burton, tgamblin |
| Version: | 3.4 | ||
| Target Milestone: | 5.0 M4 | ||
| Hardware: | x86 | ||
| OS: | arm | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alexandre Belloni
2021-06-30 23:04:44 UTC
GLib:ERROR:../glib-2.68.3/glib/tests/timeout.c:161:test_func: assertion failed (current_time / 1000 - last_time / 1000 <= 1500): (1665 <= 1500)
/* We accept 2 on the first iteration because _add_seconds() can
* have an initial latency of 1 second, see its documentation.
*
* Allow up to 500ms leeway for rounding and scheduling.
*/
if (count == 0)
g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 2500);
else
g_assert_cmpint (current_time / 1000 - last_time / 1000, <=, 1500);
The test exercises timeout logic with a leeway of 500ms, but the machine is heavily loaded so the test takes longer. Increasing the leeway will simply make this rarer.
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2108/steps/12/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2223/steps/12/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 If this happens again, we can increase the time as Ross suggested. https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4602/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 Running test: glib/timeout.test # random seed: R02Sfc32c8c0134df18b37878defa708e7ff 1..4 # Start of timeout tests # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 Executing: glib/timeout.test ok 1 /timeout/seconds # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 ok 2 /timeout/weeks-overflow ok 3 /timeout/far-future-ready-time Executing: glib/timeout.test ** GLib:ERROR:/usr/src/debug/glib-2.0/1_2.74.6-r0/glib/tests/timeout.c:159:test_func: assertion failed (current_time / 1000 - last_time / 1000 <= 1500): (1586 <= 1500) Bail out! GLib:ERROR:/usr/src/debug/glib-2.0/1_2.74.6-r0/glib/tests/timeout.c:159:test_func: assertion failed (current_time / 1000 - last_time / 1000 <= 1500): (1586 <= 1500) FAIL: glib/timeout.test (Child process killed by signal 6) https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4891/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5118/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5033/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 Moved to M4. https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5403/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5701/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5859/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5953/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5670/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 Patch on the list. Fixed - hopefully - in 684ac8005aef8ab26e61e6e7535e19c9974972d3. |