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.987946] eth0: renamed from r1h1 [ 1044.029964] 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 # ########################################################################### # [ 1047.259957] eth0: renamed from r1h1 [ 1047.298985] 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 # ########################################################################### # [ 1050.511920] eth0: renamed from r1h1 [ 1050.549999] 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 # ########################################################################### # [ 1053.787905] eth0: renamed from r1h1 [ 1053.826881] eth0: renamed from r2h1 [ 1053.866969] eth1: renamed from r1h2 [ 1053.904891] eth1: renamed from r2h2 [ 1053.973095] br0: port 1(eth0) entered blocking state [ 1053.973385] br0: port 1(eth0) entered disabled state [ 1053.973661] eth0: entered allmulticast mode [ 1053.973961] eth0: entered promiscuous mode [ 1053.974739] br0: port 1(eth0) entered blocking state [ 1053.975035] br0: port 1(eth0) entered forwarding state [ 1053.988926] br0: port 2(eth1) entered blocking state [ 1053.989330] br0: port 2(eth1) entered disabled state [ 1053.989727] eth1: entered allmulticast mode [ 1053.990161] eth1: entered promiscuous mode [ 1053.990951] br0: port 2(eth1) entered blocking state [ 1053.991348] br0: port 2(eth1) entered forwarding state [ 1054.078183] br0: port 1(eth0) entered blocking state [ 1054.078477] br0: port 1(eth0) entered disabled state [ 1054.078759] eth0: entered allmulticast mode [ 1054.079047] eth0: entered promiscuous mode [ 1054.091968] br0: port 2(eth1) entered blocking state [ 1054.092256] br0: port 2(eth1) entered disabled state [ 1054.092516] eth1: entered allmulticast mode [ 1054.092808] eth1: entered promiscuous mode [ 1054.093097] br0: port 2(eth1) entered blocking state [ 1054.093357] br0: port 2(eth1) entered forwarding state [ 1054.193794] br0: port 1(eth0) entered blocking state [ 1054.194124] 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 # ########################################################################### # [ 1056.602895] eth1: left allmulticast mode [ 1056.603155] eth1: left promiscuous mode [ 1056.603381] br0: port 2(eth1) entered disabled state [ 1056.604301] eth0: left allmulticast mode [ 1056.604526] eth0: left promiscuous mode [ 1056.605142] br0: port 1(eth0) entered disabled state [ 1056.680975] eth1: left allmulticast mode [ 1056.681504] eth1: left promiscuous mode [ 1056.682017] br0: port 2(eth1) entered disabled state [ 1056.682825] eth0: left allmulticast mode [ 1056.683298] eth0: left promiscuous mode [ 1056.683617] br0: port 1(eth0) entered disabled state [ 1057.348974] eth0: renamed from r1h1 [ 1057.391970] eth0: renamed from r2h1 [ 1057.431993] eth1: renamed from r1h2 [ 1057.476017] eth1: renamed from r2h2 [ 1057.550923] br0: port 1(eth0) entered blocking state [ 1057.551337] br0: port 1(eth0) entered disabled state [ 1057.551740] eth0: entered allmulticast mode [ 1057.552265] eth0: entered promiscuous mode [ 1057.552786] br0: port 1(eth0) entered blocking state [ 1057.553174] br0: port 1(eth0) entered forwarding state [ 1057.569672] br0: port 2(eth1) entered blocking state [ 1057.569994] br0: port 2(eth1) entered disabled state [ 1057.570260] eth1: entered allmulticast mode [ 1057.570557] eth1: entered promiscuous mode [ 1057.571212] br0: port 2(eth1) entered blocking state [ 1057.571483] br0: port 2(eth1) entered forwarding state [ 1057.672541] br0: port 1(eth0) entered blocking state [ 1057.673063] br0: port 1(eth0) entered disabled state [ 1057.673499] eth0: entered allmulticast mode [ 1057.673953] eth0: entered promiscuous mode [ 1057.688621] br0: port 2(eth1) entered blocking state [ 1057.688936] br0: port 2(eth1) entered disabled state [ 1057.689200] eth1: entered allmulticast mode [ 1057.689492] eth1: entered promiscuous mode [ 1057.689997] br0: port 2(eth1) entered blocking state [ 1057.690261] br0: port 2(eth1) entered forwarding state [ 1058.688873] br0: port 1(eth0) entered blocking state [ 1058.689247] 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 # ########################################################################### # [ 1060.257995] eth1: left allmulticast mode [ 1060.258269] eth1: left promiscuous mode [ 1060.258526] br0: port 2(eth1) entered disabled state [ 1060.259128] eth0: left allmulticast mode [ 1060.259365] eth0: left promiscuous mode [ 1060.259578] br0: port 1(eth0) entered disabled state [ 1060.327920] eth1: left allmulticast mode [ 1060.328441] eth1: left promiscuous mode [ 1060.328845] br0: port 2(eth1) entered disabled state [ 1060.329511] eth0: left allmulticast mode [ 1060.329773] eth0: left promiscuous mode [ 1060.330045] br0: port 1(eth0) entered disabled state [ 1060.839979] eth0: renamed from r1h1 [ 1060.880986] 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 # ########################################################################### # [ 1064.102905] eth0: renamed from r1h1 [ 1064.144898] 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 # ########################################################################### # [ 1067.567891] eth0: renamed from r1h1 [ 1067.613934] eth0: renamed from r2h1 [ 1067.656903] eth1: renamed from r1h2 [ 1067.700961] eth1: renamed from r2h2 [ 1067.783418] br0: port 1(eth0) entered blocking state [ 1067.783817] br0: port 1(eth0) entered disabled state [ 1067.784112] eth0: entered allmulticast mode [ 1067.784459] eth0: entered promiscuous mode [ 1067.785168] br0: port 1(eth0) entered blocking state [ 1067.785494] br0: port 1(eth0) entered forwarding state [ 1067.802871] br0: port 2(eth1) entered blocking state [ 1067.803292] br0: port 2(eth1) entered disabled state [ 1067.803690] eth1: entered allmulticast mode [ 1067.804204] eth1: entered promiscuous mode [ 1067.804994] br0: port 2(eth1) entered blocking state [ 1067.805382] br0: port 2(eth1) entered forwarding state [ 1067.903145] br0: port 1(eth0) entered blocking state [ 1067.903453] br0: port 1(eth0) entered disabled state [ 1067.903758] eth0: entered allmulticast mode [ 1067.904087] eth0: entered promiscuous mode [ 1067.919212] br0: port 2(eth1) entered blocking state [ 1067.919507] br0: port 2(eth1) entered disabled state [ 1067.919794] eth1: entered allmulticast mode [ 1067.920096] eth1: entered promiscuous mode [ 1067.920685] br0: port 2(eth1) entered blocking state [ 1067.920993] br0: port 2(eth1) entered forwarding state [ 1068.864871] br0: port 1(eth0) entered blocking state [ 1068.865234] 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 # ########################################################################### # [ 1070.491596] eth1: left allmulticast mode [ 1070.492000] eth1: left promiscuous mode [ 1070.492398] br0: port 2(eth1) entered disabled state [ 1070.493189] eth0: left allmulticast mode [ 1070.493534] eth0: left promiscuous mode [ 1070.493908] br0: port 1(eth0) entered disabled state [ 1070.575871] eth1: left allmulticast mode [ 1070.576255] eth1: left promiscuous mode [ 1070.576680] br0: port 2(eth1) entered disabled state [ 1070.577269] eth0: left allmulticast mode [ 1070.577648] eth0: left promiscuous mode [ 1070.577975] br0: port 1(eth0) entered disabled state [ 1071.275018] eth0: renamed from r1h1 [ 1071.319957] eth0: renamed from r2h1 [ 1071.364987] eth1: renamed from r1h2 [ 1071.408951] eth1: renamed from r2h2 [ 1071.490728] br0: port 1(eth0) entered blocking state [ 1071.491132] br0: port 1(eth0) entered disabled state [ 1071.491498] eth0: entered allmulticast mode [ 1071.491988] eth0: entered promiscuous mode [ 1071.492842] br0: port 1(eth0) entered blocking state [ 1071.493219] br0: port 1(eth0) entered forwarding state [ 1071.508183] br0: port 2(eth1) entered blocking state [ 1071.508507] br0: port 2(eth1) entered disabled state [ 1071.508807] eth1: entered allmulticast mode [ 1071.509113] eth1: entered promiscuous mode [ 1071.509684] br0: port 2(eth1) entered blocking state [ 1071.509961] br0: port 2(eth1) entered forwarding state [ 1071.621061] br0: port 1(eth0) entered blocking state [ 1071.621374] br0: port 1(eth0) entered disabled state [ 1071.621644] eth0: entered allmulticast mode [ 1071.622048] eth0: entered promiscuous mode [ 1071.638229] br0: port 2(eth1) entered blocking state [ 1071.638654] br0: port 2(eth1) entered disabled state [ 1071.639074] eth1: entered allmulticast mode [ 1071.639495] eth1: entered promiscuous mode [ 1071.640046] br0: port 2(eth1) entered blocking state [ 1071.640324] br0: port 2(eth1) entered forwarding state [ 1072.512897] br0: port 1(eth0) entered blocking state [ 1072.513335] br0: port 1(eth0) entered forwarding state # TEST: Basic IPv6 connectivity [ OK ] # TEST: Traceroute6 reports a hop on r1 [ OK ] [ 1074.220395] eth1: left allmulticast mode [ 1074.220648] eth1: left promiscuous mode [ 1074.220937] br0: port 2(eth1) entered disabled state [ 1074.221685] eth0: left allmulticast mode [ 1074.221973] eth0: left promiscuous mode [ 1074.222199] br0: port 1(eth0) entered disabled state [ 1074.277865] eth1: left allmulticast mode [ 1074.278117] eth1: left promiscuous mode [ 1074.278515] br0: port 2(eth1) entered disabled state [ 1074.279201] eth0: left allmulticast mode [ 1074.279466] eth0: left promiscuous mode [ 1074.279866] 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__->