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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net/lib' 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 # 7.25 [+7.25] # 7.25 [+0.00] Backup port # 7.25 [+0.00] ----------- # 7.52 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 7.64 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.67 [+0.03] TEST: swp1 carrier off [ OK ] # 7.85 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.97 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.00 [+0.03] TEST: swp1 carrier on [ OK ] # 8.03 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 8.20 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.33 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.67 [+0.34] TEST: swp1 carrier off [ OK ] # 8.85 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.97 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 9.00 [+0.03] TEST: swp1 carrier on [ OK ] # 9.18 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 9.30 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 9.32 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 9.49 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 9.61 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 9.67 [+0.06] TEST: swp1 carrier off [ OK ] # 9.85 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 9.97 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+5.75] # 15.72 [+0.00] Backup nexthop ID # 15.72 [+0.00] ----------------- # 15.90 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.07 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.19 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.22 [+0.03] TEST: swp1 carrier off [ OK ] # 16.38 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 16.50 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.62 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.75 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 16.78 [+0.03] TEST: swp1 carrier on [ OK ] # 16.80 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.96 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 17.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.22 [+0.14] TEST: swp1 carrier off [ OK ] # 17.39 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 17.51 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.64 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 17.76 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.79 [+0.03] TEST: swp1 carrier on [ OK ] # 17.97 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 18.09 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.21 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.34 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.36 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 18.54 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 18.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.78 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.91 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.94 [+0.03] TEST: swp1 carrier off [ OK ] # 19.11 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 19.24 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 19.36 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 19.48 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 25.18 [+5.70] # 25.18 [+0.00] Backup nexthop ID - invalid IDs # 25.18 [+0.00] ------------------------------- # 25.38 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 25.40 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 25.43 [+0.03] TEST: swp1 carrier off [ OK ] # 25.61 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.73 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.85 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 25.87 [+0.02] TEST: No Tx drop increase [ OK ] # 25.89 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 26.06 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.18 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.31 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.32 [+0.01] TEST: Tx drop increased [ OK ] # 26.35 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.52 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.65 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.77 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.78 [+0.02] TEST: Tx drop increased [ OK ] # 26.81 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.98 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 27.11 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.23 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.25 [+0.02] TEST: Tx drop increased [ OK ] # 27.31 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.48 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 27.60 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.73 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.74 [+0.01] TEST: Tx drop increased [ OK ] # 33.50 [+5.76] # 33.50 [+0.00] Backup nexthop ID - ping # 33.50 [+0.00] ------------------------ # 35.70 [+2.20] TEST: Ping with backup nexthop ID [ OK ] # 40.75 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.43 [+5.68] # 46.43 [+0.00] Backup nexthop ID - torture test # 46.43 [+0.00] -------------------------------- # 76.53 [+30.10] TEST: Torture test [ OK ] # 76.61 [+0.08] # 76.61 [+0.00] Tests passed: 83 # 76.61 [+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__->