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.54 [+5.54] # 5.54 [+0.00] Backup port # 5.54 [+0.00] ----------- # 5.79 [+0.24] TEST: Forwarding out of swp1 [ OK ] # 5.90 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.93 [+0.03] TEST: swp1 carrier off [ OK ] # 6.10 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.23 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.25 [+0.03] TEST: swp1 carrier on [ OK ] # 6.27 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.44 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.57 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.93 [+0.37] TEST: swp1 carrier off [ OK ] # 7.10 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.22 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.25 [+0.03] TEST: swp1 carrier on [ OK ] # 7.40 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 7.52 [+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.15] TEST: Forwarding out of swp1 [ OK ] # 7.81 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.94 [+0.13] TEST: swp1 carrier off [ OK ] # 8.10 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 8.21 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.87 [+5.66] # 13.87 [+0.00] Backup nexthop ID # 13.87 [+0.00] ----------------- # 14.50 [+0.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.78 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 14.98 [+0.20] TEST: No forwarding out of vx0 [ OK ] # 15.08 [+0.11] TEST: swp1 carrier off [ OK ] # 15.38 [+0.30] TEST: No forwarding out of swp1 [ OK ] # 15.58 [+0.20] TEST: Forwarding out of vx0 [ OK ] # 15.78 [+0.19] TEST: No forwarding using backup nexthop ID [ OK ] # 15.95 [+0.17] TEST: Forwarding using VXLAN FDB entry [ OK ] # 16.03 [+0.08] TEST: swp1 carrier on [ OK ] # 16.07 [+0.04] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.31 [+0.24] TEST: Forwarding out of swp1 [ OK ] # 16.46 [+0.16] TEST: No forwarding out of vx0 [ OK ] # 16.54 [+0.08] TEST: swp1 carrier off [ OK ] # 16.76 [+0.22] TEST: No forwarding out of swp1 [ OK ] # 16.90 [+0.14] TEST: Forwarding out of vx0 [ OK ] # 17.07 [+0.17] TEST: Forwarding using backup nexthop ID [ OK ] # 17.24 [+0.17] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.30 [+0.06] TEST: swp1 carrier on [ OK ] # 17.50 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 17.64 [+0.14] TEST: No forwarding out of vx0 [ OK ] # 17.78 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.91 [+0.14] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.96 [+0.04] TEST: No backup nexthop ID configured for swp1 [ OK ] # 18.15 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 18.27 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.40 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.52 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.56 [+0.03] TEST: swp1 carrier off [ OK ] # 18.74 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 18.87 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 19.00 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 19.13 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.93 [+5.81] # 24.93 [+0.00] Backup nexthop ID - invalid IDs # 24.93 [+0.00] ------------------------------- # 25.16 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 25.18 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 25.21 [+0.03] TEST: swp1 carrier off [ OK ] # 25.38 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.50 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.63 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 25.64 [+0.01] TEST: No Tx drop increase [ OK ] # 25.66 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.84 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.96 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.09 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.10 [+0.02] TEST: Tx drop increased [ OK ] # 26.14 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.31 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.44 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.56 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.58 [+0.01] TEST: Tx drop increased [ OK ] # 26.60 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.77 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.90 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.02 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.03 [+0.01] TEST: Tx drop increased [ OK ] # 27.09 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.26 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 27.39 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.51 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.52 [+0.01] TEST: Tx drop increased [ OK ] # 33.24 [+5.72] # 33.24 [+0.00] Backup nexthop ID - ping # 33.24 [+0.00] ------------------------ # 35.38 [+2.14] TEST: Ping with backup nexthop ID [ OK ] # 40.42 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.09 [+5.67] # 46.09 [+0.00] Backup nexthop ID - torture test # 46.09 [+0.00] -------------------------------- # 76.18 [+30.09] TEST: Torture test [ OK ] # 76.26 [+0.07] # 76.26 [+0.00] Tests passed: 83 # 76.26 [+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__->