make -C tools/testing/selftests TARGETS=net TEST_PROGS=icmp_redirect.sh TEEST_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: icmp_redirect.sh [ 939.507131] eth0: renamed from r1h1 [ 939.548033] eth0: renamed from r2h1 [ 939.602013] eth2: renamed from r2h2 [ 939.660070] eth1: renamed from r2r1 [ 939.728848] br0: port 1(eth0) entered blocking state [ 939.729143] br0: port 1(eth0) entered disabled state [ 939.729412] eth0: entered allmulticast mode [ 939.729711] eth0: entered promiscuous mode [ 939.730358] br0: port 1(eth0) entered blocking state [ 939.730656] br0: port 1(eth0) entered forwarding state [ 939.745557] br0: port 2(eth1) entered blocking state [ 939.745917] br0: port 2(eth1) entered disabled state [ 939.746224] eth1: entered allmulticast mode [ 939.746531] eth1: entered promiscuous mode [ 939.747090] br0: port 2(eth1) entered blocking state [ 939.747376] br0: port 2(eth1) entered forwarding state # # ########################################################################### # Legacy routing # ########################################################################### # # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 950.972609] eth1: left allmulticast mode [ 950.973188] eth1: left promiscuous mode [ 950.973530] br0: port 2(eth1) entered disabled state [ 950.974530] eth0: left allmulticast mode [ 950.975154] eth0: left promiscuous mode [ 950.975687] br0: port 1(eth0) entered disabled state # # ########################################################################### # Legacy routing with VRF # ########################################################################### # [ 952.051025] eth0: renamed from r1h1 [ 952.093033] eth0: renamed from r2h1 [ 952.152059] eth2: renamed from r2h2 [ 952.209054] eth1: renamed from r2r1 [ 952.439351] br0: port 1(eth0) entered blocking state [ 952.439929] br0: port 1(eth0) entered disabled state [ 952.440393] eth0: entered allmulticast mode [ 952.440931] eth0: entered promiscuous mode [ 952.442242] br0: port 1(eth0) entered blocking state [ 952.442704] br0: port 1(eth0) entered forwarding state [ 952.460308] br0: port 2(eth1) entered blocking state [ 952.460744] br0: port 2(eth1) entered disabled state [ 952.461182] eth1: entered allmulticast mode [ 952.461630] eth1: entered promiscuous mode [ 952.462511] br0: port 2(eth1) entered blocking state [ 952.462925] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 963.663766] eth1: left allmulticast mode [ 963.664097] eth1: left promiscuous mode [ 963.664521] br0: port 2(eth1) entered disabled state [ 963.665667] eth0: left allmulticast mode [ 963.666203] eth0: left promiscuous mode [ 963.666604] br0: port 1(eth0) entered disabled state # # ########################################################################### # Routing with nexthop objects # ########################################################################### # [ 964.752034] eth0: renamed from r1h1 [ 964.797037] eth0: renamed from r2h1 [ 964.855158] eth2: renamed from r2h2 [ 964.910035] eth1: renamed from r2r1 [ 964.989560] br0: port 1(eth0) entered blocking state [ 964.989871] br0: port 1(eth0) entered disabled state [ 964.990141] eth0: entered allmulticast mode [ 964.990441] eth0: entered promiscuous mode [ 964.991097] br0: port 1(eth0) entered blocking state [ 964.991404] br0: port 1(eth0) entered forwarding state [ 965.008571] br0: port 2(eth1) entered blocking state [ 965.009002] br0: port 2(eth1) entered disabled state [ 965.009408] eth1: entered allmulticast mode [ 965.009853] eth1: entered promiscuous mode [ 965.010610] br0: port 2(eth1) entered blocking state [ 965.011060] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] [ 976.353505] eth1: left allmulticast mode [ 976.353754] eth1: left promiscuous mode [ 976.354009] br0: port 2(eth1) entered disabled state [ 976.354644] eth0: left allmulticast mode [ 976.355142] eth0: left promiscuous mode [ 976.355529] br0: port 1(eth0) entered disabled state # # ########################################################################### # Routing with nexthop objects and VRF # ########################################################################### # [ 977.354986] eth0: renamed from r1h1 [ 977.390045] eth0: renamed from r2h1 [ 977.443113] eth2: renamed from r2h2 [ 977.496020] eth1: renamed from r2r1 [ 977.703998] br0: port 1(eth0) entered blocking state [ 977.704311] br0: port 1(eth0) entered disabled state [ 977.704579] eth0: entered allmulticast mode [ 977.704886] eth0: entered promiscuous mode [ 977.705566] br0: port 1(eth0) entered blocking state [ 977.705859] br0: port 1(eth0) entered forwarding state [ 977.721384] br0: port 2(eth1) entered blocking state [ 977.721706] br0: port 2(eth1) entered disabled state [ 977.722006] eth1: entered allmulticast mode [ 977.722323] eth1: entered promiscuous mode [ 977.722946] br0: port 2(eth1) entered blocking state [ 977.723235] br0: port 2(eth1) entered forwarding state # TEST: IPv4: redirect exception [ OK ] # TEST: IPv6: redirect exception [ OK ] # TEST: IPv4: redirect exception plus mtu [ OK ] # TEST: IPv6: redirect exception plus mtu [ OK ] # TEST: IPv4: routing reset [ OK ] # TEST: IPv6: routing reset [ OK ] # TEST: IPv4: mtu exception [ OK ] # TEST: IPv6: mtu exception [ OK ] # TEST: IPv4: mtu exception plus redirect [ OK ] # TEST: IPv6: mtu exception plus redirect [ OK ] # # Tests passed: 40 # Tests failed: 0 # Tests xfailed: 0 [ 989.021062] eth1: left allmulticast mode [ 989.021440] eth1: left promiscuous mode [ 989.021821] br0: port 2(eth1) entered disabled state [ 989.022519] eth0: left allmulticast mode [ 989.022859] eth0: left promiscuous mode [ 989.023183] br0: port 1(eth0) entered disabled state ok 1 selftests: net: icmp_redirect.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__->