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.55 [+5.55] # 5.55 [+0.00] Backup port # 5.55 [+0.00] ----------- # 5.78 [+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.09 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 6.21 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.23 [+0.03] TEST: swp1 carrier on [ OK ] # 6.25 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.42 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.54 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.92 [+0.38] TEST: swp1 carrier off [ OK ] # 7.09 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.23 [+0.14] TEST: Forwarding out of vx0 [ OK ] # 7.33 [+0.10] TEST: swp1 carrier on [ OK ] # 7.57 [+0.24] TEST: Forwarding out of swp1 [ OK ] # 7.80 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 7.86 [+0.06] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.14 [+0.29] TEST: Forwarding out of swp1 [ OK ] # 8.34 [+0.20] TEST: No forwarding out of vx0 [ OK ] # 8.43 [+0.08] TEST: swp1 carrier off [ OK ] # 8.73 [+0.30] TEST: No forwarding out of swp1 [ OK ] # 8.88 [+0.16] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+6.83] # 15.72 [+0.00] Backup nexthop ID # 15.72 [+0.00] ----------------- # 15.93 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.10 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.22 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.25 [+0.03] TEST: swp1 carrier off [ OK ] # 16.43 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 16.55 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.67 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.80 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 16.83 [+0.03] TEST: swp1 carrier on [ OK ] # 16.85 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 17.03 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.15 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.24 [+0.09] TEST: swp1 carrier off [ OK ] # 17.42 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 17.54 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.66 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 17.79 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.82 [+0.03] TEST: swp1 carrier on [ OK ] # 17.99 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 18.11 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.23 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.35 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.37 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 18.54 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 18.66 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 18.78 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.90 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.93 [+0.03] TEST: swp1 carrier off [ OK ] # 19.09 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 19.21 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 19.33 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 19.45 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 25.15 [+5.70] # 25.15 [+0.00] Backup nexthop ID - invalid IDs # 25.15 [+0.00] ------------------------------- # 25.32 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 25.34 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 25.37 [+0.03] TEST: swp1 carrier off [ OK ] # 25.54 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.66 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.78 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 25.79 [+0.01] TEST: No Tx drop increase [ OK ] # 25.81 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.98 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.10 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.22 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.23 [+0.01] TEST: Tx drop increased [ OK ] # 26.26 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 26.43 [+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.69 [+0.01] TEST: Tx drop increased [ OK ] # 26.71 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.88 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 27.01 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.13 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.14 [+0.01] TEST: Tx drop increased [ OK ] # 27.20 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 27.35 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 27.48 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 27.60 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 27.61 [+0.01] TEST: Tx drop increased [ OK ] # 33.29 [+5.68] # 33.29 [+0.00] Backup nexthop ID - ping # 33.29 [+0.00] ------------------------ # 35.46 [+2.17] TEST: Ping with backup nexthop ID [ OK ] # 40.50 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 46.22 [+5.72] # 46.22 [+0.00] Backup nexthop ID - torture test # 46.22 [+0.00] -------------------------------- # 76.32 [+30.10] TEST: Torture test [ OK ] # 76.37 [+0.06] # 76.37 [+0.00] Tests passed: 83 # 76.38 [+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__->