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-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: test_bridge_backup_port.sh # 5.50 [+5.50] # 5.50 [+0.00] Backup port # 5.50 [+0.00] ----------- # 5.74 [+0.24] TEST: Forwarding out of swp1 [ OK ] # 5.87 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.72 [+0.86] TEST: swp1 carrier off [ OK ] # 6.89 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.01 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.04 [+0.03] TEST: swp1 carrier on [ OK ] # 7.06 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 7.22 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.34 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.74 [+0.39] TEST: swp1 carrier off [ OK ] # 7.92 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.04 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 8.07 [+0.03] TEST: swp1 carrier on [ OK ] # 8.23 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 8.35 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.38 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.53 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 8.65 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.73 [+0.08] TEST: swp1 carrier off [ OK ] # 8.90 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 9.02 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.75 [+5.73] # 14.75 [+0.00] Backup nexthop ID # 14.75 [+0.00] ----------------- # 14.94 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.10 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 15.22 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.25 [+0.03] TEST: swp1 carrier off [ OK ] # 15.41 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.53 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.66 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.78 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.81 [+0.03] TEST: swp1 carrier on [ OK ] # 15.83 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.00 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.12 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.23 [+0.11] TEST: swp1 carrier off [ OK ] # 16.40 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 16.52 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.64 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.76 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.78 [+0.03] TEST: swp1 carrier on [ OK ] # 16.95 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.31 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.33 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.49 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 17.61 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.73 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.85 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.88 [+0.03] TEST: swp1 carrier off [ OK ] # 18.05 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 18.17 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.29 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.41 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.04 [+5.63] # 24.04 [+0.00] Backup nexthop ID - invalid IDs # 24.04 [+0.00] ------------------------------- # 24.23 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.25 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.27 [+0.03] TEST: swp1 carrier off [ OK ] # 24.45 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 24.57 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.70 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.71 [+0.01] TEST: No Tx drop increase [ OK ] # 24.73 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.90 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.02 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.15 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.16 [+0.01] TEST: Tx drop increased [ OK ] # 25.19 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.37 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.50 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.62 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.63 [+0.01] TEST: Tx drop increased [ OK ] # 25.66 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.83 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.95 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.08 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.09 [+0.01] TEST: Tx drop increased [ OK ] # 26.15 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.31 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 26.43 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.56 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.57 [+0.02] TEST: Tx drop increased [ OK ] # 32.28 [+5.71] # 32.28 [+0.00] Backup nexthop ID - ping # 32.28 [+0.00] ------------------------ # 34.43 [+2.15] TEST: Ping with backup nexthop ID [ OK ] # 39.47 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.12 [+5.64] # 45.12 [+0.00] Backup nexthop ID - torture test # 45.12 [+0.00] -------------------------------- # 75.21 [+30.09] TEST: Torture test [ OK ] # 75.28 [+0.07] # 75.28 [+0.00] Tests passed: 83 # 75.28 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->