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.64 [+9.64] # 9.64 [+0.00] Backup port # 9.64 [+0.00] ----------- # 11.04 [+1.40] TEST: Forwarding out of swp1 [ OK ] # 11.31 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.56 [+0.25] TEST: swp1 carrier off [ OK ] # 12.04 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.31 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.53 [+0.23] TEST: swp1 carrier on [ OK ] # 12.70 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.43 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 13.68 [+0.25] TEST: swp1 carrier off [ OK ] # 14.13 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.40 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.65 [+0.25] TEST: swp1 carrier on [ OK ] # 15.12 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.40 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.56 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.05 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.29 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.54 [+0.24] TEST: swp1 carrier off [ OK ] # 17.00 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 17.26 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.56 [+10.30] # 27.56 [+0.00] Backup nexthop ID # 27.56 [+0.00] ----------------- # 29.12 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.59 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.90 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 30.11 [+0.22] TEST: swp1 carrier off [ OK ] # 30.59 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.12 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.38 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.62 [+0.23] TEST: swp1 carrier on [ OK ] # 31.79 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.27 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.54 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.76 [+0.22] TEST: swp1 carrier off [ OK ] # 33.24 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.51 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.77 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.03 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.27 [+0.25] TEST: swp1 carrier on [ OK ] # 34.76 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.01 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.28 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.55 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.74 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.22 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.03 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.24 [+0.21] TEST: swp1 carrier off [ OK ] # 37.73 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 38.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.27 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.54 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.76 [+10.22] # 48.76 [+0.00] Backup nexthop ID - invalid IDs # 48.76 [+0.00] ------------------------------- # 50.34 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.51 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.74 [+0.23] TEST: swp1 carrier off [ OK ] # 51.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.47 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.74 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.84 [+0.09] TEST: No Tx drop increase [ OK ] # 52.03 [+0.20] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.54 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.82 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.09 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.19 [+0.10] TEST: Tx drop increased [ OK ] # 53.45 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.95 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.23 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.49 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.59 [+0.10] TEST: Tx drop increased [ OK ] # 54.75 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.25 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.53 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.78 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.88 [+0.10] TEST: Tx drop increased [ OK ] # 56.34 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.83 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.45 [+0.09] TEST: Tx drop increased [ OK ] # 67.68 [+10.22] # 67.68 [+0.00] Backup nexthop ID - ping # 67.68 [+0.00] ------------------------ # 71.15 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 76.47 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.76 [+10.30] # 86.76 [+0.00] Backup nexthop ID - torture test # 86.76 [+0.00] -------------------------------- # 117.47 [+30.70] TEST: Torture test [ OK ] # 118.10 [+0.63] # 118.10 [+0.00] Tests passed: 83 # 118.10 [+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__->