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.50 [+9.50] # 9.50 [+0.00] Backup port # 9.50 [+0.00] ----------- # 10.54 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.82 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.06 [+0.24] TEST: swp1 carrier off [ OK ] # 11.55 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.82 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.05 [+0.23] TEST: swp1 carrier on [ OK ] # 12.22 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.72 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.01 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.26 [+0.25] TEST: swp1 carrier off [ OK ] # 13.76 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.02 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.26 [+0.24] TEST: swp1 carrier on [ OK ] # 14.73 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.99 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.16 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.63 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.91 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.14 [+0.23] TEST: swp1 carrier off [ OK ] # 16.64 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 16.91 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.34 [+10.43] # 27.34 [+0.00] Backup nexthop ID # 27.34 [+0.00] ----------------- # 28.95 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.41 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.71 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 29.95 [+0.24] TEST: swp1 carrier off [ OK ] # 30.45 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 30.73 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 30.99 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 31.26 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.50 [+0.24] TEST: swp1 carrier on [ OK ] # 31.68 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.19 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.45 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.69 [+0.24] TEST: swp1 carrier off [ OK ] # 33.19 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.46 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.74 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.01 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.25 [+0.24] TEST: swp1 carrier on [ OK ] # 34.73 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.03 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 35.30 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.55 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.74 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.23 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.50 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.04 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.27 [+0.23] TEST: swp1 carrier off [ OK ] # 37.77 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 38.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.30 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.58 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.10 [+10.52] # 49.10 [+0.00] Backup nexthop ID - invalid IDs # 49.10 [+0.00] ------------------------------- # 50.77 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.97 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.22 [+0.25] TEST: swp1 carrier off [ OK ] # 51.74 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.26 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 52.37 [+0.11] TEST: No Tx drop increase [ OK ] # 52.54 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.03 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.30 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.56 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.66 [+0.09] TEST: Tx drop increased [ OK ] # 53.93 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.43 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.70 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.95 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.05 [+0.10] TEST: Tx drop increased [ OK ] # 55.22 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.68 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 55.96 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.24 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.34 [+0.10] TEST: Tx drop increased [ OK ] # 56.77 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.26 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.53 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.82 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 57.92 [+0.11] TEST: Tx drop increased [ OK ] # 68.11 [+10.18] # 68.11 [+0.00] Backup nexthop ID - ping # 68.11 [+0.00] ------------------------ # 71.52 [+3.41] TEST: Ping with backup nexthop ID [ OK ] # 76.84 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.00 [+10.17] # 87.00 [+0.00] Backup nexthop ID - torture test # 87.00 [+0.00] -------------------------------- # 117.68 [+30.68] TEST: Torture test [ OK ] # 118.32 [+0.64] # 118.32 [+0.00] Tests passed: 83 # 118.32 [+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__->