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.49 [+5.49] # 5.49 [+0.00] Backup port # 5.49 [+0.00] ----------- # 5.75 [+0.26] TEST: Forwarding out of swp1 [ OK ] # 5.87 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.90 [+0.03] TEST: swp1 carrier off [ OK ] # 6.07 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.19 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.22 [+0.03] TEST: swp1 carrier on [ OK ] # 6.24 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.40 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.52 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.90 [+0.37] TEST: swp1 carrier off [ OK ] # 7.07 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.22 [+0.03] TEST: swp1 carrier on [ OK ] # 7.39 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.51 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.54 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.69 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.82 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.89 [+0.07] TEST: swp1 carrier off [ OK ] # 8.06 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.18 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.79 [+5.61] # 13.79 [+0.00] Backup nexthop ID # 13.79 [+0.00] ----------------- # 13.97 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.14 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 14.26 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.29 [+0.03] TEST: swp1 carrier off [ OK ] # 14.46 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 14.58 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.70 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.82 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.85 [+0.03] TEST: swp1 carrier on [ OK ] # 14.87 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.05 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.29 [+0.12] TEST: swp1 carrier off [ OK ] # 15.47 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.59 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.71 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.83 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.86 [+0.03] TEST: swp1 carrier on [ OK ] # 16.03 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.16 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.28 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.40 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.42 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.59 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.71 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.83 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.95 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.89 [+0.93] 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.01 [+5.59] # 24.01 [+0.00] Backup nexthop ID - invalid IDs # 24.01 [+0.00] ------------------------------- # 24.19 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.21 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.23 [+0.03] TEST: swp1 carrier off [ OK ] # 24.40 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.52 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.64 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.66 [+0.01] TEST: No Tx drop increase [ OK ] # 24.68 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.85 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.97 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.09 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.11 [+0.01] TEST: Tx drop increased [ OK ] # 25.14 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.31 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.43 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.55 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.56 [+0.01] TEST: Tx drop increased [ OK ] # 25.58 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.74 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 25.86 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.98 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.99 [+0.01] TEST: Tx drop increased [ OK ] # 26.04 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.21 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.33 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.46 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.47 [+0.01] TEST: Tx drop increased [ OK ] # 32.07 [+5.60] # 32.07 [+0.00] Backup nexthop ID - ping # 32.07 [+0.00] ------------------------ # 34.26 [+2.19] TEST: Ping with backup nexthop ID [ OK ] # 39.31 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 44.96 [+5.64] # 44.96 [+0.00] Backup nexthop ID - torture test # 44.96 [+0.00] -------------------------------- # 75.05 [+30.09] TEST: Torture test [ OK ] # 75.11 [+0.06] # 75.11 [+0.00] Tests passed: 83 # 75.11 [+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__->