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.79 [+11.79] # 11.79 [+0.00] Backup port # 11.79 [+0.00] ----------- # 13.16 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 13.50 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 13.81 [+0.31] TEST: swp1 carrier off [ OK ] # 14.41 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.75 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.08 [+0.33] TEST: swp1 carrier on [ OK ] # 15.30 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.88 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.20 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.50 [+0.30] TEST: swp1 carrier off [ OK ] # 17.09 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.43 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.75 [+0.32] TEST: swp1 carrier on [ OK ] # 18.36 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 18.70 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.02 [+0.32] TEST: swp1 administratively down [ OK ] # 19.64 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 19.98 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.30 [+0.32] TEST: swp1 administratively up [ OK ] # 20.89 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.22 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.46 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.04 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.37 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.70 [+0.34] TEST: swp1 carrier off [ OK ] # 23.26 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 23.58 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.52 [+12.94] # 36.52 [+0.00] Backup nexthop ID # 36.53 [+0.00] ----------------- # 38.67 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.25 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 39.58 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 39.92 [+0.34] TEST: swp1 carrier off [ OK ] # 40.52 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 40.84 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.18 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.54 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.86 [+0.32] TEST: swp1 carrier on [ OK ] # 42.09 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.70 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.02 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.35 [+0.32] TEST: swp1 carrier off [ OK ] # 43.94 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 44.25 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 44.59 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.89 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.19 [+0.29] TEST: swp1 carrier on [ OK ] # 45.78 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.11 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.44 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 46.77 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.02 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.61 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 47.94 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.27 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.61 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.89 [+0.28] TEST: swp1 carrier off [ OK ] # 49.51 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 49.80 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 50.14 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 50.49 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.49 [+13.00] # 63.49 [+0.00] Backup nexthop ID - invalid IDs # 63.49 [+0.00] ------------------------------- # 65.78 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.02 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 66.32 [+0.30] TEST: swp1 carrier off [ OK ] # 66.93 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.27 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.59 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 67.75 [+0.16] TEST: No Tx drop increase [ OK ] # 67.97 [+0.22] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.59 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.91 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 69.23 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.36 [+0.13] TEST: Tx drop increased [ OK ] # 69.73 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.34 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 70.64 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 70.97 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.11 [+0.14] TEST: Tx drop increased [ OK ] # 71.35 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.94 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 72.25 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.59 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.74 [+0.15] TEST: Tx drop increased [ OK ] # 73.33 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.93 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 74.25 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 74.57 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.73 [+0.16] TEST: Tx drop increased [ OK ] # 87.71 [+12.99] # 87.72 [+0.00] Backup nexthop ID - ping # 87.72 [+0.00] ------------------------ # 91.77 [+4.05] TEST: Ping with backup nexthop ID [ OK ] # 97.20 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.15 [+12.95] # 110.15 [+0.00] Backup nexthop ID - torture test # 110.15 [+0.00] -------------------------------- # 141.36 [+31.21] TEST: Torture test [ OK ] # 141.54 [+0.18] kill: sending signal to 4392 failed: No such process # 142.33 [+0.80] # 142.34 [+0.00] Tests passed: 89 # 142.34 [+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 && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->