On Mon, Nov 11, 2024 at 07:36:45PM +0100, Santiago Vila wrote: > During a rebuild of all packages in unstable, the following two > packages failed to build: > > pytest-httpbin > vcr.py > > Both have python3-urllib3 in their build-depends, and the way > they fail is quite similar: [...] > The strange thing is that the build succeeds on machines > with 2 CPUs, but it fails 100% of the time if the machine > has a single-CPU.
I tried (as my most ergonomic way to build something in a single-CPU VM): RELEASE=sid autopkgtest-build-incus --vm images:debian/trixie sbuild -Ad unstable --chroot-mode=autopkgtest --autopkgtest-virt-server=incus --autopkgtest-virt-server-opts='--vm autopkgtest/debian/sid/amd64/vm -- -c limits.cpu=1' pytest-httpbin sbuild -Ad unstable --chroot-mode=autopkgtest --autopkgtest-virt-server=incus --autopkgtest-virt-server-opts='--vm autopkgtest/debian/sid/amd64/vm -- -c limits.cpu=1' vcr.py Both passed - and I checked that /proc/cpuinfo indeed only reported a single CPU. So perhaps there's some other factor involved here, in addition to the number of CPUs. Can you see whether python3-urllib3 2.2.3-2 in experimental (just uploaded) behaves any better on your test system? That would be a sensible thing to try before any more arduous debugging, I think. Thanks, -- Colin Watson (he/him) [[email protected]]

