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.39 [+9.39] # 9.39 [+0.00] Backup port # 9.39 [+0.00] ----------- # 10.41 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.67 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.89 [+0.22] TEST: swp1 carrier off [ OK ] # 11.35 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.86 [+0.24] TEST: swp1 carrier on [ OK ] # 12.03 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.52 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.00 [+0.21] TEST: swp1 carrier off [ OK ] # 13.45 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.94 [+0.22] TEST: swp1 carrier on [ OK ] # 14.42 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.68 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.87 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.37 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.65 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.89 [+0.24] TEST: swp1 carrier off [ OK ] # 16.37 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.66 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 27.13 [+10.48] # 27.14 [+0.00] Backup nexthop ID # 27.14 [+0.00] ----------------- # 28.67 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.16 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 29.44 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.67 [+0.23] TEST: swp1 carrier off [ OK ] # 30.15 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.43 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.95 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.17 [+0.22] TEST: swp1 carrier on [ OK ] # 31.35 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.86 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.11 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.35 [+0.23] TEST: swp1 carrier off [ OK ] # 32.82 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.10 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.37 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.65 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.88 [+0.23] TEST: swp1 carrier on [ OK ] # 34.36 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.65 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 34.91 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.19 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.36 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.85 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.12 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.39 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.66 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.89 [+0.23] TEST: swp1 carrier off [ OK ] # 37.40 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 37.68 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.94 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.20 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.88 [+10.68] # 48.88 [+0.00] Backup nexthop ID - invalid IDs # 48.89 [+0.00] ------------------------------- # 50.59 [+1.70] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.76 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.99 [+0.22] TEST: swp1 carrier off [ OK ] # 51.51 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 51.79 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.10 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 52.20 [+0.10] TEST: No Tx drop increase [ OK ] # 52.39 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.89 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.18 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 53.46 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.58 [+0.12] TEST: Tx drop increased [ OK ] # 53.85 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.35 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.62 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.88 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.00 [+0.11] TEST: Tx drop increased [ OK ] # 55.17 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.66 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.94 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.21 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.32 [+0.11] TEST: Tx drop increased [ OK ] # 56.80 [+0.48] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.29 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 57.56 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.84 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.94 [+0.09] TEST: Tx drop increased [ OK ] # 68.53 [+10.59] # 68.53 [+0.00] Backup nexthop ID - ping # 68.53 [+0.00] ------------------------ # 72.08 [+3.55] TEST: Ping with backup nexthop ID [ OK ] # 77.42 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.88 [+10.46] # 87.88 [+0.00] Backup nexthop ID - torture test # 87.88 [+0.00] -------------------------------- # 118.61 [+30.73] TEST: Torture test [ OK ] # 119.30 [+0.69] # 119.30 [+0.00] Tests passed: 83 # 119.30 [+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__->