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.21 [+9.21] # 9.21 [+0.00] Backup port # 9.21 [+0.00] ----------- # 10.54 [+1.33] TEST: Forwarding out of swp1 [ OK ] # 10.78 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 11.00 [+0.23] TEST: swp1 carrier off [ OK ] # 11.43 [+0.42] TEST: No forwarding out of swp1 [ OK ] # 11.71 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.91 [+0.20] TEST: swp1 carrier on [ OK ] # 12.08 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.54 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.80 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.02 [+0.22] TEST: swp1 carrier off [ OK ] # 13.46 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.72 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.94 [+0.22] TEST: swp1 carrier on [ OK ] # 14.41 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.67 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.85 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.29 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.53 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.75 [+0.22] TEST: swp1 carrier off [ OK ] # 16.21 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.48 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.40 [+9.93] # 26.40 [+0.00] Backup nexthop ID # 26.40 [+0.00] ----------------- # 27.87 [+1.47] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.34 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.60 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.82 [+0.21] TEST: swp1 carrier off [ OK ] # 29.27 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.52 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.78 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.04 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.26 [+0.22] TEST: swp1 carrier on [ OK ] # 30.42 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.90 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.14 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 31.35 [+0.21] TEST: swp1 carrier off [ OK ] # 31.83 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.11 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.36 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.61 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.83 [+0.22] TEST: swp1 carrier on [ OK ] # 33.29 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.55 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.81 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.07 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.22 [+0.15] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.68 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.95 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.21 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.46 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.69 [+0.22] TEST: swp1 carrier off [ OK ] # 36.14 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 36.38 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 36.66 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.92 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.95 [+10.03] # 46.95 [+0.00] Backup nexthop ID - invalid IDs # 46.95 [+0.00] ------------------------------- # 48.43 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.60 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 48.82 [+0.22] TEST: swp1 carrier off [ OK ] # 49.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.55 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 49.82 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 49.92 [+0.09] TEST: No Tx drop increase [ OK ] # 50.10 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.58 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.85 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.10 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.21 [+0.11] TEST: Tx drop increased [ OK ] # 51.45 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.95 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.47 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.56 [+0.09] TEST: Tx drop increased [ OK ] # 52.73 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.18 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 53.44 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.77 [+0.08] TEST: Tx drop increased [ OK ] # 54.20 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.66 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.92 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.17 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.25 [+0.08] TEST: Tx drop increased [ OK ] # 65.19 [+9.94] # 65.19 [+0.00] Backup nexthop ID - ping # 65.19 [+0.00] ------------------------ # 68.59 [+3.39] TEST: Ping with backup nexthop ID [ OK ] # 73.88 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.00 [+10.12] # 84.00 [+0.00] Backup nexthop ID - torture test # 84.00 [+0.00] -------------------------------- # 114.70 [+30.70] TEST: Torture test [ OK ] # 115.30 [+0.60] # 115.30 [+0.00] Tests passed: 83 # 115.30 [+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 [?2004hxx__->