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.61 [+5.61] # 5.61 [+0.00] Backup port # 5.61 [+0.00] ----------- # 5.95 [+0.34] TEST: Forwarding out of swp1 [ OK ] # 6.08 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.12 [+0.05] TEST: swp1 carrier off [ OK ] # 6.31 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 6.44 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.48 [+0.04] TEST: swp1 carrier on [ OK ] # 6.51 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.71 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 6.85 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 7.11 [+0.26] TEST: swp1 carrier off [ OK ] # 7.30 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 7.43 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.48 [+0.04] TEST: swp1 carrier on [ OK ] # 7.67 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 7.80 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.83 [+0.03] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.02 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 8.15 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.19 [+0.04] TEST: swp1 carrier off [ OK ] # 8.37 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 8.50 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.45 [+5.95] # 14.45 [+0.00] Backup nexthop ID # 14.45 [+0.00] ----------------- # 14.69 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.88 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 15.00 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.04 [+0.04] TEST: swp1 carrier off [ OK ] # 15.22 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.35 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.48 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 15.61 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.64 [+0.04] TEST: swp1 carrier on [ OK ] # 15.67 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.85 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.02 [+0.05] TEST: swp1 carrier off [ OK ] # 16.21 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 16.33 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 16.46 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.59 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.62 [+0.04] TEST: swp1 carrier on [ OK ] # 16.80 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.93 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.06 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.18 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.20 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.38 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.51 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.63 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.76 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.79 [+0.03] TEST: swp1 carrier off [ OK ] # 17.98 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 18.10 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.23 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.35 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.19 [+5.83] # 24.19 [+0.00] Backup nexthop ID - invalid IDs # 24.19 [+0.00] ------------------------------- # 24.40 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.42 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.45 [+0.03] TEST: swp1 carrier off [ OK ] # 24.63 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 24.75 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.87 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.89 [+0.01] TEST: No Tx drop increase [ OK ] # 24.91 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.07 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 25.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.32 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.33 [+0.01] TEST: Tx drop increased [ OK ] # 25.37 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.53 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.66 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.78 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.80 [+0.01] TEST: Tx drop increased [ OK ] # 25.82 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.00 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.12 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.24 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.26 [+0.01] TEST: Tx drop increased [ OK ] # 26.32 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.51 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.63 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.75 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.76 [+0.01] TEST: Tx drop increased [ OK ] # 32.50 [+5.74] # 32.50 [+0.00] Backup nexthop ID - ping # 32.50 [+0.00] ------------------------ # 34.69 [+2.19] TEST: Ping with backup nexthop ID [ OK ] # 39.73 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.43 [+5.70] # 45.43 [+0.00] Backup nexthop ID - torture test # 45.43 [+0.00] -------------------------------- # 75.53 [+30.10] TEST: Torture test [ OK ] # 75.61 [+0.08] # 75.61 [+0.00] Tests passed: 83 # 75.61 [+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__->