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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.80 [+9.80] # 9.80 [+0.00] Backup port # 9.80 [+0.00] ----------- # 11.02 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 11.28 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.54 [+0.26] TEST: swp1 carrier off [ OK ] # 12.06 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 12.33 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.59 [+0.26] TEST: swp1 carrier on [ OK ] # 12.80 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.30 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.58 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.82 [+0.23] TEST: swp1 carrier off [ OK ] # 14.33 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 14.61 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.85 [+0.24] TEST: swp1 carrier on [ OK ] # 15.40 [+0.54] TEST: Forwarding out of swp1 [ OK ] # 15.69 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.86 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.37 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 16.63 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.87 [+0.24] TEST: swp1 carrier off [ OK ] # 17.39 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 17.67 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 28.34 [+10.67] # 28.34 [+0.00] Backup nexthop ID # 28.34 [+0.00] ----------------- # 29.97 [+1.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.43 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 30.73 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 30.98 [+0.24] TEST: swp1 carrier off [ OK ] # 31.45 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 31.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.98 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 32.26 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.49 [+0.23] TEST: swp1 carrier on [ OK ] # 32.66 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.16 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 33.44 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.68 [+0.24] TEST: swp1 carrier off [ OK ] # 34.19 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 34.48 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 34.73 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.99 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.22 [+0.23] TEST: swp1 carrier on [ OK ] # 35.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.99 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.26 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.53 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.71 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.18 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 37.46 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.73 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.99 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.23 [+0.24] TEST: swp1 carrier off [ OK ] # 38.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 39.00 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 39.25 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 39.52 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.91 [+10.39] # 49.91 [+0.00] Backup nexthop ID - invalid IDs # 49.92 [+0.00] ------------------------------- # 51.50 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.68 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.90 [+0.22] TEST: swp1 carrier off [ OK ] # 52.41 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 52.66 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.95 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 53.04 [+0.10] TEST: No Tx drop increase [ OK ] # 53.21 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.96 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.23 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.33 [+0.10] TEST: Tx drop increased [ OK ] # 54.60 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.08 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.58 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.70 [+0.11] TEST: Tx drop increased [ OK ] # 55.88 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.35 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.60 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.86 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.97 [+0.12] TEST: Tx drop increased [ OK ] # 57.42 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 58.15 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.42 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 58.54 [+0.11] TEST: Tx drop increased [ OK ] # 68.82 [+10.29] # 68.82 [+0.00] Backup nexthop ID - ping # 68.82 [+0.00] ------------------------ # 72.26 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 77.58 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.94 [+10.36] # 87.94 [+0.00] Backup nexthop ID - torture test # 87.94 [+0.00] -------------------------------- # 118.63 [+30.69] TEST: Torture test [ OK ] # 119.27 [+0.64] # 119.27 [+0.00] Tests passed: 83 # 119.27 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->