Bug#1089212: gnome-control-center:FTBFS:build failure on riscv (test-network-panel test timeout)
Yue Gui
yuemeng.gui at gmail.com
Sat Dec 7 05:14:27 GMT 2024
Source: gnome-control-center
Version: 1:47.2-1
Severity: serious
Tags: FTBFS, patch
User: debian-riscv at lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv at lists.debian.org
Dear gnome-control-center Maintainer,
The package gnome-control-center build failed on riscv64 caused by
test-network-panel
timeout.This issue is similar to the bug report #1027295(
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027295). The crucial
buildd log below:
```
----------------------------------- stderr -----------------------------------
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/keyboard/test-keyboard-shortcuts:3078):
Gtk-WARNING **: 08:48:50.655: Failed to open display
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
libEGL warning: egl: failed to create dri2 screen
==============================================================================
==================================== 1/5 =====================================
test: test-network-panel
start time: 08:48:49
duration: 60.25s
result: killed by signal 15 SIGTERM
command: MALLOC_PERTURB_=15 NO_AT_BRIDGE=1
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
BUILDDIR=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GTK_A11Y=none TOP_BUILDDIR=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu
MESON_TEST_ITERATION=1 G_MESSAGES_DEBUG=all
MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
/usr/bin/python3 /<<PKGBUILDDIR>>/tests/network/test-network-panel.py
----------------------------------- stdout -----------------------------------
Execution of GTest executable to query the tests returned non-zero exit code!
Error generating separate test funcs, will call binary once.
test_all (__main__.PanelTestCase.test_all) ... TAP version 14
# random seed: R02S506518fd70a83340f112c2b8aa13e420
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default
implementation local (GLocalVfs) for ?gio-vfs?
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# Adwaita-DEBUG: Portal not found:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.portal.Desktop was not provided by any .service files
# Adwaita-DEBUG: Portal not found:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.portal.Desktop was not provided by any .service files
# Adwaita-DEBUG: Portal not found:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.portal.Desktop was not provided by any .service files
# Adwaita-DEBUG: Portal not found:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.portal.Desktop was not provided by any .service files
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default
implementation memory (GMemorySettingsBackend) for ?gsettings-backend?
1..10
# Start of network-panel-wired tests
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2aeb294e00) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-object-storage-DEBUG: Destroying cached objects
ok 1 /network-panel-wired/empty-ui
# slow test /network-panel-wired/empty-ui executed in 10.26 secs
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2af3257f50) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1000 type 1
path /org/freedesktop/NetworkManager/Devices/1
# test-network-panel-DEBUG: Device added:
/org/freedesktop/NetworkManager/Devices/1
#
# cc-object-storage-DEBUG: Destroying cached objects
ok 2 /network-panel-wired/device-add
# slow test /network-panel-wired/device-add executed in 2.02 secs
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2aeb344e70) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1000 type 1
path /org/freedesktop/NetworkManager/Devices/1
# test-network-panel-DEBUG: Device added:
/org/freedesktop/NetworkManager/Devices/1
#
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1001 type 1
path /org/freedesktop/NetworkManager/Devices/2
# test-network-panel-DEBUG: Second device added:
/org/freedesktop/NetworkManager/Devices/2
#
# cc-object-storage-DEBUG: Destroying cached objects
ok 3 /network-panel-wired/second-device-add
# slow test /network-panel-wired/second-device-add executed in 2.02 secs
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2aeb4840a0) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1000 type 1
path /org/freedesktop/NetworkManager/Devices/1
# test-network-panel-DEBUG: Device added:
/org/freedesktop/NetworkManager/Devices/1
#
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1001 type 1
path /org/freedesktop/NetworkManager/Devices/2
# test-network-panel-DEBUG: Second device added:
/org/freedesktop/NetworkManager/Devices/2
#
# cc-network-panel-DEBUG: Device removed
# test-network-panel-DEBUG: Got expected events, quitting mainloop
# test-network-panel-DEBUG: Second device removed again
#
# cc-object-storage-DEBUG: Destroying cached objects
ok 4 /network-panel-wired/second-device-add-remove
# slow test /network-panel-wired/second-device-add-remove executed in 1.99 secs
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2aeb4ac4c0) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1000 type 1
path /org/freedesktop/NetworkManager/Devices/1
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1001 type 1
path /org/freedesktop/NetworkManager/Devices/2
# cc-network-panel-DEBUG: Device removed
# test-network-panel-DEBUG: Got expected events, quitting mainloop
# test-network-panel-DEBUG: Setting device eth1000 speed to 1234
# test-network-panel-DEBUG: Counting notification for device property speed
# test-network-panel-DEBUG: Counting notification for device property carrier
# test-network-panel-DEBUG: Got expected events, quitting mainloop
# test-network-panel-DEBUG: Setting device eth1000 state to 30 with reason 40
# test-network-panel-DEBUG: Connecting signal handler for state-changed
# test-network-panel-DEBUG: Counting notification for device property
state-reason
# test-network-panel-DEBUG: Counting notification for device property state
# test-network-panel-DEBUG: Counting signal for device
# test-network-panel-DEBUG: Got expected events, quitting mainloop
# cc-object-storage-DEBUG: Destroying cached objects
ok 5 /network-panel-wired/unconnected-carrier-plug
# slow test /network-panel-wired/unconnected-carrier-plug executed in 1.97 secs
# cc-object-storage-DEBUG: Initializing object storage
# cc-object-storage-DEBUG: Adding object NMClient
(CcObjectStorage::nm-client ? 0x2aecf21220) to the storage
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this
will deadlock if server is GDBus < 2.73.3)
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging connections
# cc-network-panel-DEBUG: coldplugging devices
# cc-network-panel-DEBUG: Calling handle_argv() after cold-plugging devices
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1000 type 1
path /org/freedesktop/NetworkManager/Devices/1
# cc-network-panel-DEBUG: New device added
# cc-network-panel-DEBUG: device /sys/devices/virtual/eth1001 type 1
path /org/freedesktop/NetworkManager/Devices/2
# cc-network-panel-DEBUG: Device removed
# test-network-panel-DEBUG: Got expected events, quitting mainloop
# test-network-panel-DEBUG: Connecting signal handler for connection-added
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.346: snapshot symbolic icon using color-matrix
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.348: snapshot symbolic icon using color-matrix
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.353: snapshot symbolic icon using color-matrix
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.355: snapshot symbolic icon using color-matrix
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.356: snapshot symbolic icon using color-matrix
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3091):
Gtk-DEBUG: 08:49:13.356: snapshot symbolic icon using color-matrix
----------------------------------- stderr -----------------------------------
(/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/network/test-network-panel:3077):
Gtk-WARNING **: 08:48:50.638: Failed to open display
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
libEGL warning: egl: failed to create dri2 screen
==============================================================================
Summary of Failures:
1/5 test-network-panel TIMEOUT 60.25s killed by signal 15 SIGTERM
Ok: 4
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 1
dh_auto_test: error: cd obj-riscv64-linux-gnu &&
DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson
test returned exit code 1
make: *** [debian/rules:22: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-06T08:49:50Z
Finished
--------
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=gnome-control-center&arch=riscv64&ver=1%3A47.2-1&stamp=1733475000&raw=0
My solution to this issue:
Skip test-network-panel when built on riscv.I have tested this solution
locally,and it works well.The debpatch is in the attachment.Please let me
know whether this solution can be accepted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20241207/3e90cdf2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_gnome-control-center_test_failed.patch
Type: application/octet-stream
Size: 2148 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20241207/3e90cdf2/attachment-0001.obj>
More information about the pkg-gnome-maintainers
mailing list