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.86 [+9.86] # 9.86 [+0.00] Backup port # 9.87 [+0.00] ----------- # 11.03 [+1.17] TEST: Forwarding out of swp1 [ OK ] # 11.28 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.52 [+0.24] TEST: swp1 carrier off [ OK ] # 12.00 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.26 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.50 [+0.23] TEST: swp1 carrier on [ OK ] # 12.65 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.14 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.41 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.64 [+0.22] TEST: swp1 carrier off [ OK ] # 14.14 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.41 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.66 [+0.25] TEST: swp1 carrier on [ OK ] # 15.15 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.40 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.59 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.08 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.34 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.58 [+0.24] TEST: swp1 carrier off [ OK ] # 17.06 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.34 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 27.59 [+10.25] # 27.59 [+0.00] Backup nexthop ID # 27.59 [+0.00] ----------------- # 29.12 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.63 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 29.88 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 30.12 [+0.24] TEST: swp1 carrier off [ OK ] # 30.60 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.86 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.14 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.38 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.61 [+0.23] TEST: swp1 carrier on [ OK ] # 31.77 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.25 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.52 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.75 [+0.23] TEST: swp1 carrier off [ OK ] # 33.23 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.74 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.00 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.24 [+0.24] TEST: swp1 carrier on [ OK ] # 34.70 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.94 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 35.22 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.49 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.66 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.12 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.39 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.68 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.95 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.18 [+0.23] TEST: swp1 carrier off [ OK ] # 37.64 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 38.18 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.45 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.68 [+10.24] # 48.68 [+0.00] Backup nexthop ID - invalid IDs # 48.68 [+0.00] ------------------------------- # 50.23 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.41 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.63 [+0.22] TEST: swp1 carrier off [ OK ] # 51.12 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.39 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.67 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.77 [+0.10] TEST: No Tx drop increase [ OK ] # 51.94 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.40 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.67 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.92 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.02 [+0.11] TEST: Tx drop increased [ OK ] # 53.30 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.78 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.03 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.30 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.40 [+0.10] TEST: Tx drop increased [ OK ] # 54.57 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.06 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.32 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.59 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.71 [+0.12] TEST: Tx drop increased [ OK ] # 56.13 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.63 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.17 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.26 [+0.09] TEST: Tx drop increased [ OK ] # 67.63 [+10.38] # 67.63 [+0.00] Backup nexthop ID - ping # 67.64 [+0.00] ------------------------ # 71.06 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 76.39 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.67 [+10.28] # 86.67 [+0.00] Backup nexthop ID - torture test # 86.67 [+0.00] -------------------------------- # 117.34 [+30.67] TEST: Torture test [ OK ] # 117.96 [+0.63] # 117.96 [+0.00] Tests passed: 83 # 117.96 [+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__->