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.90 [+11.90] # 11.90 [+0.00] Backup port # 11.90 [+0.00] ----------- # 13.55 [+1.65] TEST: Forwarding out of swp1 [ OK ] # 13.90 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 14.25 [+0.35] TEST: swp1 carrier off [ OK ] # 14.85 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.16 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.34] TEST: swp1 carrier on [ OK ] # 15.71 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.32 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.64 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.97 [+0.33] TEST: swp1 carrier off [ OK ] # 17.56 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.88 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.22 [+0.34] TEST: swp1 carrier on [ OK ] # 18.83 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.23 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.64 [+0.41] TEST: swp1 administratively down [ OK ] # 20.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.57 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.88 [+0.31] TEST: swp1 administratively up [ OK ] # 21.49 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 21.82 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 22.06 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.75 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 23.10 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 23.41 [+0.31] TEST: swp1 carrier off [ OK ] # 24.05 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 24.39 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 38.73 [+14.34] # 38.73 [+0.00] Backup nexthop ID # 38.73 [+0.00] ----------------- # 41.61 [+2.87] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.35 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 42.71 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.11 [+0.40] TEST: swp1 carrier off [ OK ] # 43.87 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 44.24 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 44.59 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.02 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.36 [+0.34] TEST: swp1 carrier on [ OK ] # 45.63 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.34 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 46.69 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.01 [+0.31] TEST: swp1 carrier off [ OK ] # 47.70 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 48.06 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 48.38 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 48.74 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.09 [+0.34] TEST: swp1 carrier on [ OK ] # 49.70 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 50.06 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 50.40 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.73 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.99 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 51.63 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 51.96 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 52.32 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 52.65 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.98 [+0.33] TEST: swp1 carrier off [ OK ] # 53.60 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 53.94 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 54.27 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 54.62 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 67.94 [+13.32] # 67.94 [+0.00] Backup nexthop ID - invalid IDs # 67.94 [+0.00] ------------------------------- # 70.19 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.45 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 70.76 [+0.31] TEST: swp1 carrier off [ OK ] # 71.39 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 71.72 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.05 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 72.22 [+0.17] TEST: No Tx drop increase [ OK ] # 72.47 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.09 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 73.42 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.79 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 73.95 [+0.16] TEST: Tx drop increased [ OK ] # 74.35 [+0.40] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.97 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 75.30 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.68 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 75.86 [+0.19] TEST: Tx drop increased [ OK ] # 76.10 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.70 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 77.06 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 77.39 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 77.55 [+0.16] TEST: Tx drop increased [ OK ] # 78.19 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.83 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 79.20 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 79.54 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 79.70 [+0.15] TEST: Tx drop increased [ OK ] # 92.99 [+13.29] # 92.99 [+0.00] Backup nexthop ID - ping # 92.99 [+0.00] ------------------------ # 97.12 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 102.73 [+5.61] TEST: Ping after disabling backup nexthop ID [ OK ] # 116.87 [+14.15] # 116.87 [+0.00] Backup nexthop ID - torture test # 116.87 [+0.00] -------------------------------- # 147.91 [+31.04] TEST: Torture test [ OK ] # 148.08 [+0.17] kill: sending signal to 6878 failed: No such process # 148.89 [+0.81] # 148.89 [+0.00] Tests passed: 89 # 148.89 [+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 && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->