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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 12.02 [+12.02] # 12.02 [+0.00] Backup port # 12.02 [+0.00] ----------- # 13.38 [+1.36] TEST: Forwarding out of swp1 [ OK ] # 13.72 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.04 [+0.31] TEST: swp1 carrier off [ OK ] # 14.72 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 15.04 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.34] TEST: swp1 carrier on [ OK ] # 15.67 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.30 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.64 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.97 [+0.33] TEST: swp1 carrier off [ OK ] # 17.55 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.89 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.21 [+0.32] TEST: swp1 carrier on [ OK ] # 18.81 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.15 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.46 [+0.31] TEST: swp1 administratively down [ OK ] # 20.01 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 20.35 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.65 [+0.30] TEST: swp1 administratively up [ OK ] # 21.26 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.61 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.81 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.38 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 22.71 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.02 [+0.31] TEST: swp1 carrier off [ OK ] # 23.58 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 23.91 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.81 [+12.90] # 36.81 [+0.00] Backup nexthop ID # 36.81 [+0.00] ----------------- # 38.93 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.53 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 39.85 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.18 [+0.32] TEST: swp1 carrier off [ OK ] # 40.78 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 41.10 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.39 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 41.73 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.04 [+0.31] TEST: swp1 carrier on [ OK ] # 42.28 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.89 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.18 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 43.48 [+0.31] TEST: swp1 carrier off [ OK ] # 44.07 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 44.40 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.74 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 45.05 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.36 [+0.30] TEST: swp1 carrier on [ OK ] # 45.94 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 46.29 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.60 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 46.91 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.15 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.73 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.06 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.38 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.72 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.02 [+0.30] TEST: swp1 carrier off [ OK ] # 49.60 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 49.91 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 50.22 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.55 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.35 [+12.80] # 63.35 [+0.00] Backup nexthop ID - invalid IDs # 63.35 [+0.00] ------------------------------- # 65.57 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.81 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.11 [+0.30] TEST: swp1 carrier off [ OK ] # 66.73 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 67.04 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.36 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.51 [+0.15] TEST: No Tx drop increase [ OK ] # 67.76 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.35 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 68.68 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.02 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.16 [+0.15] TEST: Tx drop increased [ OK ] # 69.51 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.12 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.46 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.79 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.93 [+0.14] TEST: Tx drop increased [ OK ] # 71.14 [+0.21] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.71 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 72.03 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.34 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.47 [+0.14] TEST: Tx drop increased [ OK ] # 73.08 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.67 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 73.99 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 74.32 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.45 [+0.13] TEST: Tx drop increased [ OK ] # 87.18 [+12.72] # 87.18 [+0.00] Backup nexthop ID - ping # 87.18 [+0.00] ------------------------ # 91.25 [+4.07] TEST: Ping with backup nexthop ID [ OK ] # 96.69 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.46 [+12.77] # 109.46 [+0.00] Backup nexthop ID - torture test # 109.46 [+0.00] -------------------------------- # 140.40 [+30.94] TEST: Torture test [ OK ] # 141.40 [+1.00] # 141.41 [+0.00] Tests passed: 89 # 141.41 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->