autopkgtest schroot fails with network access

Bug #2049737 reported by Shengjing Zhu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
Undecided
Unassigned
Mantic
Incomplete
Undecided
Unassigned
debootstrap (Ubuntu)
Invalid
Undecided
Unassigned
Mantic
New
Undecided
Unassigned

Bug Description

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

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

Revision history for this message
Shengjing Zhu (zhsj) wrote :

Currently the failure in autopkgtest prevents debootstrap migration. But this is not debootstrap fault. So can we ignore the failure and force debootstrap to migrate?

tags: added: update-excuse
summary: - autopkgtest fails with network access
+ autopkgtest schroot fails with network access
Revision history for this message
Shengjing Zhu (zhsj) wrote :

Skia told me the autopkgtest itself is already fixed in upstream https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/268

description: updated
Revision history for this message
Graham Inggs (ginggs) wrote :

After checking with qa-team that it was OK to allow autopkgtest's autopkgtest to regress on armhf, I added a hint:

https://git.launchpad.net/~ubuntu-release/britney/+git/hints-ubuntu/commit/?id=654bab8e4234ab5b3d04c7c00049a243d97a55d1

Paride Legovini (paride)
Changed in debootstrap (Ubuntu):
status: New → Invalid
Changed in autopkgtest (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.6 KiB)

This bug was fixed in the package autopkgtest - 5.32ubuntu1

---------------
autopkgtest (5.32ubuntu1) noble; urgency=medium

  * Merge with Debian unstable (LP: #2049737)
    Remaining changes:
    - Add support for cross-architecture testing.

autopkgtest (5.32) unstable; urgency=medium

  [ Florent 'Skia' Jacquet ]
  * d/t/schroot: better use of existing variables
  * d/t/schroot: allow running behind a proxy

  [ Simon McVittie ]
  * testarchive: Fix a pycodestyle warning
  * Standards-Version: 4.6.2 (no changes required)
  * qemu: Use 4M OVMF images if available

  [ Stefano Rivera ]
  * Testbed: Kill with SIGKILL if SIGTERM doesn't do the job in 10 seconds
    (Closes: #1059444)

  [ Paul Gevers ]
  * tests: increase sleep in test_timeout() for lxd test (Closes: #1020634)
  * autopkgtest-virt-qemu: raise time for command prompt return
  * virt-qemu: add context to several timeout errors

  [ Michael Biebl ]
  * Bump default ram-size for virt-qemu to 2048 (Closes: #1059840)

  [ Colin Watson ]
  * Add Incus support

  [ Santiago Ruano Rincón ]
  * Make autopkgtest-build-qemu pass mirror info to setup-testbed
    (Closes: #1060426)

  [ Paul Gevers ]
  * tests: increase --timeout-build to accommodate for riscv64
  * tests: mark podman-init autopkgtest flaky for now

autopkgtest (5.31.2) unstable; urgency=medium

  [ Florent 'Skia' Jacquet ]
  * d/control: add genisoimage as suggested package.
    It's used in `autopkgtest-buildvm-ubuntu-cloud`.

  [ Paul Gevers ]
  * autopkgtest-build-qemu: drop use of qemu-debootstrap.
    This is not needed in Debian 11 or newer. (Closes: #1038826)

  [ Simon McVittie ]
  * d/rules: Don't fail the build if a lint check fails (Closes: #1058550)
  * qemu, testdesc: Convert "# type:" comments into variable annotations.
    This avoids unused import warnings with current versions of pyflakes.

autopkgtest (5.31.1) unstable; urgency=medium

  * runner: fix architecture wildcard support broken in 30d5aa7
  * runner: fail badpkg in case no source was found like before 30d5aa7

autopkgtest (5.31) unstable; urgency=medium

  [ Johannes Schauer Marin Rodrigues ]
  * lib/autopkgtest_qemu.py: use -machine type=virt,gic-version=max when
    running natively on arm64 for kvm acceleration

  [ Tim Andersson ]
  * add ssh connect timeout to ssh-setup/nova
  * setup-testbed: Set apt error mode as any

  [ Paul Gevers ]
  * adt_testbed: factor out add-apt-sources
  * adt_testbed: factor out get-default-release
  * adt_testbed: factor out shell code to create sources.lists
  * Rewrite of source version selection in Python
  * create-sources.list-for-pocket: minor logical improvements
  * add-apt-sources: some checks of input arguments

  [ Jochen Sprickerhof ]
  * Update resolv.conf in unshare chroot

  [ Samuel Thibault ]
  * Fix hyphens in manpages

  [ Mateus Rodrigues de Morais ]
  * Add --cpus to buildvm-ubuntu-cloud tool

  [ Christian Kastner ]
  * qemu: Add option to poweroff gracefully

autopkgtest (5.30) unstable; urgency=medium

  [ Christian Kastner ]
  * Set umask while initializing DebBinaries, fixing permissions errors
    when running virt-podman with a restrictive umask (Closes: #1032487)

  [ Helmut Groh...

Read more...

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Please provide an clear Test Case and describe the possible Regression Potential for this bug in the bug description [1].

[1] https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

Changed in autopkgtest (Ubuntu Mantic):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.