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.30 [+9.30] # 9.30 [+0.00] Backup port # 9.30 [+0.00] ----------- # 10.34 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.60 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.82 [+0.22] TEST: swp1 carrier off [ OK ] # 11.28 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.55 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.76 [+0.21] TEST: swp1 carrier on [ OK ] # 11.94 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.42 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.68 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.89 [+0.22] TEST: swp1 carrier off [ OK ] # 13.35 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.61 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 13.84 [+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.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.17 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.46 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.67 [+0.21] TEST: swp1 carrier off [ OK ] # 16.15 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.41 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.46 [+10.05] # 26.46 [+0.00] Backup nexthop ID # 26.46 [+0.00] ----------------- # 28.00 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.47 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.74 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.95 [+0.21] TEST: swp1 carrier off [ OK ] # 29.44 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 29.71 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 29.97 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.23 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.44 [+0.21] TEST: swp1 carrier on [ OK ] # 30.62 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.10 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 31.59 [+0.22] TEST: swp1 carrier off [ OK ] # 32.06 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.33 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.57 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 32.83 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.04 [+0.21] TEST: swp1 carrier on [ OK ] # 33.54 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 33.80 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.06 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.33 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.48 [+0.15] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.97 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.22 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.51 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.78 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.01 [+0.23] TEST: swp1 carrier off [ OK ] # 36.50 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 36.75 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.04 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.29 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.48 [+10.19] # 47.48 [+0.00] Backup nexthop ID - invalid IDs # 47.48 [+0.00] ------------------------------- # 49.08 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.27 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.49 [+0.23] TEST: swp1 carrier off [ OK ] # 49.97 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 50.23 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.50 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.61 [+0.11] TEST: No Tx drop increase [ OK ] # 50.78 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.25 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.51 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.78 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.88 [+0.11] TEST: Tx drop increased [ OK ] # 52.14 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.63 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.14 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.24 [+0.10] TEST: Tx drop increased [ OK ] # 53.42 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.90 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.16 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.42 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.51 [+0.09] TEST: Tx drop increased [ OK ] # 54.94 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.41 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.66 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.91 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.01 [+0.10] TEST: Tx drop increased [ OK ] # 66.14 [+10.14] # 66.14 [+0.00] Backup nexthop ID - ping # 66.15 [+0.00] ------------------------ # 69.62 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 74.95 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.14 [+10.19] # 85.14 [+0.00] Backup nexthop ID - torture test # 85.14 [+0.00] -------------------------------- # 115.82 [+30.67] TEST: Torture test [ OK ] # 116.48 [+0.66] # 116.48 [+0.00] Tests passed: 83 # 116.48 [+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__->