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 # 12.20 [+12.20] # 12.20 [+0.00] Backup port # 12.21 [+0.00] ----------- # 13.84 [+1.64] TEST: Forwarding out of swp1 [ OK ] # 14.20 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.52 [+0.32] TEST: swp1 carrier off [ OK ] # 15.12 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.80 [+0.35] TEST: swp1 carrier on [ OK ] # 16.06 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.63 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 16.95 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.27 [+0.32] TEST: swp1 carrier off [ OK ] # 17.91 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.26 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.56 [+0.30] TEST: swp1 carrier on [ OK ] # 19.16 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.47 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.77 [+0.30] TEST: swp1 administratively down [ OK ] # 20.37 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.68 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 20.99 [+0.31] TEST: swp1 administratively up [ OK ] # 21.61 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.94 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.16 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.80 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 23.13 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 23.47 [+0.34] TEST: swp1 carrier off [ OK ] # 24.07 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 24.44 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 38.05 [+13.61] # 38.05 [+0.00] Backup nexthop ID # 38.05 [+0.00] ----------------- # 40.38 [+2.33] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.98 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 41.34 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.67 [+0.32] TEST: swp1 carrier off [ OK ] # 42.28 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 42.59 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 42.95 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 43.29 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.64 [+0.35] TEST: swp1 carrier on [ OK ] # 43.98 [+0.34] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.65 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 44.97 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.30 [+0.32] TEST: swp1 carrier off [ OK ] # 45.87 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 46.21 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 46.55 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 46.88 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.19 [+0.31] TEST: swp1 carrier on [ OK ] # 47.81 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 48.18 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.56 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 48.90 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.16 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.77 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 50.13 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 50.52 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 50.90 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.24 [+0.34] TEST: swp1 carrier off [ OK ] # 51.85 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 52.18 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 52.53 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 52.87 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 66.27 [+13.40] # 66.27 [+0.00] Backup nexthop ID - invalid IDs # 66.27 [+0.00] ------------------------------- # 68.68 [+2.40] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.96 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 69.27 [+0.31] TEST: swp1 carrier off [ OK ] # 69.91 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 70.28 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 70.60 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 70.78 [+0.18] TEST: No Tx drop increase [ OK ] # 71.03 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 71.65 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.98 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.32 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.47 [+0.15] TEST: Tx drop increased [ OK ] # 72.85 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 73.47 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 73.81 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.14 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.28 [+0.14] TEST: Tx drop increased [ OK ] # 74.53 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 75.20 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 75.55 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 75.92 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 76.10 [+0.18] TEST: Tx drop increased [ OK ] # 76.73 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 77.35 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 77.69 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 78.09 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 78.23 [+0.14] TEST: Tx drop increased [ OK ] # 91.78 [+13.55] # 91.78 [+0.00] Backup nexthop ID - ping # 91.78 [+0.00] ------------------------ # 95.96 [+4.18] TEST: Ping with backup nexthop ID [ OK ] # 101.42 [+5.47] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.90 [+13.48] # 114.91 [+0.00] Backup nexthop ID - torture test # 114.91 [+0.00] -------------------------------- # 145.94 [+31.03] TEST: Torture test [ OK ] # 146.13 [+0.19] kill: sending signal to 31268 failed: No such process # 147.00 [+0.87] # 147.00 [+0.00] Tests passed: 89 # 147.00 [+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__->