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.43 [+5.43] # 5.43 [+0.00] Backup port # 5.43 [+0.00] ----------- # 5.66 [+0.22] TEST: Forwarding out of swp1 [ OK ] # 5.78 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.66 [+0.89] TEST: swp1 carrier off [ OK ] # 6.83 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.95 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.98 [+0.03] TEST: swp1 carrier on [ OK ] # 7.00 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 7.17 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.28 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.67 [+0.39] TEST: swp1 carrier off [ OK ] # 7.82 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 7.94 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.97 [+0.03] TEST: swp1 carrier on [ OK ] # 8.13 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 8.25 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.27 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.43 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 8.55 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.68 [+0.12] TEST: swp1 carrier off [ OK ] # 8.84 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 8.96 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.56 [+5.60] # 14.56 [+0.00] Backup nexthop ID # 14.56 [+0.00] ----------------- # 14.73 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 14.90 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.02 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.04 [+0.02] TEST: swp1 carrier off [ OK ] # 15.20 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.32 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.44 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.56 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.58 [+0.02] TEST: swp1 carrier on [ OK ] # 15.60 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.76 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.88 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.04 [+0.16] TEST: swp1 carrier off [ OK ] # 16.21 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 16.33 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.45 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.58 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.61 [+0.03] TEST: swp1 carrier on [ OK ] # 16.79 [+0.18] TEST: Forwarding out of swp1 [ OK ] # 16.91 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.03 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.15 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.17 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.34 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.47 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.59 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.71 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.74 [+0.03] TEST: swp1 carrier off [ OK ] # 17.92 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 18.04 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.16 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.29 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.98 [+5.69] # 23.98 [+0.00] Backup nexthop ID - invalid IDs # 23.98 [+0.00] ------------------------------- # 24.15 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.17 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.20 [+0.02] TEST: swp1 carrier off [ OK ] # 24.37 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.49 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.62 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.63 [+0.01] TEST: No Tx drop increase [ OK ] # 24.65 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.82 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.94 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.06 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.08 [+0.01] TEST: Tx drop increased [ OK ] # 25.11 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.27 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 25.40 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.52 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.53 [+0.01] TEST: Tx drop increased [ OK ] # 25.55 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.72 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.84 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.96 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.97 [+0.01] TEST: Tx drop increased [ OK ] # 26.02 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.19 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.31 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.43 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.44 [+0.01] TEST: Tx drop increased [ OK ] # 32.03 [+5.59] # 32.03 [+0.00] Backup nexthop ID - ping # 32.03 [+0.00] ------------------------ # 34.17 [+2.15] TEST: Ping with backup nexthop ID [ OK ] # 39.21 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 44.83 [+5.62] # 44.83 [+0.00] Backup nexthop ID - torture test # 44.83 [+0.00] -------------------------------- # 74.92 [+30.09] TEST: Torture test [ OK ] # 75.00 [+0.07] # 75.00 [+0.00] Tests passed: 83 # 75.00 [+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__->