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.91 [+9.91] # 9.91 [+0.00] Backup port # 9.91 [+0.00] ----------- # 11.38 [+1.47] TEST: Forwarding out of swp1 [ OK ] # 11.67 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.93 [+0.26] TEST: swp1 carrier off [ OK ] # 12.42 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.72 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.96 [+0.24] TEST: swp1 carrier on [ OK ] # 13.17 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.69 [+0.52] TEST: Forwarding out of swp1 [ OK ] # 13.98 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 14.22 [+0.24] TEST: swp1 carrier off [ OK ] # 14.75 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 15.03 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 15.29 [+0.25] TEST: swp1 carrier on [ OK ] # 15.80 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 16.07 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.26 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.72 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 17.01 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 17.24 [+0.23] TEST: swp1 carrier off [ OK ] # 17.70 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 17.98 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 28.53 [+10.55] # 28.53 [+0.00] Backup nexthop ID # 28.53 [+0.00] ----------------- # 30.10 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.57 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.86 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 31.09 [+0.23] TEST: swp1 carrier off [ OK ] # 31.58 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.88 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 32.15 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 32.41 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.64 [+0.23] TEST: swp1 carrier on [ OK ] # 32.81 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.30 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.56 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.79 [+0.23] TEST: swp1 carrier off [ OK ] # 34.28 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 34.55 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.82 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 35.10 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.32 [+0.22] TEST: swp1 carrier on [ OK ] # 35.82 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.07 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.33 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.61 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.78 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.28 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 37.54 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 37.82 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.08 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 38.31 [+0.22] TEST: swp1 carrier off [ OK ] # 38.79 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 39.07 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 39.34 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.60 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.96 [+10.36] # 49.96 [+0.00] Backup nexthop ID - invalid IDs # 49.96 [+0.00] ------------------------------- # 51.57 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.75 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.99 [+0.24] TEST: swp1 carrier off [ OK ] # 52.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.77 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 53.03 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 53.13 [+0.10] TEST: No Tx drop increase [ OK ] # 53.32 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.81 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.06 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.36 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 54.45 [+0.10] TEST: Tx drop increased [ OK ] # 54.71 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.18 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.45 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.72 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.82 [+0.10] TEST: Tx drop increased [ OK ] # 55.98 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.46 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.72 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.98 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 57.08 [+0.11] TEST: Tx drop increased [ OK ] # 57.53 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.02 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 58.31 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 58.56 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.67 [+0.10] TEST: Tx drop increased [ OK ] # 69.03 [+10.36] # 69.03 [+0.00] Backup nexthop ID - ping # 69.03 [+0.00] ------------------------ # 72.50 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 77.82 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.29 [+10.47] # 88.29 [+0.00] Backup nexthop ID - torture test # 88.29 [+0.00] -------------------------------- # 119.00 [+30.71] TEST: Torture test [ OK ] # 119.64 [+0.64] # 119.64 [+0.00] Tests passed: 83 # 119.64 [+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__->