Pastebin link is dead.

This test is also failing in Debian when running under Incus instead of
privileged LXC containers [1]. I guess an easy solution here is to run
this in a VM instead. Tested locally and it seems to work.

https://ci.debian.net/packages/p/pdns/testing/amd64/74322608/

  0s autopkgtest [09:17:31]: host neodymium; command line: /usr/bin/autopkgtest 
-o ../test-output -B -U --test-name=wg-quick --shell-fail . -- lxd 
ubuntu-daily:stonking -- --vm
  ...
310s No VM guests are running outdated hypervisor (qemu) binaries on this host.
311s autopkgtest [09:22:42]: test wg-quick: [-----------------------
311s Setting things up
311s Generating keys
311s Generating wireguard config
311s Cleaning up old namespaces
311s Creating new namespaces left_ns and right_ns and adding loopback interface 
to them
311s Creating veth interface connecting both namespaces
311s Bringing up LEFT wireguard interface in namespace left_ns
311s [#] ip link add dev wg_left type wireguard
311s [#] wg addconf wg_left /dev/fd/63
311s [#] ip -4 address add 10.0.5.1/24 dev wg_left
311s [#] ip link set mtu 1420 up dev wg_left
311s Bringing up RIGHT wireguard interface in namespace right_ns
311s [#] ip link add dev wg_right type wireguard
311s [#] wg addconf wg_right /dev/fd/63
311s [#] ip -4 address add 10.0.5.2/24 dev wg_right
311s [#] ip link set mtu 1420 up dev wg_right
311s 
311s This is the config
311s left_ns namespace:
311s [Interface]
311s ListenPort = 3001
311s PrivateKey = 8LN6VwEHJL4tx7D8BFerxtMfuLv9oQab2iENwNNF1X0=
311s 
311s [Peer]
311s PublicKey = xWpo1Z9ntGsAkF7SnZBiI0REYMtajZ6/DQBqTQYuQlo=
311s AllowedIPs = 10.0.5.2/32
311s Endpoint = 10.0.1.2:3002
311s 
311s right_ns namespace:
311s [Interface]
311s ListenPort = 3002
311s PrivateKey = sI4QspSElzFM5EsEUyDMveME9LDP2l0EhkoUd4O8B2k=
311s 
311s [Peer]
311s PublicKey = Hl14qzAULP4jk/8EHroVFP34IGpxoymC8/kxydViDUg=
311s AllowedIPs = 10.0.5.1/32
311s Endpoint = 10.0.1.1:3001
311s 
311s Testing gateway ping
311s Pinging right gateway, from left_ns namespace
311s PING 10.0.5.2 (10.0.5.2) 56(84) bytes of data.
311s 64 bytes from 10.0.5.2: icmp_seq=1 ttl=64 time=0.283 ms
311s 
311s --- 10.0.5.2 ping statistics ---
311s 1 packets transmitted, 1 received, 0% packet loss, time 0ms
311s rtt min/avg/max/mdev = 0.283/0.283/0.283/0.000 ms
311s 
311s Pinging left gateway, from right_ns namespace
311s PING 10.0.5.1 (10.0.5.1) 56(84) bytes of data.
311s 64 bytes from 10.0.5.1: icmp_seq=1 ttl=64 time=0.027 ms
311s 
311s --- 10.0.5.1 ping statistics ---
311s 1 packets transmitted, 1 received, 0% packet loss, time 0ms
311s rtt min/avg/max/mdev = 0.027/0.027/0.027/0.000 ms
311s 
311s Testing wireguard interface ping
311s Pinging right wireguard IP from left_ns namespace
311s PING 10.0.1.2 (10.0.1.2) 56(84) bytes of data.
311s 64 bytes from 10.0.1.2: icmp_seq=1 ttl=64 time=0.018 ms
311s 
311s --- 10.0.1.2 ping statistics ---
311s 1 packets transmitted, 1 received, 0% packet loss, time 0ms
311s rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms
311s 
311s Pinging left wireguard IP from right_ns namesapce
311s PING 10.0.1.1 (10.0.1.1) 56(84) bytes of data.
311s 64 bytes from 10.0.1.1: icmp_seq=1 ttl=64 time=0.009 ms
311s 
311s --- 10.0.1.1 ping statistics ---
311s 1 packets transmitted, 1 received, 0% packet loss, time 0ms
311s rtt min/avg/max/mdev = 0.009/0.009/0.009/0.000 ms
311s 
311s Testing vpn stats
311s Namespace left_ns
311s   latest handshake: Now
311s   transfer: 348 B received, 404 B sent
311s Namespace right_ns
311s   latest handshake: Now
311s   transfer: 404 B received, 348 B sent
312s autopkgtest [09:22:43]: test wg-quick: -----------------------]
312s wg-quick             PASS
312s autopkgtest [09:22:43]: test wg-quick:  - - - - - - - - - - results - - - 
- - - - - - -
312s autopkgtest [09:22:43]: @@@@@@@@@@@@@@@@@@@@ summary
312s wg-quick             PASS

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

Title:
  wg-quick autopkgtest failing on all arches

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to