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-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh DETECTED CRASH, lowering timeout # 14.50 [+14.50] # 14.50 [+0.00] Backup port # 14.50 [+0.00] ----------- # 16.91 [+2.41] TEST: Forwarding out of swp1 [ OK ] # 17.33 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.76 [+0.43] TEST: swp1 carrier off [ OK ] # 18.58 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 19.02 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 19.40 [+0.38] TEST: swp1 carrier on [ OK ] # 19.69 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.36 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.69 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.03 [+0.34] TEST: swp1 carrier off [ OK ] # 21.66 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 22.03 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 22.38 [+0.35] TEST: swp1 carrier on [ OK ] # 22.99 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 23.34 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 23.61 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.22 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 24.57 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 24.92 [+0.35] TEST: swp1 carrier off [ OK ] # 25.51 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 25.90 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 40.23 [+14.33] # 40.23 [+0.00] Backup nexthop ID # 40.23 [+0.00] ----------------- # 42.45 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.10 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 43.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.79 [+0.34] TEST: swp1 carrier off [ OK ] # 44.42 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 44.77 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.11 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 45.46 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.80 [+0.34] TEST: swp1 carrier on [ OK ] # 46.03 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.68 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 47.00 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.31 [+0.31] TEST: swp1 carrier off [ OK ] # 48.03 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 48.42 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 48.80 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.17 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.50 [+0.33] TEST: swp1 carrier on [ OK ] # 50.12 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 50.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 50.75 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 51.08 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.33 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.95 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 52.29 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 52.61 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 52.95 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.25 [+0.30] TEST: swp1 carrier off [ OK ] # 53.88 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 54.22 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 54.55 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 54.85 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.02 [+13.18] # 68.02 [+0.00] Backup nexthop ID - invalid IDs # 68.02 [+0.00] ------------------------------- # 70.15 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.41 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 70.73 [+0.33] TEST: swp1 carrier off [ OK ] # 71.36 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.72 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.04 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 72.17 [+0.13] TEST: No Tx drop increase [ OK ] # 72.43 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.06 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.38 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 73.71 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.84 [+0.14] TEST: Tx drop increased [ OK ] # 74.20 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.80 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 75.12 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.43 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.57 [+0.14] TEST: Tx drop increased [ OK ] # 75.83 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.40 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 76.74 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.08 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.20 [+0.13] TEST: Tx drop increased [ OK ] # 77.81 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.45 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 78.80 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 79.15 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 79.27 [+0.12] TEST: Tx drop increased [ OK ] # 92.42 [+13.15] # 92.42 [+0.00] Backup nexthop ID - ping # 92.42 [+0.00] ------------------------ # 96.56 [+4.13] TEST: Ping with backup nexthop ID [ OK ] # 102.07 [+5.51] TEST: Ping after disabling backup nexthop ID [ OK ] # 115.05 [+12.98] # 115.05 [+0.00] Backup nexthop ID - torture test # 115.05 [+0.00] -------------------------------- # 146.00 [+30.95] TEST: Torture test [ OK ] # 146.84 [+0.83] # 146.84 [+0.00] Tests passed: 83 # 146.84 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->