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.43 [+9.43] # 9.43 [+0.00] Backup port # 9.43 [+0.00] ----------- # 10.67 [+1.24] TEST: Forwarding out of swp1 [ OK ] # 10.92 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.16 [+0.24] TEST: swp1 carrier off [ OK ] # 11.62 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.11 [+0.22] TEST: swp1 carrier on [ OK ] # 12.28 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.76 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.25 [+0.24] TEST: swp1 carrier off [ OK ] # 13.77 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 14.12 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 14.35 [+0.23] TEST: swp1 carrier on [ OK ] # 14.80 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.08 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.25 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.69 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.20 [+0.23] TEST: swp1 carrier off [ OK ] # 16.66 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.90 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 27.41 [+10.51] # 27.41 [+0.00] Backup nexthop ID # 27.41 [+0.00] ----------------- # 29.06 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.58 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 29.86 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.07 [+0.21] TEST: swp1 carrier off [ OK ] # 30.53 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.78 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 31.03 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.30 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.53 [+0.23] TEST: swp1 carrier on [ OK ] # 31.71 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.47 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 32.69 [+0.22] TEST: swp1 carrier off [ OK ] # 33.15 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.40 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.68 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.94 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.17 [+0.23] TEST: swp1 carrier on [ OK ] # 34.64 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.89 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.15 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.40 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.58 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.02 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 36.29 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.80 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.02 [+0.22] TEST: swp1 carrier off [ OK ] # 37.50 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.76 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.05 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.31 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.74 [+10.43] # 48.74 [+0.00] Backup nexthop ID - invalid IDs # 48.74 [+0.00] ------------------------------- # 50.28 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.45 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.67 [+0.21] TEST: swp1 carrier off [ OK ] # 51.17 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.43 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.69 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.79 [+0.10] TEST: No Tx drop increase [ OK ] # 51.98 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.55 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 52.82 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.10 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.19 [+0.10] TEST: Tx drop increased [ OK ] # 53.45 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.91 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.43 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.54 [+0.11] TEST: Tx drop increased [ OK ] # 54.73 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.19 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.48 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.75 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.87 [+0.11] TEST: Tx drop increased [ OK ] # 56.30 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.79 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.07 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.35 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.47 [+0.11] TEST: Tx drop increased [ OK ] # 67.86 [+10.39] # 67.86 [+0.00] Backup nexthop ID - ping # 67.86 [+0.00] ------------------------ # 71.26 [+3.40] TEST: Ping with backup nexthop ID [ OK ] # 76.56 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.74 [+10.18] # 86.74 [+0.00] Backup nexthop ID - torture test # 86.74 [+0.00] -------------------------------- # 117.42 [+30.68] TEST: Torture test [ OK ] # 118.04 [+0.61] # 118.04 [+0.00] Tests passed: 83 # 118.04 [+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__->