[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1086332: nickle: FTBFS on riscv64 due to testsuite timeout



Source: nickle
Version: 2.99
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-riscv@lists.debian.org
User: debian-riscv@lists.debian.org
Usertags: riscv64

Dear maintainer,

nickle fails to build from source on riscv64 due to a testsuite timeout:

| =================================== 22/22 ====================================
| test:         math.5c
| start time:   17:42:04
| duration:     240.19s
| result:       exit status 15
| command:      UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 NICKLESTART=/<<PKGBUILDDIR>>/builtin.5c MALLOC_PERTURB_=49 MESON_TEST_ITERATION=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 NICKLEPATH=/<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/nickle /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/../test/math.5c
| ----------------------------------- stdout -----------------------------------
| Checking sin and cos
| Checking asin and acos
| Checking tan
| Checking atan
| Checking atan2
| Checking exp precision
| ==============================================================================
| 
| 
| Summary of Failures:
| 
| 22/22 math.5c          TIMEOUT        240.19s   exit status 15
| 
| Ok:                 21  
| Expected Fail:      0   
| Fail:               0   
| Unexpected Pass:    0   
| Skipped:            0   
| Timeout:            1   
| 	rm -fr -- /tmp/dh-xdg-rundir-AvWglJdp
| 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:15: 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=nickle&arch=riscv64&ver=2.98&stamp=1730223971&raw=0

It appears that the test timeouts defined as part of the switch to meson
are too short for the riscv64 build daemons. Increasing it by a factor
3, like in the patch below, allows the testsuite to pass:

--- nickle-2.98.orig/debian/rules
+++ nickle-2.98/debian/rules
@@ -29,3 +29,7 @@
 
 override_dh_autoreconf:
 	echo using meson
+
+# Give the tests more time on slow arches
+override_dh_auto_test:
+	dh_auto_test -- --timeout-multiplier 3

The problem on the hppa and sparc64 build daemons are likely the same.

Regards
Aurelien


Reply to: