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.28 [+13.28] # 13.28 [+0.00] Backup port # 13.29 [+0.00] ----------- # 15.34 [+2.05] TEST: Forwarding out of swp1 [ OK ] # 15.72 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 16.11 [+0.39] TEST: swp1 carrier off [ OK ] # 16.79 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 17.17 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 17.57 [+0.40] TEST: swp1 carrier on [ OK ] # 17.85 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.56 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 18.94 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.32 [+0.38] TEST: swp1 carrier off [ OK ] # 20.06 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 20.42 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 20.80 [+0.38] TEST: swp1 carrier on [ OK ] # 21.50 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 21.87 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.14 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.88 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 23.24 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.65 [+0.41] TEST: swp1 carrier off [ OK ] # 24.39 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 24.73 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 39.15 [+14.41] # 39.15 [+0.00] Backup nexthop ID # 39.15 [+0.00] ----------------- # 41.69 [+2.55] TEST: vx0 configured as backup port of swp1 [ OK ] # 42.42 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 42.79 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 43.17 [+0.38] TEST: swp1 carrier off [ OK ] # 43.88 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 44.24 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.60 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 44.98 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 45.37 [+0.40] TEST: swp1 carrier on [ OK ] # 45.64 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 46.35 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 46.72 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 47.11 [+0.39] TEST: swp1 carrier off [ OK ] # 47.82 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 48.18 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 48.52 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 48.90 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.30 [+0.39] TEST: swp1 carrier on [ OK ] # 49.98 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 50.33 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 50.69 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.03 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.32 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.02 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 52.40 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 52.80 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 53.17 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.57 [+0.41] TEST: swp1 carrier off [ OK ] # 54.28 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 54.64 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 55.03 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.41 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 69.95 [+14.54] # 69.95 [+0.00] Backup nexthop ID - invalid IDs # 69.95 [+0.00] ------------------------------- # 72.48 [+2.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 72.75 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 73.14 [+0.38] TEST: swp1 carrier off [ OK ] # 73.87 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 74.25 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 74.62 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 74.78 [+0.16] TEST: No Tx drop increase [ OK ] # 75.05 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 75.74 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 76.11 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.47 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 76.63 [+0.16] TEST: Tx drop increased [ OK ] # 77.04 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 77.76 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 78.14 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 78.49 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 78.65 [+0.16] TEST: Tx drop increased [ OK ] # 78.91 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 79.62 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 79.98 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 80.37 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 80.53 [+0.16] TEST: Tx drop increased [ OK ] # 81.23 [+0.71] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 81.95 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 82.32 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 82.70 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 82.86 [+0.15] TEST: Tx drop increased [ OK ] # 97.72 [+14.86] # 97.72 [+0.00] Backup nexthop ID - ping # 97.72 [+0.00] ------------------------ # 102.39 [+4.68] TEST: Ping with backup nexthop ID [ OK ] # 107.97 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 122.93 [+14.96] # 122.93 [+0.00] Backup nexthop ID - torture test # 122.93 [+0.00] -------------------------------- # 154.08 [+31.15] TEST: Torture test [ OK ] # 155.23 [+1.14] # 155.23 [+0.00] Tests passed: 83 # 155.23 [+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__->