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 # ########################################################################### # [ 1017.477244] eth0: renamed from r1h1 [ 1017.516239] 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 # ########################################################################### # [ 1020.720253] eth0: renamed from r1h1 [ 1020.763225] 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 # ########################################################################### # [ 1024.045243] eth0: renamed from r1h1 [ 1024.085206] 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 # ########################################################################### # [ 1027.342214] eth0: renamed from r1h1 [ 1027.381195] eth0: renamed from r2h1 [ 1027.419201] eth1: renamed from r1h2 [ 1027.459169] eth1: renamed from r2h2 [ 1027.528279] br0: port 1(eth0) entered blocking state [ 1027.528577] br0: port 1(eth0) entered disabled state [ 1027.528840] eth0: entered allmulticast mode [ 1027.529158] eth0: entered promiscuous mode [ 1027.529721] br0: port 1(eth0) entered blocking state [ 1027.529990] br0: port 1(eth0) entered forwarding state [ 1027.543891] br0: port 2(eth1) entered blocking state [ 1027.544224] br0: port 2(eth1) entered disabled state [ 1027.544494] eth1: entered allmulticast mode [ 1027.544814] eth1: entered promiscuous mode [ 1027.545429] br0: port 2(eth1) entered blocking state [ 1027.545708] br0: port 2(eth1) entered forwarding state [ 1027.637426] br0: port 1(eth0) entered blocking state [ 1027.637717] br0: port 1(eth0) entered disabled state [ 1027.638097] eth0: entered allmulticast mode [ 1027.638397] eth0: entered promiscuous mode [ 1027.652123] br0: port 2(eth1) entered blocking state [ 1027.652411] br0: port 2(eth1) entered disabled state [ 1027.652674] eth1: entered allmulticast mode [ 1027.652969] eth1: entered promiscuous mode [ 1027.653528] br0: port 2(eth1) entered blocking state [ 1027.653796] br0: port 2(eth1) entered forwarding state [ 1027.744171] br0: port 1(eth0) entered blocking state [ 1027.744836] 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 # ########################################################################### # [ 1030.169129] eth1: left allmulticast mode [ 1030.169420] eth1: left promiscuous mode [ 1030.169777] br0: port 2(eth1) entered disabled state [ 1030.170323] eth0: left allmulticast mode [ 1030.170546] eth0: left promiscuous mode [ 1030.170844] br0: port 1(eth0) entered disabled state [ 1030.243163] eth1: left allmulticast mode [ 1030.243445] eth1: left promiscuous mode [ 1030.243672] br0: port 2(eth1) entered disabled state [ 1030.244420] eth0: left allmulticast mode [ 1030.244674] eth0: left promiscuous mode [ 1030.244914] br0: port 1(eth0) entered disabled state [ 1030.854288] eth0: renamed from r1h1 [ 1030.894194] eth0: renamed from r2h1 [ 1030.931234] eth1: renamed from r1h2 [ 1030.972299] eth1: renamed from r2h2 [ 1031.043928] br0: port 1(eth0) entered blocking state [ 1031.044344] br0: port 1(eth0) entered disabled state [ 1031.044711] eth0: entered allmulticast mode [ 1031.045100] eth0: entered promiscuous mode [ 1031.045716] br0: port 1(eth0) entered blocking state [ 1031.045985] br0: port 1(eth0) entered forwarding state [ 1031.062180] br0: port 2(eth1) entered blocking state [ 1031.062651] br0: port 2(eth1) entered disabled state [ 1031.063117] eth1: entered allmulticast mode [ 1031.063607] eth1: entered promiscuous mode [ 1031.064512] br0: port 2(eth1) entered blocking state [ 1031.064947] br0: port 2(eth1) entered forwarding state [ 1031.158680] br0: port 1(eth0) entered blocking state [ 1031.158977] br0: port 1(eth0) entered disabled state [ 1031.159304] eth0: entered allmulticast mode [ 1031.159666] eth0: entered promiscuous mode [ 1031.173470] br0: port 2(eth1) entered blocking state [ 1031.173763] br0: port 2(eth1) entered disabled state [ 1031.174036] eth1: entered allmulticast mode [ 1031.174342] eth1: entered promiscuous mode [ 1031.174885] br0: port 2(eth1) entered blocking state [ 1031.175159] br0: port 2(eth1) entered forwarding state [ 1031.189071] br0: port 1(eth0) entered blocking state [ 1031.189449] 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 # ####################################################################[ 1033.685172] eth1: left allmulticast mode #[ 1033.685407] eth1: left promiscuous mode #[ 1033.685655] br0: port 2(eth1) entered disabled state ##### # [ 1033.686429] eth0: left allmulticast mode [ 1033.686650] eth0: left promiscuous mode [ 1033.686899] br0: port 1(eth0) entered disabled state [ 1033.776182] eth1: left allmulticast mode [ 1033.776870] eth1: left promiscuous mode [ 1033.777483] br0: port 2(eth1) entered disabled state [ 1033.778434] eth0: left allmulticast mode [ 1033.778885] eth0: left promiscuous mode [ 1033.779414] br0: port 1(eth0) entered disabled state [ 1034.260233] eth0: renamed from r1h1 [ 1034.307272] 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 # ########################################################################### # [ 1037.505174] eth0: renamed from r1h1 [ 1037.540214] 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 # ########################################################################### # [ 1040.964244] eth0: renamed from r1h1 [ 1041.003288] eth0: renamed from r2h1 [ 1041.045288] eth1: renamed from r1h2 [ 1041.084260] eth1: renamed from r2h2 [ 1041.160203] br0: port 1(eth0) entered blocking state [ 1041.160631] br0: port 1(eth0) entered disabled state [ 1041.161017] eth0: entered allmulticast mode [ 1041.161443] eth0: entered promiscuous mode [ 1041.161965] br0: port 1(eth0) entered blocking state [ 1041.162346] br0: port 1(eth0) entered forwarding state [ 1041.179596] br0: port 2(eth1) entered blocking state [ 1041.179902] br0: port 2(eth1) entered disabled state [ 1041.180179] eth1: entered allmulticast mode [ 1041.180479] eth1: entered promiscuous mode [ 1041.181053] br0: port 2(eth1) entered blocking state [ 1041.181322] br0: port 2(eth1) entered forwarding state [ 1041.282513] br0: port 1(eth0) entered blocking state [ 1041.282837] br0: port 1(eth0) entered disabled state [ 1041.283128] eth0: entered allmulticast mode [ 1041.283484] eth0: entered promiscuous mode [ 1041.298835] br0: port 2(eth1) entered blocking state [ 1041.299156] br0: port 2(eth1) entered disabled state [ 1041.299471] eth1: entered allmulticast mode [ 1041.299776] eth1: entered promiscuous mode [ 1041.300312] br0: port 2(eth1) entered blocking state [ 1041.300604] br0: port 2(eth1) entered forwarding state [ 1042.240181] br0: port 1(eth0) entered blocking state [ 1042.240516] 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 # ########################################################################### # [ 1043.826931] eth1: left allmulticast mode [ 1043.827175] eth1: left promiscuous mode [ 1043.827695] br0: port 2(eth1) entered disabled state [ 1043.828207] eth0: left allmulticast mode [ 1043.828446] eth0: left promiscuous mode [ 1043.828821] br0: port 1(eth0) entered disabled state [ 1043.907272] eth1: left allmulticast mode [ 1043.907782] eth1: left promiscuous mode [ 1043.908188] br0: port 2(eth1) entered disabled state [ 1043.908856] eth0: left allmulticast mode [ 1043.909438] eth0: left promiscuous mode [ 1043.910060] br0: port 1(eth0) entered disabled state [ 1044.555200] eth0: renamed from r1h1 [ 1044.597265] eth0: renamed from r2h1 [ 1044.640247] eth1: renamed from r1h2 [ 1044.683234] eth1: renamed from r2h2 [ 1044.768196] br0: port 1(eth0) entered blocking state [ 1044.768619] br0: port 1(eth0) entered disabled state [ 1044.769020] eth0: entered allmulticast mode [ 1044.769464] eth0: entered promiscuous mode [ 1044.770166] br0: port 1(eth0) entered blocking state [ 1044.770551] br0: port 1(eth0) entered forwarding state [ 1044.786847] br0: port 2(eth1) entered blocking state [ 1044.787278] br0: port 2(eth1) entered disabled state [ 1044.787668] eth1: entered allmulticast mode [ 1044.788107] eth1: entered promiscuous mode [ 1044.788913] br0: port 2(eth1) entered blocking state [ 1044.789316] br0: port 2(eth1) entered forwarding state [ 1044.889883] br0: port 1(eth0) entered blocking state [ 1044.890251] br0: port 1(eth0) entered disabled state [ 1044.890536] eth0: entered allmulticast mode [ 1044.890866] eth0: entered promiscuous mode [ 1044.904683] br0: port 2(eth1) entered blocking state [ 1044.904978] br0: port 2(eth1) entered disabled state [ 1044.905264] eth1: entered allmulticast mode [ 1044.905565] eth1: entered promiscuous mode [ 1044.905880] br0: port 2(eth1) entered blocking state [ 1044.906164] br0: port 2(eth1) entered forwarding state [ 1045.888204] br0: port 1(eth0) entered blocking state [ 1045.888648] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 1047.445774] eth1: left allmulticast mode [ 1047.446253] eth1: left promiscuous mode [ 1047.446578] br0: port 2(eth1) entered disabled state [ 1047.447668] eth0: left allmulticast mode [ 1047.448018] eth0: left promiscuous mode [ 1047.448335] br0: port 1(eth0) entered disabled state [ 1047.517221] eth1: left allmulticast mode [ 1047.517910] eth1: left promiscuous mode [ 1047.518544] br0: port 2(eth1) entered disabled state [ 1047.519528] eth0: left allmulticast mode [ 1047.520183] eth0: left promiscuous mode [ 1047.520877] 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__->