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-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.57 [+9.57] # 9.57 [+0.00] Backup port # 9.57 [+0.00] ----------- # 10.67 [+1.09] TEST: Forwarding out of swp1 [ OK ] # 10.96 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.20 [+0.25] TEST: swp1 carrier off [ OK ] # 11.68 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.96 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.20 [+0.24] TEST: swp1 carrier on [ OK ] # 12.37 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.92 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 13.23 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.50 [+0.27] TEST: swp1 carrier off [ OK ] # 13.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.26 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.50 [+0.24] TEST: swp1 carrier on [ OK ] # 15.00 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.29 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.49 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.98 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.52 [+0.27] TEST: swp1 carrier off [ OK ] # 17.06 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 17.33 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.86 [+10.53] # 27.86 [+0.00] Backup nexthop ID # 27.86 [+0.00] ----------------- # 29.39 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.85 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 30.14 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.37 [+0.22] TEST: swp1 carrier off [ OK ] # 30.86 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.14 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.41 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.66 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.90 [+0.24] TEST: swp1 carrier on [ OK ] # 32.07 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.57 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.05 [+0.21] TEST: swp1 carrier off [ OK ] # 33.52 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.79 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.06 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.32 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.56 [+0.24] TEST: swp1 carrier on [ OK ] # 35.03 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.31 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.59 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.86 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.04 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.53 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.78 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 37.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.33 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.56 [+0.24] TEST: swp1 carrier off [ OK ] # 38.04 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.34 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.59 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 38.86 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.15 [+10.30] # 49.15 [+0.00] Backup nexthop ID - invalid IDs # 49.15 [+0.00] ------------------------------- # 50.74 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.91 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 51.13 [+0.22] TEST: swp1 carrier off [ OK ] # 51.63 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.90 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.18 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.28 [+0.10] TEST: No Tx drop increase [ OK ] # 52.44 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.94 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.20 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.47 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.58 [+0.11] TEST: Tx drop increased [ OK ] # 53.85 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.35 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.60 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.85 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.96 [+0.10] TEST: Tx drop increased [ OK ] # 55.15 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.65 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.92 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.19 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.29 [+0.10] TEST: Tx drop increased [ OK ] # 56.73 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.20 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 57.83 [+0.10] TEST: Tx drop increased [ OK ] # 68.10 [+10.27] # 68.10 [+0.00] Backup nexthop ID - ping # 68.10 [+0.00] ------------------------ # 71.54 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 76.86 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.20 [+10.34] # 87.20 [+0.00] Backup nexthop ID - torture test # 87.20 [+0.00] -------------------------------- # 117.89 [+30.69] TEST: Torture test [ OK ] # 118.56 [+0.67] # 118.56 [+0.00] Tests passed: 83 # 118.56 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->