[Pkg-utopia-maintainers] Bug#981127: cockpit: FTBFS on hppa - test timeout is way too small
John David Anglin
dave.anglin at bell.net
Tue Jan 26 19:11:37 GMT 2021
Source: cockpit
Version: 236-1
Severity: normal
Tags: patch
Dear Maintainer,
Cockpit fails to build on hppa because the test-tls-certfile test times out.
For example, see this log:
https://buildd.debian.org/status/fetch.php?pkg=cockpit&arch=hppa&ver=236-1&stamp=1611676114&raw=0
I had a successful build by extending the timeout from 300 seconds to 3600
seconds. See:
https://buildd.debian.org/status/fetch.php?pkg=cockpit&arch=hppa&ver=236-1&stamp=1611682342&raw=0
Attached is patch that I used.
We either need to skip the test-tls-certfile on hppa or greatly extend the
timeout. The test spends most of its time in the kernel (maybe there is
lock contention).
Regards,
Dave Anglin
-- System Information:
Debian Release: bullseye/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 5.10.10+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
Index: cockpit-236/Makefile.am
===================================================================
--- cockpit-236.orig/Makefile.am
+++ cockpit-236/Makefile.am
@@ -279,7 +279,7 @@ AM_CPPFLAGS = \
AM_LDFLAGS = -Wl,--as-needed
LOG_DRIVER = $(PYTHON) $(top_srcdir)/tools/tap-driver
-LOG_COMPILER = sh -c 'timeout 300 "$$0" "$$@" --tap' # For GLib < 2.62
+LOG_COMPILER = sh -c 'timeout 3600 "$$0" "$$@" --tap' # For GLib < 2.62
TEST_EXTENSIONS = .html .sh
SH_LOG_DRIVER = $(LOG_DRIVER)
Index: cockpit-236/Makefile.in
===================================================================
--- cockpit-236.orig/Makefile.in
+++ cockpit-236/Makefile.in
@@ -2087,7 +2087,7 @@ AM_CPPFLAGS = \
AM_LDFLAGS = -Wl,--as-needed
LOG_DRIVER = $(PYTHON) $(top_srcdir)/tools/tap-driver
-LOG_COMPILER = sh -c 'timeout 300 "$$0" "$$@" --tap' # For GLib < 2.62
+LOG_COMPILER = sh -c 'timeout 3600 "$$0" "$$@" --tap' # For GLib < 2.62
TEST_EXTENSIONS = .html .sh
SH_LOG_DRIVER = $(LOG_DRIVER)
HTML_LOG_DRIVER = $(LOG_DRIVER)
More information about the Pkg-utopia-maintainers
mailing list