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.69 [+5.69] # 5.69 [+0.00] Backup port # 5.69 [+0.00] ----------- # 5.99 [+0.30] TEST: Forwarding out of swp1 [ OK ] # 6.11 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.14 [+0.03] TEST: swp1 carrier off [ OK ] # 6.32 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 6.44 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.47 [+0.03] TEST: swp1 carrier on [ OK ] # 6.49 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.66 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 6.79 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.13 [+0.34] TEST: swp1 carrier off [ OK ] # 7.29 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 7.41 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.44 [+0.03] TEST: swp1 carrier on [ OK ] # 7.61 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.73 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.75 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.92 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 8.05 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.14 [+0.10] TEST: swp1 carrier off [ OK ] # 8.31 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.44 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.17 [+5.74] # 14.17 [+0.00] Backup nexthop ID # 14.17 [+0.00] ----------------- # 14.39 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.55 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.67 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.70 [+0.03] TEST: swp1 carrier off [ OK ] # 14.88 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.00 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.12 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.25 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.29 [+0.04] TEST: swp1 carrier on [ OK ] # 15.32 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.50 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 15.62 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.69 [+0.06] TEST: swp1 carrier off [ OK ] # 15.86 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.98 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.10 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.23 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.26 [+0.03] TEST: swp1 carrier on [ OK ] # 16.43 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.55 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.67 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.80 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.82 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.98 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 17.10 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.22 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.35 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.38 [+0.03] TEST: swp1 carrier off [ OK ] # 17.54 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 17.66 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.78 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.91 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.65 [+5.74] # 23.65 [+0.00] Backup nexthop ID - invalid IDs # 23.65 [+0.00] ------------------------------- # 23.84 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 23.86 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 23.89 [+0.03] TEST: swp1 carrier off [ OK ] # 24.05 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.17 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.30 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.31 [+0.01] TEST: No Tx drop increase [ OK ] # 24.33 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.50 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.62 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.75 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.76 [+0.02] TEST: Tx drop increased [ OK ] # 24.79 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 24.97 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.09 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.21 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.22 [+0.01] TEST: Tx drop increased [ OK ] # 25.24 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.41 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.54 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.66 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.67 [+0.01] TEST: Tx drop increased [ OK ] # 25.73 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 25.90 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.02 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.15 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.16 [+0.01] TEST: Tx drop increased [ OK ] # 31.89 [+5.73] # 31.89 [+0.00] Backup nexthop ID - ping # 31.89 [+0.00] ------------------------ # 34.08 [+2.19] TEST: Ping with backup nexthop ID [ OK ] # 39.12 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 44.88 [+5.75] # 44.88 [+0.00] Backup nexthop ID - torture test # 44.88 [+0.00] -------------------------------- # 74.98 [+30.10] TEST: Torture test [ OK ] # 75.07 [+0.09] # 75.07 [+0.00] Tests passed: 83 # 75.07 [+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__->