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.75 [+5.75] # 5.75 [+0.00] Backup port # 5.75 [+0.00] ----------- # 6.04 [+0.28] TEST: Forwarding out of swp1 [ OK ] # 6.16 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.20 [+0.04] TEST: swp1 carrier off [ OK ] # 6.37 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 6.50 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.53 [+0.03] TEST: swp1 carrier on [ OK ] # 6.55 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.73 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 6.85 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.19 [+0.34] TEST: swp1 carrier off [ OK ] # 7.37 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.50 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.53 [+0.03] TEST: swp1 carrier on [ OK ] # 7.70 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.82 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.84 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.02 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.14 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.20 [+0.05] TEST: swp1 carrier off [ OK ] # 8.36 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.49 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.32 [+5.84] # 14.32 [+0.00] Backup nexthop ID # 14.33 [+0.00] ----------------- # 14.54 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.73 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 14.85 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.89 [+0.03] TEST: swp1 carrier off [ OK ] # 15.05 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.18 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.30 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 15.43 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.47 [+0.04] TEST: swp1 carrier on [ OK ] # 15.49 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.66 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.79 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.88 [+0.10] TEST: swp1 carrier off [ OK ] # 16.07 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 16.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.32 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 16.45 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.48 [+0.04] TEST: swp1 carrier on [ OK ] # 16.65 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 16.77 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 16.90 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.02 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.05 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.23 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.36 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.48 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.61 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.65 [+0.04] TEST: swp1 carrier off [ OK ] # 17.83 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 17.96 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.08 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.21 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.18 [+5.97] # 24.18 [+0.00] Backup nexthop ID - invalid IDs # 24.19 [+0.00] ------------------------------- # 24.42 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.45 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.49 [+0.04] TEST: swp1 carrier off [ OK ] # 24.68 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 24.81 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 24.93 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 24.95 [+0.02] TEST: No Tx drop increase [ OK ] # 24.98 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.14 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.27 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.40 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.42 [+0.02] TEST: Tx drop increased [ OK ] # 25.45 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.63 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.76 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.88 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.90 [+0.02] TEST: Tx drop increased [ OK ] # 25.93 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.11 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.24 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.37 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.39 [+0.02] TEST: Tx drop increased [ OK ] # 26.46 [+0.07] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.65 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.78 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.90 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.92 [+0.02] TEST: Tx drop increased [ OK ] # 32.77 [+5.86] # 32.77 [+0.00] Backup nexthop ID - ping # 32.78 [+0.00] ------------------------ # 34.97 [+2.19] TEST: Ping with backup nexthop ID [ OK ] # 40.02 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.90 [+5.88] # 45.90 [+0.00] Backup nexthop ID - torture test # 45.91 [+0.00] -------------------------------- # 76.03 [+30.13] TEST: Torture test [ OK ] # 76.13 [+0.10] # 76.13 [+0.00] Tests passed: 83 # 76.13 [+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__->