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.52 [+9.52] # 9.52 [+0.00] Backup port # 9.52 [+0.00] ----------- # 10.70 [+1.18] TEST: Forwarding out of swp1 [ OK ] # 10.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.20 [+0.23] TEST: swp1 carrier off [ OK ] # 11.67 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.17 [+0.22] TEST: swp1 carrier on [ OK ] # 12.34 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.82 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.08 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.32 [+0.23] TEST: swp1 carrier off [ OK ] # 13.78 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.04 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.27 [+0.23] TEST: swp1 carrier on [ OK ] # 14.77 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.03 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.22 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.96 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.20 [+0.24] TEST: swp1 carrier off [ OK ] # 16.67 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.27 [+10.32] # 27.27 [+0.00] Backup nexthop ID # 27.27 [+0.00] ----------------- # 28.83 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.30 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.81 [+0.23] TEST: swp1 carrier off [ OK ] # 30.29 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.56 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.84 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.10 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.33 [+0.23] TEST: swp1 carrier on [ OK ] # 31.49 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.00 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.26 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.48 [+0.22] TEST: swp1 carrier off [ OK ] # 32.95 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.21 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.47 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.73 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.97 [+0.23] TEST: swp1 carrier on [ OK ] # 34.46 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.72 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.98 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.26 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.45 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.94 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.20 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.45 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.76 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.98 [+0.22] TEST: swp1 carrier off [ OK ] # 37.46 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.98 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.26 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.56 [+10.30] # 48.57 [+0.00] Backup nexthop ID - invalid IDs # 48.57 [+0.00] ------------------------------- # 50.08 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.27 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.49 [+0.22] TEST: swp1 carrier off [ OK ] # 51.00 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 51.26 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.54 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.64 [+0.10] TEST: No Tx drop increase [ OK ] # 51.81 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.58 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 52.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.95 [+0.11] TEST: Tx drop increased [ OK ] # 53.21 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.71 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.97 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.24 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.37 [+0.13] TEST: Tx drop increased [ OK ] # 54.54 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.27 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.53 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.63 [+0.10] TEST: Tx drop increased [ OK ] # 56.06 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.79 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.06 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.16 [+0.09] TEST: Tx drop increased [ OK ] # 67.50 [+10.35] # 67.51 [+0.00] Backup nexthop ID - ping # 67.51 [+0.00] ------------------------ # 70.95 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 76.27 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.59 [+10.33] # 86.59 [+0.00] Backup nexthop ID - torture test # 86.60 [+0.00] -------------------------------- # 117.28 [+30.69] TEST: Torture test [ OK ] # 117.91 [+0.63] # 117.91 [+0.00] Tests passed: 83 # 117.91 [+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__->