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 # 14.64 [+14.64] # 14.64 [+0.00] Backup port # 14.64 [+0.00] ----------- # 17.15 [+2.51] TEST: Forwarding out of swp1 [ OK ] # 17.63 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 18.14 [+0.50] TEST: swp1 carrier off [ OK ] # 18.96 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 19.44 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 19.86 [+0.42] TEST: swp1 carrier on [ OK ] # 20.18 [+0.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.96 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 21.39 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.78 [+0.39] TEST: swp1 carrier off [ OK ] # 22.46 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 22.84 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 23.18 [+0.35] TEST: swp1 carrier on [ OK ] # 23.87 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 24.21 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 24.48 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.17 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 25.52 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 25.87 [+0.35] TEST: swp1 carrier off [ OK ] # 26.55 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 26.90 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.95 [+21.06] # 47.95 [+0.00] Backup nexthop ID # 47.96 [+0.00] ----------------- # 50.21 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.87 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 51.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 51.58 [+0.34] TEST: swp1 carrier off [ OK ] # 52.20 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 52.54 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 52.87 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 53.19 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 53.55 [+0.36] TEST: swp1 carrier on [ OK ] # 53.82 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 54.42 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 54.77 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 55.10 [+0.33] TEST: swp1 carrier off [ OK ] # 55.78 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 56.10 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 56.46 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 56.80 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.13 [+0.34] TEST: swp1 carrier on [ OK ] # 57.75 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 58.09 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 58.43 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 58.78 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.03 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 59.68 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 60.04 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 60.41 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 60.75 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 61.05 [+0.30] TEST: swp1 carrier off [ OK ] # 61.70 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 62.06 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 62.40 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 62.73 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 75.96 [+13.23] # 75.96 [+0.00] Backup nexthop ID - invalid IDs # 75.96 [+0.00] ------------------------------- # 78.37 [+2.41] TEST: vx0 configured as backup port of swp1 [ OK ] # 78.62 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 78.96 [+0.34] TEST: swp1 carrier off [ OK ] # 79.65 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 79.99 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 80.33 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 80.49 [+0.17] TEST: No Tx drop increase [ OK ] # 80.76 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 81.38 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 81.74 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 82.07 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 82.23 [+0.16] TEST: Tx drop increased [ OK ] # 82.58 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 83.24 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 83.59 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 83.94 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 84.09 [+0.15] TEST: Tx drop increased [ OK ] # 84.34 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 84.99 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 85.33 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 85.69 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 85.84 [+0.15] TEST: Tx drop increased [ OK ] # 86.48 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 87.15 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 87.47 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 87.78 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 87.94 [+0.16] TEST: Tx drop increased [ OK ] # 101.19 [+13.25] # 101.19 [+0.00] Backup nexthop ID - ping # 101.19 [+0.00] ------------------------ # 105.34 [+4.15] TEST: Ping with backup nexthop ID [ OK ] # 110.81 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.02 [+13.21] # 124.02 [+0.00] Backup nexthop ID - torture test # 124.02 [+0.00] -------------------------------- # 155.01 [+30.99] TEST: Torture test [ OK ] # 155.89 [+0.89] # 155.90 [+0.00] Tests passed: 83 # 155.90 [+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__->