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.53 [+9.53] # 9.53 [+0.00] Backup port # 9.53 [+0.00] ----------- # 10.99 [+1.46] TEST: Forwarding out of swp1 [ OK ] # 11.27 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.51 [+0.24] TEST: swp1 carrier off [ OK ] # 11.99 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.28 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.54 [+0.26] TEST: swp1 carrier on [ OK ] # 12.73 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.23 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 13.48 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 13.72 [+0.24] TEST: swp1 carrier off [ OK ] # 14.21 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.48 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.71 [+0.22] TEST: swp1 carrier on [ OK ] # 15.20 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.47 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.66 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.15 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.45 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 16.72 [+0.27] TEST: swp1 carrier off [ OK ] # 17.22 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 17.55 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 27.94 [+10.40] # 27.95 [+0.00] Backup nexthop ID # 27.95 [+0.00] ----------------- # 29.67 [+1.72] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.14 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.41 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.66 [+0.25] TEST: swp1 carrier off [ OK ] # 31.11 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 31.38 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.67 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 31.93 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.18 [+0.25] TEST: swp1 carrier on [ OK ] # 32.35 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.87 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 33.19 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 33.47 [+0.28] TEST: swp1 carrier off [ OK ] # 33.97 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 34.22 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 34.48 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.76 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.98 [+0.23] TEST: swp1 carrier on [ OK ] # 35.45 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.70 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.96 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.21 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.37 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.83 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 37.08 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 37.36 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.61 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.84 [+0.23] TEST: swp1 carrier off [ OK ] # 38.31 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 38.57 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.82 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 39.07 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.74 [+10.67] # 49.74 [+0.00] Backup nexthop ID - invalid IDs # 49.74 [+0.00] ------------------------------- # 51.41 [+1.67] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.58 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.82 [+0.23] TEST: swp1 carrier off [ OK ] # 52.33 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 52.65 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 52.91 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 53.03 [+0.11] TEST: No Tx drop increase [ OK ] # 53.22 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.66 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 53.94 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.25 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 54.35 [+0.10] TEST: Tx drop increased [ OK ] # 54.63 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.13 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.41 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.67 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.78 [+0.10] TEST: Tx drop increased [ OK ] # 55.95 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.51 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 56.78 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.04 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.14 [+0.10] TEST: Tx drop increased [ OK ] # 57.67 [+0.53] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.24 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 58.53 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 58.81 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.91 [+0.10] TEST: Tx drop increased [ OK ] # 69.44 [+10.52] # 69.44 [+0.00] Backup nexthop ID - ping # 69.44 [+0.00] ------------------------ # 73.02 [+3.58] TEST: Ping with backup nexthop ID [ OK ] # 78.34 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.66 [+10.32] # 88.66 [+0.00] Backup nexthop ID - torture test # 88.66 [+0.00] -------------------------------- # 119.37 [+30.70] TEST: Torture test [ OK ] # 120.03 [+0.67] # 120.03 [+0.00] Tests passed: 83 # 120.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__->