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 # 5.97 [+5.97] # 5.97 [+0.00] Backup port # 5.97 [+0.00] ----------- # 6.25 [+0.29] TEST: Forwarding out of swp1 [ OK ] # 6.38 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.41 [+0.03] TEST: swp1 carrier off [ OK ] # 6.58 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 6.70 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.74 [+0.03] TEST: swp1 carrier on [ OK ] # 6.76 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.93 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.05 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.41 [+0.35] TEST: swp1 carrier off [ OK ] # 7.58 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.70 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.73 [+0.03] TEST: swp1 carrier on [ OK ] # 7.91 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.03 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.05 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.22 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.34 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.40 [+0.06] TEST: swp1 carrier off [ OK ] # 8.58 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.70 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.44 [+5.74] # 14.44 [+0.00] Backup nexthop ID # 14.44 [+0.00] ----------------- # 14.64 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.81 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.96 [+0.03] TEST: swp1 carrier off [ OK ] # 15.13 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.25 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.38 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.50 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.53 [+0.03] TEST: swp1 carrier on [ OK ] # 15.55 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.72 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.84 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.96 [+0.11] TEST: swp1 carrier off [ OK ] # 16.13 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 16.25 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.37 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.50 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.53 [+0.03] TEST: swp1 carrier on [ OK ] # 16.70 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.82 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.94 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.06 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.08 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.26 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.38 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.51 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.63 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.66 [+0.03] TEST: swp1 carrier off [ OK ] # 17.83 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 17.96 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.08 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.20 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.94 [+5.74] # 23.94 [+0.00] Backup nexthop ID - invalid IDs # 23.94 [+0.00] ------------------------------- # 24.13 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.15 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.18 [+0.03] TEST: swp1 carrier off [ OK ] # 24.35 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.47 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.59 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.61 [+0.02] TEST: No Tx drop increase [ OK ] # 24.62 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.79 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.91 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.04 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.05 [+0.01] TEST: Tx drop increased [ OK ] # 25.08 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.25 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.37 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.50 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.52 [+0.02] TEST: Tx drop increased [ OK ] # 25.55 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.74 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 25.87 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.01 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 26.03 [+0.02] TEST: Tx drop increased [ OK ] # 26.13 [+0.09] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.32 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 26.45 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.57 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.59 [+0.02] TEST: Tx drop increased [ OK ] # 32.30 [+5.71] # 32.30 [+0.00] Backup nexthop ID - ping # 32.30 [+0.00] ------------------------ # 34.52 [+2.22] TEST: Ping with backup nexthop ID [ OK ] # 39.57 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.43 [+5.86] # 45.43 [+0.00] Backup nexthop ID - torture test # 45.43 [+0.00] -------------------------------- # 75.54 [+30.11] TEST: Torture test [ OK ] # 75.62 [+0.08] # 75.62 [+0.00] Tests passed: 83 # 75.62 [+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__->