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.83 [+11.83] # 11.83 [+0.00] Backup port # 11.83 [+0.00] ----------- # 13.33 [+1.50] TEST: Forwarding out of swp1 [ OK ] # 13.68 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 13.98 [+0.31] TEST: swp1 carrier off [ OK ] # 14.63 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 14.97 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.27 [+0.31] TEST: swp1 carrier on [ OK ] # 15.52 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.14 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 16.46 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.77 [+0.31] TEST: swp1 carrier off [ OK ] # 17.38 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.71 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.04 [+0.32] TEST: swp1 carrier on [ OK ] # 18.63 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.33] TEST: swp1 administratively down [ OK ] # 19.90 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 20.23 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.56 [+0.33] TEST: swp1 administratively up [ OK ] # 21.16 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.46 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.69 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.32 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 22.64 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.95 [+0.30] TEST: swp1 carrier off [ OK ] # 23.55 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 23.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 36.99 [+13.09] # 36.99 [+0.00] Backup nexthop ID # 36.99 [+0.00] ----------------- # 39.14 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.72 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.06 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.38 [+0.32] TEST: swp1 carrier off [ OK ] # 40.96 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.31 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 41.66 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 42.01 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.33 [+0.32] TEST: swp1 carrier on [ OK ] # 42.55 [+0.22] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.16 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 43.51 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.82 [+0.31] TEST: swp1 carrier off [ OK ] # 44.40 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 44.72 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 45.05 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 45.38 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.68 [+0.30] TEST: swp1 carrier on [ OK ] # 46.30 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.60 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 46.91 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.23 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.47 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.04 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.38 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.72 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.07 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.39 [+0.31] TEST: swp1 carrier off [ OK ] # 49.98 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.29 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.61 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.96 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.78 [+12.82] # 63.78 [+0.00] Backup nexthop ID - invalid IDs # 63.78 [+0.00] ------------------------------- # 66.04 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.30 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 66.60 [+0.30] TEST: swp1 carrier off [ OK ] # 67.19 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 67.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.84 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.99 [+0.15] TEST: No Tx drop increase [ OK ] # 68.23 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.81 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 69.15 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.50 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 69.66 [+0.16] TEST: Tx drop increased [ OK ] # 70.02 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.64 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.98 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 71.30 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.44 [+0.14] TEST: Tx drop increased [ OK ] # 71.70 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.31 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.63 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 73.00 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 73.13 [+0.14] TEST: Tx drop increased [ OK ] # 73.70 [+0.56] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.29 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 74.62 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.94 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.09 [+0.15] TEST: Tx drop increased [ OK ] # 88.08 [+12.99] # 88.08 [+0.00] Backup nexthop ID - ping # 88.08 [+0.00] ------------------------ # 92.06 [+3.98] TEST: Ping with backup nexthop ID [ OK ] # 97.51 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.66 [+14.16] # 111.66 [+0.00] Backup nexthop ID - torture test # 111.67 [+0.00] -------------------------------- # 142.64 [+30.97] TEST: Torture test [ OK ] # 143.47 [+0.84] # 143.48 [+0.00] Tests passed: 89 # 143.48 [+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__->