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.67 [+9.67] # 9.67 [+0.00] Backup port # 9.67 [+0.00] ----------- # 10.73 [+1.06] TEST: Forwarding out of swp1 [ OK ] # 11.00 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.24 [+0.24] TEST: swp1 carrier off [ OK ] # 11.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.99 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.23 [+0.24] TEST: swp1 carrier on [ OK ] # 12.41 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.89 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.17 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.41 [+0.24] TEST: swp1 carrier off [ OK ] # 13.89 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.18 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.42 [+0.24] TEST: swp1 carrier on [ OK ] # 14.92 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.88 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 16.17 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.41 [+0.24] TEST: swp1 carrier off [ OK ] # 16.91 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.20 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 27.87 [+10.68] # 27.87 [+0.00] Backup nexthop ID # 27.87 [+0.00] ----------------- # 29.54 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.07 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 30.37 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 30.62 [+0.25] TEST: swp1 carrier off [ OK ] # 31.13 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 31.40 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.70 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 31.96 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.20 [+0.24] TEST: swp1 carrier on [ OK ] # 32.37 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.89 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 33.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.41 [+0.25] TEST: swp1 carrier off [ OK ] # 33.94 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 34.25 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 34.55 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 34.85 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.10 [+0.25] TEST: swp1 carrier on [ OK ] # 35.61 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.90 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 36.18 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.44 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.64 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.15 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 37.43 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.74 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 38.02 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.25 [+0.23] TEST: swp1 carrier off [ OK ] # 38.81 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 39.10 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 39.35 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 39.64 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.33 [+10.69] # 50.33 [+0.00] Backup nexthop ID - invalid IDs # 50.34 [+0.00] ------------------------------- # 52.13 [+1.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.32 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 52.59 [+0.27] TEST: swp1 carrier off [ OK ] # 53.10 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.38 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.67 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 53.77 [+0.10] TEST: No Tx drop increase [ OK ] # 53.96 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.48 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.74 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.02 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.12 [+0.10] TEST: Tx drop increased [ OK ] # 55.39 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.91 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 56.17 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.43 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.55 [+0.11] TEST: Tx drop increased [ OK ] # 56.73 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.25 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 57.53 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.80 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.91 [+0.11] TEST: Tx drop increased [ OK ] # 58.37 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.89 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 59.17 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 59.46 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 59.56 [+0.11] TEST: Tx drop increased [ OK ] # 70.14 [+10.58] # 70.14 [+0.00] Backup nexthop ID - ping # 70.14 [+0.00] ------------------------ # 73.72 [+3.58] TEST: Ping with backup nexthop ID [ OK ] # 79.06 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.59 [+10.52] # 89.59 [+0.00] Backup nexthop ID - torture test # 89.59 [+0.00] -------------------------------- # 120.30 [+30.71] TEST: Torture test [ OK ] # 120.94 [+0.65] # 120.94 [+0.00] Tests passed: 83 # 120.94 [+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__->