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.10 [+12.10] # 12.10 [+0.00] Backup port # 12.10 [+0.00] ----------- # 13.77 [+1.66] TEST: Forwarding out of swp1 [ OK ] # 14.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.45 [+0.33] TEST: swp1 carrier off [ OK ] # 15.06 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.39 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.71 [+0.32] TEST: swp1 carrier on [ OK ] # 15.95 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.54 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.87 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.21 [+0.34] TEST: swp1 carrier off [ OK ] # 17.82 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 18.17 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 18.51 [+0.33] TEST: swp1 carrier on [ OK ] # 19.13 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.45 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.76 [+0.31] TEST: swp1 administratively down [ OK ] # 20.37 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.69 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 21.03 [+0.34] TEST: swp1 administratively up [ OK ] # 21.63 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.96 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.22 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.82 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 23.17 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.48 [+0.32] TEST: swp1 carrier off [ OK ] # 24.07 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 24.37 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 37.82 [+13.45] # 37.82 [+0.00] Backup nexthop ID # 37.82 [+0.00] ----------------- # 40.06 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.69 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 41.05 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.39 [+0.34] TEST: swp1 carrier off [ OK ] # 42.02 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 42.41 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 42.72 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 43.05 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.38 [+0.33] TEST: swp1 carrier on [ OK ] # 43.62 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.22 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.55 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.88 [+0.33] TEST: swp1 carrier off [ OK ] # 45.48 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 45.80 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 46.12 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 46.48 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.84 [+0.35] TEST: swp1 carrier on [ OK ] # 47.46 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 48.09 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 48.46 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.70 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.39 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 49.74 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 50.05 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 50.37 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.67 [+0.30] TEST: swp1 carrier off [ OK ] # 51.25 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 51.60 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.92 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 52.28 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.56 [+13.28] # 65.56 [+0.00] Backup nexthop ID - invalid IDs # 65.56 [+0.00] ------------------------------- # 67.81 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.07 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 68.44 [+0.36] TEST: swp1 carrier off [ OK ] # 69.11 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.45 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.79 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.97 [+0.18] TEST: No Tx drop increase [ OK ] # 70.20 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.83 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.23 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 71.60 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 71.73 [+0.14] TEST: Tx drop increased [ OK ] # 72.08 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.69 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 73.01 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 73.33 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.46 [+0.13] TEST: Tx drop increased [ OK ] # 73.72 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.29 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 74.61 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.98 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 75.13 [+0.15] TEST: Tx drop increased [ OK ] # 75.73 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.33 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 76.67 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 76.99 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 77.13 [+0.15] TEST: Tx drop increased [ OK ] # 89.99 [+12.85] # 89.99 [+0.00] Backup nexthop ID - ping # 89.99 [+0.00] ------------------------ # 93.99 [+4.00] TEST: Ping with backup nexthop ID [ OK ] # 99.44 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.42 [+12.98] # 112.42 [+0.00] Backup nexthop ID - torture test # 112.42 [+0.00] -------------------------------- # 143.36 [+30.93] TEST: Torture test [ OK ] # 143.52 [+0.16] kill: sending signal to 12180 failed: No such process # 144.25 [+0.74] # 144.25 [+0.00] Tests passed: 89 # 144.26 [+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__->