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.99 [+11.99] # 11.99 [+0.00] Backup port # 11.99 [+0.00] ----------- # 13.90 [+1.91] TEST: Forwarding out of swp1 [ OK ] # 14.26 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.61 [+0.35] TEST: swp1 carrier off [ OK ] # 15.22 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.62 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 15.96 [+0.34] TEST: swp1 carrier on [ OK ] # 16.21 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.81 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 17.12 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 17.42 [+0.30] TEST: swp1 carrier off [ OK ] # 18.02 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 18.35 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.67 [+0.31] TEST: swp1 carrier on [ OK ] # 19.27 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.62 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.94 [+0.31] TEST: swp1 administratively down [ OK ] # 20.55 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 20.88 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 21.20 [+0.32] TEST: swp1 administratively up [ OK ] # 21.83 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 22.16 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.39 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.99 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 23.30 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 23.60 [+0.30] TEST: swp1 carrier off [ OK ] # 24.17 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 24.51 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.43 [+12.92] # 37.43 [+0.00] Backup nexthop ID # 37.43 [+0.00] ----------------- # 39.61 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.26 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 40.60 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.93 [+0.33] TEST: swp1 carrier off [ OK ] # 41.55 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 41.86 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 42.18 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.51 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.80 [+0.29] TEST: swp1 carrier on [ OK ] # 43.02 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.60 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.93 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.23 [+0.30] TEST: swp1 carrier off [ OK ] # 44.86 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 45.18 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.50 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 45.84 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.18 [+0.34] TEST: swp1 carrier on [ OK ] # 46.78 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 47.12 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.42 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 47.73 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.98 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.55 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 48.89 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 49.21 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 49.54 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.85 [+0.31] TEST: swp1 carrier off [ OK ] # 50.44 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.75 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 51.06 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 51.40 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.19 [+12.80] # 64.20 [+0.00] Backup nexthop ID - invalid IDs # 64.20 [+0.00] ------------------------------- # 66.26 [+2.06] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.49 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.83 [+0.35] TEST: swp1 carrier off [ OK ] # 67.44 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 67.76 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.06 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 68.21 [+0.16] TEST: No Tx drop increase [ OK ] # 68.46 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.06 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.38 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 69.72 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.85 [+0.13] TEST: Tx drop increased [ OK ] # 70.19 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.77 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.09 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.41 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.54 [+0.13] TEST: Tx drop increased [ OK ] # 71.77 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.35 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 72.69 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.04 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 73.22 [+0.18] TEST: Tx drop increased [ OK ] # 73.84 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.43 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 74.76 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.07 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 75.23 [+0.15] TEST: Tx drop increased [ OK ] # 88.42 [+13.19] # 88.42 [+0.00] Backup nexthop ID - ping # 88.42 [+0.00] ------------------------ # 92.54 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 97.97 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.84 [+12.86] # 110.84 [+0.00] Backup nexthop ID - torture test # 110.84 [+0.00] -------------------------------- # 141.79 [+30.95] TEST: Torture test [ OK ] # 141.95 [+0.16] kill: sending signal to 31296 failed: No such process # 142.69 [+0.74] # 142.69 [+0.00] Tests passed: 89 # 142.70 [+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__->