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.67 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.94 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.18 [+0.24] TEST: swp1 carrier off [ OK ] # 11.67 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.94 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.17 [+0.23] TEST: swp1 carrier on [ OK ] # 12.35 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.83 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.11 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.35 [+0.24] TEST: swp1 carrier off [ OK ] # 13.80 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 14.07 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.30 [+0.23] TEST: swp1 carrier on [ OK ] # 14.80 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.08 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.24 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.23 [+0.26] TEST: swp1 carrier off [ OK ] # 16.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 16.99 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.25 [+10.26] # 27.25 [+0.00] Backup nexthop ID # 27.25 [+0.00] ----------------- # 28.76 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.22 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.48 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.70 [+0.22] TEST: swp1 carrier off [ OK ] # 30.16 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.41 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.68 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.93 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.14 [+0.21] TEST: swp1 carrier on [ OK ] # 31.30 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.76 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 32.03 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.25 [+0.23] TEST: swp1 carrier off [ OK ] # 32.71 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.97 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.24 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.50 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.71 [+0.21] TEST: swp1 carrier on [ OK ] # 34.18 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.72 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 34.96 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.14 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.62 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.87 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.13 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.40 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.63 [+0.23] TEST: swp1 carrier off [ OK ] # 37.11 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.38 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.65 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.90 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.96 [+10.05] # 47.96 [+0.00] Backup nexthop ID - invalid IDs # 47.96 [+0.00] ------------------------------- # 49.56 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.74 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.96 [+0.22] TEST: swp1 carrier off [ OK ] # 50.44 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.95 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.05 [+0.10] TEST: No Tx drop increase [ OK ] # 51.22 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.68 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.34 [+0.12] TEST: Tx drop increased [ OK ] # 52.58 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.05 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.31 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.57 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.69 [+0.11] TEST: Tx drop increased [ OK ] # 53.87 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.57 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 54.85 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.95 [+0.10] TEST: Tx drop increased [ OK ] # 55.36 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.82 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.32 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 56.44 [+0.12] TEST: Tx drop increased [ OK ] # 66.54 [+10.10] # 66.54 [+0.00] Backup nexthop ID - ping # 66.54 [+0.00] ------------------------ # 69.96 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 75.26 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.18 [+9.92] # 85.18 [+0.00] Backup nexthop ID - torture test # 85.18 [+0.00] -------------------------------- # 115.82 [+30.64] TEST: Torture test [ OK ] # 116.43 [+0.60] # 116.43 [+0.00] Tests passed: 83 # 116.43 [+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__->