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.45 [+9.45] # 9.45 [+0.00] Backup port # 9.45 [+0.00] ----------- # 10.70 [+1.25] TEST: Forwarding out of swp1 [ OK ] # 10.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.17 [+0.21] TEST: swp1 carrier off [ OK ] # 11.66 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.91 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.14 [+0.23] TEST: swp1 carrier on [ OK ] # 12.32 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.80 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.06 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.29 [+0.23] TEST: swp1 carrier off [ OK ] # 13.77 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.03 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.25 [+0.23] TEST: swp1 carrier on [ OK ] # 14.74 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.00 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.65 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.16 [+0.23] TEST: swp1 carrier off [ OK ] # 16.62 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.90 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.12 [+10.22] # 27.13 [+0.00] Backup nexthop ID # 27.13 [+0.00] ----------------- # 28.66 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.14 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.42 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.66 [+0.24] TEST: swp1 carrier off [ OK ] # 30.13 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.41 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.72 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 31.02 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.26 [+0.23] TEST: swp1 carrier on [ OK ] # 31.43 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.93 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.18 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.42 [+0.24] TEST: swp1 carrier off [ OK ] # 32.94 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 33.21 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.48 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.75 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.98 [+0.23] TEST: swp1 carrier on [ OK ] # 34.46 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.72 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.98 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.25 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.41 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.91 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.15 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 36.42 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.68 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.90 [+0.22] TEST: swp1 carrier off [ OK ] # 37.38 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.65 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.90 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 38.17 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.48 [+10.30] # 48.48 [+0.00] Backup nexthop ID - invalid IDs # 48.48 [+0.00] ------------------------------- # 50.03 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.19 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.42 [+0.23] TEST: swp1 carrier off [ OK ] # 50.91 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.17 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.44 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.54 [+0.10] TEST: No Tx drop increase [ OK ] # 51.71 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.18 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.45 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.70 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.81 [+0.10] TEST: Tx drop increased [ OK ] # 53.05 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.50 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 53.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.01 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.11 [+0.09] TEST: Tx drop increased [ OK ] # 54.26 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.76 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.01 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.28 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.37 [+0.09] TEST: Tx drop increased [ OK ] # 55.81 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.29 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.56 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.82 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.92 [+0.11] TEST: Tx drop increased [ OK ] # 67.25 [+10.33] # 67.25 [+0.00] Backup nexthop ID - ping # 67.26 [+0.00] ------------------------ # 70.70 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 76.02 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.57 [+10.55] # 86.57 [+0.00] Backup nexthop ID - torture test # 86.57 [+0.00] -------------------------------- # 117.26 [+30.68] TEST: Torture test [ OK ] # 117.88 [+0.62] # 117.88 [+0.00] Tests passed: 83 # 117.88 [+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__->