icmp_redirect.sh from selftests/net fails with "Error: argument "red" is wrong: Invalid VRF" (require CONFIG_NET_VRF)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
With bug 1938964 fixed, this test on B-ibm-5.4 is now failing with:
Error: argument "red" is wrong: Invalid VRF
# #######
# Legacy routing with VRF
# #######
#
# Error: Unknown device type.
# Cannot find device "red"
# Error: argument "red" is wrong: Invalid VRF
#
# Error: argument "red" is wrong: Invalid VRF
#
# Cannot find device "red"
# Cannot find device "red"
# Error: argument "red" is wrong: Not a valid VRF name
#
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv4: redirect exception [FAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv6: redirect exception [XFAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv4: redirect exception plus mtu [FAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv6: redirect exception plus mtu [XFAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv4: routing reset [FAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv6: routing reset [XFAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv4: mtu exception [FAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv6: mtu exception [XFAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv4: mtu exception plus redirect [FAIL]
# Error: argument "red" is wrong: Invalid VRF
#
# TEST: IPv6: mtu exception plus redirect [XFAIL]
This test would require CONFIG_NET_VRF to be enabled at least as a module.
tags: | added: ubuntu-kernel-selftests |
tags: |
added: impish removed: ubuntu-kernel-selftests |
tags: | added: bionic focal jammy ubuntu-kernel-selftests |
summary: |
icmp_redirect from selftests/net fails with "Error: argument "red" is - wrong: Invalid VRF" + wrong: Invalid VRF" (require CONFIG_NET_VRF) |
summary: |
- icmp_redirect from selftests/net fails with "Error: argument "red" is + icmp_redirect.sh from selftests/net fails with "Error: argument "red" is wrong: Invalid VRF" (require CONFIG_NET_VRF) |
This issue can be found on all of the KVM kernels.
On B-ibm-5.4, we do have this CONFIG_NET_VRF set to m, but the module does not exist: 5.4.0-1015- ibm
$ sudo modprobe vrf
modprobe: FATAL: Module vrf not found in directory /lib/modules/
It would require the modules-extra package, with this package installed the test can pass on B-ibm-5.4