Comment 25 for bug 2051939

Revision history for this message
Skia (hyask) wrote :

I've performed some manual verification on local podman containers and encountered no issue. Here are my tests in details, if someone wants to replicate them.

I run the containers with the following command:
```
podman run -it --rm -v /srv/images/:/srv/images -v /dev/kvm:/dev/kvm ubuntu:jammy
```
This allows me both to have hardware acceleration for amd64 VM, and access to my existing VM images in `/srv/images`.

Then in the container, I run this:
```
# Install right package
apt update
apt install -y lsb-release

cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF

cat <<EOF >/etc/apt/preferences.d/proposed-updates
# Configure apt to allow selective installs of packages from proposed
Package: *
Pin: release a=$(lsb_release -cs)-proposed
Pin-Priority: 400
EOF

# Test cross-arch
apt update
DEBIAN_FRONTEND=noninteractive apt install -y autopkgtest/$(lsb_release -cs)-proposed qemu-system-x86 qemu-system-aarch64 qemu-utils
autopkgtest gzip -- qemu --qemu-architecture=aarch64 --timeout-reboot 180 /srv/images/autopkgtest-jammy-arm64.img
autopkgtest mawk -a i386 -U -- qemu /srv/images/autopkgtest-jammy-amd64.img
autopkgtest mawk -a armhf -U -- qemu --qemu-architecture=aarch64 --timeout-reboot 180 /srv/images/autopkgtest-jammy-arm64.img

# Test VM image building
apt install -y genisoimage
autopkgtest-buildvm-ubuntu-cloud -a amd64 -r focal
# Check that it works
autopkgtest gzip -- qemu autopkgtest-focal-amd64.img

# Test null virt-server
cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-sources.list
# Enable Ubuntu source archive
deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) restricted main multiverse universe
EOF
apt update
autopkgtest gzip -- null
```

Here are the versions tested:
Mantic:
```
# dpkg-query -W autopkgtest
autopkgtest 5.32ubuntu3~23.10.1
```
Jammy:
```
# dpkg-query -W autopkgtest
autopkgtest 5.32ubuntu3~22.04.1
```