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.50 [+9.50] # 9.50 [+0.00] Backup port # 9.50 [+0.00] ----------- # 10.85 [+1.35] TEST: Forwarding out of swp1 [ OK ] # 11.12 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.35 [+0.23] TEST: swp1 carrier off [ OK ] # 11.83 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.12 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.38 [+0.26] TEST: swp1 carrier on [ OK ] # 12.55 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.03 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.31 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.54 [+0.24] TEST: swp1 carrier off [ OK ] # 14.00 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.26 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.51 [+0.24] TEST: swp1 carrier on [ OK ] # 14.98 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.24 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.42 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.91 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.18 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.40 [+0.21] TEST: swp1 carrier off [ OK ] # 16.91 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 17.18 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.43 [+10.25] # 27.43 [+0.00] Backup nexthop ID # 27.43 [+0.00] ----------------- # 28.98 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.47 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.75 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.99 [+0.24] TEST: swp1 carrier off [ OK ] # 30.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.77 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.04 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.29 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.51 [+0.22] TEST: swp1 carrier on [ OK ] # 31.69 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.19 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.44 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.66 [+0.22] TEST: swp1 carrier off [ OK ] # 33.17 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.71 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.99 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.21 [+0.22] TEST: swp1 carrier on [ OK ] # 34.68 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.95 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.20 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.48 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.64 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.11 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.64 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.91 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.13 [+0.22] TEST: swp1 carrier off [ OK ] # 37.63 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 37.91 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.42 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.73 [+10.31] # 48.73 [+0.00] Backup nexthop ID - invalid IDs # 48.73 [+0.00] ------------------------------- # 50.25 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.44 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.66 [+0.22] TEST: swp1 carrier off [ OK ] # 51.16 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.45 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 51.72 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.82 [+0.10] TEST: No Tx drop increase [ OK ] # 51.99 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.50 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 52.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.03 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.13 [+0.10] TEST: Tx drop increased [ OK ] # 53.40 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.91 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 54.18 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.43 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.54 [+0.10] TEST: Tx drop increased [ OK ] # 54.70 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.18 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.42 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.70 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.79 [+0.09] TEST: Tx drop increased [ OK ] # 56.26 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.73 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 57.02 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 57.28 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 57.38 [+0.09] TEST: Tx drop increased [ OK ] # 67.59 [+10.21] # 67.59 [+0.00] Backup nexthop ID - ping # 67.59 [+0.00] ------------------------ # 71.06 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.38 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.56 [+10.19] # 86.56 [+0.00] Backup nexthop ID - torture test # 86.57 [+0.00] -------------------------------- # 117.26 [+30.69] TEST: Torture test [ OK ] # 117.87 [+0.62] # 117.87 [+0.00] Tests passed: 83 # 117.88 [+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__->