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 # 6.01 [+6.01] # 6.01 [+0.00] Backup port # 6.01 [+0.00] ----------- # 6.29 [+0.28] TEST: Forwarding out of swp1 [ OK ] # 6.42 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.47 [+0.05] TEST: swp1 carrier off [ OK ] # 6.66 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 6.79 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.84 [+0.05] TEST: swp1 carrier on [ OK ] # 6.87 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 7.07 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 7.21 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.47 [+0.26] TEST: swp1 carrier off [ OK ] # 7.67 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 7.80 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.85 [+0.04] TEST: swp1 carrier on [ OK ] # 8.03 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.16 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.19 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.38 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.51 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.55 [+0.04] TEST: swp1 carrier off [ OK ] # 8.75 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 8.88 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.80 [+5.93] # 14.80 [+0.00] Backup nexthop ID # 14.81 [+0.00] ----------------- # 15.03 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.22 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 15.35 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.04] TEST: swp1 carrier off [ OK ] # 15.56 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.68 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.81 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 15.94 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.97 [+0.03] TEST: swp1 carrier on [ OK ] # 15.99 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.17 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.29 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.37 [+0.07] TEST: swp1 carrier off [ OK ] # 16.55 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 16.67 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.80 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.92 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.96 [+0.04] TEST: swp1 carrier on [ OK ] # 17.13 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.25 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.38 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.50 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.53 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.72 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 17.84 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.97 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.09 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.13 [+0.04] TEST: swp1 carrier off [ OK ] # 18.32 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 18.44 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.57 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.70 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.61 [+5.91] # 24.61 [+0.00] Backup nexthop ID - invalid IDs # 24.61 [+0.00] ------------------------------- # 24.84 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.86 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.90 [+0.04] TEST: swp1 carrier off [ OK ] # 25.09 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.21 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.34 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 25.36 [+0.02] TEST: No Tx drop increase [ OK ] # 25.38 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.57 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.69 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.82 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.84 [+0.02] TEST: Tx drop increased [ OK ] # 25.88 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.07 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.19 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.32 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.34 [+0.02] TEST: Tx drop increased [ OK ] # 26.36 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.54 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.67 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.79 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.81 [+0.02] TEST: Tx drop increased [ OK ] # 26.88 [+0.08] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.08 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 27.21 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.34 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.35 [+0.02] TEST: Tx drop increased [ OK ] # 33.25 [+5.90] # 33.25 [+0.00] Backup nexthop ID - ping # 33.25 [+0.00] ------------------------ # 35.47 [+2.22] TEST: Ping with backup nexthop ID [ OK ] # 40.53 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.45 [+5.92] # 46.45 [+0.00] Backup nexthop ID - torture test # 46.45 [+0.00] -------------------------------- # 76.56 [+30.12] TEST: Torture test [ OK ] # 76.67 [+0.11] # 76.67 [+0.00] Tests passed: 83 # 76.67 [+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__->