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 # 11.68 [+11.68] # 11.69 [+0.00] Backup port # 11.69 [+0.00] ----------- # 13.43 [+1.74] TEST: Forwarding out of swp1 [ OK ] # 13.73 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 14.05 [+0.32] TEST: swp1 carrier off [ OK ] # 14.65 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.97 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.28 [+0.31] TEST: swp1 carrier on [ OK ] # 15.50 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.12 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.44 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.74 [+0.30] TEST: swp1 carrier off [ OK ] # 17.32 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.62 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 17.93 [+0.31] TEST: swp1 carrier on [ OK ] # 18.50 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 18.80 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 19.11 [+0.31] TEST: swp1 administratively down [ OK ] # 19.69 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 19.99 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 20.30 [+0.31] TEST: swp1 administratively up [ OK ] # 20.87 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 21.19 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.43 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.04 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 22.34 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.66 [+0.32] TEST: swp1 carrier off [ OK ] # 23.26 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 23.57 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 36.33 [+12.77] # 36.33 [+0.00] Backup nexthop ID # 36.34 [+0.00] ----------------- # 38.40 [+2.07] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.98 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 39.28 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 39.59 [+0.31] TEST: swp1 carrier off [ OK ] # 40.16 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 40.47 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 40.81 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.14 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.45 [+0.31] TEST: swp1 carrier on [ OK ] # 41.69 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.30 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 42.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 42.93 [+0.30] TEST: swp1 carrier off [ OK ] # 43.52 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 43.87 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 44.19 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 44.57 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.87 [+0.29] TEST: swp1 carrier on [ OK ] # 45.48 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.80 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.16 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.47 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.70 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.26 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 47.60 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 47.91 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.25 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.54 [+0.28] TEST: swp1 carrier off [ OK ] # 49.11 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 49.42 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 49.72 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 50.04 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.84 [+12.80] # 62.84 [+0.00] Backup nexthop ID - invalid IDs # 62.84 [+0.00] ------------------------------- # 64.87 [+2.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.11 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 65.41 [+0.30] TEST: swp1 carrier off [ OK ] # 65.99 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 66.34 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 66.67 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.81 [+0.13] TEST: No Tx drop increase [ OK ] # 67.05 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.65 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 67.95 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 68.27 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.41 [+0.14] TEST: Tx drop increased [ OK ] # 68.77 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.37 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.68 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.98 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 70.12 [+0.14] TEST: Tx drop increased [ OK ] # 70.39 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.98 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.29 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.59 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 71.73 [+0.14] TEST: Tx drop increased [ OK ] # 72.30 [+0.57] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.90 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 73.23 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.55 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.67 [+0.12] TEST: Tx drop increased [ OK ] # 86.69 [+13.02] # 86.69 [+0.00] Backup nexthop ID - ping # 86.69 [+0.00] ------------------------ # 90.70 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 96.13 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.90 [+12.77] # 108.90 [+0.00] Backup nexthop ID - torture test # 108.90 [+0.00] -------------------------------- # 139.82 [+30.92] TEST: Torture test [ OK ] # 140.69 [+0.87] # 140.69 [+0.00] Tests passed: 89 # 140.69 [+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__->