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.65 [+9.65] # 9.65 [+0.00] Backup port # 9.65 [+0.00] ----------- # 10.86 [+1.21] TEST: Forwarding out of swp1 [ OK ] # 11.14 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.36 [+0.21] TEST: swp1 carrier off [ OK ] # 11.87 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 12.14 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.39 [+0.25] TEST: swp1 carrier on [ OK ] # 12.56 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.04 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.31 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.56 [+0.24] TEST: swp1 carrier off [ OK ] # 14.05 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 14.33 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.58 [+0.25] TEST: swp1 carrier on [ OK ] # 15.05 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.31 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.97 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.22 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.45 [+0.23] TEST: swp1 carrier off [ OK ] # 16.94 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 17.20 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.71 [+10.51] # 27.71 [+0.00] Backup nexthop ID # 27.71 [+0.00] ----------------- # 29.28 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.76 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 30.04 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.28 [+0.25] TEST: swp1 carrier off [ OK ] # 30.78 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 31.05 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.33 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 31.59 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.82 [+0.23] TEST: swp1 carrier on [ OK ] # 31.99 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.49 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.75 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.99 [+0.24] TEST: swp1 carrier off [ OK ] # 33.49 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.77 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 34.05 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 34.34 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.59 [+0.26] TEST: swp1 carrier on [ OK ] # 35.08 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.36 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 35.64 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.92 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.11 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.62 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 36.90 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.18 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.47 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.72 [+0.25] TEST: swp1 carrier off [ OK ] # 38.23 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.77 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 39.06 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.60 [+10.54] # 49.60 [+0.00] Backup nexthop ID - invalid IDs # 49.60 [+0.00] ------------------------------- # 51.21 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.41 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.65 [+0.24] TEST: swp1 carrier off [ OK ] # 52.20 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 52.49 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 52.76 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.88 [+0.12] TEST: No Tx drop increase [ OK ] # 53.07 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.57 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.85 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.12 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.24 [+0.12] TEST: Tx drop increased [ OK ] # 54.50 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.00 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.27 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.56 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 55.65 [+0.10] TEST: Tx drop increased [ OK ] # 55.85 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.34 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.60 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.88 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.00 [+0.12] TEST: Tx drop increased [ OK ] # 57.49 [+0.49] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.01 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 58.30 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 58.57 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 58.68 [+0.11] TEST: Tx drop increased [ OK ] # 69.24 [+10.57] # 69.24 [+0.00] Backup nexthop ID - ping # 69.24 [+0.00] ------------------------ # 72.73 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 78.07 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.75 [+10.68] # 88.75 [+0.00] Backup nexthop ID - torture test # 88.75 [+0.00] -------------------------------- # 119.47 [+30.71] TEST: Torture test [ OK ] # 120.11 [+0.64] # 120.11 [+0.00] Tests passed: 83 # 120.11 [+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__->