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.54 [+9.54] # 9.54 [+0.00] Backup port # 9.54 [+0.00] ----------- # 10.87 [+1.32] TEST: Forwarding out of swp1 [ OK ] # 11.15 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.40 [+0.25] TEST: swp1 carrier off [ OK ] # 11.89 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.45 [+0.29] TEST: swp1 carrier on [ OK ] # 12.65 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.15 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.41 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.64 [+0.23] TEST: swp1 carrier off [ OK ] # 14.12 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.40 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.64 [+0.24] TEST: swp1 carrier on [ OK ] # 15.11 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.39 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.57 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.06 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.34 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.56 [+0.22] TEST: swp1 carrier off [ OK ] # 17.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.32 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.71 [+10.39] # 27.71 [+0.00] Backup nexthop ID # 27.71 [+0.00] ----------------- # 29.32 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.82 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 30.11 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.38 [+0.26] TEST: swp1 carrier off [ OK ] # 30.87 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.14 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.41 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.68 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.92 [+0.24] TEST: swp1 carrier on [ OK ] # 32.11 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.61 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.12 [+0.24] TEST: swp1 carrier off [ OK ] # 33.63 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 33.91 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.20 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.47 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.70 [+0.24] TEST: swp1 carrier on [ OK ] # 35.17 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.44 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.72 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.98 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.17 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.66 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.93 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 37.21 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.48 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.71 [+0.24] TEST: swp1 carrier off [ OK ] # 38.23 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.51 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.77 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 39.03 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.62 [+10.59] # 49.62 [+0.00] Backup nexthop ID - invalid IDs # 49.62 [+0.00] ------------------------------- # 51.22 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.40 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.64 [+0.24] TEST: swp1 carrier off [ OK ] # 52.15 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.40 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.66 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.78 [+0.13] TEST: No Tx drop increase [ OK ] # 52.96 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.45 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.98 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.08 [+0.09] TEST: Tx drop increased [ OK ] # 54.36 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.86 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.13 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.39 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.51 [+0.12] TEST: Tx drop increased [ OK ] # 55.70 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.21 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 56.47 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.75 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.86 [+0.12] TEST: Tx drop increased [ OK ] # 57.31 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.78 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 58.06 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.32 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.41 [+0.10] TEST: Tx drop increased [ OK ] # 68.93 [+10.51] # 68.93 [+0.00] Backup nexthop ID - ping # 68.93 [+0.00] ------------------------ # 72.46 [+3.54] TEST: Ping with backup nexthop ID [ OK ] # 77.78 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.53 [+10.75] # 88.53 [+0.00] Backup nexthop ID - torture test # 88.54 [+0.00] -------------------------------- # 119.25 [+30.72] TEST: Torture test [ OK ] # 119.90 [+0.64] # 119.90 [+0.00] Tests passed: 83 # 119.90 [+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__->