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.43 [+9.43] # 9.43 [+0.00] Backup port # 9.43 [+0.00] ----------- # 10.62 [+1.19] TEST: Forwarding out of swp1 [ OK ] # 10.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.10 [+0.21] TEST: swp1 carrier off [ OK ] # 11.58 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.87 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.11 [+0.24] TEST: swp1 carrier on [ OK ] # 12.28 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.73 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 13.01 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.25 [+0.24] TEST: swp1 carrier off [ OK ] # 13.70 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.98 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.20 [+0.22] TEST: swp1 carrier on [ OK ] # 14.67 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.10 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.56 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.83 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.06 [+0.23] TEST: swp1 carrier off [ OK ] # 16.52 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.78 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.14 [+10.35] # 27.14 [+0.00] Backup nexthop ID # 27.14 [+0.00] ----------------- # 28.72 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.19 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.45 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.70 [+0.24] TEST: swp1 carrier off [ OK ] # 30.19 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.44 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.71 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.99 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.21 [+0.22] TEST: swp1 carrier on [ OK ] # 31.38 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.86 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.12 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.33 [+0.21] TEST: swp1 carrier off [ OK ] # 32.83 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.13 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 33.42 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 33.70 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.93 [+0.23] TEST: swp1 carrier on [ OK ] # 34.44 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.71 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.01 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 35.33 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.53 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.03 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.30 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.59 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.86 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.11 [+0.26] TEST: swp1 carrier off [ OK ] # 37.60 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.87 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.20 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 38.49 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.15 [+10.66] # 49.15 [+0.00] Backup nexthop ID - invalid IDs # 49.15 [+0.00] ------------------------------- # 50.85 [+1.70] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.03 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.31 [+0.28] TEST: swp1 carrier off [ OK ] # 51.86 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 52.11 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.38 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.52 [+0.14] TEST: No Tx drop increase [ OK ] # 52.70 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.21 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.47 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.77 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 53.89 [+0.11] TEST: Tx drop increased [ OK ] # 54.15 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.67 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.96 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 55.23 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.37 [+0.13] TEST: Tx drop increased [ OK ] # 55.54 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.04 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.33 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 56.59 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.71 [+0.11] TEST: Tx drop increased [ OK ] # 57.16 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.65 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.92 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 58.20 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 58.32 [+0.12] TEST: Tx drop increased [ OK ] # 68.78 [+10.47] # 68.78 [+0.00] Backup nexthop ID - ping # 68.78 [+0.00] ------------------------ # 72.23 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 77.53 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.75 [+10.22] # 87.75 [+0.00] Backup nexthop ID - torture test # 87.75 [+0.00] -------------------------------- # 118.42 [+30.67] TEST: Torture test [ OK ] # 119.03 [+0.61] # 119.03 [+0.00] Tests passed: 83 # 119.03 [+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__->