make -C tools/testing/selftests TARGETS=net TEST_PROGS=vrf_route_leaking.ssh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 6000 # selftests: net: vrf_route_leaking.sh # # ########################################################################### # IPv4 (sym route): VRF ICMP ttl error route lookup ping # ########################################################################### # [ 1043.051234] eth0: renamed from r1h1 [ 1043.093319] eth1: renamed from r1h2 # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP ttl exceeded [ OK ] # # ########################################################################### # IPv4 (sym route): VRF ICMP error route lookup traceroute # ########################################################################### # [ 1046.319100] eth0: renamed from r1h1 [ 1046.365182] eth1: renamed from r1h2 # TEST: Basic IPv4 connectivity [ OK ] # TEST: Traceroute reports a hop on r1 [ OK ] # # ########################################################################### # IPv4 (sym route): VRF ICMP fragmentation error route lookup ping # ########################################################################### # [ 1049.572086] eth0: renamed from r1h1 [ 1049.612178] eth1: renamed from r1h2 # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP Frag needed [ OK ] # # ########################################################################### # IPv4 (asym route): VRF ICMP ttl error route lookup ping # ########################################################################### # [ 1052.910078] eth0: renamed from r1h1 [ 1052.949153] eth0: renamed from r2h1 [ 1052.993135] eth1: renamed from r1h2 [ 1053.037104] eth1: renamed from r2h2 [ 1053.117400] br0: port 1(eth0) entered blocking state [ 1053.117707] br0: port 1(eth0) entered disabled state [ 1053.118026] eth0: entered allmulticast mode [ 1053.118322] eth0: entered promiscuous mode [ 1053.118937] br0: port 1(eth0) entered blocking state [ 1053.119227] br0: port 1(eth0) entered forwarding state [ 1053.135546] br0: port 2(eth1) entered blocking state [ 1053.135953] br0: port 2(eth1) entered disabled state [ 1053.136234] eth1: entered allmulticast mode [ 1053.136528] eth1: entered promiscuous mode [ 1053.137138] br0: port 2(eth1) entered blocking state [ 1053.137444] br0: port 2(eth1) entered forwarding state [ 1053.239752] br0: port 1(eth0) entered blocking state [ 1053.240108] br0: port 1(eth0) entered disabled state [ 1053.240397] eth0: entered allmulticast mode [ 1053.240688] eth0: entered promiscuous mode [ 1053.256069] br0: port 2(eth1) entered blocking state [ 1053.256511] br0: port 2(eth1) entered disabled state [ 1053.256984] eth1: entered allmulticast mode [ 1053.257439] eth1: entered promiscuous mode [ 1053.257952] br0: port 2(eth1) entered blocking state [ 1053.258340] br0: port 2(eth1) entered forwarding state [ 1054.287079] br0: port 1(eth0) entered blocking state [ 1054.287395] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv4 connectivity [ OK ] # TEST: Ping received ICMP ttl exceeded [ OK ] # # ########################################################################### # IPv4 (asym route): VRF ICMP error route lookup traceroute # ########################################################################### # [ 1055.848041] eth1: left allmulticast mode [ 1055.848322] eth1: left promiscuous mode [ 1055.848592] br0: port 2(eth1) entered disabled state [ 1055.849431] eth0: left allmulticast mode [ 1055.849667] eth0: left promiscuous mode [ 1055.849991] br0: port 1(eth0) entered disabled state [ 1055.918075] eth1: left allmulticast mode [ 1055.918339] eth1: left promiscuous mode [ 1055.918609] br0: port 2(eth1) entered disabled state [ 1055.919127] eth0: left allmulticast mode [ 1055.919371] eth0: left promiscuous mode [ 1055.919635] br0: port 1(eth0) entered disabled state [ 1056.590138] eth0: renamed from r1h1 [ 1056.629055] eth0: renamed from r2h1 [ 1056.673148] eth1: renamed from r1h2 [ 1056.713068] eth1: renamed from r2h2 [ 1056.787067] br0: port 1(eth0) entered blocking state [ 1056.787392] br0: port 1(eth0) entered disabled state [ 1056.787694] eth0: entered allmulticast mode [ 1056.788025] eth0: entered promiscuous mode [ 1056.788600] br0: port 1(eth0) entered blocking state [ 1056.788911] br0: port 1(eth0) entered forwarding state [ 1056.805189] br0: port 2(eth1) entered blocking state [ 1056.805592] br0: port 2(eth1) entered disabled state [ 1056.806000] eth1: entered allmulticast mode [ 1056.806436] eth1: entered promiscuous mode [ 1056.807161] br0: port 2(eth1) entered blocking state [ 1056.807541] br0: port 2(eth1) entered forwarding state [ 1056.911839] br0: port 1(eth0) entered blocking state [ 1056.912252] br0: port 1(eth0) entered disabled state [ 1056.912625] eth0: entered allmulticast mode [ 1056.913192] eth0: entered promiscuous mode [ 1056.927109] br0: port 2(eth1) entered blocking state [ 1056.927430] br0: port 2(eth1) entered disabled state [ 1056.927733] eth1: entered allmulticast mode [ 1056.928067] eth1: entered promiscuous mode [ 1056.928663] br0: port 2(eth1) entered blocking state [ 1056.928945] br0: port 2(eth1) entered forwarding state [ 1057.871033] br0: port 1(eth0) entered blocking state [ 1057.871480] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv4 connectivity [ OK ] # TEST: Traceroute reports a hop on r1 [ OK ] # # ########################################################################### # IPv6 (sym route): VRF ICMP ttl error route lookup ping # ########################################################################### # [ 1059.486480] eth1: left allmulticast mode [ 1059.486712] eth1: left promiscuous mode [ 1059.487054] br0: port 2(eth1) entered disabled state [ 1059.487573] eth0: left allmulticast mode [ 1059.487788] eth0: left promiscuous mode [ 1059.488186] br0: port 1(eth0) entered disabled state [ 1059.570029] eth1: left allmulticast mode [ 1059.570649] eth1: left promiscuous mode [ 1059.571212] br0: port 2(eth1) entered disabled state [ 1059.572039] eth0: left allmulticast mode [ 1059.572544] eth0: left promiscuous mode [ 1059.573062] br0: port 1(eth0) entered disabled state [ 1060.077072] eth0: renamed from r1h1 [ 1060.115098] eth1: renamed from r1h2 # TEST: Basic IPv6 connectivity [ OK ] # TEST: Ping received ICMP Hop limit [ OK ] # # ########################################################################### # IPv6 (sym route): VRF ICMP error route lookup traceroute # ########################################################################### # [ 1063.373144] eth0: renamed from r1h1 [ 1063.416135] eth1: renamed from r1h2 # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] # # ########################################################################### # IPv6 (asym route): VRF ICMP ttl error route lookup ping # ########################################################################### # [ 1066.787081] eth0: renamed from r1h1 [ 1066.832060] eth0: renamed from r2h1 [ 1066.874134] eth1: renamed from r1h2 [ 1066.913174] eth1: renamed from r2h2 [ 1066.991608] br0: port 1(eth0) entered blocking state [ 1066.992063] br0: port 1(eth0) entered disabled state [ 1066.992464] eth0: entered allmulticast mode [ 1066.992923] eth0: entered promiscuous mode [ 1066.993798] br0: port 1(eth0) entered blocking state [ 1066.994214] br0: port 1(eth0) entered forwarding state [ 1067.009920] br0: port 2(eth1) entered blocking state [ 1067.010251] br0: port 2(eth1) entered disabled state [ 1067.010516] eth1: entered allmulticast mode [ 1067.010822] eth1: entered promiscuous mode [ 1067.011454] br0: port 2(eth1) entered blocking state [ 1067.011744] br0: port 2(eth1) entered forwarding state [ 1067.124235] br0: port 1(eth0) entered blocking state [ 1067.124547] br0: port 1(eth0) entered disabled state [ 1067.124838] eth0: entered allmulticast mode [ 1067.125356] eth0: entered promiscuous mode [ 1067.142022] br0: port 2(eth1) entered blocking state [ 1067.142340] br0: port 2(eth1) entered disabled state [ 1067.142622] eth1: entered allmulticast mode [ 1067.142927] eth1: entered promiscuous mode [ 1067.143438] br0: port 2(eth1) entered blocking state [ 1067.143710] br0: port 2(eth1) entered forwarding state [ 1068.047108] br0: port 1(eth0) entered blocking state [ 1068.047550] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Ping received ICMP Hop limit [ OK ] # # ########################################################################### # IPv6 (asym route): VRF ICMP error route lookup traceroute # ########################################################################### # [ 1069.751329] eth1: left allmulticast mode [ 1069.751698] eth1: left promiscuous mode [ 1069.752065] br0: port 2(eth1) entered disabled state [ 1069.752724] eth0: left allmulticast mode [ 1069.753048] eth0: left promiscuous mode [ 1069.753371] br0: port 1(eth0) entered disabled state [ 1069.826186] eth1: left allmulticast mode [ 1069.826558] eth1: left promiscuous mode [ 1069.826952] br0: port 2(eth1) entered disabled state [ 1069.827641] eth0: left allmulticast mode [ 1069.828009] eth0: left promiscuous mode [ 1069.828345] br0: port 1(eth0) entered disabled state [ 1070.434216] eth0: renamed from r1h1 [ 1070.470075] eth0: renamed from r2h1 [ 1070.508136] eth1: renamed from r1h2 [ 1070.542161] eth1: renamed from r2h2 [ 1070.606185] br0: port 1(eth0) entered blocking state [ 1070.606484] br0: port 1(eth0) entered disabled state [ 1070.606751] eth0: entered allmulticast mode [ 1070.607135] eth0: entered promiscuous mode [ 1070.607688] br0: port 1(eth0) entered blocking state [ 1070.607980] br0: port 1(eth0) entered forwarding state [ 1070.621017] br0: port 2(eth1) entered blocking state [ 1070.621310] br0: port 2(eth1) entered disabled state [ 1070.621577] eth1: entered allmulticast mode [ 1070.621882] eth1: entered promiscuous mode [ 1070.622413] br0: port 2(eth1) entered blocking state [ 1070.622684] br0: port 2(eth1) entered forwarding state [ 1070.717853] br0: port 1(eth0) entered blocking state [ 1070.718214] br0: port 1(eth0) entered disabled state [ 1070.718482] eth0: entered allmulticast mode [ 1070.718926] eth0: entered promiscuous mode [ 1070.734235] br0: port 2(eth1) entered blocking state [ 1070.734662] br0: port 2(eth1) entered disabled state [ 1070.735170] eth1: entered allmulticast mode [ 1070.735617] eth1: entered promiscuous mode [ 1070.736090] br0: port 2(eth1) entered blocking state [ 1070.736482] br0: port 2(eth1) entered forwarding state [ 1070.768964] br0: port 1(eth0) entered blocking state [ 1070.769271] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 1073.253084] eth1: left allmulticast mode [ 1073.253609] eth1: left promiscuous mode [ 1073.253959] br0: port 2(eth1) entered disabled state [ 1073.254614] eth0: left allmulticast mode [ 1073.255097] eth0: left promiscuous mode [ 1073.255656] br0: port 1(eth0) entered disabled state [ 1073.333086] eth1: left allmulticast mode [ 1073.333333] eth1: left promiscuous mode [ 1073.333569] br0: port 2(eth1) entered disabled state [ 1073.334076] eth0: left allmulticast mode [ 1073.334400] eth0: left promiscuous mode [ 1073.334752] br0: port 1(eth0) entered disabled state # # Tests passed: 18 # Tests failed: 0 ok 1 selftests: net: vrf_route_leaking.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->