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.29 [+9.29] # 9.29 [+0.00] Backup port # 9.29 [+0.00] ----------- # 10.31 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.57 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.78 [+0.22] TEST: swp1 carrier off [ OK ] # 11.24 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.52 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.73 [+0.22] TEST: swp1 carrier on [ OK ] # 11.91 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.37 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.64 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.86 [+0.22] TEST: swp1 carrier off [ OK ] # 13.33 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.59 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.82 [+0.23] TEST: swp1 carrier on [ OK ] # 14.28 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.53 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.71 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.18 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.44 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.68 [+0.24] TEST: swp1 carrier off [ OK ] # 16.15 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.39 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 26.49 [+10.09] # 26.49 [+0.00] Backup nexthop ID # 26.49 [+0.00] ----------------- # 27.99 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.48 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 28.76 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 28.98 [+0.22] TEST: swp1 carrier off [ OK ] # 29.43 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.69 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.97 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.23 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.45 [+0.22] TEST: swp1 carrier on [ OK ] # 30.61 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.11 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 31.34 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 31.55 [+0.21] TEST: swp1 carrier off [ OK ] # 32.01 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.29 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.54 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.81 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.02 [+0.22] TEST: swp1 carrier on [ OK ] # 33.51 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.78 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.04 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.29 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.46 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.96 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.47 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.73 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.95 [+0.21] TEST: swp1 carrier off [ OK ] # 36.41 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.68 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 36.94 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.19 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.34 [+10.15] # 47.34 [+0.00] Backup nexthop ID - invalid IDs # 47.35 [+0.00] ------------------------------- # 48.90 [+1.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.06 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.28 [+0.22] TEST: swp1 carrier off [ OK ] # 49.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.01 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 50.26 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.36 [+0.10] TEST: No Tx drop increase [ OK ] # 50.55 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.29 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 51.55 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.67 [+0.12] TEST: Tx drop increased [ OK ] # 51.93 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.39 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.66 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.91 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.02 [+0.11] TEST: Tx drop increased [ OK ] # 53.19 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.69 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.20 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.31 [+0.10] TEST: Tx drop increased [ OK ] # 54.73 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.20 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.47 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.82 [+0.10] TEST: Tx drop increased [ OK ] # 66.09 [+10.26] # 66.09 [+0.00] Backup nexthop ID - ping # 66.09 [+0.00] ------------------------ # 69.61 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 74.94 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.38 [+10.43] # 85.38 [+0.00] Backup nexthop ID - torture test # 85.38 [+0.00] -------------------------------- # 116.10 [+30.72] TEST: Torture test [ OK ] # 116.73 [+0.63] # 116.73 [+0.00] Tests passed: 83 # 116.73 [+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__->