glib:gio / desktop-app-info timing out in FreeBSD CI
Here’s a relevant failure (full logs):
ok 14 /desktop-app-info/id
# Start of launch-uris-with-terminal tests
# GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/home
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/home
# GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/cache
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/cache
# GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-config1:/tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-config2
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-config1:/tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-config2
# GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/config
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/config
# GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-data1:/tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-data2
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-data1:/tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/system-data2
# GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/data
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/data
# GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/state
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/state
# GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/runtime
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_desktop-app-info_1CM9T1/desktop-app-info/launch-uris-with-terminal/gnome-terminal/.dirs/runtime
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
(/var/tmp/gitlab_runner/builds/Ff4WDDRj/0/GNOME/glib/_build/gio/tests/desktop-app-info:16014): GLib-DEBUG: 08:05:34.181: setenv()/putenv() are not thread-safe and should not be used after threads are created
# Fake 'gnome-terminal' terminal created as: /tmp/bin-path-ZYO5T1/gnome-terminal
----------------------------------- stderr -----------------------------------
/tmp/bin-path-ZYO5T1/gnome-terminal: cannot create /proc/16014/fd/6: No such file or directory
/tmp/bin-path-ZYO5T1/gnome-terminal: cannot create /proc/16014/fd/6: No such file or directory
/tmp/bin-path-ZYO5T1/gnome-terminal: cannot create /proc/16014/fd/6: No such file or directory
/tmp/bin-path-ZYO5T1/gnome-terminal: cannot create /proc/16014/fd/6: No such file or directory
It looks like sometimes the pipe sharing code in the terminal tests doesn’t work (cf the “cannot create /proc/…” messages in stderr). But it does work other times. This needs to be debugged on a FreeBSD system; debugging it through CI runs is unlikely to work very well.