** Changed in: linux-kvm (Ubuntu Lunar)
       Status: New => Confirmed

** Changed in: linux-kvm (Ubuntu Kinetic)
       Status: New => Confirmed

-- 
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:
  Confirmed
Status in linux-kvm source package in Jammy:
  New
Status in linux-kvm source package in Kinetic:
  Confirmed
Status in linux-kvm source package in Lunar:
  Confirmed

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'

  --------------------------------------------------------------------------

  SRU Justification:

  [Impact]

  * Without Kernel support for the Dummy net driver, it is not possible
  to successfully run selftests that use it. This includes as per this
  bug net/fib_nexthop_nongw.sh, but also could potentially include other
  such as rtnetlink.sh, fib_rule_tests.sh, forwarding/* etc.

  [Fix]

  * Custom patch to enable CONFIG_DUMMY=m

  [Test Plan]

  * Before the fix, the net/fib_nexthop_nongw.sh script will fail in the
  specific line which does

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

  After the fix it does not fail.

  [Where problems could occur]

  * The regression can be considered as low, since we are adding
  functionality not previously present.

  [Other Info]

  * There does not seem to be a historical reason for removing it from
  linux-kvm.

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