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.48 [+5.48] # 5.48 [+0.00] Backup port # 5.48 [+0.00] ----------- # 5.72 [+0.24] TEST: Forwarding out of swp1 [ OK ] # 5.84 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.80 [+0.96] TEST: swp1 carrier off [ OK ] # 6.95 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 7.07 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.10 [+0.03] TEST: swp1 carrier on [ OK ] # 7.11 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 7.27 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.39 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.81 [+0.41] TEST: swp1 carrier off [ OK ] # 7.98 [+0.18] TEST: No forwarding out of swp1 [ OK ] # 8.10 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 8.13 [+0.03] TEST: swp1 carrier on [ OK ] # 8.30 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.42 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.44 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 8.61 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 8.73 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 8.81 [+0.09] TEST: swp1 carrier off [ OK ] # 8.98 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 9.10 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.68 [+5.58] # 14.68 [+0.00] Backup nexthop ID # 14.69 [+0.00] ----------------- # 14.86 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.01 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 15.13 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.03] TEST: swp1 carrier off [ OK ] # 15.33 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 15.45 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.57 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 15.70 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 15.72 [+0.03] TEST: swp1 carrier on [ OK ] # 15.74 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 15.89 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 16.01 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.16 [+0.14] TEST: swp1 carrier off [ OK ] # 16.32 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 16.44 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 16.56 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 16.68 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.71 [+0.03] TEST: swp1 carrier on [ OK ] # 16.86 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 16.98 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.10 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.22 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.24 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 17.42 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 17.54 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 17.66 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.78 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 17.81 [+0.02] TEST: swp1 carrier off [ OK ] # 17.96 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 18.08 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 18.20 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 18.32 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 23.90 [+5.58] # 23.90 [+0.00] Backup nexthop ID - invalid IDs # 23.90 [+0.00] ------------------------------- # 24.09 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 24.10 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 24.13 [+0.03] TEST: swp1 carrier off [ OK ] # 24.29 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.41 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.53 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 24.55 [+0.01] TEST: No Tx drop increase [ OK ] # 24.57 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 24.74 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 24.86 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.98 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.99 [+0.01] TEST: Tx drop increased [ OK ] # 25.02 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 25.20 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.31 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.43 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.45 [+0.01] TEST: Tx drop increased [ OK ] # 25.47 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 25.64 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 25.76 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.88 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.89 [+0.01] TEST: Tx drop increased [ OK ] # 25.94 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 26.11 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 26.23 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 26.35 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 26.36 [+0.01] TEST: Tx drop increased [ OK ] # 31.96 [+5.60] # 31.96 [+0.00] Backup nexthop ID - ping # 31.96 [+0.00] ------------------------ # 34.11 [+2.15] TEST: Ping with backup nexthop ID [ OK ] # 39.15 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 44.82 [+5.67] # 44.82 [+0.00] Backup nexthop ID - torture test # 44.82 [+0.00] -------------------------------- # 74.91 [+30.09] TEST: Torture test [ OK ] # 74.98 [+0.08] # 74.98 [+0.00] Tests passed: 83 # 74.98 [+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__->