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/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 11.87 [+11.87] # 11.87 [+0.00] Backup port # 11.87 [+0.00] ----------- # 13.49 [+1.61] TEST: Forwarding out of swp1 [ OK ] # 13.82 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.18 [+0.36] TEST: swp1 carrier off [ OK ] # 14.77 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 15.12 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.44 [+0.33] TEST: swp1 carrier on [ OK ] # 15.69 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.30 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.93 [+0.31] TEST: swp1 carrier off [ OK ] # 17.54 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.88 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 18.18 [+0.30] TEST: swp1 carrier on [ OK ] # 18.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.11 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.41 [+0.31] TEST: swp1 administratively down [ OK ] # 19.99 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 20.29 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 20.61 [+0.31] TEST: swp1 administratively up [ OK ] # 21.20 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.54 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.78 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.40 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 22.73 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.04 [+0.30] TEST: swp1 carrier off [ OK ] # 23.63 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 23.95 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.91 [+12.97] # 36.91 [+0.00] Backup nexthop ID # 36.91 [+0.00] ----------------- # 39.00 [+2.09] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.60 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 39.91 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.24 [+0.33] TEST: swp1 carrier off [ OK ] # 40.82 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.16 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 41.48 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.83 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.14 [+0.32] TEST: swp1 carrier on [ OK ] # 42.39 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.99 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.28 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 43.61 [+0.33] TEST: swp1 carrier off [ OK ] # 44.21 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.54 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.85 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 45.15 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.47 [+0.32] TEST: swp1 carrier on [ OK ] # 46.06 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.42 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 46.75 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.10 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.33 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.94 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 48.29 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.59 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.92 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.22 [+0.31] TEST: swp1 carrier off [ OK ] # 49.83 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 50.16 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.50 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.81 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.77 [+12.96] # 63.77 [+0.00] Backup nexthop ID - invalid IDs # 63.77 [+0.00] ------------------------------- # 65.85 [+2.08] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.09 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 66.42 [+0.33] TEST: swp1 carrier off [ OK ] # 67.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 67.35 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.67 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.81 [+0.15] TEST: No Tx drop increase [ OK ] # 68.08 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.66 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.99 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.31 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.44 [+0.13] TEST: Tx drop increased [ OK ] # 69.79 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.38 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.67 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 71.02 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.17 [+0.14] TEST: Tx drop increased [ OK ] # 71.40 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.02 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.34 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.67 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.80 [+0.14] TEST: Tx drop increased [ OK ] # 73.42 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 74.33 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.67 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.81 [+0.14] TEST: Tx drop increased [ OK ] # 87.70 [+12.89] # 87.70 [+0.00] Backup nexthop ID - ping # 87.70 [+0.00] ------------------------ # 91.71 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 97.16 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.89 [+13.73] # 110.89 [+0.00] Backup nexthop ID - torture test # 110.89 [+0.00] -------------------------------- # 141.83 [+30.94] TEST: Torture test [ OK ] # 142.00 [+0.18] kill: sending signal to 27513 failed: No such process # 142.81 [+0.81] # 142.81 [+0.00] Tests passed: 89 # 142.81 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->