make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 13.36 [+13.36] # 13.36 [+0.00] Backup port # 13.36 [+0.00] ----------- # 15.43 [+2.07] TEST: Forwarding out of swp1 [ OK ] # 15.83 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 16.24 [+0.41] TEST: swp1 carrier off [ OK ] # 17.01 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 17.38 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.79 [+0.41] TEST: swp1 carrier on [ OK ] # 18.08 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.84 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 19.19 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.59 [+0.40] TEST: swp1 carrier off [ OK ] # 20.34 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 20.73 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 21.13 [+0.40] TEST: swp1 carrier on [ OK ] # 21.87 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.52 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.25 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.63 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 24.03 [+0.40] TEST: swp1 carrier off [ OK ] # 24.78 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 25.17 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 40.19 [+15.02] # 40.19 [+0.00] Backup nexthop ID # 40.19 [+0.00] ----------------- # 42.85 [+2.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.57 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 43.95 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 44.33 [+0.39] TEST: swp1 carrier off [ OK ] # 45.07 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 45.42 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.81 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.17 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.57 [+0.40] TEST: swp1 carrier on [ OK ] # 46.86 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.58 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 47.98 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 48.39 [+0.41] TEST: swp1 carrier off [ OK ] # 49.14 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 49.51 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.89 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 50.29 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.70 [+0.41] TEST: swp1 carrier on [ OK ] # 51.42 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 51.80 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.19 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 52.58 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.87 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.61 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.98 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 54.35 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 54.72 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.14 [+0.42] TEST: swp1 carrier off [ OK ] # 55.86 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 56.24 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 56.61 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 56.95 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.07 [+15.13] # 72.07 [+0.00] Backup nexthop ID - invalid IDs # 72.08 [+0.00] ------------------------------- # 74.68 [+2.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.97 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 75.39 [+0.41] TEST: swp1 carrier off [ OK ] # 76.16 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 76.54 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.89 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 77.03 [+0.15] TEST: No Tx drop increase [ OK ] # 77.34 [+0.31] TEST: Non-existent nexthop as backup nexthop [ OK ] # 78.06 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 78.43 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 78.82 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 78.96 [+0.15] TEST: Tx drop increased [ OK ] # 79.43 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.18 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 80.57 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 80.97 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 81.14 [+0.17] TEST: Tx drop increased [ OK ] # 81.42 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.17 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 82.59 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 82.97 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 83.14 [+0.17] TEST: Tx drop increased [ OK ] # 83.89 [+0.75] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.65 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 85.03 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.44 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 85.62 [+0.18] TEST: Tx drop increased [ OK ] # 100.73 [+15.11] # 100.73 [+0.00] Backup nexthop ID - ping # 100.73 [+0.00] ------------------------ # 105.46 [+4.73] TEST: Ping with backup nexthop ID [ OK ] # 111.06 [+5.60] TEST: Ping after disabling backup nexthop ID [ OK ] # 125.92 [+14.87] # 125.93 [+0.00] Backup nexthop ID - torture test # 125.93 [+0.00] -------------------------------- # 157.14 [+31.21] TEST: Torture test [ OK ] # 158.34 [+1.21] # 158.34 [+0.00] Tests passed: 83 # 158.35 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->