Re: [PATCH net-next v3] selftests/net: skip srv6_end_dt[4/6]_l3vpn_test.sh if vrftable not available
From: Andrea Mayer <andrea.mayer@uniroma2.it>
Date: 2026-09-09 13:30:30
Also in:
linux-kselftest, lkml
On Mon, 7 Sep 2026 12:06:31 +0200 Alessio Faina [off-list ref] wrote:
In case iproute2 is older than version 5.11.0, released ~Feb 23, 2021,
the vrftable support is not available and the tests
contained in the following 2 test files
- srv6_end_dt4_l3vpn_test.sh
- srv6_end_dt6_l3vpn_test.sh
are failing in some kernel backports.
This is the result of one of those tests in an unsupported environment:
##########################################################################
TEST SECTION: SRv6 VPN connectivity test among hosts in the same tenant
##########################################################################
TEST: Hosts connectivity: hs-t100-1 -> hs-t100-2 (tenant 100) [FAIL]
TEST: Hosts connectivity: hs-t100-2 -> hs-t100-1 (tenant 100) [FAIL]
TEST: Hosts connectivity: hs-t200-3 -> hs-t200-4 (tenant 200) [FAIL]
TEST: Hosts connectivity: hs-t200-4 -> hs-t200-3 (tenant 200) [FAIL]
The test installs a route with the vrftable feature; if this feature is
not available, the approach taken is to skip the test rather than
failing it.
Signed-off-by: Alessio Faina <redacted>
---
v3: - Fix Commit message and mail subject
v2: https://patchwork.kernel.org/project/netdevbpf/patch/20260903103545.1325276-1-alessio.faina@canonical.com/
- remove dx[4/6] tests
- test if vrftable is available in the installed iproute2
application
v1: https://patchwork.kernel.org/project/netdevbpf/patch/20260824091537.2305107-1-alessio.faina@canonical.com/
- initial approach by testing DT[4/6] and DX[4/6]
- test if DT4/DT6 are available in iproute2
./tools/testing/selftests/net/srv6_end_dt4_l3vpn_test.sh | 21 +++++++++++++++++++
./tools/testing/selftests/net/srv6_end_dt6_l3vpn_test.sh | 21 +++++++++++++++++++
2 files changed, 42 insertions(+)Hi Alessio, Thanks for the v3, it looks good to me. Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it> Ciao, Andrea