Bug#1098432: power-profiles-daemon: FTBFS: TIMEOUT 30.29s killed by signal 15 SIGTERM
Bo YU
vimer at debian.org
Thu Feb 20 14:26:03 GMT 2025
Source: power-profiles-daemon
Version: 0.30-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 Maintainer,
Now power-profiles-daemon has one ftbfs issue due to test timeout issue:
```
...
Summary of Failures:
127/127 Tests.test_vanishing_hold TIMEOUT 30.29s killed by signal 15 SIGTERM
Ok: 126
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 --verbose returned exit code 1
...
```
The full build log please to see:
https://buildd.debian.org/status/fetch.php?pkg=power-profiles-daemon&arch=riscv64&ver=0.30-1&stamp=1740053387&raw=0
The workaround is just to increase the sleep value on riscv64 and it
works on my Unmatched board. Could you have a look at this? please let
me know any issues.
--
Regards,
--
Bo YU
-------------- next part --------------
diff -Nru power-profiles-daemon-0.30/debian/changelog power-profiles-daemon-0.30/debian/changelog
--- power-profiles-daemon-0.30/debian/changelog 2025-02-18 18:31:08.000000000 +0000
+++ power-profiles-daemon-0.30/debian/changelog 2025-02-20 08:50:36.000000000 +0000
@@ -1,3 +1,10 @@
+power-profiles-daemon (0.30-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Increase timeout to pass test with timeout on riscv64. (Closes: #-1)
+
+ -- Bo YU <vimer at debian.org> Thu, 20 Feb 2025 08:50:36 +0000
+
power-profiles-daemon (0.30-1) unstable; urgency=medium
* New upstream release
diff -Nru power-profiles-daemon-0.30/debian/patches/0001-increase-timeout-on-rv64.patch power-profiles-daemon-0.30/debian/patches/0001-increase-timeout-on-rv64.patch
--- power-profiles-daemon-0.30/debian/patches/0001-increase-timeout-on-rv64.patch 1970-01-01 00:00:00.000000000 +0000
+++ power-profiles-daemon-0.30/debian/patches/0001-increase-timeout-on-rv64.patch 2025-02-20 08:50:36.000000000 +0000
@@ -0,0 +1,25 @@
+Index: b/tests/integration_test.py
+===================================================================
+--- a/tests/integration_test.py
++++ b/tests/integration_test.py
+@@ -29,6 +29,8 @@
+
+ import dbus
+
++import platform
++
+ try:
+ import gi
+ from gi.repository import GLib
+@@ -2205,7 +2207,10 @@
+ stderr=sys.stderr,
+ ) as launch_process:
+ self.assertTrue(launch_process)
+- time.sleep(1)
++ if platform.machine() == 'riscv64':
++ time.sleep(3)
++ else:
++ time.sleep(1)
+ holds = self.get_dbus_property("ActiveProfileHolds")
+ self.assertEqual(len(holds), 1)
+ hold = holds[0]
diff -Nru power-profiles-daemon-0.30/debian/patches/series power-profiles-daemon-0.30/debian/patches/series
--- power-profiles-daemon-0.30/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ power-profiles-daemon-0.30/debian/patches/series 2025-02-20 08:47:51.000000000 +0000
@@ -0,0 +1 @@
+0001-increase-timeout-on-rv64.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20250220/7e9a45d4/attachment.sig>
More information about the Pkg-freedesktop-maintainers
mailing list