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.36 [+0.00] ----------- # 10.40 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.65 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.87 [+0.22] TEST: swp1 carrier off [ OK ] # 11.35 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.85 [+0.23] TEST: swp1 carrier on [ OK ] # 12.02 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.46 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.74 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.95 [+0.22] TEST: swp1 carrier off [ OK ] # 13.41 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.66 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.89 [+0.22] TEST: swp1 carrier on [ OK ] # 14.32 [+0.43] TEST: Forwarding out of swp1 [ OK ] # 14.59 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.77 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.25 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.50 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.23] TEST: swp1 carrier off [ OK ] # 16.18 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.44 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.68 [+10.24] # 26.68 [+0.00] Backup nexthop ID # 26.68 [+0.00] ----------------- # 28.21 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.70 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 28.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.21 [+0.24] TEST: swp1 carrier off [ OK ] # 29.67 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.95 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.22 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.49 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.73 [+0.24] TEST: swp1 carrier on [ OK ] # 30.89 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.36 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.62 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.82 [+0.20] TEST: swp1 carrier off [ OK ] # 32.31 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 32.59 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.84 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.08 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.31 [+0.22] TEST: swp1 carrier on [ OK ] # 33.80 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 34.05 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.31 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.57 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.74 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.20 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.47 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.00 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.21 [+0.21] TEST: swp1 carrier off [ OK ] # 36.67 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.95 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 37.22 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.49 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.65 [+10.16] # 47.65 [+0.00] Backup nexthop ID - invalid IDs # 47.66 [+0.00] ------------------------------- # 49.19 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.39 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 49.59 [+0.20] TEST: swp1 carrier off [ OK ] # 50.10 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 50.37 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.63 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.73 [+0.09] TEST: No Tx drop increase [ OK ] # 50.90 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.40 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 51.67 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.93 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.04 [+0.11] TEST: Tx drop increased [ OK ] # 52.28 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.03 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.27 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.38 [+0.11] TEST: Tx drop increased [ OK ] # 53.55 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.02 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.31 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.58 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.68 [+0.10] TEST: Tx drop increased [ OK ] # 55.10 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.58 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.85 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.10 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.21 [+0.10] TEST: Tx drop increased [ OK ] # 66.33 [+10.13] # 66.33 [+0.00] Backup nexthop ID - ping # 66.33 [+0.00] ------------------------ # 69.81 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 75.13 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.31 [+10.18] # 85.31 [+0.00] Backup nexthop ID - torture test # 85.32 [+0.00] -------------------------------- # 116.00 [+30.69] TEST: Torture test [ OK ] # 116.68 [+0.68] # 116.68 [+0.00] Tests passed: 83 # 116.68 [+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__->