Running this test on jammy 5.15, it passes if the vrf module is missing,
the ping will come back with the expected response of Packet too big.
With the vrf module loaded, we won't get the message back. Looking at
the strace of the command working vs failing, this is a difference
spotted:
vrf loaded:
recvmsg(3, {msg_namelen=128}, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recvmsg(3, {msg_namelen=128}, 0) = -1 EINTR (Interrupted system call)
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
vrf missing:
recvmsg(3, {msg_namelen=128}, 0) = -1 EMSGSIZE (Message too long)
--
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