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.64 [+11.64] # 11.64 [+0.00] Backup port # 11.64 [+0.00] ----------- # 13.06 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.38 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.69 [+0.30] TEST: swp1 carrier off [ OK ] # 14.35 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 14.67 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.10 [+0.43] TEST: swp1 carrier on [ OK ] # 15.34 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.91 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.32 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 16.68 [+0.36] TEST: swp1 carrier off [ OK ] # 17.33 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 17.69 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 18.10 [+0.41] TEST: swp1 carrier on [ OK ] # 18.77 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 19.11 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.42 [+0.31] TEST: swp1 administratively down [ OK ] # 19.99 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 20.29 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 20.61 [+0.33] TEST: swp1 administratively up [ OK ] # 21.20 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.53 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.76 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.34 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.64 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 22.95 [+0.30] TEST: swp1 carrier off [ OK ] # 23.57 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 23.87 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 36.67 [+12.80] # 36.67 [+0.00] Backup nexthop ID # 36.67 [+0.00] ----------------- # 38.71 [+2.05] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.32 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 39.62 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 40.00 [+0.39] TEST: swp1 carrier off [ OK ] # 40.58 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 40.90 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.24 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.56 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.87 [+0.31] TEST: swp1 carrier on [ OK ] # 42.11 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.70 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.02 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.32 [+0.30] TEST: swp1 carrier off [ OK ] # 43.89 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 44.23 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.58 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 44.90 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.20 [+0.30] TEST: swp1 carrier on [ OK ] # 45.77 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 46.11 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.47 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.79 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.02 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.59 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 47.92 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.26 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.58 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.90 [+0.32] TEST: swp1 carrier off [ OK ] # 49.50 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 49.82 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.15 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.46 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.28 [+12.82] # 63.28 [+0.00] Backup nexthop ID - invalid IDs # 63.28 [+0.00] ------------------------------- # 65.48 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.72 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 66.02 [+0.30] TEST: swp1 carrier off [ OK ] # 66.61 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.97 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 67.28 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 67.40 [+0.13] TEST: No Tx drop increase [ OK ] # 67.67 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.25 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 68.56 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.87 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.01 [+0.14] TEST: Tx drop increased [ OK ] # 69.36 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.93 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 70.27 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.58 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 70.72 [+0.14] TEST: Tx drop increased [ OK ] # 70.96 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.53 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.88 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.21 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 72.35 [+0.14] TEST: Tx drop increased [ OK ] # 72.94 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.52 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 73.82 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 74.14 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.27 [+0.13] TEST: Tx drop increased [ OK ] # 86.99 [+12.72] # 86.99 [+0.00] Backup nexthop ID - ping # 86.99 [+0.00] ------------------------ # 91.11 [+4.11] TEST: Ping with backup nexthop ID [ OK ] # 96.54 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.15 [+12.61] # 109.15 [+0.00] Backup nexthop ID - torture test # 109.15 [+0.00] -------------------------------- # 140.06 [+30.91] TEST: Torture test [ OK ] # 140.21 [+0.15] kill: sending signal to 28901 failed: No such process # 140.94 [+0.73] # 140.94 [+0.00] Tests passed: 89 # 140.94 [+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__->