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.51 [+9.51] # 9.51 [+0.00] Backup port # 9.51 [+0.00] ----------- # 10.73 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.22 [+0.24] TEST: swp1 carrier off [ OK ] # 11.69 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.96 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.20 [+0.24] TEST: swp1 carrier on [ OK ] # 12.39 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.89 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.16 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.38 [+0.22] TEST: swp1 carrier off [ OK ] # 13.88 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.20 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 14.46 [+0.26] TEST: swp1 carrier on [ OK ] # 14.96 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.43 [+0.20] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.90 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.16 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.41 [+0.25] TEST: swp1 carrier off [ OK ] # 16.91 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.17 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.53 [+10.36] # 27.53 [+0.00] Backup nexthop ID # 27.53 [+0.00] ----------------- # 29.28 [+1.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.88 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 30.15 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.44 [+0.28] TEST: swp1 carrier off [ OK ] # 30.94 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.21 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 31.49 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.75 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.98 [+0.22] TEST: swp1 carrier on [ OK ] # 32.14 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.62 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.89 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 33.13 [+0.24] TEST: swp1 carrier off [ OK ] # 33.64 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 33.93 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.22 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 34.56 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.79 [+0.23] TEST: swp1 carrier on [ OK ] # 35.30 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 35.63 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 35.93 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 36.20 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.38 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.85 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 37.12 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 37.44 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 37.69 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.93 [+0.24] TEST: swp1 carrier off [ OK ] # 38.44 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.72 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.98 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 39.28 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.79 [+10.51] # 49.79 [+0.00] Backup nexthop ID - invalid IDs # 49.79 [+0.00] ------------------------------- # 51.44 [+1.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.63 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.91 [+0.28] TEST: swp1 carrier off [ OK ] # 52.48 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 52.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.02 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 53.13 [+0.11] TEST: No Tx drop increase [ OK ] # 53.31 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.80 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.07 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.34 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.44 [+0.10] TEST: Tx drop increased [ OK ] # 54.72 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.19 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.45 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.71 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.81 [+0.10] TEST: Tx drop increased [ OK ] # 55.99 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.47 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.72 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.99 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.09 [+0.10] TEST: Tx drop increased [ OK ] # 57.54 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.02 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 58.30 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.56 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.66 [+0.09] TEST: Tx drop increased [ OK ] # 69.10 [+10.44] # 69.10 [+0.00] Backup nexthop ID - ping # 69.10 [+0.00] ------------------------ # 72.69 [+3.59] TEST: Ping with backup nexthop ID [ OK ] # 78.03 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.32 [+10.29] # 88.32 [+0.00] Backup nexthop ID - torture test # 88.33 [+0.00] -------------------------------- # 119.03 [+30.70] TEST: Torture test [ OK ] # 119.70 [+0.67] # 119.70 [+0.00] Tests passed: 83 # 119.70 [+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__->