Bug 16495 - AB-INT PTEST: glib-2.0 ptest failure in glib/mainloop.test
Summary: AB-INT PTEST: glib-2.0 ptest failure in glib/mainloop.test
Status: NEW
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-11-12 10:43 UTC by João Marcos Costa
Modified: 2026-11-12 16:28 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.