Doing some more research and testing, looking at the upstream commit
that added the test (1a01727676a8), this is in the bottom of the
message:
[ The IPv6 MTU test still fails with the symmetric routing setup. It
appears to be caused by source address selection picking ::1. Fixing
this is beyond the scope of this series. ]
Running the test in the failing state, we are indeed getting a Packet
too big message but we never seem to get it.
Now, within the create_vrf function, if we change the address added from ::1 to
::3
(ip -netns "${ns}" -6 addr add ::3 dev "${vrf}" nodad), it will start to work.
I wonder if its getting confused since in the failing case, the src is ::1 and
the dest is 2001:db8:16:1:1 so maybe the packet is going around in a loop or
something.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1928890
Title:
vrf_route_leaking.sh in net from ubuntu_kernel_selftests linux ADT
test failure with linux/5.11.0-18.19 (Ping received ICMP Packet too
big)
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
Incomplete
Status in linux-oem-5.10 package in Ubuntu:
Confirmed
Status in linux source package in Hirsute:
Confirmed
Status in linux-oem-5.10 source package in Hirsute:
Confirmed
Bug description:
This is a scripted bug report about ADT failures while running linux
tests for linux/5.11.0-18.19 on hirsute. Whether this is caused by the
dep8 tests of the tested source or the kernel has yet to be
determined.
Not a regression. Found to occur previously on hirsute/linux
5.11.0-14.15
Testing failed on:
amd64:
https://autopkgtest.ubuntu.com/results/autopkgtest-hirsute/hirsute/amd64/l/linux/20210515_005957_75e5a@/log.gz
arm64:
https://autopkgtest.ubuntu.com/results/autopkgtest-hirsute/hirsute/arm64/l/linux/20210513_203508_96fd3@/log.gz
ppc64el:
https://autopkgtest.ubuntu.com/results/autopkgtest-hirsute/hirsute/ppc64el/l/linux/20210513_163708_c0203@/log.gz
s390x:
https://autopkgtest.ubuntu.com/results/autopkgtest-hirsute/hirsute/s390x/l/linux/20210513_144454_54b04@/log.gz
00:09:30 DEBUG| [stdout] # selftests: net: vrf_route_leaking.sh
00:09:30 DEBUG| [stdout] #
00:09:30 DEBUG| [stdout] #
###########################################################################
00:09:30 DEBUG| [stdout] # IPv4 (sym route): VRF ICMP ttl error route lookup
ping
00:09:30 DEBUG| [stdout] #
###########################################################################
00:09:30 DEBUG| [stdout] #
00:09:32 DEBUG| [stdout] # TEST: Basic IPv4 connectivity
[ OK ]
00:09:32 DEBUG| [stdout] # TEST: Ping received ICMP ttl exceeded
[ OK ]
00:09:32 DEBUG| [stdout] #
00:09:32 DEBUG| [stdout] #
###########################################################################
00:09:32 DEBUG| [stdout] # IPv4 (sym route): VRF ICMP error route lookup
traceroute
00:09:32 DEBUG| [stdout] #
###########################################################################
00:09:32 DEBUG| [stdout] #
00:09:32 DEBUG| [stdout] # SKIP: Could not run IPV4 test without traceroute
00:09:32 DEBUG| [stdout] #
00:09:32 DEBUG| [stdout] #
###########################################################################
00:09:32 DEBUG| [stdout] # IPv4 (sym route): VRF ICMP fragmentation error
route lookup ping
00:09:32 DEBUG| [stdout] #
###########################################################################
00:09:32 DEBUG| [stdout] #
00:09:34 DEBUG| [stdout] # TEST: Basic IPv4 connectivity
[ OK ]
00:09:34 DEBUG| [stdout] # TEST: Ping received ICMP Frag needed
[ OK ]
00:09:34 DEBUG| [stdout] #
00:09:34 DEBUG| [stdout] #
###########################################################################
00:09:34 DEBUG| [stdout] # IPv4 (asym route): VRF ICMP ttl error route lookup
ping
00:09:34 DEBUG| [stdout] #
###########################################################################
00:09:34 DEBUG| [stdout] #
00:09:36 DEBUG| [stdout] # TEST: Basic IPv4 connectivity
[ OK ]
00:09:36 DEBUG| [stdout] # TEST: Ping received ICMP ttl exceeded
[ OK ]
00:09:36 DEBUG| [stdout] #
00:09:36 DEBUG| [stdout] #
###########################################################################
00:09:36 DEBUG| [stdout] # IPv4 (asym route): VRF ICMP error route lookup
traceroute
00:09:36 DEBUG| [stdout] #
###########################################################################
00:09:36 DEBUG| [stdout] #
00:09:36 DEBUG| [stdout] # SKIP: Could not run IPV4 test without traceroute
00:09:36 DEBUG| [stdout] #
00:09:36 DEBUG| [stdout] #
###########################################################################
00:09:36 DEBUG| [stdout] # IPv6 (sym route): VRF ICMP ttl error route lookup
ping
00:09:36 DEBUG| [stdout] #
###########################################################################
00:09:36 DEBUG| [stdout] #
00:09:40 DEBUG| [stdout] # TEST: Basic IPv6 connectivity
[FAIL]
00:09:40 DEBUG| [stdout] # TEST: Ping received ICMP Hop limit
[ OK ]
00:09:40 DEBUG| [stdout] #
00:09:40 DEBUG| [stdout] #
###########################################################################
00:09:40 DEBUG| [stdout] # IPv6 (sym route): VRF ICMP error route lookup
traceroute
00:09:40 DEBUG| [stdout] #
###########################################################################
00:09:40 DEBUG| [stdout] #
00:09:42 DEBUG| [stdout] # TEST: Basic IPv6 connectivity
[ OK ]
00:09:42 DEBUG| [stdout] # TEST: Traceroute6 reports a hop on r1
[ OK ]
00:09:42 DEBUG| [stdout] #
00:09:42 DEBUG| [stdout] #
###########################################################################
00:09:42 DEBUG| [stdout] # IPv6 (sym route): VRF ICMP fragmentation error
route lookup ping
00:09:42 DEBUG| [stdout] #
###########################################################################
00:09:42 DEBUG| [stdout] #
00:09:45 DEBUG| [stdout] # TEST: Basic IPv6 connectivity
[FAIL]
00:09:47 DEBUG| [stdout] # TEST: Ping received ICMP Packet too big
[FAIL]
00:09:47 DEBUG| [stdout] #
00:09:47 DEBUG| [stdout] #
###########################################################################
00:09:47 DEBUG| [stdout] # IPv6 (asym route): VRF ICMP ttl error route lookup
ping
00:09:47 DEBUG| [stdout] #
###########################################################################
00:09:47 DEBUG| [stdout] #
00:09:49 DEBUG| [stdout] # TEST: Basic IPv6 connectivity
[ OK ]
00:09:49 DEBUG| [stdout] # TEST: Ping received ICMP Hop limit
[ OK ]
00:09:49 DEBUG| [stdout] #
00:09:49 DEBUG| [stdout] #
###########################################################################
00:09:49 DEBUG| [stdout] # IPv6 (asym route): VRF ICMP error route lookup
traceroute
00:09:49 DEBUG| [stdout] #
###########################################################################
00:09:49 DEBUG| [stdout] #
00:09:52 DEBUG| [stdout] # TEST: Basic IPv6 connectivity
[ OK ]
00:09:52 DEBUG| [stdout] # TEST: Traceroute6 reports a hop on r1
[ OK ]
00:09:52 DEBUG| [stdout] #
00:09:52 DEBUG| [stdout] # Tests passed: 13
00:09:52 DEBUG| [stdout] # Tests failed: 3
00:09:52 DEBUG| [stdout] not ok 45 selftests: net: vrf_route_leaking.sh #
exit=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1928890/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp