make -C tools/testing/selftests TARGETS="net" TEST_PROGS=vrf_route_leakingg.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: vrf_route_leaking.sh # # ########################################################################### # IPv4 (sym route): VRF ICMP ttl error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 20875 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20879 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20880 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 20887 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20891 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20892 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 20910 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 20911 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 20912 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 20913 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP ttl exceeded [ OK ] # # ########################################################################### # IPv4 (sym route): VRF ICMP error route lookup traceroute # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 20987 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20991 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 20992 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 20999 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21003 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21004 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21022 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21023 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21024 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21025 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: Traceroute reports a hop on r1 [ OK ] # # ########################################################################### # IPv4 (sym route): VRF ICMP fragmentation error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21099 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21103 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21104 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21111 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21115 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21116 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21134 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21135 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21136 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21137 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP Frag needed [ OK ] # # ########################################################################### # IPv4 (sym route): VRF ICMP local error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21210 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21214 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21215 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21222 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21226 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21227 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21245 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21246 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21247 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21248 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: VRF ICMP local IPv4 [FAIL] # # ########################################################################### # IPv4 (sym route): VRF tcp local connection # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21320 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21324 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21325 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21332 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21336 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21337 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21355 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21356 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21357 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21358 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: VRF tcp local connection IPv4 [FAIL] # # ########################################################################### # IPv4 (sym route): VRF udp local connection # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21436 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21440 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21441 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21448 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21452 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21453 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21471 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21472 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21473 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21474 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv4 connectivity [ OK ] # TEST: VRF udp local connection IPv4 [FAIL] # # ########################################################################### # IPv4 (asym route): VRF ICMP ttl error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21569 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21573 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21574 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21581 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21585 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21586 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 21604 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 21605 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP ttl exceeded [ OK ] # # ########################################################################### # IPv4 (asym route): VRF ICMP error route lookup traceroute # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21709 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21713 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21714 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21721 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21725 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21726 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 21744 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 21745 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # TEST: Basic IPv4 connectivity [ OK ] # TEST: Traceroute reports a hop on r1 [ OK ] # # ########################################################################### # IPv6 (sym route): VRF ICMP ttl error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21827 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21831 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21832 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21839 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21843 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21844 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21862 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21863 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21864 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21865 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv6 connectivity [ OK ] # TEST: Ping received ICMP Hop limit [ OK ] # # ########################################################################### # IPv6 (sym route): VRF ICMP error route lookup traceroute # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 21944 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21948 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21949 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 21956 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21960 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 21961 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21979 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21980 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21981 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 21982 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] # # ########################################################################### # IPv6 (sym route): VRF ICMP local error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 22060 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22064 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22065 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 22072 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22076 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22077 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22095 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22096 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22097 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22098 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv6 connectivity [ OK ] # TEST: VRF ICMP local IPv6 [FAIL] # # ########################################################################### # IPv6 (sym route): VRF tcp local connection # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 22174 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22178 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22179 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 22186 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22190 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22191 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22209 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22210 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22211 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22212 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv6 connectivity [ OK ] # TEST: VRF tcp local connection IPv6 [FAIL] # # ########################################################################### # IPv6 (sym route): VRF udp local connection # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 22295 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22299 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22300 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 22307 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22311 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22312 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22330 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22331 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22332 Segmentation fault ip -netns $r1 route add vrf red ${H1_N1} dev blue # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 204: 22333 Segmentation fault ip -netns $r1 -6 route add vrf red ${H1_N1_6} dev blue # TEST: Basic IPv6 connectivity [ OK ] # TEST: VRF udp local connection IPv6 [FAIL] # # ########################################################################### # IPv6 (asym route): VRF ICMP ttl error route lookup ping # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 22437 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22441 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22442 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 22449 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22453 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22454 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 22472 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 22473 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # TEST: Basic IPv6 connectivity [ OK ] # TEST: Ping received ICMP Hop limit [ OK ] # # ########################################################################### # IPv6 (asym route): VRF ICMP error route lookup traceroute # ########################################################################### # # ./vrf_route_leaking.sh: line 189: 22577 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "blue" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22581 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22582 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "blue" # Cannot find device "blue" # ./vrf_route_leaking.sh: line 189: 22589 Segmentation fault ip -netns "${ns}" link add "${vrf}" type vrf table "${table}" # Cannot find device "red" # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22593 Segmentation fault ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 189: 22594 Segmentation fault ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192 # Cannot find device "red" # Cannot find device "red" # Error: argument "blue" is wrong: Not a valid VRF name # # Error: argument "red" is wrong: Not a valid VRF name # # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 22612 Segmentation fault ip -netns $r1 route add vrf blue ${H2_N2} dev red # addraw_l ERROR: message exceeded bound of 1056 # ./vrf_route_leaking.sh: line 282: 22613 Segmentation fault ip -netns $r1 -6 route add vrf blue ${H2_N2_6} dev red # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] # # Tests passed: 24 # Tests failed: 6 not ok 1 selftests: net: vrf_route_leaking.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->