Public bug reported:

OpenVPN does not currently run DEP-8 autopkgtests on armhf, due to it
being a LXD containerized environment on autopkgtest.ubuntu.com and the
tests using a "isolation-machine" restriction.

This is inherited from Debian: Enabling TUN inside LXC containers (as
used by DebCI), needs modifications to the container host
(https://discuss.linuxcontainers.org/t/no-dev-net-tun-inside-lxc-
container/8344), e.g.:

"""
lxc.cgroup.devices.allow = c 10:200 rwm
lxc.mount.entry = /dev/net dev/net none bind,create=dir 0 0
lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file
"""

We cannot change the DebCI infrastructure. But as we're already carrying
a long-term delta on openvpn, we should also introduce an additional
isolation-machine → isolation-container delta. Which turned out to work
just fine in Ubuntu's LXD infrastructure.


$ ppa tests ppa:slyon/testing -p openvpn
[...]
* Results:
  - openvpn/2.6.12-1ubuntu1+ppa1
    + ✅ openvpn on plucky for armhf   @ 16.12.24 09:21:33
      • Log: 
https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-slyon-testing/plucky/armhf/o/openvpn/20241216_092133_df352@/log.gz

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  OpenVPN does not currently run DEP-8 autopkgtests on armhf, due to it
  being a LXD containerized environment on autopkgtest.ubuntu.com and the
  tests using a "isolation-machine" restriction.
  
- 
- This is inherited from Debian: Enabling TUN inside LXC containers (as used by 
DebCI), needs modifications to the container host 
(https://discuss.linuxcontainers.org/t/no-dev-net-tun-inside-lxc-container/8344),
 e.g.:
+ This is inherited from Debian: Enabling TUN inside LXC containers (as
+ used by DebCI), needs modifications to the container host
+ (https://discuss.linuxcontainers.org/t/no-dev-net-tun-inside-lxc-
+ container/8344), e.g.:
  
  """
  lxc.cgroup.devices.allow = c 10:200 rwm
  lxc.mount.entry = /dev/net dev/net none bind,create=dir 0 0
  lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file
  """
  
  We cannot change the DebCI infrastructure. But as we're already carrying
  a long-term delta on openvpn, we should also introduce an additional
  isolation-machine → isolation-container delta. Which turned out to work
  just fine in Ubuntu's LXD infrastructure.
+ 
+ 
+ $ ppa tests ppa:slyon/testing -p openvpn
+ [...]
+ * Results:
+   - openvpn/2.6.12-1ubuntu1+ppa1
+     + ✅ openvpn on plucky for armhf   @ 16.12.24 09:21:33
+       • Log: 
https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-slyon-testing/plucky/armhf/o/openvpn/20241216_092133_df352@/log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104146

Title:
  Does not run autopkgtests on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/2104146/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to