[Pkg-ayatana-devel] Bug#1086635: qmenumodel: FTBFS on riscv64 due to timing issue in the testsuite
Aurelien Jarno
aurel32 at debian.org
Sat Nov 2 17:18:42 GMT 2024
Source: qmenumodel
Version: 0.9.2-1
Severity: important
Tags: ftbfs upstream patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-riscv at lists.debian.org
User: debian-riscv at lists.debian.org
Usertags: riscv64
Dear maintainer,
qmenumodel fails to build from source on riscv64 with testsuite errors:
| 44% tests passed, 5 tests failed out of 9
|
| Total Test time (real) = 2.64 sec
|
| The following tests FAILED:
| 1 - servicetest (Failed)
| 2 - menuchangestest (Failed)
| 3 - modeltest (Failed)
| 4 - actiongrouptest (Failed)
| 5 - qmltest (Failed)
| Errors while running CTest
| make[1]: *** [Makefile:74: test] Error 8
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu'
| dh_auto_test: error: cd obj-riscv64-linux-gnu && make -j4 test ARGS\+=--verbose ARGS\+=-j4 returned exit code 2
| make: *** [debian/rules:17: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=qmenumodel&arch=riscv64&ver=0.9.2-1&stamp=1720306214&raw=0
After investigation, it appears that the issue is due to a hardcoded
delay in the test that this too low for the hardware used by the riscv64
build daemons. The following patch fixes the issue:
--- qmenumodel-0.9.2.orig/tests/script/dbusmenuscript.cpp
+++ qmenumodel-0.9.2/tests/script/dbusmenuscript.cpp
@@ -22,7 +22,7 @@
#include <QtTestGui>
#include <QDebug>
-#define WAIT_TIMEOUT 500
+#define WAIT_TIMEOUT 1000
DBusMenuScript::DBusMenuScript()
:m_script(0)
Regards
Aurelien
More information about the Pkg-ayatana-devel
mailing list