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.92 [+5.92] # 5.92 [+0.00] Backup port # 5.92 [+0.00] ----------- # 6.23 [+0.31] TEST: Forwarding out of swp1 [ OK ] # 6.35 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.39 [+0.03] TEST: swp1 carrier off [ OK ] # 6.56 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 6.69 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.73 [+0.04] TEST: swp1 carrier on [ OK ] # 6.75 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.92 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.05 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 7.38 [+0.33] TEST: swp1 carrier off [ OK ] # 7.55 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 7.68 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.71 [+0.03] TEST: swp1 carrier on [ OK ] # 7.87 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.99 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.01 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.18 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 8.30 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.38 [+0.08] TEST: swp1 carrier off [ OK ] # 8.56 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.68 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.41 [+5.73] # 14.41 [+0.00] Backup nexthop ID # 14.41 [+0.00] ----------------- # 14.60 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.77 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 14.89 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.92 [+0.03] TEST: swp1 carrier off [ OK ] # 15.09 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.21 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.33 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.46 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.48 [+0.03] TEST: swp1 carrier on [ OK ] # 15.51 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.68 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.80 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.92 [+0.12] TEST: swp1 carrier off [ OK ] # 16.10 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 16.22 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.34 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.46 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.49 [+0.03] TEST: swp1 carrier on [ OK ] # 16.67 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.79 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.92 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.04 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.06 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.24 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 17.36 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.49 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.61 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.64 [+0.03] TEST: swp1 carrier off [ OK ] # 17.82 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 17.94 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.06 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.18 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.87 [+5.68] # 23.87 [+0.00] Backup nexthop ID - invalid IDs # 23.87 [+0.00] ------------------------------- # 24.16 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.19 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.23 [+0.04] TEST: swp1 carrier off [ OK ] # 24.42 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 24.56 [+0.14] TEST: Forwarding out of vx0 [ OK ] # 24.70 [+0.14] TEST: Forwarding using backup nexthop ID [ OK ] # 24.72 [+0.02] TEST: No Tx drop increase [ OK ] # 24.75 [+0.03] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.95 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 25.08 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.21 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.23 [+0.02] TEST: Tx drop increased [ OK ] # 25.27 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.46 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.59 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 25.72 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.74 [+0.02] TEST: Tx drop increased [ OK ] # 25.77 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.96 [+0.20] TEST: No forwarding out of swp1 [ OK ] # 26.09 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.22 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.23 [+0.02] TEST: Tx drop increased [ OK ] # 26.30 [+0.07] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.48 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 26.61 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.74 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.75 [+0.02] TEST: Tx drop increased [ OK ] # 32.64 [+5.89] # 32.64 [+0.00] Backup nexthop ID - ping # 32.64 [+0.00] ------------------------ # 34.86 [+2.22] TEST: Ping with backup nexthop ID [ OK ] # 39.91 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.77 [+5.86] # 45.77 [+0.00] Backup nexthop ID - torture test # 45.78 [+0.00] -------------------------------- # 75.87 [+30.10] TEST: Torture test [ OK ] # 75.96 [+0.08] # 75.96 [+0.00] Tests passed: 83 # 75.96 [+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__->