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.65 [+12.65] # 12.65 [+0.00] Backup port # 12.65 [+0.00] ----------- # 14.49 [+1.84] TEST: Forwarding out of swp1 [ OK ] # 14.84 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.33] TEST: swp1 carrier off [ OK ] # 15.83 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 16.19 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.54 [+0.35] TEST: swp1 carrier on [ OK ] # 16.78 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.45 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.82 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 18.17 [+0.35] TEST: swp1 carrier off [ OK ] # 18.80 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 19.13 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.47 [+0.34] TEST: swp1 carrier on [ OK ] # 20.11 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 20.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.73 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.36 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.68 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.03 [+0.35] TEST: swp1 carrier off [ OK ] # 22.65 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 23.04 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 37.05 [+14.00] # 37.05 [+0.00] Backup nexthop ID # 37.05 [+0.00] ----------------- # 39.50 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.11 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.47 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 40.82 [+0.36] TEST: swp1 carrier off [ OK ] # 41.54 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 41.91 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 42.29 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 42.66 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.98 [+0.32] TEST: swp1 carrier on [ OK ] # 43.28 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.00 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 44.34 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.70 [+0.35] TEST: swp1 carrier off [ OK ] # 45.40 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 45.72 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 46.06 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 46.38 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.73 [+0.35] TEST: swp1 carrier on [ OK ] # 47.37 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 47.74 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 48.13 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 48.48 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.76 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.79 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 50.16 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 50.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 50.84 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.16 [+0.32] TEST: swp1 carrier off [ OK ] # 51.83 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 52.18 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 52.54 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.89 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.74 [+13.85] # 66.74 [+0.00] Backup nexthop ID - invalid IDs # 66.74 [+0.00] ------------------------------- # 69.09 [+2.35] TEST: vx0 configured as backup port of swp1 [ OK ] # 69.38 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 69.72 [+0.35] TEST: swp1 carrier off [ OK ] # 70.43 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 70.81 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 71.16 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 71.31 [+0.15] TEST: No Tx drop increase [ OK ] # 71.57 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 72.21 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.59 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 72.96 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.12 [+0.16] TEST: Tx drop increased [ OK ] # 73.49 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.19 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 74.55 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.87 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 75.02 [+0.15] TEST: Tx drop increased [ OK ] # 75.28 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.96 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 76.28 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.65 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 76.82 [+0.17] TEST: Tx drop increased [ OK ] # 77.50 [+0.68] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.18 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 78.53 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 78.89 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.03 [+0.14] TEST: Tx drop increased [ OK ] # 92.83 [+13.79] # 92.83 [+0.00] Backup nexthop ID - ping # 92.83 [+0.00] ------------------------ # 97.19 [+4.36] TEST: Ping with backup nexthop ID [ OK ] # 102.64 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.28 [+13.64] # 116.28 [+0.00] Backup nexthop ID - torture test # 116.28 [+0.00] -------------------------------- # 147.28 [+31.00] TEST: Torture test [ OK ] # 148.21 [+0.93] # 148.21 [+0.00] Tests passed: 83 # 148.21 [+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__->