Bug 16495

Summary: AB-INT PTEST: glib-2.0 ptest failure in glib/mainloop.test
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Ross Burton <ross.burton>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: mathieu.dubois-briand, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 6.2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description João Marcos Costa 2026-11-12 10:43:33 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1565/steps/15/logs/stdio

Failed ptests:
{'glib-2.0': ['glib/mainloop.test']}

qemux86-64-musl-ptest fedora43-vk-2

"""
# Start of mainloop tests
ok 22 /mainloop/basic
ok 23 /mainloop/timeouts # SKIP Not running timing heavy test
ok 24 /mainloop/timeouts_ns # SKIP Not running timing heavy test
ok 25 /mainloop/priorities
# /mainloop/prepare-timeout summary: Test that a GTimeoutSource which is ready is noticed during prepare
# Bug Reference: https://gitlab.gnome.org/GNOME/mutter/-/work_items/4994
ok 26 /mainloop/prepare-timeout
ok 27 /mainloop/invoke
# slow test /mainloop/invoke executed in 0.50 secs
ok 28 /mainloop/child_sources
# slow test /mainloop/child_sources executed in 1.16 secs
ok 29 /mainloop/recursive_child_sources
# slow test /mainloop/recursive_child_sources executed in 2.21 secs
ok 30 /mainloop/recursive_loop_child_sources
ok 31 /mainloop/swapping_child_sources
# Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
ok 32 /mainloop/blocked_child_sources
Executing: glib/mainloop.test
ok 33 /mainloop/source_time
# slow test /mainloop/source_time executed in 1.00 secs
# Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
ok 34 /mainloop/overflow
ok 35 /mainloop/ready-time
# slow test /mainloop/ready-time executed in 1.00 secs
**
GLib:ERROR:/usr/src/debug/glib-2.0/2.90.0/glib/tests/mainloop.c:1261:clear_ready_time_dispatch: assertion failed (g_source_get_ready_time (source) <= g_source_get_time (source)): (137312636 <= 137312635)
not ok /mainloop/various-ready-times - GLib:ERROR:/usr/src/debug/glib-2.0/2.90.0/glib/tests/mainloop.c:1261:clear_ready_time_dispatch: assertion failed (g_source_get_ready_time (source) <= g_source_get_time (source)): (137312636 <= 137312635)
Bail out!
FAIL: glib/mainloop.test (Child process killed by signal 6)
"""

Full logs at: https://valkyrie.yocto.io/pub/non-release/20261111-99/testresults/qemux86-64-musl-ptest/glib-2.0.log
Comment 1 Randy MacLeod 2026-11-12 15:47:30 UTC
Timeout - file bug and maybe skip it?
A 2 second boundary will ensure at least 1 second delay,
whereas a 1 second boundary could be as low as 0.001 seconds.
Comment 2 Ross Burton 2026-11-12 15:49:26 UTC
Filed https://gitlab.gnome.org/GNOME/glib/-/work_items/4118 upstream.