Hello!

I have investigated further on this bug.

It is failing because the kernel does not contain dummy net driver. Then
adding a dummy interface fails.

Command:

$ ip -n h1 link add name eth0 type dummy
Error: Unknown device type.

Module missing (From generic example):

/lib/modules/5.15.0-57-generic/kernel/drivers/net/dummy.ko

Do we want to make an equivalent test, or include the module? I would
say the latter.

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

Title:
  kselftest net/fib_nexthop_nongw.sh fails

Status in linux-kvm package in Ubuntu:
  New
Status in linux-kvm source package in Jammy:
  New

Bug description:
  18272                 03:33:07 DEBUG| Persistent state client._record_indent 
now set to 2
                18273           03:33:07 DEBUG| Persistent state 
client.unexpected_reboot now set to 
('ubuntu_kernel_selftests.net:fib_nexthop_nongw.sh', 
'ubuntu_kernel_selftests.net:fib_nexthop_nongw.sh')
                18274           03:33:07 DEBUG| Waiting for pid 58525 for 2700 
seconds
                18275           03:33:07 WARNI| System python is too old, crash 
handling disabled
                18276           03:33:07 DEBUG| Running 'make run_tests -C net 
TEST_PROGS=fib_nexthop_nongw.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
                18277           03:33:07 DEBUG| [stdout] make: Entering 
directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
                18278           03:33:07 DEBUG| [stdout] make 
--no-builtin-rules ARCH=x86 -C ../../../.. headers_install
                18279           03:33:07 DEBUG| [stdout] make[1]: Entering 
directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
                18280           03:33:08 DEBUG| [stdout]   INSTALL ./usr/include
                18281           03:33:08 DEBUG| [stdout] make[1]: Leaving 
directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
                18282           03:33:08 DEBUG| [stdout] TAP version 13
                18283           03:33:08 DEBUG| [stdout] 1..1
                18284           03:33:08 DEBUG| [stdout] # selftests: net: 
fib_nexthop_nongw.sh
                18285           03:33:08 DEBUG| [stdout] # Error: Unknown 
device type.
                18286           03:33:08 DEBUG| [stdout] # Cannot find device 
"eth0"
                18287           03:33:08 DEBUG| [stdout] # Cannot find device 
"eth0"
                18288           03:33:08 DEBUG| [stdout] # TEST: nexthop: get 
route with nexthop without gw                    [ OK ]
                18289           03:33:18 DEBUG| [stdout] # TEST: nexthop: ping 
through nexthop without gw                      [FAIL]
                18290           03:33:18 DEBUG| [stdout] not ok 1 selftests: 
net: fib_nexthop_nongw.sh # exit=1
                18291           03:33:18 DEBUG| [stdout] make: Leaving 
directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1998244/+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