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.07 [+12.07] # 12.07 [+0.00] Backup port # 12.07 [+0.00] ----------- # 13.86 [+1.79] TEST: Forwarding out of swp1 [ OK ] # 14.18 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.49 [+0.31] TEST: swp1 carrier off [ OK ] # 15.11 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 15.44 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.73 [+0.29] TEST: swp1 carrier on [ OK ] # 15.97 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.56 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.88 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.31] TEST: swp1 carrier off [ OK ] # 17.78 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 18.11 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.42 [+0.31] TEST: swp1 carrier on [ OK ] # 19.03 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 19.38 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.74 [+0.36] TEST: swp1 administratively down [ OK ] # 20.33 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 20.68 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.99 [+0.31] TEST: swp1 administratively up [ OK ] # 21.57 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 21.92 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.17 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.78 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 23.12 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 23.42 [+0.30] TEST: swp1 carrier off [ OK ] # 24.00 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 24.34 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.25 [+12.91] # 37.25 [+0.00] Backup nexthop ID # 37.25 [+0.00] ----------------- # 39.48 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.16 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 40.51 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.88 [+0.37] TEST: swp1 carrier off [ OK ] # 41.49 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 41.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.12 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 42.44 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.73 [+0.29] TEST: swp1 carrier on [ OK ] # 42.96 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.62 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 43.98 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 44.37 [+0.39] TEST: swp1 carrier off [ OK ] # 45.02 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 45.37 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 45.70 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 46.02 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.34 [+0.33] TEST: swp1 carrier on [ OK ] # 46.96 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.31 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.64 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.01 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.26 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.92 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 49.27 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 49.63 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 49.96 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.28 [+0.32] TEST: swp1 carrier off [ OK ] # 50.98 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 51.31 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 51.65 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 52.02 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.62 [+13.59] # 65.62 [+0.00] Backup nexthop ID - invalid IDs # 65.62 [+0.00] ------------------------------- # 67.79 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.04 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 68.35 [+0.31] TEST: swp1 carrier off [ OK ] # 69.04 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 69.37 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.74 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 69.89 [+0.15] TEST: No Tx drop increase [ OK ] # 70.14 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.78 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.10 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.43 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.55 [+0.12] TEST: Tx drop increased [ OK ] # 71.93 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.63 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 73.02 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 73.41 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 73.57 [+0.16] TEST: Tx drop increased [ OK ] # 73.84 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.54 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 74.85 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 75.20 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.38 [+0.18] TEST: Tx drop increased [ OK ] # 76.04 [+0.66] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.75 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 77.21 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 77.59 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 77.73 [+0.14] TEST: Tx drop increased [ OK ] # 91.24 [+13.51] # 91.24 [+0.00] Backup nexthop ID - ping # 91.24 [+0.00] ------------------------ # 95.33 [+4.09] TEST: Ping with backup nexthop ID [ OK ] # 100.84 [+5.51] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.38 [+13.54] # 114.38 [+0.00] Backup nexthop ID - torture test # 114.38 [+0.00] -------------------------------- # 145.46 [+31.08] TEST: Torture test [ OK ] # 145.65 [+0.19] kill: sending signal to 2206 failed: No such process # 146.47 [+0.82] # 146.47 [+0.00] Tests passed: 89 # 146.47 [+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__->