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.62 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.87 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.11 [+0.24] TEST: swp1 carrier off [ OK ] # 11.61 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 11.87 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.11 [+0.24] TEST: swp1 carrier on [ OK ] # 12.29 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.76 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.04 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.27 [+0.23] TEST: swp1 carrier off [ OK ] # 13.77 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.02 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.26 [+0.24] TEST: swp1 carrier on [ OK ] # 14.74 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.99 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.64 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.91 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.12 [+0.22] TEST: swp1 carrier off [ OK ] # 16.60 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.85 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.17 [+10.32] # 27.17 [+0.00] Backup nexthop ID # 27.18 [+0.00] ----------------- # 28.72 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.21 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.50 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.74 [+0.24] TEST: swp1 carrier off [ OK ] # 30.21 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 31.03 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.26 [+0.23] TEST: swp1 carrier on [ OK ] # 31.43 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.92 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.41 [+0.24] TEST: swp1 carrier off [ OK ] # 32.85 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 33.13 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.40 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.67 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.90 [+0.22] TEST: swp1 carrier on [ OK ] # 34.40 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.67 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.91 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.19 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.36 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.85 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.13 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.40 [+0.28] 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.38 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.66 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.92 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.19 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.46 [+10.28] # 48.46 [+0.00] Backup nexthop ID - invalid IDs # 48.46 [+0.00] ------------------------------- # 50.06 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.23 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.45 [+0.22] TEST: swp1 carrier off [ OK ] # 50.97 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.23 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.50 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.59 [+0.10] TEST: No Tx drop increase [ OK ] # 51.78 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.23 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.50 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.78 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.88 [+0.11] TEST: Tx drop increased [ OK ] # 53.15 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.62 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.13 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 54.23 [+0.10] TEST: Tx drop increased [ OK ] # 54.41 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.91 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.45 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.55 [+0.10] TEST: Tx drop increased [ OK ] # 56.01 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.53 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 56.78 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.05 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.15 [+0.10] TEST: Tx drop increased [ OK ] # 67.52 [+10.36] # 67.52 [+0.00] Backup nexthop ID - ping # 67.52 [+0.00] ------------------------ # 70.99 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 76.30 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.54 [+10.24] # 86.54 [+0.00] Backup nexthop ID - torture test # 86.54 [+0.00] -------------------------------- # 117.22 [+30.68] TEST: Torture test [ OK ] # 117.87 [+0.65] # 117.87 [+0.00] Tests passed: 83 # 117.87 [+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__->