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 # ########################################################################### # [ 1033.531019] eth0: renamed from r1h1 [ 1033.580061] 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 # ########################################################################### # [ 1036.748052] eth0: renamed from r1h1 [ 1036.796051] 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 # ########################################################################### # [ 1040.059235] eth0: renamed from r1h1 [ 1040.109020] 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 # ########################################################################### # [ 1043.446013] eth0: renamed from r1h1 [ 1043.490049] eth0: renamed from r2h1 [ 1043.536030] eth1: renamed from r1h2 [ 1043.583071] eth1: renamed from r2h2 [ 1043.662368] br0: port 1(eth0) entered blocking state [ 1043.662677] br0: port 1(eth0) entered disabled state [ 1043.662955] eth0: entered allmulticast mode [ 1043.663244] eth0: entered promiscuous mode [ 1043.664028] br0: port 1(eth0) entered blocking state [ 1043.664327] br0: port 1(eth0) entered forwarding state [ 1043.679686] br0: port 2(eth1) entered blocking state [ 1043.680114] br0: port 2(eth1) entered disabled state [ 1043.680502] eth1: entered allmulticast mode [ 1043.680798] eth1: entered promiscuous mode [ 1043.681517] br0: port 2(eth1) entered blocking state [ 1043.681910] br0: port 2(eth1) entered forwarding state [ 1043.777227] br0: port 1(eth0) entered blocking state [ 1043.777624] br0: port 1(eth0) entered disabled state [ 1043.778003] eth0: entered allmulticast mode [ 1043.778423] eth0: entered promiscuous mode [ 1043.792240] br0: port 2(eth1) entered blocking state [ 1043.792606] br0: port 2(eth1) entered disabled state [ 1043.792960] eth1: entered allmulticast mode [ 1043.793344] eth1: entered promiscuous mode [ 1043.793984] br0: port 2(eth1) entered blocking state [ 1043.794329] br0: port 2(eth1) entered forwarding state [ 1043.831907] br0: port 1(eth0) entered blocking state [ 1043.832413] 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 # ########################################################################### # [ 1046.312876] eth1: left allmulticast mode [ 1046.313420] eth1: left promiscuous mode [ 1046.313862] br0: port 2(eth1) entered disabled state [ 1046.327042] eth0: left allmulticast mode [ 1046.327372] eth0: left promiscuous mode [ 1046.327692] br0: port 1(eth0) entered disabled state [ 1046.442902] eth1: left allmulticast mode [ 1046.443257] eth1: left promiscuous mode [ 1046.443628] br0: port 2(eth1) entered disabled state [ 1046.457020] eth0: left allmulticast mode [ 1046.457373] eth0: left promiscuous mode [ 1046.457718] br0: port 1(eth0) entered disabled state [ 1047.008148] eth0: renamed from r1h1 [ 1047.050049] eth0: renamed from r2h1 [ 1047.094048] eth1: renamed from r1h2 [ 1047.148056] eth1: renamed from r2h2 [ 1047.231614] br0: port 1(eth0) entered blocking state [ 1047.231922] br0: port 1(eth0) entered disabled state [ 1047.232183] eth0: entered allmulticast mode [ 1047.232481] eth0: entered promiscuous mode [ 1047.233066] br0: port 1(eth0) entered blocking state [ 1047.233332] br0: port 1(eth0) entered forwarding state [ 1047.246754] br0: port 2(eth1) entered blocking state [ 1047.247062] br0: port 2(eth1) entered disabled state [ 1047.247325] eth1: entered allmulticast mode [ 1047.247620] eth1: entered promiscuous mode [ 1047.248146] br0: port 2(eth1) entered blocking state [ 1047.248414] br0: port 2(eth1) entered forwarding state [ 1047.346175] br0: port 1(eth0) entered blocking state [ 1047.346491] br0: port 1(eth0) entered disabled state [ 1047.346797] eth0: entered allmulticast mode [ 1047.347222] eth0: entered promiscuous mode [ 1047.362301] br0: port 2(eth1) entered blocking state [ 1047.362601] br0: port 2(eth1) entered disabled state [ 1047.362879] eth1: entered allmulticast mode [ 1047.363173] eth1: entered promiscuous mode [ 1047.363709] br0: port 2(eth1) entered blocking state [ 1047.364010] br0: port 2(eth1) entered forwarding state [ 1047.367881] br0: port 1(eth0) entered blocking state [ 1047.368589] 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 # ########################################################################### # [ 1049.930884] eth1: left allmulticast mode [ 1049.931281] eth1: left promiscuous mode [ 1049.931647] br0: port 2(eth1) entered disabled state [ 1049.946039] eth0: left allmulticast mode [ 1049.946428] eth0: left promiscuous mode [ 1049.946788] br0: port 1(eth0) entered disabled state [ 1050.072879] eth1: left allmulticast mode [ 1050.073141] eth1: left promiscuous mode [ 1050.073428] br0: port 2(eth1) entered disabled state [ 1050.086958] eth0: left allmulticast mode [ 1050.087206] eth0: left promiscuous mode [ 1050.087458] br0: port 1(eth0) entered disabled state [ 1050.542999] eth0: renamed from r1h1 [ 1050.592052] 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 # ########################################################################### # [ 1053.796021] eth0: renamed from r1h1 [ 1053.842121] 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 # ########################################################################### # [ 1057.220034] eth0: renamed from r1h1 [ 1057.268004] eth0: renamed from r2h1 [ 1057.316084] eth1: renamed from r1h2 [ 1057.364031] eth1: renamed from r2h2 [ 1057.439039] br0: port 1(eth0) entered blocking state [ 1057.439364] br0: port 1(eth0) entered disabled state [ 1057.439652] eth0: entered allmulticast mode [ 1057.439992] eth0: entered promiscuous mode [ 1057.440662] br0: port 1(eth0) entered blocking state [ 1057.441003] br0: port 1(eth0) entered forwarding state [ 1057.454078] br0: port 2(eth1) entered blocking state [ 1057.454363] br0: port 2(eth1) entered disabled state [ 1057.454634] eth1: entered allmulticast mode [ 1057.455015] eth1: entered promiscuous mode [ 1057.455526] br0: port 2(eth1) entered blocking state [ 1057.455791] br0: port 2(eth1) entered forwarding state [ 1057.553777] br0: port 1(eth0) entered blocking state [ 1057.554098] br0: port 1(eth0) entered disabled state [ 1057.554365] eth0: entered allmulticast mode [ 1057.554654] eth0: entered promiscuous mode [ 1057.570646] br0: port 2(eth1) entered blocking state [ 1057.571109] br0: port 2(eth1) entered disabled state [ 1057.571499] eth1: entered allmulticast mode [ 1057.571941] eth1: entered promiscuous mode [ 1057.572685] br0: port 2(eth1) entered blocking state [ 1057.573100] br0: port 2(eth1) entered forwarding state [ 1058.559010] br0: port 1(eth0) entered blocking state [ 1058.559384] 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 # ########################################################################### # [ 1060.168960] eth1: left allmulticast mode [ 1060.169215] eth1: left promiscuous mode [ 1060.169438] br0: port 2(eth1) entered disabled state [ 1060.190082] eth0: left allmulticast mode [ 1060.190476] eth0: left promiscuous mode [ 1060.190846] br0: port 1(eth0) entered disabled state [ 1060.318912] eth1: left allmulticast mode [ 1060.319318] eth1: left promiscuous mode [ 1060.319693] br0: port 2(eth1) entered disabled state [ 1060.335991] eth0: left allmulticast mode [ 1060.336540] eth0: left promiscuous mode [ 1060.336967] br0: port 1(eth0) entered disabled state [ 1060.926089] eth0: renamed from r1h1 [ 1060.975032] eth0: renamed from r2h1 [ 1061.027019] eth1: renamed from r1h2 [ 1061.076096] eth1: renamed from r2h2 [ 1061.158139] br0: port 1(eth0) entered blocking state [ 1061.158467] br0: port 1(eth0) entered disabled state [ 1061.158743] eth0: entered allmulticast mode [ 1061.159062] eth0: entered promiscuous mode [ 1061.159649] br0: port 1(eth0) entered blocking state [ 1061.159931] br0: port 1(eth0) entered forwarding state [ 1061.175827] br0: port 2(eth1) entered blocking state [ 1061.176117] br0: port 2(eth1) entered disabled state [ 1061.176391] eth1: entered allmulticast mode [ 1061.176679] eth1: entered promiscuous mode [ 1061.177316] br0: port 2(eth1) entered blocking state [ 1061.177585] br0: port 2(eth1) entered forwarding state [ 1061.276352] br0: port 1(eth0) entered blocking state [ 1061.276777] br0: port 1(eth0) entered disabled state [ 1061.277177] eth0: entered allmulticast mode [ 1061.277607] eth0: entered promiscuous mode [ 1061.293923] br0: port 2(eth1) entered blocking state [ 1061.294219] br0: port 2(eth1) entered disabled state [ 1061.294521] eth1: entered allmulticast mode [ 1061.294878] eth1: entered promiscuous mode [ 1061.295470] br0: port 2(eth1) entered blocking state [ 1061.295755] br0: port 2(eth1) entered forwarding state [ 1062.270966] br0: port 1(eth0) entered blocking state [ 1062.271280] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 1063.857876] eth1: left allmulticast mode [ 1063.858209] eth1: left promiscuous mode [ 1063.858520] br0: port 2(eth1) entered disabled state [ 1063.869990] eth0: left allmulticast mode [ 1063.870590] eth0: left promiscuous mode [ 1063.871160] br0: port 1(eth0) entered disabled state [ 1063.990911] eth1: left allmulticast mode [ 1063.991480] eth1: left promiscuous mode [ 1063.992069] br0: port 2(eth1) entered disabled state [ 1064.001007] eth0: left allmulticast mode # [ 1064.001316] eth0: left promiscuous mode # Te[ 1064.001808] br0: port 1(eth0) entered disabled state sts 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__->