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.04 [+12.04] # 12.04 [+0.00] Backup port # 12.04 [+0.00] ----------- # 13.83 [+1.78] TEST: Forwarding out of swp1 [ OK ] # 14.14 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.46 [+0.32] TEST: swp1 carrier off [ OK ] # 15.07 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.42 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.74 [+0.33] TEST: swp1 carrier on [ OK ] # 16.01 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.60 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.97 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.28 [+0.31] TEST: swp1 carrier off [ OK ] # 17.89 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 18.22 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.52 [+0.30] TEST: swp1 carrier on [ OK ] # 19.21 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 19.54 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.87 [+0.34] TEST: swp1 administratively down [ OK ] # 20.50 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 20.84 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 21.16 [+0.32] TEST: swp1 administratively up [ OK ] # 21.82 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 22.15 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.40 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.02 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 23.38 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.68 [+0.30] TEST: swp1 carrier off [ OK ] # 24.32 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 24.62 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 37.57 [+12.94] # 37.57 [+0.00] Backup nexthop ID # 37.57 [+0.00] ----------------- # 39.75 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.36 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.68 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.02 [+0.34] TEST: swp1 carrier off [ OK ] # 41.71 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 42.01 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 42.33 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.65 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.95 [+0.31] TEST: swp1 carrier on [ OK ] # 43.19 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.78 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.13 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.46 [+0.33] TEST: swp1 carrier off [ OK ] # 45.06 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 45.41 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 45.76 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 46.10 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.46 [+0.36] TEST: swp1 carrier on [ OK ] # 47.11 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 47.42 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 47.78 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 48.13 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.35 [+0.22] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.97 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 49.29 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 49.65 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 49.97 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.28 [+0.31] TEST: swp1 carrier off [ OK ] # 50.93 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.27 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.58 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 51.92 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.01 [+13.09] # 65.01 [+0.00] Backup nexthop ID - invalid IDs # 65.01 [+0.00] ------------------------------- # 67.28 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.53 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 67.84 [+0.31] TEST: swp1 carrier off [ OK ] # 68.47 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 68.82 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.14 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 69.29 [+0.15] TEST: No Tx drop increase [ OK ] # 69.53 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.15 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.48 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.83 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 70.99 [+0.17] TEST: Tx drop increased [ OK ] # 71.36 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.00 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.33 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.69 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 72.86 [+0.17] TEST: Tx drop increased [ OK ] # 73.10 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.70 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 74.05 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.40 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.59 [+0.19] TEST: Tx drop increased [ OK ] # 75.19 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.81 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 76.16 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 76.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.63 [+0.14] TEST: Tx drop increased [ OK ] # 89.65 [+13.02] # 89.65 [+0.00] Backup nexthop ID - ping # 89.65 [+0.00] ------------------------ # 93.79 [+4.14] TEST: Ping with backup nexthop ID [ OK ] # 99.23 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.55 [+13.33] # 112.55 [+0.00] Backup nexthop ID - torture test # 112.56 [+0.00] -------------------------------- # 143.54 [+30.98] TEST: Torture test [ OK ] # 143.77 [+0.23] kill: sending signal to 11672 failed: No such process # 144.73 [+0.96] # 144.73 [+0.00] Tests passed: 89 # 144.73 [+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__->