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.77 [+1.75] TEST: Forwarding out of swp1 [ OK ] # 14.11 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.43 [+0.32] TEST: swp1 carrier off [ OK ] # 15.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 15.35 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.66 [+0.32] TEST: swp1 carrier on [ OK ] # 15.90 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.54 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 17.21 [+0.32] TEST: swp1 carrier off [ OK ] # 17.85 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.18 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.49 [+0.31] TEST: swp1 carrier on [ OK ] # 19.08 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.69 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.27 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 20.60 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.90 [+0.30] TEST: swp1 carrier off [ OK ] # 21.55 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 21.87 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.73 [+12.86] # 34.74 [+0.00] Backup nexthop ID # 34.74 [+0.00] ----------------- # 37.01 [+2.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.62 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.97 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 38.28 [+0.32] TEST: swp1 carrier off [ OK ] # 38.86 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 39.21 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.52 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 39.87 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.20 [+0.33] TEST: swp1 carrier on [ OK ] # 40.45 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.06 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 41.40 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.71 [+0.30] TEST: swp1 carrier off [ OK ] # 42.33 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.68 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 43.01 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.35 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.68 [+0.32] TEST: swp1 carrier on [ OK ] # 44.29 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 44.64 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.96 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.28 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.52 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.12 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 46.44 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.77 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.09 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.41 [+0.32] TEST: swp1 carrier off [ OK ] # 48.01 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 48.34 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.65 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 48.98 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.84 [+12.86] # 61.84 [+0.00] Backup nexthop ID - invalid IDs # 61.84 [+0.00] ------------------------------- # 63.98 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.22 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 64.54 [+0.33] TEST: swp1 carrier off [ OK ] # 65.14 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 65.50 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 65.80 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 65.95 [+0.15] TEST: No Tx drop increase [ OK ] # 66.19 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.78 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 67.11 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.44 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 67.57 [+0.13] TEST: Tx drop increased [ OK ] # 67.93 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.58 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 68.90 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 69.21 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.34 [+0.12] TEST: Tx drop increased [ OK ] # 69.57 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.17 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.48 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 70.80 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.93 [+0.13] TEST: Tx drop increased [ OK ] # 71.55 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.16 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 72.47 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.83 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 72.98 [+0.15] TEST: Tx drop increased [ OK ] # 85.82 [+12.84] # 85.82 [+0.00] Backup nexthop ID - ping # 85.82 [+0.00] ------------------------ # 89.85 [+4.03] TEST: Ping with backup nexthop ID [ OK ] # 95.31 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.28 [+12.96] # 108.28 [+0.00] Backup nexthop ID - torture test # 108.28 [+0.00] -------------------------------- # 139.23 [+30.94] TEST: Torture test [ OK ] # 140.04 [+0.81] # 140.04 [+0.00] Tests passed: 83 # 140.04 [+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__->