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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.61 [+0.00] ----------- # 10.92 [+1.31] TEST: Forwarding out of swp1 [ OK ] # 11.18 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.46 [+0.27] TEST: swp1 carrier off [ OK ] # 11.96 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.28 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 12.54 [+0.25] TEST: swp1 carrier on [ OK ] # 12.73 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.28 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 13.56 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.84 [+0.28] TEST: swp1 carrier off [ OK ] # 14.33 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.58 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.82 [+0.24] TEST: swp1 carrier on [ OK ] # 15.27 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.55 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.73 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.20 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.48 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 16.71 [+0.23] TEST: swp1 carrier off [ OK ] # 17.20 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.46 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.90 [+10.45] # 27.90 [+0.00] Backup nexthop ID # 27.91 [+0.00] ----------------- # 29.54 [+1.64] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.05 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 30.33 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.58 [+0.25] TEST: swp1 carrier off [ OK ] # 31.08 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.36 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.63 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.90 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.13 [+0.23] TEST: swp1 carrier on [ OK ] # 32.29 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.75 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.25 [+0.25] TEST: swp1 carrier off [ OK ] # 33.73 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 34.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.28 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.55 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.78 [+0.23] TEST: swp1 carrier on [ OK ] # 35.29 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 35.53 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.81 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.08 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.27 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.77 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 37.03 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 37.30 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.59 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.83 [+0.24] TEST: swp1 carrier off [ OK ] # 38.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 38.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.86 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.14 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.73 [+10.59] # 49.73 [+0.00] Backup nexthop ID - invalid IDs # 49.73 [+0.00] ------------------------------- # 51.32 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.49 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.72 [+0.23] TEST: swp1 carrier off [ OK ] # 52.25 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.51 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.77 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.88 [+0.11] TEST: No Tx drop increase [ OK ] # 53.06 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.57 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.86 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.13 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.25 [+0.12] TEST: Tx drop increased [ OK ] # 54.50 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.98 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.23 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.49 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.60 [+0.11] TEST: Tx drop increased [ OK ] # 55.79 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.28 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.56 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.83 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.95 [+0.12] TEST: Tx drop increased [ OK ] # 57.39 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.90 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 58.16 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 58.44 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.53 [+0.09] TEST: Tx drop increased [ OK ] # 69.10 [+10.57] # 69.10 [+0.00] Backup nexthop ID - ping # 69.10 [+0.00] ------------------------ # 72.60 [+3.50] TEST: Ping with backup nexthop ID [ OK ] # 77.94 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.37 [+10.43] # 88.37 [+0.00] Backup nexthop ID - torture test # 88.37 [+0.00] -------------------------------- # 119.07 [+30.70] TEST: Torture test [ OK ] # 119.74 [+0.68] # 119.74 [+0.00] Tests passed: 83 # 119.75 [+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__->