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 # 13.45 [+13.45] # 13.45 [+0.00] Backup port # 13.45 [+0.00] ----------- # 15.49 [+2.03] TEST: Forwarding out of swp1 [ OK ] # 15.87 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 16.25 [+0.38] TEST: swp1 carrier off [ OK ] # 16.94 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 17.31 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.70 [+0.39] TEST: swp1 carrier on [ OK ] # 17.99 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.69 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 19.06 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 19.45 [+0.39] TEST: swp1 carrier off [ OK ] # 20.16 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 20.54 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 20.92 [+0.38] TEST: swp1 carrier on [ OK ] # 21.62 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 21.99 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.26 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.95 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 23.31 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.69 [+0.38] TEST: swp1 carrier off [ OK ] # 24.38 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 24.77 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 39.31 [+14.53] # 39.31 [+0.00] Backup nexthop ID # 39.31 [+0.00] ----------------- # 41.81 [+2.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.52 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 42.89 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.29 [+0.39] TEST: swp1 carrier off [ OK ] # 44.02 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 44.39 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 44.77 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 45.14 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.51 [+0.38] TEST: swp1 carrier on [ OK ] # 45.78 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.49 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 46.85 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.24 [+0.39] TEST: swp1 carrier off [ OK ] # 47.93 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 48.32 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 48.69 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 49.04 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.42 [+0.38] TEST: swp1 carrier on [ OK ] # 50.11 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 50.50 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 50.88 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 51.24 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.50 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.20 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 52.57 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 52.94 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 53.33 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.71 [+0.39] TEST: swp1 carrier off [ OK ] # 54.41 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 54.78 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 55.13 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 55.49 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.02 [+14.53] # 70.02 [+0.00] Backup nexthop ID - invalid IDs # 70.02 [+0.00] ------------------------------- # 72.57 [+2.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.84 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 73.24 [+0.40] TEST: swp1 carrier off [ OK ] # 73.95 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 74.33 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 74.70 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 74.85 [+0.15] TEST: No Tx drop increase [ OK ] # 75.13 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.87 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 76.23 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.59 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.75 [+0.16] TEST: Tx drop increased [ OK ] # 77.19 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.90 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 78.29 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 78.65 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 78.81 [+0.15] TEST: Tx drop increased [ OK ] # 79.08 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.79 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 80.16 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 80.54 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 80.70 [+0.16] TEST: Tx drop increased [ OK ] # 81.42 [+0.72] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 82.13 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 82.51 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 82.87 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 83.04 [+0.16] TEST: Tx drop increased [ OK ] # 97.62 [+14.58] # 97.62 [+0.00] Backup nexthop ID - ping # 97.62 [+0.00] ------------------------ # 102.19 [+4.57] TEST: Ping with backup nexthop ID [ OK ] # 107.75 [+5.56] TEST: Ping after disabling backup nexthop ID [ OK ] # 122.29 [+14.54] # 122.29 [+0.00] Backup nexthop ID - torture test # 122.29 [+0.00] -------------------------------- # 153.42 [+31.12] TEST: Torture test [ OK ] # 154.54 [+1.12] # 154.54 [+0.00] Tests passed: 83 # 154.54 [+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__->