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.39 [+9.39] # 9.40 [+0.00] Backup port # 9.40 [+0.00] ----------- # 10.43 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.69 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.91 [+0.23] TEST: swp1 carrier off [ OK ] # 11.38 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.65 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.87 [+0.23] TEST: swp1 carrier on [ OK ] # 12.04 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.51 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.00 [+0.24] TEST: swp1 carrier off [ OK ] # 13.46 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.72 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.96 [+0.24] TEST: swp1 carrier on [ OK ] # 14.46 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 14.92 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.38 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.88 [+0.24] TEST: swp1 carrier off [ OK ] # 16.36 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.62 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.92 [+10.30] # 26.92 [+0.00] Backup nexthop ID # 26.92 [+0.00] ----------------- # 28.49 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.97 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.26 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.50 [+0.24] TEST: swp1 carrier off [ OK ] # 29.98 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.50 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.77 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.02 [+0.25] TEST: swp1 carrier on [ OK ] # 31.22 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.69 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.97 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 32.21 [+0.24] TEST: swp1 carrier off [ OK ] # 32.71 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 32.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.25 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.52 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.75 [+0.23] TEST: swp1 carrier on [ OK ] # 34.25 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.50 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.76 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.02 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.20 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.69 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.96 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 36.24 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.49 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.71 [+0.22] TEST: swp1 carrier off [ OK ] # 37.21 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.46 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.73 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.01 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.37 [+10.36] # 48.37 [+0.00] Backup nexthop ID - invalid IDs # 48.37 [+0.00] ------------------------------- # 49.99 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.16 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.39 [+0.23] TEST: swp1 carrier off [ OK ] # 50.91 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.18 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.47 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 51.56 [+0.09] TEST: No Tx drop increase [ OK ] # 51.76 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.22 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.76 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.85 [+0.09] TEST: Tx drop increased [ OK ] # 53.12 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.60 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.88 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.14 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.24 [+0.10] TEST: Tx drop increased [ OK ] # 54.42 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.91 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.19 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.45 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.56 [+0.12] TEST: Tx drop increased [ OK ] # 55.99 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.48 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.03 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.12 [+0.09] TEST: Tx drop increased [ OK ] # 67.43 [+10.31] # 67.43 [+0.00] Backup nexthop ID - ping # 67.43 [+0.00] ------------------------ # 71.03 [+3.60] TEST: Ping with backup nexthop ID [ OK ] # 76.34 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.61 [+10.27] # 86.61 [+0.00] Backup nexthop ID - torture test # 86.61 [+0.00] -------------------------------- # 117.31 [+30.70] TEST: Torture test [ OK ] # 117.97 [+0.67] # 117.98 [+0.00] Tests passed: 83 # 117.98 [+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__->