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.31 [+9.31] # 9.31 [+0.00] Backup port # 9.31 [+0.00] ----------- # 10.31 [+0.99] TEST: Forwarding out of swp1 [ OK ] # 10.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.80 [+0.21] TEST: swp1 carrier off [ OK ] # 11.26 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.52 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.75 [+0.23] TEST: swp1 carrier on [ OK ] # 11.92 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.39 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.65 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.87 [+0.22] TEST: swp1 carrier off [ OK ] # 13.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.80 [+0.21] TEST: swp1 carrier on [ OK ] # 14.26 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.71 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.16 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.41 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.63 [+0.21] TEST: swp1 carrier off [ OK ] # 16.10 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.36 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.44 [+10.08] # 26.44 [+0.00] Backup nexthop ID # 26.44 [+0.00] ----------------- # 27.90 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.35 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.84 [+0.22] TEST: swp1 carrier off [ OK ] # 29.32 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 29.58 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.10 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.32 [+0.22] TEST: swp1 carrier on [ OK ] # 30.47 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.93 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.21 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 31.43 [+0.22] TEST: swp1 carrier off [ OK ] # 31.87 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 32.14 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.40 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.65 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.86 [+0.21] TEST: swp1 carrier on [ OK ] # 33.33 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.60 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.85 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.10 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.27 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.72 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.97 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.23 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.49 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.70 [+0.21] TEST: swp1 carrier off [ OK ] # 36.18 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.44 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.70 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.96 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.12 [+10.16] # 47.12 [+0.00] Backup nexthop ID - invalid IDs # 47.12 [+0.00] ------------------------------- # 48.66 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.83 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.04 [+0.22] TEST: swp1 carrier off [ OK ] # 49.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.78 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.04 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.15 [+0.11] TEST: No Tx drop increase [ OK ] # 50.34 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.83 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.47 [+0.11] TEST: Tx drop increased [ OK ] # 51.73 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.82 [+0.09] TEST: Tx drop increased [ OK ] # 52.98 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.46 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.73 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.99 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.09 [+0.09] TEST: Tx drop increased [ OK ] # 54.52 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.99 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.25 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.50 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.60 [+0.10] TEST: Tx drop increased [ OK ] # 65.88 [+10.28] # 65.88 [+0.00] Backup nexthop ID - ping # 65.89 [+0.00] ------------------------ # 69.52 [+3.63] TEST: Ping with backup nexthop ID [ OK ] # 74.84 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.22 [+10.38] # 85.22 [+0.00] Backup nexthop ID - torture test # 85.22 [+0.00] -------------------------------- # 115.90 [+30.68] TEST: Torture test [ OK ] # 116.61 [+0.71] # 116.61 [+0.00] Tests passed: 83 # 116.61 [+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__->