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.36 [+9.36] # 9.36 [+0.00] Backup port # 9.36 [+0.00] ----------- # 10.36 [+1.00] TEST: Forwarding out of swp1 [ OK ] # 10.61 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.83 [+0.22] TEST: swp1 carrier off [ OK ] # 11.28 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.54 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.77 [+0.23] TEST: swp1 carrier on [ OK ] # 11.94 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.41 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.67 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.88 [+0.21] TEST: swp1 carrier off [ OK ] # 13.36 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.62 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.85 [+0.23] TEST: swp1 carrier on [ OK ] # 14.30 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.56 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.73 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.20 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.44 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.67 [+0.23] TEST: swp1 carrier off [ OK ] # 16.14 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.39 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.52 [+10.13] # 26.52 [+0.00] Backup nexthop ID # 26.52 [+0.00] ----------------- # 28.03 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.51 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 28.78 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.00 [+0.22] TEST: swp1 carrier off [ OK ] # 29.45 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 29.99 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.24 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.45 [+0.21] TEST: swp1 carrier on [ OK ] # 30.63 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.09 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.37 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 31.58 [+0.21] TEST: swp1 carrier off [ OK ] # 32.07 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 32.34 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.60 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.86 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.08 [+0.22] TEST: swp1 carrier on [ OK ] # 33.56 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.08 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.34 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.50 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.98 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.24 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.48 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 35.74 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.96 [+0.22] TEST: swp1 carrier off [ OK ] # 36.45 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.71 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.97 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.22 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.38 [+10.16] # 47.38 [+0.00] Backup nexthop ID - invalid IDs # 47.38 [+0.00] ------------------------------- # 48.90 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.07 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.29 [+0.22] TEST: swp1 carrier off [ OK ] # 49.78 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.04 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.31 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.39 [+0.09] TEST: No Tx drop increase [ OK ] # 50.58 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.04 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.32 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.57 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.67 [+0.10] TEST: Tx drop increased [ OK ] # 51.93 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.42 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.69 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.06 [+0.09] TEST: Tx drop increased [ OK ] # 53.22 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.96 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.33 [+0.10] TEST: Tx drop increased [ OK ] # 54.75 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.20 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 55.47 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.72 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.83 [+0.11] TEST: Tx drop increased [ OK ] # 66.01 [+10.18] # 66.01 [+0.00] Backup nexthop ID - ping # 66.01 [+0.00] ------------------------ # 69.36 [+3.35] TEST: Ping with backup nexthop ID [ OK ] # 74.66 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.75 [+10.09] # 84.75 [+0.00] Backup nexthop ID - torture test # 84.75 [+0.00] -------------------------------- # 115.41 [+30.65] TEST: Torture test [ OK ] # 116.02 [+0.62] # 116.02 [+0.00] Tests passed: 83 # 116.03 [+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__->