Proposed fix sent to the mailing list:
https://lists.ubuntu.com/archives/kernel-team/2022-October/133711.html
** Changed in: linux (Ubuntu Focal)
Status: Confirmed => Fix Committed
** Description changed:
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
--
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/1990800
Title:
fib_nexthop_nongw.sh from ubuntu_kernel_selftests failed on B-5.4
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Focal:
Fix Committed
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
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp