Source: openvpn
Version: 2.7.5-1
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: [email protected]
Usertags: lxc

Hi,

Debian CI is switching away from lxc containers in favor of incus Containers.
This is motivated by security concerns from us; incus is based on lxc, but
orchestrates containers substantially different: containers are not privileged
(so root in the container is not uid 0 outside of it, and incus imposes a
stricter isolation from the host system.

openvpn passes its tests under lxc, but fails under incus.
The relevant part of the failure is (hopefully):

> + info 'Start an OpenVPN process in background and redirect its output to a 
> file'
> + echo '[I] Start an OpenVPN process in background and redirect its output to 
> a file'
> [I] Start an OpenVPN process in background and redirect its output to a file
> + info 'Give some time to start the process, check if the TUN device is 
> opened'
> + echo '[I] Give some time to start the process, check if the TUN device is 
> opened'
> [I] Give some time to start the process, check if the TUN device is opened
> + count=1
> + '[' -f /tmp/autopkgtest.Anmz4I/server-setup-with-ca-artifacts/openvpn.log 
> ']'
> + openvpn --disable-dco --config /etc/openvpn/server.conf --verb 6
> + '[' 1 -gt 9 ']'
> ++ expr 1 + 1
> + count=2
> + sleep 1
> + '[' -f /tmp/autopkgtest.Anmz4I/server-setup-with-ca-artifacts/openvpn.log 
> ']'
> + cat /tmp/autopkgtest.Anmz4I/server-setup-with-ca-artifacts/openvpn.log
> + grep 'device tun1 opened'
> 2026-08-14 21:03:54 us=800671 TUN/TAP device tun1 opened
> + cat /tmp/autopkgtest.Anmz4I/server-setup-with-ca-artifacts/openvpn.log
> + grep 'TUN/TAP device tun1 opened'
> 2026-08-14 21:03:54 us=800671 TUN/TAP device tun1 opened
> + info 'Check if the tun1 was created and if the state is UNKNOWN at this 
> point'
> + echo '[I] Check if the tun1 was created and if the state is UNKNOWN at this 
> point'
> [I] Check if the tun1 was created and if the state is UNKNOWN at this point
> + grep 'state UNKNOWN'
> + ip address show tun1
> /tmp/autopkgtest.Anmz4I/build.z9l/src/debian/tests/server-setup-with-ca: line 
> 76: ip: command not found
> /tmp/autopkgtest.Anmz4I/wrapper.sh: Killing leaked background processes: 1389 
> autopkgtest [21:03:56]: test server-setup-with-ca: -----------------------]
> autopkgtest [21:03:56]: test server-setup-with-ca:  - - - - - - - - - - 
> results - - - - - - - - - -
> server-setup-with-ca FAIL non-zero exit status 1

The full autokpgtest logs are available at:
https://ci.debian.net/experiments/8/regressions/
(please beware of pagination)

Common types of failure and suggested fixes are being documented at:
https://wiki.debian.org/ContinuousIntegration/LxcToIncus

Note that for the time being, openvpn is still being tested under lxc to
avoid disturbing its testing migration test results.

If you decide to add the `isolation-machine` restriction to get this package
tested under qemu, please mention that explicitly when closing this bug (it's
fine to do that only in the package changelog entry that closes the bug) so
that we can configure your package for qemu on ci.debian.net.

Attachment: signature.asc
Description: PGP signature

Reply via email to