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 4800 # selftests: net: vrf_route_leaking.sh # # ########################################################################### # IPv4 (sym route): VRF ICMP ttl error route lookup ping # ########################################################################### # [ 1396.148783] eth0: renamed from r1h1 [ 1396.186712] 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 # ########################################################################### # [ 1398.995730] eth0: renamed from r1h1 [ 1399.031702] 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 # ########################################################################### # [ 1401.970707] eth0: renamed from r1h1 [ 1402.010697] 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 # ########################################################################### # [ 1404.963709] eth0: renamed from r1h1 [ 1404.999728] eth0: renamed from r2h1 [ 1405.040692] eth1: renamed from r1h2 [ 1405.080694] eth1: renamed from r2h2 [ 1405.141324] br0: port 1(eth0) entered blocking state [ 1405.141784] br0: port 1(eth0) entered disabled state [ 1405.142167] eth0: entered allmulticast mode [ 1405.142583] eth0: entered promiscuous mode [ 1405.143364] br0: port 1(eth0) entered blocking state [ 1405.143687] br0: port 1(eth0) entered forwarding state [ 1405.155128] br0: port 2(eth1) entered blocking state [ 1405.155413] br0: port 2(eth1) entered disabled state [ 1405.155702] eth1: entered allmulticast mode [ 1405.156006] eth1: entered promiscuous mode [ 1405.156590] br0: port 2(eth1) entered blocking state [ 1405.156867] br0: port 2(eth1) entered forwarding state [ 1405.229801] br0: port 1(eth0) entered blocking state [ 1405.230102] br0: port 1(eth0) entered disabled state [ 1405.230372] eth0: entered allmulticast mode [ 1405.230679] eth0: entered promiscuous mode [ 1405.242115] br0: port 2(eth1) entered blocking state [ 1405.242405] br0: port 2(eth1) entered disabled state [ 1405.242694] eth1: entered allmulticast mode [ 1405.242990] eth1: entered promiscuous mode [ 1405.243447] br0: port 2(eth1) entered blocking state [ 1405.243731] br0: port 2(eth1) entered forwarding state [ 1405.546616] br0: port 1(eth0) entered blocking state [ 1405.546919] 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 # ########################################################################### # [ 1407.700611] eth1: left allmulticast mode [ 1407.700926] eth1: left promiscuous mode [ 1407.701156] br0: port 2(eth1) entered disabled state [ 1407.712673] eth0: left allmulticast mode [ 1407.713107] eth0: left promiscuous mode [ 1407.713516] br0: port 1(eth0) entered disabled state [ 1407.844965] eth1: left allmulticast mode [ 1407.845408] eth1: left promiscuous mode [ 1407.845771] br0: port 2(eth1) entered disabled state [ 1407.859680] eth0: left allmulticast mode [ 1407.859927] eth0: left promiscuous mode [ 1407.860163] br0: port 1(eth0) entered disabled state [ 1408.223738] eth0: renamed from r1h1 [ 1408.262784] eth0: renamed from r2h1 [ 1408.305688] eth1: renamed from r1h2 [ 1408.344680] eth1: renamed from r2h2 [ 1408.404936] br0: port 1(eth0) entered blocking state [ 1408.405375] br0: port 1(eth0) entered disabled state [ 1408.405797] eth0: entered allmulticast mode [ 1408.406263] eth0: entered promiscuous mode [ 1408.406786] br0: port 1(eth0) entered blocking state [ 1408.407197] br0: port 1(eth0) entered forwarding state [ 1408.418312] br0: port 2(eth1) entered blocking state [ 1408.418623] br0: port 2(eth1) entered disabled state [ 1408.418899] eth1: entered allmulticast mode [ 1408.419199] eth1: entered promiscuous mode [ 1408.419691] br0: port 2(eth1) entered blocking state [ 1408.419973] br0: port 2(eth1) entered forwarding state [ 1408.493059] br0: port 1(eth0) entered blocking state [ 1408.493379] br0: port 1(eth0) entered disabled state [ 1408.493689] eth0: entered allmulticast mode [ 1408.494004] eth0: entered promiscuous mode [ 1408.504716] br0: port 2(eth1) entered blocking state [ 1408.505015] br0: port 2(eth1) entered disabled state [ 1408.505293] eth1: entered allmulticast mode [ 1408.505596] eth1: entered promiscuous mode [ 1408.506092] br0: port 2(eth1) entered blocking state [ 1408.506371] br0: port 2(eth1) entered forwarding state [ 1408.753743] br0: port 1(eth0) entered blocking state [ 1408.754049] 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 # ########################################################################### # [ 1410.943647] eth1: left allmulticast mode [ 1410.943905] eth1: left promiscuous mode [ 1410.944180] br0: port 2(eth1) entered disabled state [ 1410.951660] eth0: left allmulticast mode [ 1410.951933] eth0: left promiscuous mode [ 1410.952234] br0: port 1(eth0) entered disabled state [ 1411.074177] eth1: left allmulticast mode [ 1411.074777] eth1: left promiscuous mode [ 1411.075134] br0: port 2(eth1) entered disabled state [ 1411.081718] eth0: left allmulticast mode [ 1411.082368] eth0: left promiscuous mode [ 1411.082990] br0: port 1(eth0) entered disabled state [ 1411.372746] eth0: renamed from r1h1 [ 1411.410886] 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 # ########################################################################### # [ 1414.317748] eth0: renamed from r1h1 [ 1414.364773] 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 # ########################################################################### # [ 1417.353713] eth0: renamed from r1h1 [ 1417.391679] eth0: renamed from r2h1 [ 1417.430692] eth1: renamed from r1h2 [ 1417.467692] eth1: renamed from r2h2 [ 1417.525726] br0: port 1(eth0) entered blocking state [ 1417.526048] br0: port 1(eth0) entered disabled state [ 1417.526326] eth0: entered allmulticast mode [ 1417.526634] eth0: entered promiscuous mode [ 1417.527169] br0: port 1(eth0) entered blocking state [ 1417.527448] br0: port 1(eth0) entered forwarding state [ 1417.539082] br0: port 2(eth1) entered blocking state [ 1417.539372] br0: port 2(eth1) entered disabled state [ 1417.539663] eth1: entered allmulticast mode [ 1417.539957] eth1: entered promiscuous mode [ 1417.540442] br0: port 2(eth1) entered blocking state [ 1417.540728] br0: port 2(eth1) entered forwarding state [ 1417.608610] br0: port 1(eth0) entered blocking state [ 1417.608936] br0: port 1(eth0) entered disabled state [ 1417.609253] eth0: entered allmulticast mode [ 1417.609598] eth0: entered promiscuous mode [ 1417.619053] br0: port 2(eth1) entered blocking state [ 1417.619345] br0: port 2(eth1) entered disabled state [ 1417.619630] eth1: entered allmulticast mode [ 1417.619919] eth1: entered promiscuous mode [ 1417.620386] br0: port 2(eth1) entered blocking state [ 1417.620682] br0: port 2(eth1) entered forwarding state [ 1417.898611] br0: port 1(eth0) entered blocking state [ 1417.899219] 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 # ########################################################################### # [ 1420.043583] eth1: left allmulticast mode [ 1420.043864] eth1: left promiscuous mode [ 1420.044097] br0: port 2(eth1) entered disabled state [ 1420.053744] eth0: left allmulticast mode [ 1420.054005] eth0: left promiscuous mode [ 1420.054238] br0: port 1(eth0) entered disabled state [ 1420.193087] eth1: left allmulticast mode [ 1420.193338] eth1: left promiscuous mode [ 1420.193691] br0: port 2(eth1) entered disabled state [ 1420.199659] eth0: left allmulticast mode [ 1420.200002] eth0: left promiscuous mode [ 1420.200381] br0: port 1(eth0) entered disabled state [ 1420.516718] eth0: renamed from r1h1 [ 1420.552689] eth0: renamed from r2h1 [ 1420.589764] eth1: renamed from r1h2 [ 1420.630688] eth1: renamed from r2h2 [ 1420.685102] br0: port 1(eth0) entered blocking state [ 1420.685403] br0: port 1(eth0) entered disabled state [ 1420.685688] eth0: entered allmulticast mode [ 1420.685989] eth0: entered promiscuous mode [ 1420.686520] br0: port 1(eth0) entered blocking state [ 1420.686813] br0: port 1(eth0) entered forwarding state [ 1420.696242] br0: port 2(eth1) entered blocking state [ 1420.696534] br0: port 2(eth1) entered disabled state [ 1420.696821] eth1: entered allmulticast mode [ 1420.697118] eth1: entered promiscuous mode [ 1420.697604] br0: port 2(eth1) entered blocking state [ 1420.697879] br0: port 2(eth1) entered forwarding state [ 1420.764001] br0: port 1(eth0) entered blocking state [ 1420.764430] br0: port 1(eth0) entered disabled state [ 1420.764850] eth0: entered allmulticast mode [ 1420.765301] eth0: entered promiscuous mode [ 1420.775561] br0: port 2(eth1) entered blocking state [ 1420.775855] br0: port 2(eth1) entered disabled state [ 1420.776143] eth1: entered allmulticast mode [ 1420.776434] eth1: entered promiscuous mode [ 1420.776916] br0: port 2(eth1) entered blocking state [ 1420.777193] br0: port 2(eth1) entered forwarding state [ 1421.090669] br0: port 1(eth0) entered blocking state [ 1421.090975] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 1423.195592] eth1: left allmulticast mode [ 1423.195996] eth1: left promiscuous mode [ 1423.196344] br0: port 2(eth1) entered disabled state [ 1423.207654] eth0: left allmulticast mode [ 1423.207901] eth0: left promiscuous mode [ 1423.208136] 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' [?2004hxx__-> echo $? 0 xx__-> [ 1423.297927] eth1: left allmulticast mode [ 1423.298162] eth1: left promiscuous mode [ 1423.298382] br0: port 2(eth1) entered disabled state [ 1423.307622] eth0: left allmulticast mode [ 1423.307848] eth0: left promiscuous mode [ 1423.308069] br0: port 1(eth0) entered disabled state WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C xx__->