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.64 [+5.64] # 5.64 [+0.00] Backup port # 5.64 [+0.00] ----------- # 5.91 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 6.03 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.06 [+0.03] TEST: swp1 carrier off [ OK ] # 6.22 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 6.34 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.37 [+0.03] TEST: swp1 carrier on [ OK ] # 6.40 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.56 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.69 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.07 [+0.38] TEST: swp1 carrier off [ OK ] # 7.25 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.37 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.40 [+0.03] TEST: swp1 carrier on [ OK ] # 7.57 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.69 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.72 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.89 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.02 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.07 [+0.05] TEST: swp1 carrier off [ OK ] # 8.22 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 8.34 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.12 [+5.77] # 14.12 [+0.00] Backup nexthop ID # 14.12 [+0.00] ----------------- # 14.31 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.48 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 14.60 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.64 [+0.03] TEST: swp1 carrier off [ OK ] # 14.81 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 14.93 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.06 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.19 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.22 [+0.03] TEST: swp1 carrier on [ OK ] # 15.24 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.42 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 15.55 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.62 [+0.07] TEST: swp1 carrier off [ OK ] # 15.80 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.92 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.05 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.17 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.20 [+0.04] TEST: swp1 carrier on [ OK ] # 16.38 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.50 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.62 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.74 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.76 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.94 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.06 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.32 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.35 [+0.04] TEST: swp1 carrier off [ OK ] # 17.54 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 17.66 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 17.79 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.92 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.69 [+5.78] # 23.70 [+0.00] Backup nexthop ID - invalid IDs # 23.70 [+0.00] ------------------------------- # 23.91 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 23.93 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 23.96 [+0.03] TEST: swp1 carrier off [ OK ] # 24.13 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.26 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 24.38 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.40 [+0.01] TEST: No Tx drop increase [ OK ] # 24.42 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.59 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.71 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 24.84 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 24.85 [+0.01] TEST: Tx drop increased [ OK ] # 24.89 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.07 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.31 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.33 [+0.02] TEST: Tx drop increased [ OK ] # 25.36 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.53 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.65 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.77 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.79 [+0.02] TEST: Tx drop increased [ OK ] # 25.84 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.03 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.15 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.27 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.29 [+0.02] TEST: Tx drop increased [ OK ] # 32.06 [+5.78] # 32.06 [+0.00] Backup nexthop ID - ping # 32.07 [+0.00] ------------------------ # 34.23 [+2.17] TEST: Ping with backup nexthop ID [ OK ] # 39.28 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.02 [+5.74] # 45.02 [+0.00] Backup nexthop ID - torture test # 45.02 [+0.00] -------------------------------- # 75.11 [+30.10] TEST: Torture test [ OK ] # 75.19 [+0.08] # 75.19 [+0.00] Tests passed: 83 # 75.19 [+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__->