Your message dated Sat, 16 Sep 2023 10:46:29 +0000
with message-id <[email protected]>
and subject line Bug#1051649: fixed in libportal 0.7.1-2
has caused the Debian Bug report #1051649,
regarding libportal: FTBFS on riscv64 due to test timeout
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 [email protected]
immediately.)


-- 
1051649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libportal
Version: 0.7.1-1
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

Dear maintainer,

libportal fails to build from source on riscv64 (and a few other slow
architectures) with a timeout in a test:

| ==================================== 2/2 =====================================
| test:         pytest
| start time:   16:03:45
| duration:     60.05s
| result:       killed by signal 15 SIGTERM
| command:      MALLOC_PERTURB_=44 
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/libportal 
GI_TYPELIB_PATH=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/libportal 
/usr/bin/pytest-3 --verbose --log-level=DEBUG
| ----------------------------------- stdout -----------------------------------
| ============================= test session starts 
==============================
| platform linux -- Python 3.11.5, pytest-7.4.1, pluggy-1.3.0 -- 
/usr/bin/python3
| cachedir: .pytest_cache
| rootdir: /<<PKGBUILDDIR>>/tests
| collecting ... collected 30 items
| 
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_close_session 
PASSED [  3%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis 
PASSED [  6%]
| 
pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_connect_before_start
 PASSED [ 10%]
| 
pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_fail_reconnect
 PASSED [ 13%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_connect_to_eis_v1 
PASSED [ 16%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session 
PASSED [ 20%]
| 
pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_create_session_no_outputs
 PASSED [ 23%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis 
PASSED [ 26%]
| 
pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_axis_discrete
 PASSED [ 30%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_button 
PASSED [ 33%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_key PASSED 
[ 36%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion 
PASSED [ 40%]
| 
pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_motion_absolute
 PASSED [ 43%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_notify_touch 
PASSED [ 46%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_session_start 
PASSED [ 50%]
| pyportaltest/test_remotedesktop.py::TestRemoteDesktop::test_version PASSED [ 
53%]
| pyportaltest/test_screencast.py::TestScreenCast::test_close_session PASSED [ 
56%]
| pyportaltest/test_screencast.py::TestScreenCast::test_create_session PASSED [ 
60%]
| pyportaltest/test_screencast.py::TestScreenCast::test_create_session_v3
| ==============================================================================
| 
| 
| Summary of Failures:
| 
| 2/2 pytest       TIMEOUT        60.05s   killed by signal 15 SIGTERM
| 
| Ok:                 1
| 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[1]: *** [debian/rules:60: override_dh_auto_test] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:51: binary-arch] Error 2
| 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=libportal&arch=riscv64&ver=0.7.1-1&stamp=1694361910&raw=0

After investigation, it appeared the test actually passes, but needs
85 seconds instead of the 60 seconds it got allocated. The
following patch uses the --timeout-multiplier feature of meson to
increase the timeout. I didn't try to use a different multiplier
depending on the architecture as it has no impact on working tests
anyway.

--- libportal-0.7.1/debian/rules
+++ libportal-0.7.1/debian/rules
@@ -57,4 +57,4 @@
                $(NULL)
 
 override_dh_auto_test:
-       xvfb-run -a dh_auto_test
+       xvfb-run -a dh_auto_test -- --timeout-multiplier 2


Regards
Aurelien

--- End Message ---
--- Begin Message ---
Source: libportal
Source-Version: 0.7.1-2
Done: Simon McVittie <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libportal, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated libportal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 15 Sep 2023 09:47:48 +0100
Source: libportal
Architecture: source
Version: 0.7.1-2
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1051649
Changes:
 libportal (0.7.1-2) unstable; urgency=medium
 .
   * d/rules: Allow longer for build-time tests to run.
     I've used a 3x multiple here, rather than the 2x multiple suggested
     on #1051649, to provide more margin of error on slower buildds.
     Thanks to Aurelien Jarno (Closes: #1051649, maybe also #1051702)
   * d/rules: Don't let Xvfb reset during testing.
     Workaround for #981201.
Checksums-Sha1:
 5a6d268f7dd9fbaccafacb83ff4ad2bb26607e20 3923 libportal_0.7.1-2.dsc
 18ea838d617989a6c5daa8927d6d64de51c4e812 8648 libportal_0.7.1-2.debian.tar.xz
 7dc3a5f693e36436ea786b9375979d30951df3a6 16726 
libportal_0.7.1-2_source.buildinfo
Checksums-Sha256:
 9997371d42b2ac968305e405e7a807d87e66e58df6f444084e344a36acbbdbdc 3923 
libportal_0.7.1-2.dsc
 1c5a5630b28ffc929d1c8bc7e2b87b1c2d5f859bbde7d5522be6936703fcde3d 8648 
libportal_0.7.1-2.debian.tar.xz
 d65504415dc12221a7dba72d44c3e760f455cbabf2df82688fce6c582a1b4458 16726 
libportal_0.7.1-2_source.buildinfo
Files:
 a4e9a2455f38fcc9cf9c071644655302 3923 libs optional libportal_0.7.1-2.dsc
 ea09b0e90a5de9b7b9b23670b8bb1cd6 8648 libs optional 
libportal_0.7.1-2.debian.tar.xz
 e95e35ec5614ca6764e7ccf1a72e6315 16726 libs optional 
libportal_0.7.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmUFf6kACgkQ4FrhR4+B
TE/3EQ//esEaXTGoAfJmjO3tujcc1WOI72rozWCDxx/ElNqtJoNJl2+3gD87DwEb
i4n6tN3/DsY+enNXk40Drjt/2//hN/GeArWK8aKYRmH2JWx8e085TrHlznQlWWvT
Y1bFmv6MhEWAZK+yp5QaYKQ00W5m1gn18JUPjG3WYOYT3tx1Btl/f6ZhjT+eYR75
aA3L3UpKrJm2XK2RMC+o3Khl1uR7w8vQi51/6NSo6fotgog8Ft+D8Ghowg4OgLwR
TLbD8witMvWGdIDzFJxhf8sBKnvwTFGW9uNdG7lOmij502o5/hCuL0rKteCFJD/b
s3P8+sHbnvAypn1ywVb5HsqBFRne674wQ8a9LtBQGLyz9/rySeg6HQgLmOzo1Zfg
DNlCoKhK6r+VRM+rsyZMXUBL4kr0vGjPk4veVIFOkE0HtJMBILbSmkkhRRq0QcRV
t5Ae12Psk4pcfbEwMpTnBzq1T4ne3SIuWo/jkc1zjJryqJSy9Je7LBBsTntzwBAa
OPPhb/zatKjafiFss9g6nk7LK1uI7io2W5PHPDHKi808Zp6hIDAEN+MgstJrr+t5
G3xW3qgRvPCgAbYhRhMVSF2airxl3zADUNqGC7ZG5I+i0xXVjo4JXc2K3KyYEb0N
2oa4c5q6BujRgMah8FXnXNK5SwFtK/Y39AVtopWqQ7jIjRqTCXY=
=T5Za
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to