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.65 [+9.65] # 9.65 [+0.00] Backup port # 9.65 [+0.00] ----------- # 10.92 [+1.27] TEST: Forwarding out of swp1 [ OK ] # 11.17 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.39 [+0.21] TEST: swp1 carrier off [ OK ] # 11.93 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 12.20 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.42 [+0.22] TEST: swp1 carrier on [ OK ] # 12.61 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.10 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.38 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.60 [+0.22] TEST: swp1 carrier off [ OK ] # 14.08 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.41 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 14.65 [+0.24] TEST: swp1 carrier on [ OK ] # 15.16 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.48 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.68 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.20 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 16.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.73 [+0.27] TEST: swp1 carrier off [ OK ] # 17.23 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.59 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 28.11 [+10.52] # 28.11 [+0.00] Backup nexthop ID # 28.11 [+0.00] ----------------- # 29.67 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.14 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.44 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.66 [+0.22] TEST: swp1 carrier off [ OK ] # 31.14 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.41 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.69 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.97 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.21 [+0.24] TEST: swp1 carrier on [ OK ] # 32.40 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.89 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 33.17 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.40 [+0.23] TEST: swp1 carrier off [ OK ] # 33.89 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 34.15 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 34.43 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.69 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.90 [+0.21] TEST: swp1 carrier on [ OK ] # 35.39 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.66 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.94 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.21 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.40 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.87 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 37.18 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 37.44 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.72 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.94 [+0.23] TEST: swp1 carrier off [ OK ] # 38.43 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.70 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.25 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.65 [+10.41] # 49.65 [+0.00] Backup nexthop ID - invalid IDs # 49.66 [+0.00] ------------------------------- # 51.22 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.38 [+0.15] TEST: Valid nexthop as backup nexthop [ OK ] # 51.60 [+0.23] TEST: swp1 carrier off [ OK ] # 52.13 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.39 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.66 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.76 [+0.10] TEST: No Tx drop increase [ OK ] # 52.92 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.44 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.68 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.07 [+0.12] TEST: Tx drop increased [ OK ] # 54.33 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.82 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.35 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.47 [+0.12] TEST: Tx drop increased [ OK ] # 55.65 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.15 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.42 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.69 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.78 [+0.10] TEST: Tx drop increased [ OK ] # 57.23 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.71 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.98 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 58.22 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 58.33 [+0.11] TEST: Tx drop increased [ OK ] # 68.57 [+10.24] # 68.57 [+0.00] Backup nexthop ID - ping # 68.57 [+0.00] ------------------------ # 72.02 [+3.45] TEST: Ping with backup nexthop ID [ OK ] # 77.33 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.64 [+10.31] # 87.64 [+0.00] Backup nexthop ID - torture test # 87.64 [+0.00] -------------------------------- # 118.37 [+30.73] TEST: Torture test [ OK ] # 119.00 [+0.63] # 119.00 [+0.00] Tests passed: 83 # 119.00 [+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__->