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.68 [+9.68] # 9.68 [+0.00] Backup port # 9.68 [+0.00] ----------- # 10.87 [+1.19] TEST: Forwarding out of swp1 [ OK ] # 11.14 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.38 [+0.24] TEST: swp1 carrier off [ OK ] # 11.85 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.14 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.38 [+0.24] TEST: swp1 carrier on [ OK ] # 12.58 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.08 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.36 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.60 [+0.24] TEST: swp1 carrier off [ OK ] # 14.12 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 14.40 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 14.63 [+0.23] TEST: swp1 carrier on [ OK ] # 15.11 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.38 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.56 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.05 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.31 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.52 [+0.22] TEST: swp1 carrier off [ OK ] # 17.01 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.32 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 27.87 [+10.55] # 27.87 [+0.00] Backup nexthop ID # 27.88 [+0.00] ----------------- # 29.47 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.96 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 30.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.47 [+0.24] TEST: swp1 carrier off [ OK ] # 30.96 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.24 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.51 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.79 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.01 [+0.22] TEST: swp1 carrier on [ OK ] # 32.19 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.65 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.92 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 33.16 [+0.24] TEST: swp1 carrier off [ OK ] # 33.67 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 33.94 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.19 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.48 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.73 [+0.25] TEST: swp1 carrier on [ OK ] # 35.21 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.49 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 35.76 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.03 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.21 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.68 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.97 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 37.22 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.46 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.69 [+0.22] TEST: swp1 carrier off [ OK ] # 38.20 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.48 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.76 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 39.01 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.50 [+10.49] # 49.50 [+0.00] Backup nexthop ID - invalid IDs # 49.50 [+0.00] ------------------------------- # 51.05 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.24 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.47 [+0.23] TEST: swp1 carrier off [ OK ] # 51.99 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 52.24 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.52 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.63 [+0.11] TEST: No Tx drop increase [ OK ] # 52.81 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.30 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.55 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.83 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.94 [+0.11] TEST: Tx drop increased [ OK ] # 54.20 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.69 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.95 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.32 [+0.11] TEST: Tx drop increased [ OK ] # 55.50 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.01 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 56.29 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.57 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.67 [+0.10] TEST: Tx drop increased [ OK ] # 57.11 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.59 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.84 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.10 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 58.21 [+0.11] TEST: Tx drop increased [ OK ] # 68.61 [+10.40] # 68.61 [+0.00] Backup nexthop ID - ping # 68.61 [+0.00] ------------------------ # 72.23 [+3.62] TEST: Ping with backup nexthop ID [ OK ] # 77.53 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.12 [+10.59] # 88.12 [+0.00] Backup nexthop ID - torture test # 88.12 [+0.00] -------------------------------- # 118.83 [+30.71] TEST: Torture test [ OK ] # 119.47 [+0.64] # 119.47 [+0.00] Tests passed: 83 # 119.47 [+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__->