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' [ 845.695226] veth-t200: Failed to cycle device veth-t200; route tables might be wrong! [ 845.695951] veth-t100: Failed to cycle device veth-t100; route tables might be wrong! 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 # ########################################################################### # [ 846.099068] eth0: renamed from r1h1 [ 846.135059] 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 # ########################################################################### # [ 848.924024] eth0: renamed from r1h1 [ 848.957007] 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 # ########################################################################### # [ 851.798988] eth0: renamed from r1h1 [ 851.835997] 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 # ########################################################################### # [ 854.742026] eth0: renamed from r1h1 [ 854.778976] eth0: renamed from r2h1 [ 854.819970] eth1: renamed from r1h2 [ 854.857143] eth1: renamed from r2h2 [ 854.913652] br0: port 1(eth0) entered blocking state [ 854.914050] br0: port 1(eth0) entered disabled state [ 854.914333] eth0: entered allmulticast mode [ 854.914629] eth0: entered promiscuous mode [ 854.915176] br0: port 1(eth0) entered blocking state [ 854.915464] br0: port 1(eth0) entered forwarding state [ 854.925402] br0: port 2(eth1) entered blocking state [ 854.925694] br0: port 2(eth1) entered disabled state [ 854.925982] eth1: entered allmulticast mode [ 854.926284] eth1: entered promiscuous mode [ 854.926774] br0: port 2(eth1) entered blocking state [ 854.927071] br0: port 2(eth1) entered forwarding state [ 854.993664] br0: port 1(eth0) entered blocking state [ 854.993972] br0: port 1(eth0) entered disabled state [ 854.994248] eth0: entered allmulticast mode [ 854.994541] eth0: entered promiscuous mode [ 855.004588] br0: port 2(eth1) entered blocking state [ 855.004922] br0: port 2(eth1) entered disabled state [ 855.005202] eth1: entered allmulticast mode [ 855.005495] eth1: entered promiscuous mode [ 855.005977] br0: port 2(eth1) entered blocking state [ 855.006270] br0: port 2(eth1) entered forwarding state [ 855.348995] br0: port 1(eth0) entered blocking state [ 855.349299] 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 # ########################################################################### # [ 857.469906] eth1: left allmulticast mode [ 857.470154] eth1: left promiscuous mode [ 857.470382] br0: port 2(eth1) entered disabled state [ 857.477970] eth0: left allmulticast mode [ 857.478432] eth0: left promiscuous mode [ 857.478865] br0: port 1(eth0) entered disabled state [ 857.641477] eth1: left allmulticast mode [ 857.642084] eth1: left promiscuous mode [ 857.642593] br0: port 2(eth1) entered disabled state [ 857.653967] eth0: left allmulticast mode [ 857.654201] eth0: left promiscuous mode [ 857.654430] br0: port 1(eth0) entered disabled state [ 857.908982] eth0: renamed from r1h1 [ 857.943018] eth0: renamed from r2h1 [ 857.979987] eth1: renamed from r1h2 [ 858.018055] eth1: renamed from r2h2 [ 858.073987] br0: port 1(eth0) entered blocking state [ 858.074284] br0: port 1(eth0) entered disabled state [ 858.074563] eth0: entered allmulticast mode [ 858.074874] eth0: entered promiscuous mode [ 858.075394] br0: port 1(eth0) entered blocking state [ 858.075676] br0: port 1(eth0) entered forwarding state [ 858.085747] br0: port 2(eth1) entered blocking state [ 858.086078] br0: port 2(eth1) entered disabled state [ 858.086358] eth1: entered allmulticast mode [ 858.086647] eth1: entered promiscuous mode [ 858.087125] br0: port 2(eth1) entered blocking state [ 858.087406] br0: port 2(eth1) entered forwarding state [ 858.154471] br0: port 1(eth0) entered blocking state [ 858.154768] br0: port 1(eth0) entered disabled state [ 858.155057] eth0: entered allmulticast mode [ 858.155352] eth0: entered promiscuous mode [ 858.165722] br0: port 2(eth1) entered blocking state [ 858.166037] br0: port 2(eth1) entered disabled state [ 858.166326] eth1: entered allmulticast mode [ 858.166624] eth1: entered promiscuous mode [ 858.167120] br0: port 2(eth1) entered blocking state [ 858.167403] br0: port 2(eth1) entered forwarding state [ 858.516921] br0: port 1(eth0) entered blocking state [ 858.517232] 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 # ########################################################################### # [ 860.628919] eth1: left allmulticast mode [ 860.629288] eth1: left promiscuous mode [ 860.629734] br0: port 2(eth1) entered disabled state [ 860.640941] eth0: left allmulticast mode [ 860.641368] eth0: left promiscuous mode [ 860.641678] br0: port 1(eth0) entered disabled state [ 860.777274] eth1: left allmulticast mode [ 860.777636] eth1: left promiscuous mode [ 860.777871] br0: port 2(eth1) entered disabled state [ 860.789939] eth0: left allmulticast mode [ 860.790162] eth0: left promiscuous mode [ 860.790385] br0: port 1(eth0) entered disabled state [ 861.010987] eth0: renamed from r1h1 [ 861.048982] 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 # ########################################################################### # [ 863.908999] eth0: renamed from r1h1 [ 863.949975] 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 # ########################################################################### # [ 866.897028] eth0: renamed from r1h1 [ 866.939006] eth0: renamed from r2h1 [ 866.972012] eth1: renamed from r1h2 [ 867.008991] eth1: renamed from r2h2 [ 867.062831] br0: port 1(eth0) entered blocking state [ 867.063147] br0: port 1(eth0) entered disabled state [ 867.063433] eth0: entered allmulticast mode [ 867.063743] eth0: entered promiscuous mode [ 867.064287] br0: port 1(eth0) entered blocking state [ 867.064576] br0: port 1(eth0) entered forwarding state [ 867.074125] br0: port 2(eth1) entered blocking state [ 867.074415] br0: port 2(eth1) entered disabled state [ 867.074696] eth1: entered allmulticast mode [ 867.075022] eth1: entered promiscuous mode [ 867.075491] br0: port 2(eth1) entered blocking state [ 867.075779] br0: port 2(eth1) entered forwarding state [ 867.143090] br0: port 1(eth0) entered blocking state [ 867.143384] br0: port 1(eth0) entered disabled state [ 867.143664] eth0: entered allmulticast mode [ 867.143966] eth0: entered promiscuous mode [ 867.154042] br0: port 2(eth1) entered blocking state [ 867.154331] br0: port 2(eth1) entered disabled state [ 867.154624] eth1: entered allmulticast mode [ 867.154932] eth1: entered promiscuous mode [ 867.155405] br0: port 2(eth1) entered blocking state [ 867.155686] br0: port 2(eth1) entered forwarding state [ 867.500925] br0: port 1(eth0) entered blocking state [ 867.501244] 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 # ########################################################################### # [ 869.623885] eth1: left allmulticast mode [ 869.624402] eth1: left promiscuous mode [ 869.624839] br0: port 2(eth1) entered disabled state [ 869.632958] eth0: left allmulticast mode [ 869.633381] eth0: left promiscuous mode [ 869.633834] br0: port 1(eth0) entered disabled state [ 869.775300] eth1: left allmulticast mode [ 869.775800] eth1: left promiscuous mode [ 869.776164] br0: port 2(eth1) entered disabled state [ 869.783977] eth0: left allmulticast mode [ 869.784383] eth0: left promiscuous mode [ 869.784783] br0: port 1(eth0) entered disabled state [ 870.050012] eth0: renamed from r1h1 [ 870.088987] eth0: renamed from r2h1 [ 870.124975] eth1: renamed from r1h2 [ 870.160978] eth1: renamed from r2h2 [ 870.213618] br0: port 1(eth0) entered blocking state [ 870.213928] br0: port 1(eth0) entered disabled state [ 870.214217] eth0: entered allmulticast mode [ 870.214530] eth0: entered promiscuous mode [ 870.215074] br0: port 1(eth0) entered blocking state [ 870.215368] br0: port 1(eth0) entered forwarding state [ 870.224306] br0: port 2(eth1) entered blocking state [ 870.224595] br0: port 2(eth1) entered disabled state [ 870.224885] eth1: entered allmulticast mode [ 870.225176] eth1: entered promiscuous mode [ 870.225656] br0: port 2(eth1) entered blocking state [ 870.225957] br0: port 2(eth1) entered forwarding state [ 870.292145] br0: port 1(eth0) entered blocking state [ 870.292443] br0: port 1(eth0) entered disabled state [ 870.292721] eth0: entered allmulticast mode [ 870.293039] eth0: entered promiscuous mode [ 870.302196] br0: port 2(eth1) entered blocking state [ 870.302486] br0: port 2(eth1) entered disabled state [ 870.302763] eth1: entered allmulticast mode [ 870.303106] eth1: entered promiscuous mode [ 870.303569] br0: port 2(eth1) entered blocking state [ 870.303847] br0: port 2(eth1) entered forwarding state [ 870.669006] br0: port 1(eth0) entered blocking state [ 870.669320] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 872.766909] eth1: left allmulticast mode [ 872.767321] eth1: left promiscuous mode [ 872.767766] br0: port 2(eth1) 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__-> [ 872.779966] eth0: left allmulticast mode [ 872.780198] eth0: left promiscuous mode [ 872.780418] br0: port 1(eth0) entered disabled state xx__-> xx__-> [ 872.887226] eth1: left allmulticast mode [ 872.887468] eth1: left promiscuous mode [ 872.887691] br0: port 2(eth1) entered disabled state [ 872.896940] eth0: left allmulticast mode [ 872.897172] eth0: left promiscuous mode [ 872.897395] br0: port 1(eth0) entered disabled state xx__-> xx__-> echo $? 0 xx__->