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 # 12.81 [+12.81] # 12.81 [+0.00] Backup port # 12.81 [+0.00] ----------- # 14.83 [+2.01] TEST: Forwarding out of swp1 [ OK ] # 15.15 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.52 [+0.37] TEST: swp1 carrier off [ OK ] # 16.16 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 16.52 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.85 [+0.33] TEST: swp1 carrier on [ OK ] # 17.11 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.81 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 18.15 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.47 [+0.32] TEST: swp1 carrier off [ OK ] # 19.13 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 19.50 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.87 [+0.38] TEST: swp1 carrier on [ OK ] # 20.53 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.88 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.16 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.87 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 22.23 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 22.57 [+0.34] TEST: swp1 carrier off [ OK ] # 23.23 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 23.58 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 38.02 [+14.43] # 38.02 [+0.00] Backup nexthop ID # 38.02 [+0.00] ----------------- # 40.41 [+2.39] TEST: vx0 configured as backup port of swp1 [ OK ] # 41.07 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 41.41 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 41.75 [+0.35] TEST: swp1 carrier off [ OK ] # 42.39 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 42.72 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 43.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 43.40 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.72 [+0.33] TEST: swp1 carrier on [ OK ] # 43.96 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.60 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 44.94 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 45.26 [+0.31] TEST: swp1 carrier off [ OK ] # 45.89 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 46.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 46.56 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 46.89 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.23 [+0.33] TEST: swp1 carrier on [ OK ] # 47.85 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.20 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.58 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 48.97 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.31 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 50.03 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.38 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 50.74 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.10 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.43 [+0.34] TEST: swp1 carrier off [ OK ] # 52.10 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 52.46 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 52.82 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 53.18 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.29 [+14.12] # 67.30 [+0.00] Backup nexthop ID - invalid IDs # 67.30 [+0.00] ------------------------------- # 69.72 [+2.43] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.02 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 70.35 [+0.33] TEST: swp1 carrier off [ OK ] # 71.04 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 71.36 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.70 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 71.86 [+0.16] TEST: No Tx drop increase [ OK ] # 72.13 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.74 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.08 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.39 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 73.53 [+0.13] TEST: Tx drop increased [ OK ] # 73.88 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.53 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 74.90 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 75.27 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 75.40 [+0.14] TEST: Tx drop increased [ OK ] # 75.67 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.34 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 76.70 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 77.07 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.23 [+0.16] TEST: Tx drop increased [ OK ] # 77.90 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.54 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 78.90 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 79.24 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 79.42 [+0.18] TEST: Tx drop increased [ OK ] # 93.49 [+14.07] # 93.49 [+0.00] Backup nexthop ID - ping # 93.49 [+0.00] ------------------------ # 97.79 [+4.30] TEST: Ping with backup nexthop ID [ OK ] # 103.23 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 117.14 [+13.90] # 117.14 [+0.00] Backup nexthop ID - torture test # 117.14 [+0.00] -------------------------------- # 148.26 [+31.12] TEST: Torture test [ OK ] # 149.22 [+0.95] # 149.22 [+0.00] Tests passed: 83 # 149.22 [+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__->