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 # 10.08 [+10.08] # 10.08 [+0.00] Backup port # 10.08 [+0.00] ----------- # 11.48 [+1.40] TEST: Forwarding out of swp1 [ OK ] # 11.80 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 12.05 [+0.25] TEST: swp1 carrier off [ OK ] # 12.58 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 12.86 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.12 [+0.26] TEST: swp1 carrier on [ OK ] # 13.31 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.85 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 14.13 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 14.40 [+0.26] TEST: swp1 carrier off [ OK ] # 14.94 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 15.28 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 15.51 [+0.23] TEST: swp1 carrier on [ OK ] # 16.00 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.28 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.47 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.94 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 17.21 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 17.44 [+0.23] TEST: swp1 carrier off [ OK ] # 17.93 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 18.19 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.47 [+10.28] # 28.47 [+0.00] Backup nexthop ID # 28.47 [+0.00] ----------------- # 29.96 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.44 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.72 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.94 [+0.22] TEST: swp1 carrier off [ OK ] # 31.41 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 31.68 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.93 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 32.18 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.41 [+0.23] TEST: swp1 carrier on [ OK ] # 32.57 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.05 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.31 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.53 [+0.23] TEST: swp1 carrier off [ OK ] # 34.01 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 34.29 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.56 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.82 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.03 [+0.21] TEST: swp1 carrier on [ OK ] # 35.51 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.29 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.47 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.98 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 37.22 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 37.49 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.77 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.98 [+0.22] TEST: swp1 carrier off [ OK ] # 38.44 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 38.71 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.97 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.23 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.62 [+10.39] # 49.62 [+0.00] Backup nexthop ID - invalid IDs # 49.62 [+0.00] ------------------------------- # 51.17 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.33 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 51.57 [+0.24] TEST: swp1 carrier off [ OK ] # 52.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.32 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.60 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.70 [+0.10] TEST: No Tx drop increase [ OK ] # 52.88 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.36 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.63 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.91 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.01 [+0.10] TEST: Tx drop increased [ OK ] # 54.26 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.73 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.27 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.37 [+0.10] TEST: Tx drop increased [ OK ] # 55.52 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.03 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.27 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 56.53 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.62 [+0.09] TEST: Tx drop increased [ OK ] # 57.03 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.49 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 57.76 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.02 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 58.11 [+0.09] TEST: Tx drop increased [ OK ] # 68.34 [+10.24] # 68.34 [+0.00] Backup nexthop ID - ping # 68.34 [+0.00] ------------------------ # 71.85 [+3.51] TEST: Ping with backup nexthop ID [ OK ] # 77.14 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.35 [+10.22] # 87.35 [+0.00] Backup nexthop ID - torture test # 87.36 [+0.00] -------------------------------- # 118.04 [+30.68] TEST: Torture test [ OK ] # 118.69 [+0.65] # 118.69 [+0.00] Tests passed: 83 # 118.69 [+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__->