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.87 [+5.87] # 5.87 [+0.00] Backup port # 5.87 [+0.00] ----------- # 6.14 [+0.27] TEST: Forwarding out of swp1 [ OK ] # 6.27 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.30 [+0.04] TEST: swp1 carrier off [ OK ] # 6.47 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 6.60 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 6.64 [+0.04] TEST: swp1 carrier on [ OK ] # 6.66 [+0.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.85 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 6.98 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.30 [+0.32] TEST: swp1 carrier off [ OK ] # 7.48 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 7.61 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 7.65 [+0.04] TEST: swp1 carrier on [ OK ] # 7.84 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 7.97 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.00 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.19 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 8.31 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 8.35 [+0.03] TEST: swp1 carrier off [ OK ] # 8.53 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.65 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 14.61 [+5.96] # 14.61 [+0.00] Backup nexthop ID # 14.61 [+0.00] ----------------- # 14.86 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.03 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 15.16 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.04] TEST: swp1 carrier off [ OK ] # 15.39 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 15.52 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 15.64 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 15.77 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.81 [+0.04] TEST: swp1 carrier on [ OK ] # 15.84 [+0.03] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 16.03 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 16.15 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 16.19 [+0.04] TEST: swp1 carrier off [ OK ] # 16.38 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 16.51 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 16.64 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 16.76 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.80 [+0.04] TEST: swp1 carrier on [ OK ] # 16.99 [+0.20] TEST: Forwarding out of swp1 [ OK ] # 17.12 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.25 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.37 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.40 [+0.03] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.59 [+0.19] TEST: Forwarding out of swp1 [ OK ] # 17.72 [+0.13] TEST: No forwarding out of vx0 [ OK ] # 17.85 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 17.97 [+0.13] TEST: No forwarding using VXLAN FDB entry [ OK ] # 18.01 [+0.04] TEST: swp1 carrier off [ OK ] # 18.19 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 18.32 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 18.45 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 18.58 [+0.13] TEST: Forwarding using VXLAN FDB entry [ OK ] # 24.43 [+5.86] # 24.43 [+0.00] Backup nexthop ID - invalid IDs # 24.44 [+0.00] ------------------------------- # 24.67 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.69 [+0.03] TEST: Valid nexthop as backup nexthop [ OK ] # 24.73 [+0.04] TEST: swp1 carrier off [ OK ] # 24.90 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.02 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.15 [+0.13] TEST: Forwarding using backup nexthop ID [ OK ] # 25.16 [+0.01] TEST: No Tx drop increase [ OK ] # 25.18 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 25.36 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 25.49 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.61 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 25.63 [+0.02] TEST: Tx drop increased [ OK ] # 25.67 [+0.04] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.83 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 25.96 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.08 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.10 [+0.02] TEST: Tx drop increased [ OK ] # 26.13 [+0.03] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 26.32 [+0.19] TEST: No forwarding out of swp1 [ OK ] # 26.44 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 26.57 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 26.58 [+0.01] TEST: Tx drop increased [ OK ] # 26.65 [+0.06] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.81 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.94 [+0.13] TEST: Forwarding out of vx0 [ OK ] # 27.07 [+0.13] TEST: No forwarding using backup nexthop ID [ OK ] # 27.09 [+0.02] TEST: Tx drop increased [ OK ] # 32.89 [+5.80] # 32.89 [+0.00] Backup nexthop ID - ping # 32.89 [+0.00] ------------------------ # 35.11 [+2.22] TEST: Ping with backup nexthop ID [ OK ] # 40.16 [+5.05] TEST: Ping after disabling backup nexthop ID [ OK ] # 45.96 [+5.81] # 45.96 [+0.00] Backup nexthop ID - torture test # 45.96 [+0.00] -------------------------------- # 76.07 [+30.10] TEST: Torture test [ OK ] # 76.17 [+0.10] # 76.17 [+0.00] Tests passed: 83 # 76.17 [+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__->