Public bug reported:

Netplan autopkgtests related to Wireguard are currently failing (see
below) on Noble ppc64el. Trying it manually on a ppc64el system, I can't
load the kernel module:

~# modprobe wireguard
modprobe: ERROR: could not insert 'wireguard': No such device


And because of that the interface can't be created:

Jan 19 15:47:59 mantic-bos01-ppc64el NetworkManager[2414]: <warn>  
[1705679279.5797] platform-linux: do-add-link[wg0/wireguard]: failure 95 
(Operation not supported - Unknown device type)
Jan 19 15:47:59 mantic-bos01-ppc64el NetworkManager[2414]: <error> 
[1705679279.5797] manager: (netplan-wg0) couldn't create the device: Failed to 
create WireGuard interface 'wg0' for 'netplan-wg0': Operation not supported


Jan 19 15:45:08 mantic-bos01-ppc64el systemd-networkd[731]: 
/run/systemd/network/10-netplan-wg0.netdev has 0644 mode that is too 
permissive, please adjust the ownership and access mode.
Jan 19 15:45:08 mantic-bos01-ppc64el systemd-networkd[731]: wg0: netdev could 
not be created: Operation not supported


Autopkgtest error:

2690s .Interface "wg0" not found.
2691s .Interface "wg0" not found.
2692s .Interface "wg0" not found.
2693s ..Interface "wg0" not found.
2694s Interface "wg0" not found.
2695s .Interface "wg0" not found.
2696s .Interface "wg0" not found.
2697s .Interface "wg0" not found.
2697s FAIL
2697s 
2697s ======================================================================
2697s FAIL: test_tunnel_wireguard 
(__main__.TestNetworkManager.test_tunnel_wireguard)
2697s ----------------------------------------------------------------------
2697s Traceback (most recent call last):
2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/tunnels.py", line 126, 
in test_tunnel_wireguard
2697s     self.generate_and_settle(['wg0', 'wg1'])
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 363, in generate_and_settle
2697s     self.nm_wait_connected(iface, 60)
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 419, in nm_wait_connected
2697s     self.wait_output(['nmcli', 'dev', 'show', iface], '(connected', 
timeout)
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 416, in wait_output
2697s     self.fail('timed out waiting for "{}" to appear in 
{}'.format(expected_output, cmd))
2697s AssertionError: timed out waiting for "(connected" to appear in ['nmcli', 
'dev', 'show', 'wg0']
2697s 
2697s ======================================================================
2697s FAIL: test_tunnel_wireguard (__main__.TestNetworkd.test_tunnel_wireguard)
2697s ----------------------------------------------------------------------
2697s Traceback (most recent call last):
2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/tunnels.py", line 126, 
in test_tunnel_wireguard
2697s     self.generate_and_settle(['wg0', 'wg1'])
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 365, in generate_and_settle
2697s     self.networkd_wait_connected(iface, 60)
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 423, in networkd_wait_connected
2697s     self.wait_output(['networkctl', 'status', iface], '(configured', 
timeout)
2697s   File "/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", 
line 416, in wait_output
2697s     self.fail('timed out waiting for "{}" to appear in 
{}'.format(expected_output, cmd))
2697s AssertionError: timed out waiting for "(configured" to appear in 
['networkctl', 'status', 'wg0']
2697s 
2697s ----------------------------------------------------------------------
2697s Ran 26 tests in 294.247s

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

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: netplan.io (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: netplan.io (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Summary changed:

- WireGuard broken on ppc64el
+ WireGuard broken on Noble ppc64el

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2049924

Title:
  WireGuard broken on Noble ppc64el

Status in linux package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  New
Status in linux source package in Noble:
  New
Status in netplan.io source package in Noble:
  New

Bug description:
  Netplan autopkgtests related to Wireguard are currently failing (see
  below) on Noble ppc64el. Trying it manually on a ppc64el system, I
  can't load the kernel module:

  ~# modprobe wireguard
  modprobe: ERROR: could not insert 'wireguard': No such device

  
  And because of that the interface can't be created:

  Jan 19 15:47:59 mantic-bos01-ppc64el NetworkManager[2414]: <warn>  
[1705679279.5797] platform-linux: do-add-link[wg0/wireguard]: failure 95 
(Operation not supported - Unknown device type)
  Jan 19 15:47:59 mantic-bos01-ppc64el NetworkManager[2414]: <error> 
[1705679279.5797] manager: (netplan-wg0) couldn't create the device: Failed to 
create WireGuard interface 'wg0' for 'netplan-wg0': Operation not supported

  
  Jan 19 15:45:08 mantic-bos01-ppc64el systemd-networkd[731]: 
/run/systemd/network/10-netplan-wg0.netdev has 0644 mode that is too 
permissive, please adjust the ownership and access mode.
  Jan 19 15:45:08 mantic-bos01-ppc64el systemd-networkd[731]: wg0: netdev could 
not be created: Operation not supported

  
  Autopkgtest error:

  2690s .Interface "wg0" not found.
  2691s .Interface "wg0" not found.
  2692s .Interface "wg0" not found.
  2693s ..Interface "wg0" not found.
  2694s Interface "wg0" not found.
  2695s .Interface "wg0" not found.
  2696s .Interface "wg0" not found.
  2697s .Interface "wg0" not found.
  2697s FAIL
  2697s 
  2697s ======================================================================
  2697s FAIL: test_tunnel_wireguard 
(__main__.TestNetworkManager.test_tunnel_wireguard)
  2697s ----------------------------------------------------------------------
  2697s Traceback (most recent call last):
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/tunnels.py", line 126, 
in test_tunnel_wireguard
  2697s     self.generate_and_settle(['wg0', 'wg1'])
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 363, in 
generate_and_settle
  2697s     self.nm_wait_connected(iface, 60)
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 419, in 
nm_wait_connected
  2697s     self.wait_output(['nmcli', 'dev', 'show', iface], '(connected', 
timeout)
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 416, in 
wait_output
  2697s     self.fail('timed out waiting for "{}" to appear in 
{}'.format(expected_output, cmd))
  2697s AssertionError: timed out waiting for "(connected" to appear in 
['nmcli', 'dev', 'show', 'wg0']
  2697s 
  2697s ======================================================================
  2697s FAIL: test_tunnel_wireguard 
(__main__.TestNetworkd.test_tunnel_wireguard)
  2697s ----------------------------------------------------------------------
  2697s Traceback (most recent call last):
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/tunnels.py", line 126, 
in test_tunnel_wireguard
  2697s     self.generate_and_settle(['wg0', 'wg1'])
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 365, in 
generate_and_settle
  2697s     self.networkd_wait_connected(iface, 60)
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 423, in 
networkd_wait_connected
  2697s     self.wait_output(['networkctl', 'status', iface], '(configured', 
timeout)
  2697s   File 
"/tmp/autopkgtest.N9l4Wi/build.nQ5/src/tests/integration/base.py", line 416, in 
wait_output
  2697s     self.fail('timed out waiting for "{}" to appear in 
{}'.format(expected_output, cmd))
  2697s AssertionError: timed out waiting for "(configured" to appear in 
['networkctl', 'status', 'wg0']
  2697s 
  2697s ----------------------------------------------------------------------
  2697s Ran 26 tests in 294.247s

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to