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.55 [+13.55] # 13.55 [+0.00] Backup port # 13.55 [+0.00] ----------- # 15.63 [+2.08] TEST: Forwarding out of swp1 [ OK ] # 16.00 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.49 [+0.50] TEST: swp1 carrier off [ OK ] # 17.30 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 17.67 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 18.09 [+0.42] TEST: swp1 carrier on [ OK ] # 18.40 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.15 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 19.51 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.91 [+0.40] TEST: swp1 carrier off [ OK ] # 20.64 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 21.01 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 21.44 [+0.43] TEST: swp1 carrier on [ OK ] # 22.18 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 22.55 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.86 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.61 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.99 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 24.38 [+0.39] TEST: swp1 carrier off [ OK ] # 25.12 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 25.48 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.68 [+15.20] # 40.68 [+0.00] Backup nexthop ID # 40.68 [+0.00] ----------------- # 43.40 [+2.72] TEST: vx0 configured as backup port of swp1 [ OK ] # 44.17 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 44.55 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 44.97 [+0.42] TEST: swp1 carrier off [ OK ] # 45.73 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 46.12 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 46.51 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.90 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.29 [+0.39] TEST: swp1 carrier on [ OK ] # 47.58 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 48.30 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 48.66 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 49.06 [+0.40] TEST: swp1 carrier off [ OK ] # 49.78 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 50.16 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 50.53 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 50.87 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.27 [+0.40] TEST: swp1 carrier on [ OK ] # 52.01 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 52.39 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.76 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 53.15 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.43 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.17 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 54.53 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 54.90 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 55.28 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.69 [+0.41] TEST: swp1 carrier off [ OK ] # 56.41 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 56.79 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 57.14 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 57.51 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.48 [+14.97] # 72.48 [+0.00] Backup nexthop ID - invalid IDs # 72.48 [+0.00] ------------------------------- # 75.19 [+2.71] TEST: vx0 configured as backup port of swp1 [ OK ] # 75.47 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 75.88 [+0.41] TEST: swp1 carrier off [ OK ] # 76.65 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 77.05 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 77.46 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 77.61 [+0.15] TEST: No Tx drop increase [ OK ] # 77.88 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 78.64 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 79.03 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 79.41 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 79.56 [+0.15] TEST: Tx drop increased [ OK ] # 80.00 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.70 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 81.08 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.45 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 81.62 [+0.17] TEST: Tx drop increased [ OK ] # 81.90 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.63 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 83.00 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 83.35 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 83.50 [+0.14] TEST: Tx drop increased [ OK ] # 84.21 [+0.72] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.94 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 85.32 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 85.70 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.86 [+0.16] TEST: Tx drop increased [ OK ] # 101.21 [+15.34] # 101.21 [+0.00] Backup nexthop ID - ping # 101.21 [+0.00] ------------------------ # 106.04 [+4.83] TEST: Ping with backup nexthop ID [ OK ] # 111.67 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 127.05 [+15.37] # 127.05 [+0.00] Backup nexthop ID - torture test # 127.05 [+0.00] -------------------------------- # 158.29 [+31.24] TEST: Torture test [ OK ] # 159.51 [+1.23] # 159.51 [+0.00] Tests passed: 83 # 159.51 [+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__->