On Thu, Aug 11, 2022 at 10:51:32PM +0200, Paul Gevers wrote: > On 10-08-2022 12:03, Marc Haber wrote: > > Unfortunately, this bug report suffers from multiple cut&paste or > > template error. The ci link points to the mercurial page for amd64, the > > text alternates between s390s, armhf, arm64 and amd64. > > There was only one that I'm aware of, the link to mercurial. But I > understand it if the text was a bit confusing.
You said autopkgtest fails on amd64, which was never the case. Maybe amd64 and arm64 got confused. > > I tried the (dead simple)d autopkgtest on the s390s and arm64 porterboxes > > and it succeeded in a second's time. I have sharpened the expression > > that counts the CPUs in lscpu's output and hope this will fix the issue. > > ooo, CPU count. Yes, some of those archs run on hosts with lots of CPU's. > armhf has 160, s390x has 10. I am testing locally on amd64 with a machine with 12 CPUs. The armhf tests succeed (see https://ci.debian.net/data/autopkgtest/testing/armhf/a/atop/24578667/log.gz). The complete test is: #!/bin/bash # atop reports number of CPU and two extra lines ATOPSOPINION="$(atop -P cpu 5 1 | grep -vE '^(RESET|SEP)' | wc -l)" TRUTH="$(lscpu -p | grep -vE '^#' | wc -l)" if [ "${TRUTH}" -ne "${ATOPSOPINION}" ]; then printf >&2 "autopkgtest 01-numcpus failed" printf >&2 "atop thinks %s CPUs, truth is %s CPUs\n" "${ATOPSOPINION}" "${TRUTH}" atop -P cpu 5 1 >&2 lscpu -p >&2 exit 1 else exit 0 fi There is no loop, and nothing that could fail on a big number. In my understanding, this could run on a box with 2000 cores and still work. Also, the test does not time out on zelenka when manually invoked in an schroot (setting PATH to point to an executable atop is necessary, as it does not seem to be possible to install an abitrary package that is not in the archive. Also, the test is successful if invoked after installing atop 2.7.1-2 from the archive. > > Can you find out in which line the autopkgtest stalls? > > Unfortunately; you have access to the same log as I have. So we have an unreproducible and unexplained timeout. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

