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.36 [+9.36] # 9.36 [+0.00] Backup port # 9.37 [+0.00] ----------- # 10.39 [+1.02] TEST: Forwarding out of swp1 [ OK ] # 10.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.86 [+0.21] TEST: swp1 carrier off [ OK ] # 11.36 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 11.61 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.83 [+0.22] TEST: swp1 carrier on [ OK ] # 12.00 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.49 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 12.77 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.99 [+0.22] TEST: swp1 carrier off [ OK ] # 13.45 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.70 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.92 [+0.22] TEST: swp1 carrier on [ OK ] # 14.39 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.63 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.29 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.55 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.76 [+0.21] TEST: swp1 carrier off [ OK ] # 16.23 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.50 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.65 [+10.16] # 26.65 [+0.00] Backup nexthop ID # 26.65 [+0.00] ----------------- # 28.14 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.60 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.88 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.10 [+0.22] TEST: swp1 carrier off [ OK ] # 29.57 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.84 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 30.09 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.37 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.58 [+0.21] TEST: swp1 carrier on [ OK ] # 30.74 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.19 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.43 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 31.66 [+0.22] TEST: swp1 carrier off [ OK ] # 32.11 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.38 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.65 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.90 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.12 [+0.22] TEST: swp1 carrier on [ OK ] # 33.57 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.10 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.33 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.51 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.97 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 35.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.49 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.75 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.98 [+0.23] TEST: swp1 carrier off [ OK ] # 36.44 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.71 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.00 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.26 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.38 [+10.12] # 47.38 [+0.00] Backup nexthop ID - invalid IDs # 47.38 [+0.00] ------------------------------- # 48.96 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.12 [+0.15] TEST: Valid nexthop as backup nexthop [ OK ] # 49.33 [+0.21] TEST: swp1 carrier off [ OK ] # 49.82 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.08 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.35 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.46 [+0.11] TEST: No Tx drop increase [ OK ] # 50.62 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.09 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.35 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.60 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.71 [+0.10] TEST: Tx drop increased [ OK ] # 51.96 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.44 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.94 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 53.04 [+0.11] TEST: Tx drop increased [ OK ] # 53.21 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.68 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.20 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.30 [+0.10] TEST: Tx drop increased [ OK ] # 54.74 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.21 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.48 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.84 [+0.10] TEST: Tx drop increased [ OK ] # 65.85 [+10.01] # 65.85 [+0.00] Backup nexthop ID - ping # 65.86 [+0.00] ------------------------ # 69.22 [+3.36] TEST: Ping with backup nexthop ID [ OK ] # 74.55 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.57 [+10.02] # 84.57 [+0.00] Backup nexthop ID - torture test # 84.57 [+0.00] -------------------------------- # 115.25 [+30.68] TEST: Torture test [ OK ] # 115.83 [+0.58] # 115.83 [+0.00] Tests passed: 83 # 115.83 [+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__->