canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07037
[Bug 1990800] Re: fib_nexthop_nongw.sh from ubuntu_kernel_selftests failed on B-5.4
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1990800
Title:
fib_nexthop_nongw.sh from ubuntu_kernel_selftests failed on B-5.4
Status in ubuntu-kernel-tests:
Fix Released
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Focal:
Fix Released
Bug description:
Issue found on B-5.4.0-128-generic #144~18.04.1-Ubuntu
This is a new test case from bug 1988809
Test failed with:
Running 'make run_tests -C net TEST_PROGS=fib_nexthop_nongw.sh TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
TAP version 13
1..1
# selftests: net: fib_nexthop_nongw.sh
# Object "nexthop" is unknown, try "ip help".
# Error: either "to" is duplicate, or "nhid" is a garbage.
# TEST: nexthop: get route with nexthop without gw [FAIL]
# TEST: nexthop: ping through nexthop without gw [FAIL]
not ok 1 selftests: net: fib_nexthop_nongw.sh # exit=1
--------------------------------------------------------------------------
[Impact]
When running kselftests on Bionic with a 5.4 kernel, it would
fail because of no nexthop capability.
[Fix]
We query the ip command help to know whether it is implemented
or not, and we skip or execute the test accordingly
[Test Plan]
Running the test script directly in Bionic will throw a Skip,
while running it in Focal will throw the test result.
[Where problems could ocurr]
The regression potential for this is low.
[Other Info]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1990800/+subscriptions