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.59 [+9.59] # 9.59 [+0.00] Backup port # 9.59 [+0.00] ----------- # 10.79 [+1.20] TEST: Forwarding out of swp1 [ OK ] # 11.04 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.26 [+0.23] TEST: swp1 carrier off [ OK ] # 11.75 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.03 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.26 [+0.23] TEST: swp1 carrier on [ OK ] # 12.43 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.91 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.20 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.43 [+0.22] TEST: swp1 carrier off [ OK ] # 13.91 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.17 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.40 [+0.24] TEST: swp1 carrier on [ OK ] # 14.87 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.13 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.33 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.78 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 16.04 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.26 [+0.22] TEST: swp1 carrier off [ OK ] # 16.75 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.01 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.34 [+10.33] # 27.34 [+0.00] Backup nexthop ID # 27.34 [+0.00] ----------------- # 28.89 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.36 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.62 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.86 [+0.24] TEST: swp1 carrier off [ OK ] # 30.34 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.62 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.90 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.17 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.38 [+0.21] TEST: swp1 carrier on [ OK ] # 31.55 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.04 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.29 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.52 [+0.24] TEST: swp1 carrier off [ OK ] # 33.01 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.54 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.82 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.05 [+0.24] TEST: swp1 carrier on [ OK ] # 34.51 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.80 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 35.07 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.34 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.53 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.99 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.26 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.52 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.77 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.99 [+0.22] TEST: swp1 carrier off [ OK ] # 37.45 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.70 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.97 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.23 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.46 [+10.23] # 48.46 [+0.00] Backup nexthop ID - invalid IDs # 48.46 [+0.00] ------------------------------- # 50.02 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.20 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.42 [+0.22] TEST: swp1 carrier off [ OK ] # 50.91 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.18 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.44 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 51.55 [+0.11] TEST: No Tx drop increase [ OK ] # 51.72 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.20 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.45 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.72 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.83 [+0.11] TEST: Tx drop increased [ OK ] # 53.09 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.60 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.12 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.24 [+0.12] TEST: Tx drop increased [ OK ] # 54.41 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.89 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.16 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.45 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 55.55 [+0.10] TEST: Tx drop increased [ OK ] # 56.00 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.47 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.73 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.00 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.10 [+0.10] TEST: Tx drop increased [ OK ] # 67.33 [+10.22] # 67.33 [+0.00] Backup nexthop ID - ping # 67.33 [+0.00] ------------------------ # 70.81 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 76.15 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.46 [+10.32] # 86.46 [+0.00] Backup nexthop ID - torture test # 86.46 [+0.00] -------------------------------- # 117.15 [+30.69] TEST: Torture test [ OK ] # 117.82 [+0.66] # 117.82 [+0.00] Tests passed: 83 # 117.82 [+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__->