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.63 [+9.63] # 9.63 [+0.00] Backup port # 9.63 [+0.00] ----------- # 10.71 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 11.00 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.25 [+0.24] TEST: swp1 carrier off [ OK ] # 11.76 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 12.05 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.30 [+0.25] TEST: swp1 carrier on [ OK ] # 12.48 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.00 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 13.29 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.57 [+0.27] TEST: swp1 carrier off [ OK ] # 14.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.35 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 14.60 [+0.25] TEST: swp1 carrier on [ OK ] # 15.11 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.38 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.58 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.07 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.33 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.56 [+0.23] TEST: swp1 carrier off [ OK ] # 17.10 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 17.36 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.03 [+10.67] # 28.03 [+0.00] Backup nexthop ID # 28.03 [+0.00] ----------------- # 29.60 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.12 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 30.40 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.68 [+0.28] TEST: swp1 carrier off [ OK ] # 31.16 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.45 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.72 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 32.01 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.33 [+0.32] TEST: swp1 carrier on [ OK ] # 32.52 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.04 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 33.33 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.56 [+0.24] TEST: swp1 carrier off [ OK ] # 34.07 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 34.34 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.62 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.90 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.13 [+0.23] TEST: swp1 carrier on [ OK ] # 35.58 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 35.85 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.12 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.38 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.56 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.06 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 37.34 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.59 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.86 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.09 [+0.23] TEST: swp1 carrier off [ OK ] # 38.60 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.87 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 39.15 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.42 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.60 [+10.18] # 49.60 [+0.00] Backup nexthop ID - invalid IDs # 49.60 [+0.00] ------------------------------- # 51.16 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.35 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.57 [+0.22] TEST: swp1 carrier off [ OK ] # 52.06 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.33 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.58 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 52.68 [+0.10] TEST: No Tx drop increase [ OK ] # 52.86 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.33 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.61 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.88 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.96 [+0.08] TEST: Tx drop increased [ OK ] # 54.23 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.71 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.97 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.33 [+0.10] TEST: Tx drop increased [ OK ] # 55.50 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.98 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.50 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.60 [+0.10] TEST: Tx drop increased [ OK ] # 57.04 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.78 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 58.03 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 58.12 [+0.10] TEST: Tx drop increased [ OK ] # 68.36 [+10.24] # 68.36 [+0.00] Backup nexthop ID - ping # 68.36 [+0.00] ------------------------ # 71.90 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 77.22 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.47 [+10.25] # 87.47 [+0.00] Backup nexthop ID - torture test # 87.47 [+0.00] -------------------------------- # 118.14 [+30.67] TEST: Torture test [ OK ] # 118.76 [+0.62] # 118.76 [+0.00] Tests passed: 83 # 118.76 [+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__->