icmp_redirect.sh from selftests/net fails with "Error: argument "red" is wrong: Invalid VRF" (require CONFIG_NET_VRF)

Bug #1961745 reported by Po-Hsu Lin
6
This bug affects 1 person
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.

Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kernel-selftests
Po-Hsu Lin (cypressyew)
tags: added: impish
removed: ubuntu-kernel-selftests
tags: added: bionic focal jammy ubuntu-kernel-selftests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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:
$ sudo modprobe vrf
modprobe: FATAL: Module vrf not found in directory /lib/modules/5.4.0-1015-ibm

It would require the modules-extra package, with this package installed the test can pass on B-ibm-5.4

Po-Hsu Lin (cypressyew)
summary: icmp_redirect from selftests/net fails with "Error: argument "red" is
- wrong: Invalid VRF"
+ wrong: Invalid VRF" (require CONFIG_NET_VRF)
Po-Hsu Lin (cypressyew)
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)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.