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.55 [+9.55] # 9.55 [+0.00] Backup port # 9.55 [+0.00] ----------- # 10.62 [+1.07] TEST: Forwarding out of swp1 [ OK ] # 10.90 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.11 [+0.21] TEST: swp1 carrier off [ OK ] # 11.57 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.08 [+0.23] TEST: swp1 carrier on [ OK ] # 12.26 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.74 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.01 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.23 [+0.21] TEST: swp1 carrier off [ OK ] # 13.73 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.22 [+0.24] TEST: swp1 carrier on [ OK ] # 14.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.66 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.93 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.18 [+0.25] TEST: swp1 carrier off [ OK ] # 16.66 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.94 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.58 [+10.64] # 27.58 [+0.00] Backup nexthop ID # 27.58 [+0.00] ----------------- # 29.20 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.68 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.96 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.20 [+0.24] TEST: swp1 carrier off [ OK ] # 30.68 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.95 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.51 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.73 [+0.22] TEST: swp1 carrier on [ OK ] # 31.91 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.42 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 32.69 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.93 [+0.24] TEST: swp1 carrier off [ OK ] # 33.40 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.69 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 33.95 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.21 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.44 [+0.23] TEST: swp1 carrier on [ OK ] # 34.95 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 35.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.49 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.77 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.95 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.44 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.96 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.25 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.50 [+0.25] TEST: swp1 carrier off [ OK ] # 38.02 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 38.28 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.81 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.52 [+10.71] # 49.52 [+0.00] Backup nexthop ID - invalid IDs # 49.52 [+0.00] ------------------------------- # 51.25 [+1.73] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.42 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.70 [+0.28] TEST: swp1 carrier off [ OK ] # 52.21 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.47 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.72 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 52.82 [+0.10] TEST: No Tx drop increase [ OK ] # 53.00 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.48 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.76 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.07 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 54.16 [+0.09] TEST: Tx drop increased [ OK ] # 54.43 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.03 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 55.34 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 55.62 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.73 [+0.11] TEST: Tx drop increased [ OK ] # 55.91 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.39 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.63 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.90 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.99 [+0.09] TEST: Tx drop increased [ OK ] # 57.41 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.88 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 58.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.39 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 58.49 [+0.10] TEST: Tx drop increased [ OK ] # 68.58 [+10.09] # 68.58 [+0.00] Backup nexthop ID - ping # 68.58 [+0.00] ------------------------ # 72.07 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 77.38 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.53 [+10.15] # 87.53 [+0.00] Backup nexthop ID - torture test # 87.53 [+0.00] -------------------------------- # 118.20 [+30.67] TEST: Torture test [ OK ] # 118.88 [+0.68] # 118.88 [+0.00] Tests passed: 83 # 118.88 [+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__->