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.41 [+12.41] # 12.41 [+0.00] Backup port # 12.41 [+0.00] ----------- # 13.86 [+1.45] TEST: Forwarding out of swp1 [ OK ] # 14.23 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 14.54 [+0.31] TEST: swp1 carrier off [ OK ] # 15.20 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.54 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.90 [+0.36] TEST: swp1 carrier on [ OK ] # 16.15 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.80 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 17.15 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.50 [+0.35] TEST: swp1 carrier off [ OK ] # 18.18 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 18.53 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.88 [+0.35] TEST: swp1 carrier on [ OK ] # 19.51 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.83 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.12 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.76 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 21.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.44 [+0.33] TEST: swp1 carrier off [ OK ] # 22.08 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 22.45 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 35.76 [+13.31] # 35.76 [+0.00] Backup nexthop ID # 35.76 [+0.00] ----------------- # 38.07 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.70 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 39.08 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.41 [+0.33] TEST: swp1 carrier off [ OK ] # 40.03 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 40.40 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 40.72 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.08 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.41 [+0.33] TEST: swp1 carrier on [ OK ] # 41.67 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.30 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 42.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 42.95 [+0.32] TEST: swp1 carrier off [ OK ] # 43.59 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.90 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 44.24 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.55 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.89 [+0.33] TEST: swp1 carrier on [ OK ] # 45.56 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 45.90 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.24 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.56 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.84 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.50 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 47.86 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.19 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.55 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.84 [+0.30] TEST: swp1 carrier off [ OK ] # 49.45 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 49.80 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.13 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.47 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.81 [+13.34] # 63.81 [+0.00] Backup nexthop ID - invalid IDs # 63.82 [+0.00] ------------------------------- # 66.21 [+2.40] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.48 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 66.82 [+0.34] TEST: swp1 carrier off [ OK ] # 67.47 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.82 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.14 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 68.30 [+0.16] TEST: No Tx drop increase [ OK ] # 68.55 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.18 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.52 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.89 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 70.05 [+0.15] TEST: Tx drop increased [ OK ] # 70.40 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.00 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.34 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.69 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.84 [+0.15] TEST: Tx drop increased [ OK ] # 72.10 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.72 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 73.09 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 73.40 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 73.55 [+0.15] TEST: Tx drop increased [ OK ] # 74.19 [+0.65] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.83 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 75.17 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.50 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.66 [+0.16] TEST: Tx drop increased [ OK ] # 89.00 [+13.34] # 89.00 [+0.00] Backup nexthop ID - ping # 89.00 [+0.00] ------------------------ # 93.13 [+4.13] TEST: Ping with backup nexthop ID [ OK ] # 98.59 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.94 [+13.35] # 111.94 [+0.00] Backup nexthop ID - torture test # 111.94 [+0.00] -------------------------------- # 142.93 [+30.99] TEST: Torture test [ OK ] # 143.86 [+0.92] # 143.86 [+0.00] Tests passed: 83 # 143.86 [+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__->