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.44 [+5.44] # 5.44 [+0.00] Backup port # 5.44 [+0.00] ----------- # 5.65 [+0.21] TEST: Forwarding out of swp1 [ OK ] # 5.77 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.79 [+0.02] TEST: swp1 carrier off [ OK ] # 5.95 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 6.07 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.09 [+0.02] TEST: swp1 carrier on [ OK ] # 6.11 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.28 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.40 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.79 [+0.40] TEST: swp1 carrier off [ OK ] # 6.95 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 7.07 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.09 [+0.02] TEST: swp1 carrier on [ OK ] # 7.24 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.36 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.38 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.54 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.80 [+0.14] TEST: swp1 carrier off [ OK ] # 7.97 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.64 [+5.56] # 13.64 [+0.00] Backup nexthop ID # 13.64 [+0.00] ----------------- # 13.79 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.96 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.07 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.10 [+0.02] TEST: swp1 carrier off [ OK ] # 14.26 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 14.38 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.50 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.61 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.64 [+0.02] TEST: swp1 carrier on [ OK ] # 14.65 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 14.81 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.10 [+0.17] TEST: swp1 carrier off [ OK ] # 15.26 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.37 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.49 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.61 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.63 [+0.02] TEST: swp1 carrier on [ OK ] # 15.80 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.92 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.04 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.16 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.17 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.34 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 16.45 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.57 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.69 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.71 [+0.02] TEST: swp1 carrier off [ OK ] # 16.87 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 16.99 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.10 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.22 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 22.73 [+5.51] # 22.73 [+0.00] Backup nexthop ID - invalid IDs # 22.73 [+0.00] ------------------------------- # 22.88 [+0.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 22.89 [+0.01] TEST: Valid nexthop as backup nexthop [ OK ] # 22.91 [+0.02] TEST: swp1 carrier off [ OK ] # 23.07 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 23.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.31 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 23.32 [+0.01] TEST: No Tx drop increase [ OK ] # 23.34 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 23.49 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 23.61 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.72 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 23.73 [+0.01] TEST: Tx drop increased [ OK ] # 23.76 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 23.92 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.04 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.16 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.17 [+0.01] TEST: Tx drop increased [ OK ] # 24.19 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 24.35 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.46 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.58 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.59 [+0.01] TEST: Tx drop increased [ OK ] # 24.63 [+0.04] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 24.79 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.91 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.03 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.04 [+0.01] TEST: Tx drop increased [ OK ] # 30.54 [+5.50] # 30.54 [+0.00] Backup nexthop ID - ping # 30.54 [+0.00] ------------------------ # 32.67 [+2.13] TEST: Ping with backup nexthop ID [ OK ] # 37.71 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 43.20 [+5.49] # 43.20 [+0.00] Backup nexthop ID - torture test # 43.20 [+0.00] -------------------------------- # 73.28 [+30.08] TEST: Torture test [ OK ] # 73.33 [+0.06] # 73.33 [+0.00] Tests passed: 83 # 73.33 [+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__->