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 # 10.01 [+10.01] # 10.01 [+0.00] Backup port # 10.01 [+0.00] ----------- # 11.08 [+1.08] TEST: Forwarding out of swp1 [ OK ] # 11.35 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.57 [+0.22] TEST: swp1 carrier off [ OK ] # 12.07 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.35 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.59 [+0.24] TEST: swp1 carrier on [ OK ] # 12.80 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.35 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 13.64 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.88 [+0.24] TEST: swp1 carrier off [ OK ] # 14.45 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.77 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 15.06 [+0.29] TEST: swp1 carrier on [ OK ] # 15.53 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.82 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.99 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.53 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 16.81 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 17.08 [+0.27] TEST: swp1 carrier off [ OK ] # 17.56 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.86 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 28.66 [+10.80] # 28.66 [+0.00] Backup nexthop ID # 28.66 [+0.00] ----------------- # 30.24 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 30.70 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.03 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 31.29 [+0.25] TEST: swp1 carrier off [ OK ] # 31.80 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 32.08 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 32.35 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 32.66 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 32.90 [+0.24] TEST: swp1 carrier on [ OK ] # 33.10 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 33.58 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.20 [+0.30] TEST: swp1 carrier off [ OK ] # 34.76 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 35.09 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 35.39 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 35.65 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.90 [+0.25] TEST: swp1 carrier on [ OK ] # 36.45 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 36.72 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 37.00 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.28 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.49 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 37.96 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 38.24 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 38.52 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.81 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 39.05 [+0.25] TEST: swp1 carrier off [ OK ] # 39.56 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 39.83 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 40.10 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 40.39 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.97 [+10.58] # 50.97 [+0.00] Backup nexthop ID - invalid IDs # 50.97 [+0.00] ------------------------------- # 52.59 [+1.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 52.76 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 52.99 [+0.23] TEST: swp1 carrier off [ OK ] # 53.49 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.75 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.04 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 54.14 [+0.10] TEST: No Tx drop increase [ OK ] # 54.33 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 54.80 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.07 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.35 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.46 [+0.11] TEST: Tx drop increased [ OK ] # 55.73 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 56.24 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 56.55 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 56.88 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 57.00 [+0.12] TEST: Tx drop increased [ OK ] # 57.17 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 57.68 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 58.01 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 58.36 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 58.46 [+0.10] TEST: Tx drop increased [ OK ] # 58.89 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 59.40 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 59.77 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 60.03 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 60.15 [+0.12] TEST: Tx drop increased [ OK ] # 70.62 [+10.47] # 70.62 [+0.00] Backup nexthop ID - ping # 70.62 [+0.00] ------------------------ # 74.11 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 79.43 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 89.80 [+10.37] # 89.80 [+0.00] Backup nexthop ID - torture test # 89.80 [+0.00] -------------------------------- # 120.49 [+30.69] TEST: Torture test [ OK ] # 121.12 [+0.63] # 121.12 [+0.00] Tests passed: 83 # 121.12 [+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__->