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.42 [+9.42] # 9.42 [+0.00] Backup port # 9.42 [+0.00] ----------- # 10.47 [+1.06] TEST: Forwarding out of swp1 [ OK ] # 10.77 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 10.99 [+0.22] TEST: swp1 carrier off [ OK ] # 11.45 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.94 [+0.23] TEST: swp1 carrier on [ OK ] # 12.11 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.59 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 12.88 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.10 [+0.22] TEST: swp1 carrier off [ OK ] # 13.59 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 13.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.08 [+0.23] TEST: swp1 carrier on [ OK ] # 14.56 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.84 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.02 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.45 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 15.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.95 [+0.23] TEST: swp1 carrier off [ OK ] # 16.40 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.66 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.91 [+10.25] # 26.91 [+0.00] Backup nexthop ID # 26.91 [+0.00] ----------------- # 28.46 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.92 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.21 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.43 [+0.22] TEST: swp1 carrier off [ OK ] # 29.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.17 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.45 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 30.73 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.96 [+0.23] TEST: swp1 carrier on [ OK ] # 31.13 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.62 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 31.89 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.12 [+0.23] TEST: swp1 carrier off [ OK ] # 32.60 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 32.89 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 33.16 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.43 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.66 [+0.23] TEST: swp1 carrier on [ OK ] # 34.14 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.39 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.67 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.95 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.14 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.62 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.88 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.16 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.44 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.65 [+0.21] TEST: swp1 carrier off [ OK ] # 37.12 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.38 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.65 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.93 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.32 [+10.39] # 48.32 [+0.00] Backup nexthop ID - invalid IDs # 48.32 [+0.00] ------------------------------- # 49.93 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.09 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.33 [+0.23] TEST: swp1 carrier off [ OK ] # 50.82 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.08 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.37 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 51.48 [+0.11] TEST: No Tx drop increase [ OK ] # 51.65 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.15 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.42 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.78 [+0.09] TEST: Tx drop increased [ OK ] # 53.03 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.51 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.78 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.03 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.13 [+0.09] TEST: Tx drop increased [ OK ] # 54.31 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.79 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.04 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.28 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 55.37 [+0.09] TEST: Tx drop increased [ OK ] # 55.80 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.27 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.52 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.79 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.88 [+0.09] TEST: Tx drop increased [ OK ] # 67.13 [+10.25] # 67.13 [+0.00] Backup nexthop ID - ping # 67.14 [+0.00] ------------------------ # 70.69 [+3.55] TEST: Ping with backup nexthop ID [ OK ] # 76.04 [+5.36] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.40 [+10.35] # 86.40 [+0.00] Backup nexthop ID - torture test # 86.40 [+0.00] -------------------------------- # 117.09 [+30.69] TEST: Torture test [ OK ] # 117.72 [+0.63] # 117.72 [+0.00] Tests passed: 83 # 117.72 [+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__->