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.38 [+13.38] # 13.38 [+0.00] Backup port # 13.39 [+0.00] ----------- # 15.13 [+1.75] TEST: Forwarding out of swp1 [ OK ] # 15.52 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 15.91 [+0.39] TEST: swp1 carrier off [ OK ] # 16.63 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 17.00 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.39 [+0.39] TEST: swp1 carrier on [ OK ] # 17.66 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.38 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 18.73 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.13 [+0.40] TEST: swp1 carrier off [ OK ] # 19.84 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 20.20 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 20.60 [+0.40] TEST: swp1 carrier on [ OK ] # 21.33 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 21.69 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 21.99 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.69 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 23.06 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.51 [+0.45] TEST: swp1 carrier off [ OK ] # 24.32 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 24.71 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 39.43 [+14.72] # 39.43 [+0.00] Backup nexthop ID # 39.43 [+0.00] ----------------- # 42.06 [+2.63] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.78 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 43.15 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.53 [+0.38] TEST: swp1 carrier off [ OK ] # 44.27 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 44.63 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.02 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 45.39 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.78 [+0.39] TEST: swp1 carrier on [ OK ] # 46.06 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.79 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.20 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.58 [+0.38] TEST: swp1 carrier off [ OK ] # 48.32 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 48.68 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 49.03 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 49.41 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.78 [+0.37] TEST: swp1 carrier on [ OK ] # 50.50 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.88 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 51.26 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 51.64 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.92 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.65 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 53.01 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 53.39 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 53.77 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.17 [+0.40] TEST: swp1 carrier off [ OK ] # 54.88 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 55.26 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 55.63 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 56.01 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.59 [+14.58] # 70.59 [+0.00] Backup nexthop ID - invalid IDs # 70.59 [+0.00] ------------------------------- # 73.16 [+2.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.43 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 73.83 [+0.40] TEST: swp1 carrier off [ OK ] # 74.57 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 74.95 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 75.31 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 75.46 [+0.15] TEST: No Tx drop increase [ OK ] # 75.74 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.46 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 76.85 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 77.24 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 77.38 [+0.14] TEST: Tx drop increased [ OK ] # 77.82 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.55 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 78.93 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 79.30 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.45 [+0.16] TEST: Tx drop increased [ OK ] # 79.74 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.46 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 80.83 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.20 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 81.35 [+0.14] TEST: Tx drop increased [ OK ] # 82.10 [+0.75] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 82.84 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 83.22 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 83.59 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 83.74 [+0.16] TEST: Tx drop increased [ OK ] # 98.46 [+14.72] # 98.46 [+0.00] Backup nexthop ID - ping # 98.47 [+0.00] ------------------------ # 103.11 [+4.64] TEST: Ping with backup nexthop ID [ OK ] # 108.68 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.47 [+14.79] # 123.47 [+0.00] Backup nexthop ID - torture test # 123.47 [+0.00] -------------------------------- # 154.65 [+31.18] TEST: Torture test [ OK ] # 155.74 [+1.10] # 155.74 [+0.00] Tests passed: 83 # 155.75 [+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__->