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.53 [+9.53] # 9.53 [+0.00] Backup port # 9.53 [+0.00] ----------- # 10.58 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 10.83 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.06 [+0.22] TEST: swp1 carrier off [ OK ] # 11.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.79 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.04 [+0.24] TEST: swp1 carrier on [ OK ] # 12.22 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 12.98 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.22 [+0.24] TEST: swp1 carrier off [ OK ] # 13.68 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.96 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.19 [+0.23] TEST: swp1 carrier on [ OK ] # 14.67 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.94 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.13 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.64 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.89 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.13 [+0.24] TEST: swp1 carrier off [ OK ] # 16.61 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.88 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.29 [+10.41] # 27.29 [+0.00] Backup nexthop ID # 27.29 [+0.00] ----------------- # 28.88 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.38 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 29.67 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.91 [+0.24] TEST: swp1 carrier off [ OK ] # 30.39 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.68 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 30.94 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 31.22 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.45 [+0.24] TEST: swp1 carrier on [ OK ] # 31.61 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.12 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.39 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.62 [+0.23] TEST: swp1 carrier off [ OK ] # 33.13 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 33.39 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.67 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.93 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.15 [+0.23] TEST: swp1 carrier on [ OK ] # 34.63 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.91 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.18 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.45 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.63 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.10 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.37 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 36.65 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.91 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.14 [+0.23] TEST: swp1 carrier off [ OK ] # 37.62 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.91 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.19 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.45 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.85 [+10.40] # 48.85 [+0.00] Backup nexthop ID - invalid IDs # 48.85 [+0.00] ------------------------------- # 50.48 [+1.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.67 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.91 [+0.24] TEST: swp1 carrier off [ OK ] # 51.43 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.68 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.95 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.05 [+0.10] TEST: No Tx drop increase [ OK ] # 52.22 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.71 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.98 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.26 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.35 [+0.09] TEST: Tx drop increased [ OK ] # 53.62 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.12 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.37 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.64 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.74 [+0.10] TEST: Tx drop increased [ OK ] # 54.91 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.42 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 55.68 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.94 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.04 [+0.10] TEST: Tx drop increased [ OK ] # 56.48 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.98 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.52 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.61 [+0.09] TEST: Tx drop increased [ OK ] # 67.91 [+10.30] # 67.91 [+0.00] Backup nexthop ID - ping # 67.91 [+0.00] ------------------------ # 71.46 [+3.54] TEST: Ping with backup nexthop ID [ OK ] # 76.77 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.26 [+10.48] # 87.26 [+0.00] Backup nexthop ID - torture test # 87.26 [+0.00] -------------------------------- # 117.98 [+30.72] TEST: Torture test [ OK ] # 118.63 [+0.65] # 118.63 [+0.00] Tests passed: 83 # 118.63 [+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__->