[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#983197: debootstrap: autopkgtest regression under autopkgtest-virt-qemu



Control: reassign -1 src:debootstrap 1.0.123
Control: retitle -1 debootstrap: autopkgtest regression under autopkgtest-virt-qemu

On Sun, 21 Feb 2021 at 08:45:48 +0900, Ryutaroh Matsumoto wrote:
> I report here another different behaviors of lxc and qemu testbeds.
> The testbeds were made by debci setup -f -s sid -a amd64 -b ...
> Tests of debootstrap pass on lxc, but some of them fail on qemu

Differences between the lxc and qemu backends do not necessarily indicate
a bug in autopkgtest. The lxc backend is not fully-privileged and cannot
necessarily run all tests, in particular if the test is trying to exercise
"powerful" capabilities like CAP_SYS_ADMIN.

The lxc and qemu backends will probably also have a different /dev:
under lxc it's managed by lxc, and under qemu it's managed by udev.

> not ok 19 - unshare -m /tmp/autopkgtest.PYPTQP/build.yxt/src/debian/tests/fake/schroot-1.6.10-3 chroot.d runuser -u nobody -- script -q -c cat /etc/debian_version /dev/null
> not ok 20 - script(1) should work under (fake) schroot

This looks like a regression in debootstrap. I can reproduce this test
failure under autopkgtest-virt-qemu, using a sid virtual machine image
generated by autopkgtest-build-qemu.

debootstrap 1.0.114 passes its autopkgtest in the same environment.
I'll try to bisect this.

    smcv


Reply to: