[SRU Noble/Oracular PATCH 0/1] Fix net:fib_rule_tests.sh in ubuntu_kselftests_net in SRU regression test
Masahiro Yamada
masahiro.yamada at canonical.com
Mon May 27 14:42:51 UTC 2024
BugLink: https://bugs.launchpad.net/bugs/2066332
[Impact]
This is a change (fix) to kselftests. Of course, the kernel itself is not changed.
In our SRU cycles, all Noble kernels fail in net:fib_rule_tests.sh
in ubuntu_kselftests_net
11238 20:50:51 DEBUG| [stdout] # Cannot open network namespace "testns": No such file or directory
This error is caused by the local fix added in 2019:
"UBUNTU: SAUCE: selftests: net: fix "from" match test in fib_rule_tests.sh"
It was no longer necessary because a similar fix was applied in upstream:
d1abf388604f ("selftests: fib_rule_tests: enable forwarding before ipv4 from/iif test")
However, such a Ubuntu-local commit is often blindly carried over to future
releases because nobody re-evaluates whether it is still needed or not.
Now, it is causing a real issue on Noble kselftests.
$ linux/tools/testing/selftests/net$ sudo ./fib_rule_tests.sh
Cannot open network namespace "testns": No such file or directory
The reason for the failure is obvious; there is no such a namespace since
the upstream commit 6c0ee7b4d69d ("selftests/net: convert fib_rule_tests.sh to
run it in unique namespace").
Reverting the outdated commit fixes this failure.
[Fix]
net:fib_rule_tests.sh in ubuntu_kselftests_net will be fixed.
[Test Case]
Just do a regression test, as we do in our normal SRU cycle.
Or, you can directly run, tools/testing/selftests/net/fib_rule_tests.sh
Masahiro Yamada (1):
Revert "UBUNTU: SAUCE: selftests: net: fix "from" match test in
fib_rule_tests.sh"
tools/testing/selftests/net/fib_rule_tests.sh | 2 --
1 file changed, 2 deletions(-)
--
2.40.1
More information about the kernel-team
mailing list