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.49 [+9.49] # 9.49 [+0.00] Backup port # 9.49 [+0.00] ----------- # 10.82 [+1.33] TEST: Forwarding out of swp1 [ OK ] # 11.08 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.31 [+0.23] TEST: swp1 carrier off [ OK ] # 11.81 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.08 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.31 [+0.23] TEST: swp1 carrier on [ OK ] # 12.48 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.95 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.26 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.51 [+0.25] TEST: swp1 carrier off [ OK ] # 14.04 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 14.30 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.54 [+0.24] TEST: swp1 carrier on [ OK ] # 15.01 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.28 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.47 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.95 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.22 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.45 [+0.23] TEST: swp1 carrier off [ OK ] # 16.94 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.21 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.46 [+10.25] # 27.46 [+0.00] Backup nexthop ID # 27.46 [+0.00] ----------------- # 29.00 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.46 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.72 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.95 [+0.23] TEST: swp1 carrier off [ OK ] # 30.42 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.67 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.95 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.22 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.46 [+0.24] TEST: swp1 carrier on [ OK ] # 31.62 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.10 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.60 [+0.23] TEST: swp1 carrier off [ OK ] # 33.05 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 33.30 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.58 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.84 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.06 [+0.22] TEST: swp1 carrier on [ OK ] # 34.55 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.83 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.10 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.34 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.52 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.99 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.23 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.50 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.77 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.99 [+0.22] TEST: swp1 carrier off [ OK ] # 37.47 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.72 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.99 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.25 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.48 [+10.23] # 48.48 [+0.00] Backup nexthop ID - invalid IDs # 48.48 [+0.00] ------------------------------- # 50.01 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.18 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.40 [+0.22] TEST: swp1 carrier off [ OK ] # 50.92 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.17 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.43 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 51.53 [+0.10] TEST: No Tx drop increase [ OK ] # 51.71 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.20 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.46 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.73 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.83 [+0.10] TEST: Tx drop increased [ OK ] # 53.08 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.55 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.82 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.07 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.16 [+0.09] TEST: Tx drop increased [ OK ] # 54.33 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.79 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.04 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.30 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.39 [+0.09] TEST: Tx drop increased [ OK ] # 55.81 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.27 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.54 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.81 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.90 [+0.10] TEST: Tx drop increased [ OK ] # 67.14 [+10.23] # 67.14 [+0.00] Backup nexthop ID - ping # 67.14 [+0.00] ------------------------ # 70.62 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 75.94 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.09 [+10.15] # 86.09 [+0.00] Backup nexthop ID - torture test # 86.09 [+0.00] -------------------------------- # 116.80 [+30.71] TEST: Torture test [ OK ] # 117.44 [+0.64] # 117.45 [+0.00] Tests passed: 83 # 117.45 [+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__->