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.66 [+5.66] # 5.66 [+0.00] Backup port # 5.66 [+0.00] ----------- # 5.92 [+0.26] TEST: Forwarding out of swp1 [ OK ] # 6.04 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.07 [+0.03] TEST: swp1 carrier off [ OK ] # 6.23 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 6.35 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.38 [+0.03] TEST: swp1 carrier on [ OK ] # 6.40 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.57 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.69 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.07 [+0.38] TEST: swp1 carrier off [ OK ] # 7.23 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 7.34 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.38 [+0.03] TEST: swp1 carrier on [ OK ] # 7.53 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.65 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.67 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.85 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.97 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.08 [+0.11] TEST: swp1 carrier off [ OK ] # 8.25 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.37 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.10 [+5.73] # 14.12 [+0.02] Backup nexthop ID # 14.12 [+0.00] ----------------- # 15.02 [+0.90] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.34 [+0.32] TEST: Forwarding out of swp1 [ OK ] # 15.54 [+0.19] TEST: No forwarding out of vx0 [ OK ] # 15.62 [+0.08] TEST: swp1 carrier off [ OK ] # 15.83 [+0.21] TEST: No forwarding out of swp1 [ OK ] # 15.98 [+0.14] TEST: Forwarding out of vx0 [ OK ] # 16.11 [+0.14] TEST: No forwarding using backup nexthop ID [ OK ] # 16.25 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 16.29 [+0.04] TEST: swp1 carrier on [ OK ] # 16.32 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.51 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 16.64 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.04] TEST: swp1 carrier off [ OK ] # 16.87 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 17.00 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 17.12 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 17.25 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.28 [+0.03] TEST: swp1 carrier on [ OK ] # 17.46 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.58 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.70 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.83 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.85 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 18.02 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 18.14 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.26 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.39 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.42 [+0.03] TEST: swp1 carrier off [ OK ] # 18.59 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 18.72 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.84 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.96 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.67 [+5.71] # 24.67 [+0.00] Backup nexthop ID - invalid IDs # 24.67 [+0.00] ------------------------------- # 24.87 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.89 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.92 [+0.03] TEST: swp1 carrier off [ OK ] # 25.10 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.22 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.34 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 25.35 [+0.01] TEST: No Tx drop increase [ OK ] # 25.37 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.52 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 25.64 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.77 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.78 [+0.01] TEST: Tx drop increased [ OK ] # 25.81 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.99 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.11 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.23 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.24 [+0.01] TEST: Tx drop increased [ OK ] # 26.26 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.44 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.55 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.67 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.68 [+0.01] TEST: Tx drop increased [ OK ] # 26.73 [+0.04] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.88 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 27.00 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.12 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.13 [+0.01] TEST: Tx drop increased [ OK ] # 32.75 [+5.63] # 32.75 [+0.00] Backup nexthop ID - ping # 32.76 [+0.00] ------------------------ # 34.92 [+2.16] TEST: Ping with backup nexthop ID [ OK ] # 39.96 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.68 [+5.73] # 45.68 [+0.00] Backup nexthop ID - torture test # 45.68 [+0.00] -------------------------------- # 75.78 [+30.10] TEST: Torture test [ OK ] # 75.86 [+0.08] # 75.86 [+0.00] Tests passed: 83 # 75.86 [+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__->