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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.61 [+0.00] ----------- # 11.08 [+1.46] TEST: Forwarding out of swp1 [ OK ] # 11.34 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.59 [+0.25] TEST: swp1 carrier off [ OK ] # 12.08 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.35 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.59 [+0.24] TEST: swp1 carrier on [ OK ] # 12.77 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.24 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.51 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.74 [+0.23] TEST: swp1 carrier off [ OK ] # 14.23 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.50 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.72 [+0.22] TEST: swp1 carrier on [ OK ] # 15.19 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.44 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.61 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.12 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 16.39 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.63 [+0.24] TEST: swp1 carrier off [ OK ] # 17.12 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.38 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.73 [+10.36] # 27.73 [+0.00] Backup nexthop ID # 27.73 [+0.00] ----------------- # 29.31 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.82 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 30.12 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 30.37 [+0.25] TEST: swp1 carrier off [ OK ] # 30.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 31.13 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.40 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 31.65 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.87 [+0.21] TEST: swp1 carrier on [ OK ] # 32.04 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.49 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 32.77 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.01 [+0.24] TEST: swp1 carrier off [ OK ] # 33.48 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 33.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.01 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.28 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.50 [+0.21] TEST: swp1 carrier on [ OK ] # 35.01 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 35.28 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.54 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.83 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.01 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.49 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.75 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.99 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.27 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.49 [+0.22] TEST: swp1 carrier off [ OK ] # 37.97 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 38.24 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.52 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 38.79 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.13 [+10.34] # 49.13 [+0.00] Backup nexthop ID - invalid IDs # 49.13 [+0.00] ------------------------------- # 50.73 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.92 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.14 [+0.22] TEST: swp1 carrier off [ OK ] # 51.64 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.92 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.19 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.30 [+0.11] TEST: No Tx drop increase [ OK ] # 52.48 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.95 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.23 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.48 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.58 [+0.10] TEST: Tx drop increased [ OK ] # 53.86 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.33 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.87 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.96 [+0.09] TEST: Tx drop increased [ OK ] # 55.13 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.62 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.88 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.17 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.27 [+0.10] TEST: Tx drop increased [ OK ] # 56.70 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.17 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.68 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 57.79 [+0.11] TEST: Tx drop increased [ OK ] # 68.15 [+10.36] # 68.15 [+0.00] Backup nexthop ID - ping # 68.15 [+0.00] ------------------------ # 71.68 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 77.01 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.42 [+10.40] # 87.42 [+0.00] Backup nexthop ID - torture test # 87.42 [+0.00] -------------------------------- # 118.16 [+30.74] TEST: Torture test [ OK ] # 118.84 [+0.68] # 118.84 [+0.00] Tests passed: 83 # 118.84 [+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__->