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.18 [+9.18] # 9.18 [+0.00] Backup port # 9.18 [+0.00] ----------- # 10.30 [+1.12] TEST: Forwarding out of swp1 [ OK ] # 10.55 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.77 [+0.23] TEST: swp1 carrier off [ OK ] # 11.20 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 11.45 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.66 [+0.21] TEST: swp1 carrier on [ OK ] # 11.82 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.25 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 12.51 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.72 [+0.21] TEST: swp1 carrier off [ OK ] # 13.16 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.42 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.64 [+0.22] TEST: swp1 carrier on [ OK ] # 14.07 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 14.32 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.49 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 14.94 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.19 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.20] TEST: swp1 carrier off [ OK ] # 15.85 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.10 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.08 [+9.98] # 26.08 [+0.00] Backup nexthop ID # 26.08 [+0.00] ----------------- # 27.54 [+1.47] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.00 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.28 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 28.48 [+0.20] TEST: swp1 carrier off [ OK ] # 28.92 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 29.17 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.42 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 29.68 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 29.88 [+0.20] TEST: swp1 carrier on [ OK ] # 30.04 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.51 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 30.99 [+0.22] TEST: swp1 carrier off [ OK ] # 31.44 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 31.68 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 31.94 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.18 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.39 [+0.21] TEST: swp1 carrier on [ OK ] # 32.84 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.07 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 33.33 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 33.60 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.75 [+0.15] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.21 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.45 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 34.70 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.97 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.19 [+0.22] TEST: swp1 carrier off [ OK ] # 35.65 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 35.91 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.16 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.39 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.31 [+9.92] # 46.31 [+0.00] Backup nexthop ID - invalid IDs # 46.31 [+0.00] ------------------------------- # 47.78 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.94 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.17 [+0.23] TEST: swp1 carrier off [ OK ] # 48.60 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 48.86 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 49.14 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 49.24 [+0.10] TEST: No Tx drop increase [ OK ] # 49.44 [+0.20] TEST: Non-existent nexthop as backup nexthop [ OK ] # 49.92 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.19 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.45 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 50.55 [+0.10] TEST: Tx drop increased [ OK ] # 50.86 [+0.31] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.32 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.58 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.86 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 51.97 [+0.11] TEST: Tx drop increased [ OK ] # 52.14 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 52.72 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 52.97 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.22 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.31 [+0.09] TEST: Tx drop increased [ OK ] # 53.73 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.23 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.75 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.85 [+0.10] TEST: Tx drop increased [ OK ] # 64.85 [+10.00] # 64.85 [+0.00] Backup nexthop ID - ping # 64.85 [+0.00] ------------------------ # 68.32 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 73.62 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.58 [+9.96] # 83.58 [+0.00] Backup nexthop ID - torture test # 83.58 [+0.00] -------------------------------- # 114.23 [+30.65] TEST: Torture test [ OK ] # 114.84 [+0.60] # 114.84 [+0.00] Tests passed: 83 # 114.84 [+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__->