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.32 [+9.32] # 9.32 [+0.00] Backup port # 9.32 [+0.00] ----------- # 10.32 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.59 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.80 [+0.21] TEST: swp1 carrier off [ OK ] # 11.25 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.51 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.74 [+0.23] TEST: swp1 carrier on [ OK ] # 11.91 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.39 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 12.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.86 [+0.22] TEST: swp1 carrier off [ OK ] # 13.32 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.58 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.79 [+0.21] TEST: swp1 carrier on [ OK ] # 14.25 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.51 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.69 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.17 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.64 [+0.21] TEST: swp1 carrier off [ OK ] # 16.11 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.36 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.67 [+10.30] # 26.67 [+0.00] Backup nexthop ID # 26.67 [+0.00] ----------------- # 28.23 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.72 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.01 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.24 [+0.23] TEST: swp1 carrier off [ OK ] # 29.72 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.28 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 30.53 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.74 [+0.21] TEST: swp1 carrier on [ OK ] # 30.91 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.41 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 31.69 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 31.90 [+0.21] TEST: swp1 carrier off [ OK ] # 32.37 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.64 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.89 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.15 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.38 [+0.22] TEST: swp1 carrier on [ OK ] # 33.86 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.11 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.36 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.63 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.81 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.28 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.53 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.79 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.05 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.27 [+0.22] TEST: swp1 carrier off [ OK ] # 36.76 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.01 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.27 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.52 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.23 [+10.70] # 48.23 [+0.00] Backup nexthop ID - invalid IDs # 48.23 [+0.00] ------------------------------- # 49.82 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.00 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.22 [+0.22] TEST: swp1 carrier off [ OK ] # 50.74 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 50.99 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.26 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 51.35 [+0.10] TEST: No Tx drop increase [ OK ] # 51.51 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.01 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.31 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 52.59 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.70 [+0.11] TEST: Tx drop increased [ OK ] # 52.98 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.47 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.78 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 54.12 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 54.23 [+0.10] TEST: Tx drop increased [ OK ] # 54.40 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.92 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 55.19 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.45 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.54 [+0.09] TEST: Tx drop increased [ OK ] # 55.99 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.01 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 57.11 [+0.10] TEST: Tx drop increased [ OK ] # 67.53 [+10.42] # 67.53 [+0.00] Backup nexthop ID - ping # 67.53 [+0.00] ------------------------ # 71.08 [+3.55] TEST: Ping with backup nexthop ID [ OK ] # 76.39 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.01 [+10.62] # 87.01 [+0.00] Backup nexthop ID - torture test # 87.01 [+0.00] -------------------------------- # 117.75 [+30.74] TEST: Torture test [ OK ] # 118.38 [+0.63] # 118.38 [+0.00] Tests passed: 83 # 118.38 [+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__->