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.71 [+11.71] # 11.71 [+0.00] Backup port # 11.71 [+0.00] ----------- # 13.58 [+1.87] TEST: Forwarding out of swp1 [ OK ] # 13.92 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.24 [+0.32] TEST: swp1 carrier off [ OK ] # 14.84 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.33] TEST: swp1 carrier on [ OK ] # 15.76 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.35 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.68 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.99 [+0.31] TEST: swp1 carrier off [ OK ] # 17.60 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.92 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.24 [+0.32] TEST: swp1 carrier on [ OK ] # 18.87 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 19.17 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 19.50 [+0.33] TEST: swp1 administratively down [ OK ] # 20.14 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 20.49 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.80 [+0.31] TEST: swp1 administratively up [ OK ] # 21.40 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.71 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.94 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.54 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 22.89 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 23.21 [+0.32] TEST: swp1 carrier off [ OK ] # 23.82 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 24.12 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 36.99 [+12.87] # 36.99 [+0.00] Backup nexthop ID # 36.99 [+0.00] ----------------- # 39.25 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.83 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.16 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.46 [+0.31] TEST: swp1 carrier off [ OK ] # 41.06 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 41.37 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.68 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 42.02 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.39 [+0.37] TEST: swp1 carrier on [ OK ] # 42.65 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.28 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.62 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.96 [+0.34] TEST: swp1 carrier off [ OK ] # 44.57 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 44.99 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 45.32 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 45.66 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.99 [+0.34] TEST: swp1 carrier on [ OK ] # 46.57 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 46.90 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 47.27 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 47.60 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.87 [+0.27] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.47 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 48.81 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 49.11 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 49.44 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.78 [+0.34] TEST: swp1 carrier off [ OK ] # 50.36 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 50.81 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 51.12 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 51.45 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.55 [+13.10] # 64.55 [+0.00] Backup nexthop ID - invalid IDs # 64.55 [+0.00] ------------------------------- # 66.77 [+2.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.06 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 67.37 [+0.31] TEST: swp1 carrier off [ OK ] # 68.02 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 68.32 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 68.67 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 68.83 [+0.16] TEST: No Tx drop increase [ OK ] # 69.07 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.67 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.03 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 70.41 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 70.57 [+0.16] TEST: Tx drop increased [ OK ] # 70.94 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.56 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 71.90 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.22 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.38 [+0.17] TEST: Tx drop increased [ OK ] # 72.63 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.30 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 73.67 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.00 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.16 [+0.16] TEST: Tx drop increased [ OK ] # 74.77 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.48 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 75.81 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.26 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 76.45 [+0.19] TEST: Tx drop increased [ OK ] # 89.89 [+13.44] # 89.89 [+0.00] Backup nexthop ID - ping # 89.89 [+0.00] ------------------------ # 94.06 [+4.17] TEST: Ping with backup nexthop ID [ OK ] # 99.55 [+5.50] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.30 [+13.75] # 113.30 [+0.00] Backup nexthop ID - torture test # 113.31 [+0.00] -------------------------------- # 144.39 [+31.08] TEST: Torture test [ OK ] # 144.57 [+0.18] kill: sending signal to 24717 failed: No such process # 145.39 [+0.83] # 145.39 [+0.00] Tests passed: 89 # 145.39 [+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__->