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.15 [+13.15] # 13.15 [+0.00] Backup port # 13.15 [+0.00] ----------- # 15.06 [+1.91] TEST: Forwarding out of swp1 [ OK ] # 15.44 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 15.83 [+0.40] TEST: swp1 carrier off [ OK ] # 16.55 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 16.93 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.30 [+0.38] TEST: swp1 carrier on [ OK ] # 17.57 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.28 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 18.64 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 19.04 [+0.40] TEST: swp1 carrier off [ OK ] # 19.76 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 20.10 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 20.49 [+0.39] TEST: swp1 carrier on [ OK ] # 21.21 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 21.56 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.83 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.52 [+0.69] TEST: Forwarding out of swp1 [ OK ] # 22.88 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.28 [+0.40] TEST: swp1 carrier off [ OK ] # 23.99 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 24.36 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 38.97 [+14.61] # 38.97 [+0.00] Backup nexthop ID # 38.97 [+0.00] ----------------- # 41.58 [+2.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.29 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 42.68 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 43.08 [+0.40] TEST: swp1 carrier off [ OK ] # 43.81 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 44.21 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 44.58 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 44.94 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.33 [+0.39] TEST: swp1 carrier on [ OK ] # 45.61 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.34 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 46.73 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 47.12 [+0.39] TEST: swp1 carrier off [ OK ] # 47.87 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 48.25 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 48.62 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 49.00 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.41 [+0.42] TEST: swp1 carrier on [ OK ] # 50.13 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 50.50 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 50.88 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 51.25 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.56 [+0.31] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.27 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 52.64 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 53.03 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 53.40 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.79 [+0.39] TEST: swp1 carrier off [ OK ] # 54.53 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 54.91 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 55.25 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 55.62 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 70.35 [+14.73] # 70.35 [+0.00] Backup nexthop ID - invalid IDs # 70.35 [+0.00] ------------------------------- # 72.94 [+2.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 73.21 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 73.62 [+0.41] TEST: swp1 carrier off [ OK ] # 74.34 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 74.74 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 75.10 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 75.26 [+0.16] TEST: No Tx drop increase [ OK ] # 75.55 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 76.29 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 76.64 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.02 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 77.18 [+0.16] TEST: Tx drop increased [ OK ] # 77.60 [+0.42] TEST: Blackhole nexthop as backup nexthop [ OK ] # 78.32 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 78.72 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 79.09 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 79.27 [+0.18] TEST: Tx drop increased [ OK ] # 79.56 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 80.26 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 80.62 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.00 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 81.15 [+0.15] TEST: Tx drop increased [ OK ] # 81.88 [+0.73] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 82.62 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 83.00 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 83.40 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 83.54 [+0.14] TEST: Tx drop increased [ OK ] # 98.35 [+14.81] # 98.35 [+0.00] Backup nexthop ID - ping # 98.35 [+0.00] ------------------------ # 103.05 [+4.70] TEST: Ping with backup nexthop ID [ OK ] # 108.62 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 123.75 [+15.13] # 123.75 [+0.00] Backup nexthop ID - torture test # 123.75 [+0.00] -------------------------------- # 155.02 [+31.27] TEST: Torture test [ OK ] # 156.19 [+1.16] # 156.19 [+0.00] Tests passed: 83 # 156.19 [+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__->