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.58 [+11.58] # 11.58 [+0.00] Backup port # 11.58 [+0.00] ----------- # 12.95 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 13.27 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 13.57 [+0.30] TEST: swp1 carrier off [ OK ] # 14.17 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.49 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.33] TEST: swp1 carrier on [ OK ] # 15.08 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.66 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.29 [+0.32] TEST: swp1 carrier off [ OK ] # 16.87 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.19 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.48 [+0.29] TEST: swp1 carrier on [ OK ] # 18.06 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.40 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 18.67 [+0.28] TEST: swp1 administratively down [ OK ] # 19.26 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 19.59 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.88 [+0.29] TEST: swp1 administratively up [ OK ] # 20.46 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 20.78 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.01 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.59 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 21.90 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 22.19 [+0.29] TEST: swp1 carrier off [ OK ] # 22.80 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 23.11 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 35.76 [+12.65] # 35.76 [+0.00] Backup nexthop ID # 35.76 [+0.00] ----------------- # 37.84 [+2.08] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.41 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 38.71 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 39.04 [+0.32] TEST: swp1 carrier off [ OK ] # 39.60 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 39.92 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 40.24 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 40.53 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.83 [+0.30] TEST: swp1 carrier on [ OK ] # 41.05 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.62 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 41.95 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 42.24 [+0.29] TEST: swp1 carrier off [ OK ] # 42.83 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 43.13 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 43.43 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 43.75 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.04 [+0.29] TEST: swp1 carrier on [ OK ] # 44.61 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 44.96 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 45.27 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 45.57 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.81 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.44 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.77 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 47.16 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 47.50 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.79 [+0.29] TEST: swp1 carrier off [ OK ] # 48.41 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 48.73 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 49.05 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.35 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.97 [+12.62] # 61.97 [+0.00] Backup nexthop ID - invalid IDs # 61.97 [+0.00] ------------------------------- # 64.22 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.45 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 64.79 [+0.34] TEST: swp1 carrier off [ OK ] # 65.42 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 65.74 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 66.06 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 66.22 [+0.16] TEST: No Tx drop increase [ OK ] # 66.46 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.04 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 67.37 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.69 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 67.83 [+0.14] TEST: Tx drop increased [ OK ] # 68.18 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.80 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 69.15 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.49 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.63 [+0.14] TEST: Tx drop increased [ OK ] # 69.86 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.45 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.82 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 71.18 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.31 [+0.12] TEST: Tx drop increased [ OK ] # 71.88 [+0.58] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.51 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.85 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.24 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 73.37 [+0.13] TEST: Tx drop increased [ OK ] # 86.23 [+12.87] # 86.24 [+0.00] Backup nexthop ID - ping # 86.24 [+0.00] ------------------------ # 90.24 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 95.66 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.34 [+12.68] # 108.34 [+0.00] Backup nexthop ID - torture test # 108.34 [+0.00] -------------------------------- # 139.25 [+30.91] TEST: Torture test [ OK ] # 139.39 [+0.14] kill: sending signal to 29222 failed: No such process # 140.11 [+0.73] # 140.11 [+0.00] Tests passed: 89 # 140.11 [+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__->