Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Andrea Mayer <andrea.mayer@uniroma2.it>
To: Alessio Faina <alessio.faina@canonical.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, horms@kernel.org, shuah@kernel.org,
	netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, hangbin.liu@linux.dev,
	stefano.salsano@uniroma2.it,
	Andrea Mayer <andrea.mayer@uniroma2.it>
Subject: Re: [PATCH net] selftest/net: skip srv6_end_d[t/x][4/6]_*_test.sh if iproute2 too old
Date: Thu, 27 Aug 2026 03:07:01 +0200	[thread overview]
Message-ID: <20260827030701.bfaf6eea6dea1aef24c353cf@uniroma2.it> (raw)
In-Reply-To: <ao7S04LkWVXAQpgq@cicciput>

On Wed, 26 Aug 2026 13:49:39 +0200
Alessio Faina <alessio.faina@canonical.com> wrote:

Hi Alessio,

> I was running kernel 5.15 (5.15.0-139-generic).
>
> Removing the sink to /dev/null in check_hs_connectivity
> I can see the following error:
>
> ------------
> PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
>
> --- 10.0.0.2 ping statistics ---
> 1 packets transmitted, 0 received, 100% packet loss, time 0ms
>
>     TEST: Hosts connectivity: hs-t100-1 -> hs-t100-2 (tenant 100)       [FAIL]
>
> .....
> ------------
>
> The error I can see upon installing the route in the setup is the
> following:
>
> ------------
> Error: either "to" is duplicate, or "vrftable" is a garbage.
> ------------

This error comes from the route parser: the seg6local action was
parsed, and "vrftable" was not recognised. The End.DT4/DT6/DX4/DX6
actions have been in iproute2 since v4.14.0, but the vrftable
attribute only since v5.11.0.

> I can see that iproute2 doesn't support any End routes
>
> ------------
> ~$ ip route help 2>&1 | grep -qo "End"
> ~$ echo $?
> 1
> ------------

The help text reports the names of these four actions only since
v5.14.0.

> It's similar to the case we added last month(-ish) for
> srv6_end_dt46_l3vpn_test.sh.

End.DT46 was different: parsing and help line came in one commit,
so no upstream release has one without the other.

The two DX tests do not use vrftable, their seg6local routes only
need nh4 and nh6, which are as old as the actions. Which error do
the DX tests give on your setup?

Thanks,

Ciao
Andrea

  reply	other threads:[~2026-08-27  1:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24  9:15 [PATCH net] selftest/net: skip srv6_end_d[t/x][4/6]_*_test.sh if iproute2 too old Alessio Faina
2026-08-25  8:39 ` Hangbin Liu
2026-08-25  8:45   ` Hangbin Liu
2026-08-25 22:01 ` Andrea Mayer
2026-08-26 11:49   ` Alessio Faina
2026-08-27  1:07     ` Andrea Mayer [this message]
2026-08-27  9:56       ` Alessio Faina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260827030701.bfaf6eea6dea1aef24c353cf@uniroma2.it \
    --to=andrea.mayer@uniroma2.it \
    --cc=alessio.faina@canonical.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hangbin.liu@linux.dev \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    --cc=stefano.salsano@uniroma2.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox