#1095174 autopkgtest 5.43: regression while testing debian-edu-doc: build times out and fails with tmpfail

#1095174#5
Date:
2025-02-04 19:29:58 UTC
From:
To:
Since autopkgtest 5.43 hit the ci.d.n workers, the autopkgtest of
debian-edu-doc tmpfails after 8:30h (global timeout) on all
architectures while still building the binaries (it has build-needed).
As can be seen in the log below, there seem to be multiple moments where
for 4000 seconds, nothing is happening. Before the regression, the build
(and full autopkgtest) would take half an hour on amd64.

Paul

https://ci.debian.net/packages/d/debian-edu-doc/unstable/amd64/57325107/

The log ends thus:

259s dh clean
260s    dh_auto_clean
260s 	make -j64 clean
260s make[1]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src'
260s make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bookworm
clean
260s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bookworm'
260s rm -f *.pdf
4262s rm -f *.html
4262s rm -f debian-edu-bookworm-manual.*.xml
4262s rm -f *.epub
4262s rm -f *.pdf
4262s rm -f *.po~
4262s rm -rf images-tmp
4262s rm -f .collapsed.debian-edu-bookworm-manual.*.xml
4262s make[2]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bookworm'
4262s make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bullseye
clean
4262s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bullseye'
4262s rm -f *.pdf
8352s rm -f *.html
8352s rm -f debian-edu-bullseye-manual.*.xml
8352s rm -f *.epub
8352s rm -f *.pdf
8352s rm -f *.po~
8352s rm -rf images-tmp
8352s rm -f .collapsed.debian-edu-bullseye-manual.*.xml
8352s make[2]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bullseye'
8352s make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/rosegarden
clean
8352s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/rosegarden'
8352s rm -f *.pdf
12275s rm -f *.html
12275s rm -f rosegarden-manual.*.xml
12275s rm -f *.epub
12275s rm -f *.pdf
12275s rm -f *.po~
12275s rm -rf images-tmp
12275s rm -f .collapsed.rosegarden-manual.*.xml
12276s make[2]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/rosegarden'
12276s make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/audacity
clean
12276s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/audacity'
12276s rm -f *.pdf
16306s rm -f *.html
16306s rm -f audacity-manual.*.xml
16306s rm -f *.epub
16306s rm -f *.pdf
16306s rm -f *.po~
16306s rm -rf images-tmp
16306s rm -f .collapsed.audacity-manual.*.xml
16306s make[2]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/audacity'
16306s make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-itil
clean
16306s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-itil'
16306s rm -f *.pdf
20861s rm -f *.html
20861s rm -f debian-edu-itil-manual.*.xml
20861s rm -f *.epub
20861s rm -f *.pdf
20861s rm -f *.po~
20861s rm -rf images-tmp
20861s rm -f .collapsed.debian-edu-itil-manual.*.xml
20861s make[2]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-itil'
20861s make[1]: Leaving directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src'
20861s    dh_clean
20861s  debian/rules binary
20861s dh binary
20861s    dh_update_autotools_config
20861s    dh_autoreconf
20861s    dh_auto_configure
20861s dh: command-omitted: The call to "dh_auto_test" was omitted due
to "DEB_BUILD_OPTIONS=nocheck"
20861s    create-stamp debian/debhelper-build-stamp
20861s    dh_prep
20862s    debian/rules override_dh_install
20862s make[1]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src'
20862s /usr/bin/make install
DESTDIR="/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/debian"
20862s make[2]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src'
20862s /usr/bin/make -C
/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bookworm
install
20862s make[3]: Entering directory
'/tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src/documentation/debian-edu-bookworm'
22631s # create localized XML files
26324s po4a --msgmerge-opt --no-location po4a.cfg
26347s # rewrap the PO file just to be sure
26347s msgcat --no-location -o debian-edu-bookworm-manual.pot
debian-edu-bookworm-manual.pot
26347s # special case English master file
26347s cp debian-edu-bookworm-manual.xml debian-edu-bookworm-manual.en.xml
26347s # modify XML file
26347s for f in en da de es fr id it ja nb-no nl pl pt-br pt pt-pt ro sv
uk zh-cn ; do \
26347s 	if [ -e debian-edu-bookworm-manual.$f.xml ] ; then \
26347s 		echo "Creating XML for $f"; \
26347s 		case "$f" in \
26347s 			cs|de|da|nb-no|pl|ro|uk) sed -i 's%</para><para>
</para>%29.03.2024%' debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 			fr|nl) sed -i 's%</para><para> </para>%29-03-2024%'
debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 			ja) sed -i 's%</para><para> </para>%2024年03月29日%'
debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 			es|it|pt-br|pt-pt) sed -i 's%</para><para>
</para>%29/03/2024%' debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 			zh-tw) sed -i 's%</para><para> </para>%2024/3/29%'
debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 			*) sed -i 's%</para><para> </para>%2024-03-29%'
debian-edu-bookworm-manual.$f.xml \
26347s 			;; \
26347s 		esac ; \
26347s 		sed -i 's%<subtitle><para>%<subtitle>%'
debian-edu-bookworm-manual.$f.xml ; \
26347s 		sed -i "s%id='[0-9]\+%id='%g" debian-edu-bookworm-manual.$f.xml ; \
26347s 		sed -i "s% id=''%%g" debian-edu-bookworm-manual.$f.xml ; \
26347s 	fi ; \
26347s done
26347s Creating XML for en
26347s Creating XML for da
26347s Creating XML for de
26347s Creating XML for es
26347s Creating XML for fr
26347s Creating XML for id
26347s Creating XML for it
26347s Creating XML for ja
26347s Creating XML for nb-no
26347s Creating XML for nl
26347s Creating XML for pl
26347s Creating XML for pt-br
26347s Creating XML for pt
26347s Creating XML for pt-pt
26347s Creating XML for ro
26347s Creating XML for sv
26347s Creating XML for uk
26347s Creating XML for zh-cn
26347s # build HTML version and restore internal links for all languages
29905s for f in en da de es fr id it ja nb-no nl pl pt-br pt pt-pt ro sv
uk zh-cn ; do \
29905s 	echo "Creating HTML for $f"; \
29905s 	if [ -e debian-edu-bookworm-manual.$f.xml ] ; then \
29905s 		xsltproc --nonet --novalid --xinclude ../common/html.xsl
debian-edu-bookworm-manual.$f.xml && mv index.html
debian-edu-bookworm-manual.$f.html ; \
29905s 		sed -i
"s/href=\"index.html/href=\"debian-edu-bookworm-manual.$f.html/g"
debian-edu-bookworm-manual.$f.html ; \
29905s 	fi ; \
29905s done
29905s Creating HTML for en
29905s Writing index.html for article
29906s Creating HTML for da
29906s Writing index.html for article
29906s Creating HTML for de
29907s Writing index.html for article
29907s Creating HTML for es
29907s Writing index.html for article
29907s Creating HTML for fr
29908s Writing index.html for article
29908s Creating HTML for id
29908s Writing index.html for article
29908s Creating HTML for it
29908s Writing index.html for article
29908s Creating HTML for ja
29909s Writing index.html for article
29909s Creating HTML for nb-no
29909s Writing index.html for article
29909s Creating HTML for nl
29910s Writing index.html for article
29910s Creating HTML for pl
29910s Writing index.html for article
29910s Creating HTML for pt-br
29911s Writing index.html for article
29911s Creating HTML for pt
29911s Writing index.html for article
29911s Creating HTML for pt-pt
29911s Writing index.html for article
29912s Creating HTML for ro
29912s Writing index.html for article
29912s Creating HTML for sv
29912s Writing index.html for article
29912s Creating HTML for uk
29913s Writing index.html for article
29913s Creating HTML for zh-cn
29913s Error: no ID for constraint linkend:
"Administration--Resizing_Partitions".
29913s Writing index.html for article
29913s # build EPUB version for all languages
30601s sh: 0: getcwd() failed: No such file or directory
30604s autopkgtest [02:15:00]: ERROR: testbed failure: global timeout
reached on command "sh -ec su --shell=/bin/sh debci -c 'set -e; exec
3>&1 >&2; cd /tmp/autopkgtest-lxc.nsa02tei/downtmp/build.g8j/src;
DEB_BUILD_OPTIONS="nocheck noautodbgsym noddebs $DEB_BUILD_OPTIONS"
DEB_BUILD_PROFILES="noudeb nocheck parallel=64 $DEB_BUILD_PROFILES"
dpkg-buildpackage -us -uc -b; dpkg-source --before-build .'" (kind: build)

#1095174#12
Date:
2025-04-18 09:13:53 UTC
From:
To:
[ Paul Gevers, 2025-02-04 ]

This timeout is supposed to have been caused by a (now fixed)
debian-edu-doc bug, see:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102925

Wolfgang
(retired Debian Edu contributor)

#1095174#15
Date:
2025-04-18 09:13:53 UTC
From:
To:
[ Paul Gevers, 2025-02-04 ]

This timeout is supposed to have been caused by a (now fixed)
debian-edu-doc bug, see:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102925

Wolfgang
(retired Debian Edu contributor)

#1095174#20
Date:
2025-04-19 18:01:36 UTC
From:
To:
Hi,


Thanks for connecting dots. But the fact that autopkgtest tmpfails in
this case is still a problem. It should fail the test instead. Good to
know this isn't a regression in autopkgtest (at least less obvious if it
is).

Paul

#1095174#25
Date:
2025-04-20 09:24:55 UTC
From:
To:
Hi Paul,

[ Paul Gevers, 2025-04-19 ]

Sure; but possibly the cause would have been hard to catch in this case.

Already this 'make clean' command times out -- IMO due to a change in
make version 4.4.1-1 (Dec 2024), hitting debian-edu-doc's
Makefile.common, see:

https://lists.debian.org/debian-edu/2025/01/msg00011.html

Wolfgang