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.45 [+9.45] # 9.45 [+0.00] Backup port # 9.45 [+0.00] ----------- # 10.84 [+1.39] TEST: Forwarding out of swp1 [ OK ] # 11.09 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.31 [+0.22] TEST: swp1 carrier off [ OK ] # 11.79 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 12.05 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.28 [+0.23] TEST: swp1 carrier on [ OK ] # 12.45 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.93 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.20 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.42 [+0.22] TEST: swp1 carrier off [ OK ] # 13.88 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.36 [+0.23] TEST: swp1 carrier on [ OK ] # 14.85 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.11 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.29 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.77 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.02 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.25 [+0.23] TEST: swp1 carrier off [ OK ] # 16.73 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.99 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.32 [+10.34] # 27.32 [+0.00] Backup nexthop ID # 27.33 [+0.00] ----------------- # 28.83 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.30 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.56 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.79 [+0.23] TEST: swp1 carrier off [ OK ] # 30.27 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.53 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.80 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.06 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.28 [+0.22] TEST: swp1 carrier on [ OK ] # 31.47 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.95 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.22 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.44 [+0.22] TEST: swp1 carrier off [ OK ] # 32.90 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 33.16 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.43 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.69 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.90 [+0.22] TEST: swp1 carrier on [ OK ] # 34.39 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.94 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.18 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.36 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.85 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 36.10 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.37 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.63 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.85 [+0.22] TEST: swp1 carrier off [ OK ] # 37.31 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.55 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 37.82 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.09 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.42 [+10.33] # 48.42 [+0.00] Backup nexthop ID - invalid IDs # 48.42 [+0.00] ------------------------------- # 49.95 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.11 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 50.32 [+0.21] TEST: swp1 carrier off [ OK ] # 50.82 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.08 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.33 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.42 [+0.10] TEST: No Tx drop increase [ OK ] # 51.60 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.06 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.58 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.68 [+0.10] TEST: Tx drop increased [ OK ] # 52.95 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.43 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.67 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.94 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.02 [+0.09] TEST: Tx drop increased [ OK ] # 54.19 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.66 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.93 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.19 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.29 [+0.10] TEST: Tx drop increased [ OK ] # 55.71 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.19 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.45 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.72 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.82 [+0.10] TEST: Tx drop increased [ OK ] # 66.93 [+10.10] # 66.93 [+0.00] Backup nexthop ID - ping # 66.93 [+0.00] ------------------------ # 70.39 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 75.69 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.93 [+10.24] # 85.93 [+0.00] Backup nexthop ID - torture test # 85.93 [+0.00] -------------------------------- # 116.63 [+30.70] TEST: Torture test [ OK ] # 117.28 [+0.65] # 117.28 [+0.00] Tests passed: 83 # 117.28 [+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__->