Your message dated Fri, 18 Apr 2025 11:51:46 +0200
with message-id <6149593.lOV4Wx5bFT@grummly>
and subject line Fixed in power-profiles-daemon (0.30-1.1)
has caused the Debian Bug report #1098432,
regarding power-profiles-daemon: FTBFS on riscv64: TIMEOUT 30.29s killed by 
signal 15 SIGTERM
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1098432: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098432
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: power-profiles-daemon
Version: 0.30-1
Severity: serious
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@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

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 <vi...@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 57250

--- End Message ---

Reply via email to