DEP8 tests need vm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbuild (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
The sbuild DEP8 tests call debootstrap, which tries to create device nodes and fails in a lxd container:
autopkgtest [00:43:53]: test build-procenv: [------
INFO: Creating sbuild chroot 'disco-
mkdir /tmp/autopkgtes
mknod: /tmp/autopkgtes
E: Cannot install into target '/tmp/autopkgte
E: Error running debootstrap at /usr/bin/
This is currently the cause of all dep8 failures in armhf in the canonical autopkgtest infra:
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 41 lines (+10/-5)3 files modifieddebian/changelog (+8/-0)
debian/tests/build-procenv (+1/-4)
debian/tests/control (+1/-1)
Changed in sbuild (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
Alternatively, the test could be changed to tell debootstrap to use another directory, other than /tmp: schroot- $release"
[ -z "$ADTTMP" ] && die "ADTTMP not set"
dir="$ADTTMP/
...
sbuild-createchroot $components "$release" "$dir" "$url"