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.76 [+9.76] # 9.76 [+0.00] Backup port # 9.76 [+0.00] ----------- # 11.13 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 11.41 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.67 [+0.26] TEST: swp1 carrier off [ OK ] # 12.19 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 12.50 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 12.74 [+0.24] TEST: swp1 carrier on [ OK ] # 12.92 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.43 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.69 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.94 [+0.25] TEST: swp1 carrier off [ OK ] # 14.45 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 14.77 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 15.01 [+0.24] TEST: swp1 carrier on [ OK ] # 15.53 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 15.82 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.01 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.52 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 16.81 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 17.04 [+0.23] TEST: swp1 carrier off [ OK ] # 17.56 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 17.86 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 28.70 [+10.84] # 28.70 [+0.00] Backup nexthop ID # 28.70 [+0.00] ----------------- # 30.35 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.88 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 31.14 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.38 [+0.24] TEST: swp1 carrier off [ OK ] # 31.89 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 32.17 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.43 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 32.73 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 33.00 [+0.27] TEST: swp1 carrier on [ OK ] # 33.20 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.66 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.96 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 34.23 [+0.27] TEST: swp1 carrier off [ OK ] # 34.76 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 35.05 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 35.33 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 35.64 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.88 [+0.25] TEST: swp1 carrier on [ OK ] # 36.37 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.67 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 36.96 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.24 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.44 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.94 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 38.20 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 38.49 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 38.80 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.06 [+0.26] TEST: swp1 carrier off [ OK ] # 39.61 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 39.89 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 40.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 40.43 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.13 [+10.70] # 51.13 [+0.00] Backup nexthop ID - invalid IDs # 51.13 [+0.00] ------------------------------- # 52.74 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.92 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 53.14 [+0.22] TEST: swp1 carrier off [ OK ] # 53.64 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.89 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.17 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 54.26 [+0.09] TEST: No Tx drop increase [ OK ] # 54.44 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.95 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.20 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.46 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.57 [+0.11] TEST: Tx drop increased [ OK ] # 55.83 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 56.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.84 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.95 [+0.11] TEST: Tx drop increased [ OK ] # 57.18 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.69 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 58.00 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 58.26 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.38 [+0.12] TEST: Tx drop increased [ OK ] # 58.87 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 59.35 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 59.62 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 59.88 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 59.97 [+0.10] TEST: Tx drop increased [ OK ] # 70.19 [+10.22] # 70.19 [+0.00] Backup nexthop ID - ping # 70.19 [+0.00] ------------------------ # 73.61 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 78.94 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.24 [+10.31] # 89.25 [+0.00] Backup nexthop ID - torture test # 89.25 [+0.00] -------------------------------- # 119.96 [+30.71] TEST: Torture test [ OK ] # 120.55 [+0.60] # 120.55 [+0.00] Tests passed: 83 # 120.56 [+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__->