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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.65 [+9.65] # 9.65 [+0.00] Backup port # 9.65 [+0.00] ----------- # 10.74 [+1.09] TEST: Forwarding out of swp1 [ OK ] # 10.99 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.26 [+0.27] TEST: swp1 carrier off [ OK ] # 11.76 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.04 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.26 [+0.22] TEST: swp1 carrier on [ OK ] # 12.44 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.93 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.21 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.44 [+0.22] TEST: swp1 carrier off [ OK ] # 13.93 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.23 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 14.45 [+0.22] TEST: swp1 carrier on [ OK ] # 14.94 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.23 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.41 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.87 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 16.13 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.36 [+0.23] TEST: swp1 carrier off [ OK ] # 16.86 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.13 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.90 [+10.78] # 27.90 [+0.00] Backup nexthop ID # 27.90 [+0.00] ----------------- # 29.56 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.04 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 30.32 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.59 [+0.26] TEST: swp1 carrier off [ OK ] # 31.07 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.37 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 31.65 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.95 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.24 [+0.29] TEST: swp1 carrier on [ OK ] # 32.44 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.92 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.19 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.43 [+0.24] TEST: swp1 carrier off [ OK ] # 33.91 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 34.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 34.46 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 34.76 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.09 [+0.33] TEST: swp1 carrier on [ OK ] # 35.65 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 35.91 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.20 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.47 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.65 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.12 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 37.40 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.81 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 38.18 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.47 [+0.29] TEST: swp1 carrier off [ OK ] # 39.09 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 39.43 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 39.84 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 40.16 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.22 [+11.06] # 51.22 [+0.00] Backup nexthop ID - invalid IDs # 51.22 [+0.00] ------------------------------- # 53.07 [+1.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 53.28 [+0.21] TEST: Valid nexthop as backup nexthop [ OK ] # 53.53 [+0.25] TEST: swp1 carrier off [ OK ] # 54.01 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.53 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 54.64 [+0.11] TEST: No Tx drop increase [ OK ] # 54.80 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 55.28 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.56 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.80 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 55.90 [+0.11] TEST: Tx drop increased [ OK ] # 56.20 [+0.30] TEST: Blackhole nexthop as backup nexthop [ OK ] # 56.77 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 57.05 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.33 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.43 [+0.10] TEST: Tx drop increased [ OK ] # 57.60 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 58.11 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 58.36 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.65 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 58.76 [+0.11] TEST: Tx drop increased [ OK ] # 59.23 [+0.47] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 59.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 60.03 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 60.31 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 60.40 [+0.10] TEST: Tx drop increased [ OK ] # 71.72 [+11.32] # 71.72 [+0.00] Backup nexthop ID - ping # 71.72 [+0.00] ------------------------ # 75.32 [+3.60] TEST: Ping with backup nexthop ID [ OK ] # 80.69 [+5.37] TEST: Ping after disabling backup nexthop ID [ OK ] # 91.19 [+10.50] # 91.19 [+0.00] Backup nexthop ID - torture test # 91.19 [+0.00] -------------------------------- # 122.06 [+30.86] TEST: Torture test [ OK ] # 122.71 [+0.65] # 122.71 [+0.00] Tests passed: 83 # 122.71 [+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__->