Comment 0 for bug 2049737

Revision history for this message
Shengjing Zhu (zhsj) wrote : autopkgtest fails with network access

on armhf, the schroot test was skipped previously, because it fails to create the tarball.

222s autopkgtest [16:35:34]: test schroot: [-----------------------
224s mknod: /var/lib/schroot/unpack/tmp.b5GEblfCFW/test-dev-null: Operation not permitted
224s E: Cannot install into target '/var/lib/schroot/unpack/tmp.b5GEblfCFW' mounted with noexec or nodev
224s E: Error running debootstrap at /usr/bin/sbuild-createchroot line 438.
224s SKIP: Unable to create chroot testing-armhf-sbuild
224s autopkgtest [16:35:36]: test schroot: -----------------------]
227s schroot SKIP exit status 77 and marked as skippable

https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/armhf/a/autopkgtest/20240117_163550_48058@/log.gz

now, with debootstrap/1.0.134ubuntu1, it can create tarball, so the test continues.

385s autopkgtest [09:09:35]: test schroot: [-----------------------

685s I: Base system installed successfully.
...
688s I: Please add any additional APT sources to /var/lib/schroot/unpack/tmp.oMtNMr6H6p/etc/apt/sources.list
688s I: schroot chroot configuration written to /etc/schroot/chroot.d/testing-armhf-sbuild-kd1HCC.
688s I: Please rename and modify this file as required.
688s mkdir /etc/sbuild/chroot

However the tests fail to recognize the http proxy, so it fails with

757s Err:1 http://deb.debian.org/debian testing InRelease
757s Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:82::644). - connect (101: Network is unreachable) Could not connect to deb.debian.org:80 (146.75.74.132), connection timed out