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.66 [+11.66] # 11.66 [+0.00] Backup port # 11.67 [+0.00] ----------- # 13.01 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 13.34 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 13.63 [+0.29] TEST: swp1 carrier off [ OK ] # 14.26 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 14.55 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 14.89 [+0.34] TEST: swp1 carrier on [ OK ] # 15.12 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.71 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.02 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.33 [+0.31] TEST: swp1 carrier off [ OK ] # 16.92 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.29 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 17.62 [+0.33] TEST: swp1 carrier on [ OK ] # 18.20 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.51 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 18.82 [+0.31] TEST: swp1 administratively down [ OK ] # 19.41 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 19.75 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.06 [+0.31] TEST: swp1 administratively up [ OK ] # 20.65 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.96 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.22 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.78 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 22.09 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.38 [+0.29] TEST: swp1 carrier off [ OK ] # 22.95 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 23.32 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 36.14 [+12.82] # 36.14 [+0.00] Backup nexthop ID # 36.14 [+0.00] ----------------- # 38.18 [+2.04] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 39.09 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 39.42 [+0.33] TEST: swp1 carrier off [ OK ] # 40.01 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 40.33 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 40.65 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 40.95 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.30 [+0.35] TEST: swp1 carrier on [ OK ] # 41.57 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.23 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 42.55 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 42.86 [+0.31] TEST: swp1 carrier off [ OK ] # 43.45 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 43.77 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.15 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 44.54 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.86 [+0.31] TEST: swp1 carrier on [ OK ] # 45.46 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 45.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.09 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 46.39 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.64 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.24 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 47.55 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 47.91 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 48.20 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.52 [+0.32] TEST: swp1 carrier off [ OK ] # 49.10 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 49.42 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 49.72 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 50.06 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.96 [+12.90] # 62.96 [+0.00] Backup nexthop ID - invalid IDs # 62.96 [+0.00] ------------------------------- # 65.27 [+2.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.50 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 65.80 [+0.30] TEST: swp1 carrier off [ OK ] # 66.38 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 66.72 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 67.04 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.16 [+0.12] TEST: No Tx drop increase [ OK ] # 67.38 [+0.22] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.97 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.30 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.63 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.75 [+0.12] TEST: Tx drop increased [ OK ] # 69.09 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.71 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.38 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.51 [+0.13] TEST: Tx drop increased [ OK ] # 70.75 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.33 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 71.66 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.97 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.11 [+0.14] TEST: Tx drop increased [ OK ] # 72.70 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.27 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 73.60 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.91 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 74.04 [+0.13] TEST: Tx drop increased [ OK ] # 86.80 [+12.76] # 86.80 [+0.00] Backup nexthop ID - ping # 86.80 [+0.00] ------------------------ # 90.81 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 96.23 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.15 [+12.92] # 109.15 [+0.00] Backup nexthop ID - torture test # 109.15 [+0.00] -------------------------------- # 140.11 [+30.96] TEST: Torture test [ OK ] # 140.28 [+0.18] kill: sending signal to 29241 failed: No such process # 141.04 [+0.76] # 141.04 [+0.00] Tests passed: 89 # 141.04 [+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__->