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.45 [+5.45] # 5.45 [+0.00] Backup port # 5.45 [+0.00] ----------- # 5.67 [+0.22] TEST: Forwarding out of swp1 [ OK ] # 5.79 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 5.81 [+0.02] TEST: swp1 carrier off [ OK ] # 5.98 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 6.09 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.12 [+0.02] TEST: swp1 carrier on [ OK ] # 6.14 [+0.02] TEST: vx0 configured as backup port of swp1 [ OK ] # 6.29 [+0.15] TEST: Forwarding out of swp1 [ OK ] # 6.41 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 6.80 [+0.40] TEST: swp1 carrier off [ OK ] # 6.96 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 7.07 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 7.10 [+0.02] TEST: swp1 carrier on [ OK ] # 7.26 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 7.38 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.40 [+0.02] TEST: vx0 not configured as backup port of swp1 [ OK ] # 7.57 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 7.69 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 7.82 [+0.13] TEST: swp1 carrier off [ OK ] # 7.96 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 8.08 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 13.63 [+5.55] # 13.63 [+0.00] Backup nexthop ID # 13.63 [+0.00] ----------------- # 13.78 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.94 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.06 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 14.09 [+0.02] TEST: swp1 carrier off [ OK ] # 14.25 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 14.37 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 14.49 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 14.61 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 14.63 [+0.02] TEST: swp1 carrier on [ OK ] # 14.65 [+0.02] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 14.81 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 15.08 [+0.15] TEST: swp1 carrier off [ OK ] # 15.24 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 15.36 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 15.48 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 15.60 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 15.62 [+0.02] TEST: swp1 carrier on [ OK ] # 15.78 [+0.16] TEST: Forwarding out of swp1 [ OK ] # 15.89 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.01 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.12 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.14 [+0.02] TEST: No backup nexthop ID configured for swp1 [ OK ] # 16.31 [+0.17] TEST: Forwarding out of swp1 [ OK ] # 16.42 [+0.12] TEST: No forwarding out of vx0 [ OK ] # 16.54 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 16.66 [+0.12] TEST: No forwarding using VXLAN FDB entry [ OK ] # 16.68 [+0.02] TEST: swp1 carrier off [ OK ] # 16.85 [+0.17] TEST: No forwarding out of swp1 [ OK ] # 16.96 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 17.08 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 17.19 [+0.12] TEST: Forwarding using VXLAN FDB entry [ OK ] # 22.72 [+5.53] # 22.72 [+0.00] Backup nexthop ID - invalid IDs # 22.73 [+0.00] ------------------------------- # 22.88 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 22.90 [+0.02] TEST: Valid nexthop as backup nexthop [ OK ] # 22.92 [+0.02] TEST: swp1 carrier off [ OK ] # 23.07 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 23.19 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.31 [+0.12] TEST: Forwarding using backup nexthop ID [ OK ] # 23.32 [+0.01] TEST: No Tx drop increase [ OK ] # 23.34 [+0.02] TEST: Non-existent nexthop as backup nexthop [ OK ] # 23.50 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 23.62 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 23.74 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 23.75 [+0.01] TEST: Tx drop increased [ OK ] # 23.77 [+0.03] TEST: Blackhole nexthop as backup nexthop [ OK ] # 23.93 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.05 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.16 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.18 [+0.01] TEST: Tx drop increased [ OK ] # 24.19 [+0.02] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 24.36 [+0.16] TEST: No forwarding out of swp1 [ OK ] # 24.48 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 24.60 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 24.61 [+0.01] TEST: Tx drop increased [ OK ] # 24.65 [+0.05] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 24.80 [+0.15] TEST: No forwarding out of swp1 [ OK ] # 24.92 [+0.12] TEST: Forwarding out of vx0 [ OK ] # 25.04 [+0.12] TEST: No forwarding using backup nexthop ID [ OK ] # 25.05 [+0.01] TEST: Tx drop increased [ OK ] # 30.62 [+5.57] # 30.62 [+0.00] Backup nexthop ID - ping # 30.62 [+0.00] ------------------------ # 32.76 [+2.14] TEST: Ping with backup nexthop ID [ OK ] # 37.80 [+5.04] TEST: Ping after disabling backup nexthop ID [ OK ] # 43.32 [+5.52] # 43.32 [+0.00] Backup nexthop ID - torture test # 43.32 [+0.00] -------------------------------- # 73.40 [+30.08] TEST: Torture test [ OK ] # 73.46 [+0.06] # 73.46 [+0.00] Tests passed: 83 # 73.46 [+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__->