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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 10.88 [+1.30] TEST: Forwarding out of swp1 [ OK ] # 11.13 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.37 [+0.24] TEST: swp1 carrier off [ OK ] # 11.86 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.13 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.35 [+0.22] TEST: swp1 carrier on [ OK ] # 12.55 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.02 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.27 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 13.52 [+0.24] TEST: swp1 carrier off [ OK ] # 13.98 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 14.25 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.48 [+0.23] TEST: swp1 carrier on [ OK ] # 14.95 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.21 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.39 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.87 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.12 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.35 [+0.22] TEST: swp1 carrier off [ OK ] # 16.81 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 17.06 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.48 [+10.41] # 27.48 [+0.00] Backup nexthop ID # 27.48 [+0.00] ----------------- # 29.04 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.53 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.81 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.06 [+0.25] TEST: swp1 carrier off [ OK ] # 30.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.81 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.08 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.34 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.57 [+0.23] TEST: swp1 carrier on [ OK ] # 31.74 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.20 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 32.44 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.70 [+0.25] TEST: swp1 carrier off [ OK ] # 33.20 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.74 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.00 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.23 [+0.23] TEST: swp1 carrier on [ OK ] # 34.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.24 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.51 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.71 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.18 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.44 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.70 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.99 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.21 [+0.22] TEST: swp1 carrier off [ OK ] # 37.69 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.28 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 38.54 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.91 [+10.36] # 48.91 [+0.00] Backup nexthop ID - invalid IDs # 48.91 [+0.00] ------------------------------- # 50.49 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.65 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.88 [+0.22] TEST: swp1 carrier off [ OK ] # 51.38 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.66 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.94 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.04 [+0.10] TEST: No Tx drop increase [ OK ] # 52.23 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.72 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.00 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.27 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.39 [+0.12] TEST: Tx drop increased [ OK ] # 53.68 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.14 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.40 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.69 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 54.80 [+0.10] TEST: Tx drop increased [ OK ] # 54.97 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.46 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.71 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.97 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.07 [+0.10] TEST: Tx drop increased [ OK ] # 56.50 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.53 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 57.63 [+0.10] TEST: Tx drop increased [ OK ] # 68.01 [+10.39] # 68.01 [+0.00] Backup nexthop ID - ping # 68.01 [+0.00] ------------------------ # 71.50 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.83 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.16 [+10.33] # 87.16 [+0.00] Backup nexthop ID - torture test # 87.17 [+0.00] -------------------------------- # 117.86 [+30.70] TEST: Torture test [ OK ] # 118.52 [+0.66] # 118.52 [+0.00] Tests passed: 83 # 118.52 [+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__->