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.48 [+5.48] # 5.48 [+0.00] Backup port # 5.48 [+0.00] ----------- # 5.74 [+0.26] TEST: Forwarding out of swp1 [ OK ] # 5.86 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.80 [+0.94] TEST: swp1 carrier off [ OK ] # 6.97 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.09 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.12 [+0.03] TEST: swp1 carrier on [ OK ] # 7.13 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 7.30 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.42 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.81 [+0.39] TEST: swp1 carrier off [ OK ] # 7.96 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 8.08 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 8.11 [+0.03] TEST: swp1 carrier on [ OK ] # 8.27 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 8.39 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.41 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.58 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.70 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.81 [+0.12] TEST: swp1 carrier off [ OK ] # 8.98 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 9.10 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.75 [+5.65] # 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.11 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.24 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.26 [+0.03] TEST: swp1 carrier off [ OK ] # 15.44 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.56 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.68 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.81 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.83 [+0.03] TEST: swp1 carrier on [ OK ] # 15.86 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.03 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.15 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.26 [+0.11] TEST: swp1 carrier off [ OK ] # 16.43 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 16.55 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.67 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.79 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.82 [+0.03] TEST: swp1 carrier on [ OK ] # 16.99 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.11 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.23 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.35 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.37 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.54 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.78 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.91 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.93 [+0.03] TEST: swp1 carrier off [ OK ] # 18.10 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 18.22 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.34 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.46 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.13 [+5.66] # 24.13 [+0.00] Backup nexthop ID - invalid IDs # 24.13 [+0.00] ------------------------------- # 24.32 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.34 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.37 [+0.03] TEST: swp1 carrier off [ OK ] # 24.53 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 24.65 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.76 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.78 [+0.01] TEST: No Tx drop increase [ OK ] # 24.80 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.95 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 25.07 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.19 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.20 [+0.01] TEST: Tx drop increased [ OK ] # 25.23 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.40 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.52 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.64 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.65 [+0.01] TEST: Tx drop increased [ OK ] # 25.68 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.85 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.96 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.09 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.10 [+0.01] TEST: Tx drop increased [ OK ] # 26.14 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.31 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.44 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.56 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.57 [+0.01] TEST: Tx drop increased [ OK ] # 32.14 [+5.57] # 32.14 [+0.00] Backup nexthop ID - ping # 32.14 [+0.00] ------------------------ # 34.31 [+2.16] TEST: Ping with backup nexthop ID [ OK ] # 39.35 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.08 [+5.73] # 45.08 [+0.00] Backup nexthop ID - torture test # 45.08 [+0.00] -------------------------------- # 75.18 [+30.10] TEST: Torture test [ OK ] # 75.26 [+0.08] # 75.26 [+0.00] Tests passed: 83 # 75.26 [+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__->