socket-service test is flaky
- Pipeline failure: https://gitlab.gnome.org/GNOME/glib/-/jobs/207626
- Logs:
151/253 glib:gio / socket-service FAIL 0.11 s (killed by signal 6 SIGABRT)
--- command ---
GIO_MODULE_DIR='' GIO_LAUNCH_DESKTOP='/builds/GNOME/glib/_build/gio/gio-launch-desktop' G_TEST_BUILDDIR='/builds/GNOME/glib/_build/gio/tests' G_TEST_SRCDIR='/builds/GNOME/glib/gio/tests' /builds/GNOME/glib/_build/gio/tests/socket-service --tap
--- stdout ---
# random seed: R02Sbc776f4e21b3027eb40b54857fce1f22
1..4
# Start of socket-service tests
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
(/builds/GNOME/glib/_build/gio/tests/socket-service:6078): GLib-GIO-DEBUG: 12:20:37.939: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
ok 1 /socket-service/start-stop
ok 2 /socket-service/read_write_async
ok 3 /socket-service/read_writev_async
# Start of threaded tests
# Bug Reference: http://bugzilla.gnome.org/712570
Bail out! GLib-GIO:ERROR:../gio/tests/socket-service.c:151:connection_cb: assertion failed (G_OBJECT (service)->ref_count == 2): (3 == 2)
--- stderr ---
**
GLib-GIO:ERROR:../gio/tests/socket-service.c:151:connection_cb: assertion failed (G_OBJECT (service)->ref_count == 2): (3 == 2)
-------
This can be reproduced locally using meson test -C /opt/gnome/build/glib/ socket-service --repeat 500
. It fails between 1/3 and 1/2 of the time.