History log of /6.6.0/kv_engine/engines/ep/tests/CMakeLists.txt (Results 1 - 21 of 21)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0
# 57bcba20 12-May-2020 Dave Rigby <daver@couchbase.com>

MB-37680: Introduce DCPBackfillIface

Introduce a DCPBackfillIface abstract base class to be used by
BsckfillManager. This makes it easier to test BackfillManager's
behaviour in isola

MB-37680: Introduce DCPBackfillIface

Introduce a DCPBackfillIface abstract base class to be used by
BsckfillManager. This makes it easier to test BackfillManager's
behaviour in isolation from actual disk IO and DCP Stream objects.

Using the new interface, create a unit test for BackfillManager which
verifies DCPBackfills are scheduled in round-robin order.

Change-Id: I1ec20bf80ee7fcc22f6363f84a1a7fe953a82798
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/127881
Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>
Reviewed-by: James Harrison <james.harrison@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...


Revision tags: v6.5.1
# 278f3c5d 18-Mar-2020 James Harrison <00jamesh@gmail.com>

MB-38327: Interpret access logs written before mad-hatter correctly

An issue was encountered during offline upgrade from 5.0.1 to 6.5.0.
It was found to be while reading the access log f

MB-38327: Interpret access logs written before mad-hatter correctly

An issue was encountered during offline upgrade from 5.0.1 to 6.5.0.
It was found to be while reading the access log for the first time
after the upgrade.

This process requires 6.5.0 to read a older version of the access log
format (containing MutationLogEntryV2 rather than the current, V3).
SerialisedDocKey was changed in 6.5.0 to treat the namespace prefix as
part of the key, rather than as a separate byte.

This required a compensatory change in MutationLogEntryV2 in 6.5.0,
however there was a small bug in how this was done; the struct was
padded by an additional byte, ensuring the key bytes started at the
same offset in the LogEntry, but this _also_ shifted the offset of the
length field.

This lead to 6.5.0 expecting to find the key length field one byte
later than it should - this caused it to read the docNamespace and
treat it as the length. This was always 0 prior to mad-hatter, so the
key was treated as zero length.

However - when "upgrading" the V2 struct to V3 to use it, the code
expected to strip a 1 byte prefix from the key (the docNamespace).
i.e., start + 1, length - 1. This lead to an underflow, and the V3
struct constructor copied the key and read/wrote past the end of
allocated memory.

Fixed by introducing a LegacySerialisedDocKey, which has the previous
layout.

Change-Id: I53e8491fd8afa7927d069904e19b3502ecbdd072
Reviewed-on: http://review.couchbase.org/123930
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>

show more ...


Revision tags: v6.0.4
# 73b692c3 13-Jan-2020 James Harrison <james.harrison@couchbase.com>

MB-36890: Separate out packet formatting helper from test_apis

Allows the use of the helper from unit tests, without including a lot
of unneeded testsuite code.

Change-Id: I78f5

MB-36890: Separate out packet formatting helper from test_apis

Allows the use of the helper from unit tests, without including a lot
of unneeded testsuite code.

Change-Id: I78f5f078a6e25212461002744c9a000cff00f157
Reviewed-on: http://review.couchbase.org/120400
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...


# 64743b89 05-Feb-2020 Dave Rigby <daver@couchbase.com>

MB-37096: Debug CRT: Increase ep_testsuite timeout to 600s

For Windows builds, increase the timout for ep_testsuite from 300s to
600s; given it frequently takes around 400-500s to comple

MB-37096: Debug CRT: Increase ep_testsuite timeout to 600s

For Windows builds, increase the timout for ep_testsuite from 300s to
600s; given it frequently takes around 400-500s to complete on the
Windows CV machines for a Debug build.

Change-Id: I56116d857bbbacf9d3a0a1d75cbb14dca73524bf
Reviewed-on: http://review.couchbase.org/121712
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Richard de Mellow <richard.demellow@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: v6.5.0
# c6f66066 25-Nov-2019 Ben Huddleston <ben.huddleston@couchbase.com>

MB-36923: Fix test failures due to shard change

With the change to shard scaling by CPU we are now using more memory
out of the box on a system with a large number of CPUs. This is
c

MB-36923: Fix test failures due to shard change

With the change to shard scaling by CPU we are now using more memory
out of the box on a system with a large number of CPUs. This is
causing issues with some memory sensitive tests. Drop the number of
shards back to 4 for these tests.

Some tests also specify a number of vBuckets. This must be greater
than the number of shards or tests will fail. Drop the number of
shards back to 4 for these tests.

The XDCR testsuite runs very close to the 60 second timeout for the
rockdb variant so bump the timeout to 120 seconds.

Change-Id: I718bfde05badfa7c15246b1f8d42a86288167fe9
Reviewed-on: http://review.couchbase.org/118781
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 56f68b67 17-Oct-2019 Richard de Mellow <richard.demellow@couchbase.com>

Fix ASAN and TSAN level 2 by adding add_sanitizers() to executables

Change-Id: I43ef6908491416477dc854da3b923e4bbbba2aa
Reviewed-on: http://review.couchbase.org/116218
Tested-by: Bui

Fix ASAN and TSAN level 2 by adding add_sanitizers() to executables

Change-Id: I43ef6908491416477dc854da3b923e4bbbba2aa
Reviewed-on: http://review.couchbase.org/116218
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# 9bde5184 08-Oct-2019 Dave Rigby <daver@couchbase.com>

MB-36380 [1/2]: Regression test for missing Flusher wakeup

Regression test for the wakeup issue seen in MB-36380. The test and
fix are broken into separate patches to keep the fix patch

MB-36380 [1/2]: Regression test for missing Flusher wakeup

Regression test for the wakeup issue seen in MB-36380. The test and
fix are broken into separate patches to keep the fix patch "clean",
given the test requires new infrastructure / injection hooks.

See the associated [2/2] patch which actually fixes the issue for a
description of the problem.

Change-Id: I9d9dcc6b444fe4d03e41d58db3ed5e1de064006e
Reviewed-on: http://review.couchbase.org/116083
Reviewed-by: Jim Walker <jim@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 4c195b60 04-Oct-2019 Dave Rigby <daver@couchbase.com>

MB-36322: Disable ep_testsuite under Magma + TSan

This suite is intermittently timing out under Magma + TSan. Disable it
while the issues are investigated.

Change-Id: I84b08b227

MB-36322: Disable ep_testsuite under Magma + TSan

This suite is intermittently timing out under Magma + TSan. Disable it
while the issues are investigated.

Change-Id: I84b08b227d35b6ad5d4bbcef16ab86dc41fcaef9
Reviewed-on: http://review.couchbase.org/115906
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 33162cd8 30-Sep-2019 Dave Rigby <daver@couchbase.com>

ADD_TESTSUITE: Remove SKIP_EPHEMERAL

The SKIP_EPHEMERAL functionality is now unused - remove it.

Change-Id: I7f5711080c826b850f8b08b4e640bd52aca48496
Reviewed-on: http://review.

ADD_TESTSUITE: Remove SKIP_EPHEMERAL

The SKIP_EPHEMERAL functionality is now unused - remove it.

Change-Id: I7f5711080c826b850f8b08b4e640bd52aca48496
Reviewed-on: http://review.couchbase.org/115820
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# 751696d7 03-Oct-2019 Dave Rigby <daver@couchbase.com>

Fix parse error in ADD_TESTSUITE() function

When multiple arguments are specified to CMAKE_PARSE_ARGUMENTS() they
must be semicolon separated.

Change-Id: I2529bed2864fcc167e21f2

Fix parse error in ADD_TESTSUITE() function

When multiple arguments are specified to CMAKE_PARSE_ARGUMENTS() they
must be semicolon separated.

Change-Id: I2529bed2864fcc167e21f22095405010c9e829d6
Reviewed-on: http://review.couchbase.org/115817
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 8cc205dc 30-Sep-2019 Dave Rigby <daver@couchbase.com>

Reduce ep_testsuite timeout to 300s

Analysis of recent CV runs shows this typically takes less than 2mins
in all configurations / variants. As such, reduce the timeout from 30
mins t

Reduce ep_testsuite timeout to 300s

Analysis of recent CV runs shows this typically takes less than 2mins
in all configurations / variants. As such, reduce the timeout from 30
mins to 5 mins to more quickly detect hanging tests.

Change-Id: Id6ece151abd27f72c1e6e70e5c58b51376c32296
Reviewed-on: http://review.couchbase.org/115684
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# 5e519c96 30-Sep-2019 Dave Rigby <daver@couchbase.com>

MB-36252: Skip ep_testsuite tests under Magma & Windows

Tests in ep_testsuite are intermittently hanging / timing out when run
under Magma on Windows. Temporarily skip them while problem

MB-36252: Skip ep_testsuite tests under Magma & Windows

Tests in ep_testsuite are intermittently hanging / timing out when run
under Magma on Windows. Temporarily skip them while problem is
investigated.

Change-Id: I10b3fb373629f1b4a278438733a1d15b53f6195c
Reviewed-on: http://review.couchbase.org/115683
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Richard de Mellow <richard.demellow@couchbase.com>

show more ...


# 61fee8b2 30-Sep-2019 Dave Rigby <daver@couchbase.com>

Reduce ep_testsuite_xdcr timeout to 60s

Analysis of recent CV runs shows this typically takes less than 20s in
all configurations / variants. As such, reduce the timeout from 120s
to

Reduce ep_testsuite_xdcr timeout to 60s

Analysis of recent CV runs shows this typically takes less than 20s in
all configurations / variants. As such, reduce the timeout from 120s
to 60s to more quickly detect hanging tests.

Change-Id: I83bf39bf80cd6541958979cfff5b4898061e6df6
Reviewed-on: http://review.couchbase.org/115682
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# bcb1e542 30-Sep-2019 Dave Rigby <daver@couchbase.com>

MB-36228: Skip ep_testsuite_checkpoint tests under Magma & Windows

Tests in ep_testsuite_checkpoint are intermittently hanging / timing
out when run under Magma on Windows. Temporarily s

MB-36228: Skip ep_testsuite_checkpoint tests under Magma & Windows

Tests in ep_testsuite_checkpoint are intermittently hanging / timing
out when run under Magma on Windows. Temporarily skip them while
problem is investigated.

Change-Id: Iabc11a89d224ff3361a586a1943d38b8aca34b8f
Reviewed-on: http://review.couchbase.org/115607
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# 9d750639 30-Sep-2019 Dave Rigby <daver@couchbase.com>

MB-36226: Skip ep_testsuite_xdcr tests under Magma & Windows

Tests in ep_testsuite_xdcr are intermittently hanging / timing out
when run under Magma on Windows. Temporarily skip them whi

MB-36226: Skip ep_testsuite_xdcr tests under Magma & Windows

Tests in ep_testsuite_xdcr are intermittently hanging / timing out
when run under Magma on Windows. Temporarily skip them while problem
is investigated.

Change-Id: I3083ccf76e7b7a5983d4b4481ac0331c2639e8dd
Reviewed-on: http://review.couchbase.org/115604
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


Revision tags: v6.0.3
# 92133b29 30-May-2019 scott.lashley <scott.lashley@couchbase.com>

MB-33463: Add magma to functional tests

The following tests were modified:
ep_testsuite.cc
test_bg_meta_stats - no bloom filters causes extra bg_meta_fetch
test_item_pager - memo

MB-33463: Add magma to functional tests

The following tests were modified:
ep_testsuite.cc
test_bg_meta_stats - no bloom filters causes extra bg_meta_fetch
test_item_pager - memory tracking set for couchstore
test_memory_condition - memory tracking set for couchstore
test_bloomfilter_conf - bloom filters off by default for magma
test_bloomfilters - bloom filters off by default for magma
test_bloomfilters_with_store_apis - bloom filters off by default for
magma
test_bloomfilter_delete_plus_set_scenario - bloom filters off by default
for magma
test_access_scanner - memory tracking set for couchstore
test_vb_file_stats - file stats not maintained in magma
test_vb_file_stats_after_warmup - file stats not maintained in magma
test_stats_diskinfo - file stats not maintained in magma
test_takeover_stats_num_persisted_deletes - persisted deletes not
maintained in magma
test_mb19635_upgrade_from_25x - upgrade
test_mb19687_fixed - upgrade
test_mb20697 - couchstore specific calls in test
test_mb20744_check_incr_reject_ops - couchstore specific calls in test
test_MB34173_warmup - couchstore specific calls in test

ep_testsuite_basic.cc
test_get_delete_missing_file - couchstore specific calls in test

ep_testsuite_dcp.cc
test_dcp_cursor_dropping - memory tracking set for couchstore
test_dcp_cursor_dropping_replication - memory tracking set for
couchstore
test_chk_manager_rollback - requires collections
test_fullrollback_for_consumer - requires collections
test_partialrollback_for_consumer - requires collections

Change-Id: I9badb5369282559e5da4e42cb5e8abb19a52be30
Reviewed-on: http://review.couchbase.org/110980
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 97b606f6 16-Aug-2019 Dave Rigby <daver@couchbase.com>

Move Mock{Ep,Ephemeral}Bucket defns to .cc

Move the definitions of methods in classes Mock{Ep,Ephemeral}Bucket
into new .cc files. This minimises the headers needed in the .h files;

Move Mock{Ep,Ephemeral}Bucket defns to .cc

Move the definitions of methods in classes Mock{Ep,Ephemeral}Bucket
into new .cc files. This minimises the headers needed in the .h files;
in turn reducing the number of other headers pulled in by users of the
Mock classes.

Also create a new Object Library to group the various mock_XXX.cc
files, so we don't have to specify the individual source files
multiple times when used by different programs.

Change-Id: I6480c33606adf50268ac343950feb212806cb385
Reviewed-on: http://review.couchbase.org/113436
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: James Harrison <james.harrison@couchbase.com>

show more ...


# a8b5d89a 23-Jul-2019 Ben Huddleston <ben.huddleston@couchbase.com>

Enable testapp_durability tests

Some tests in testapp_duraiblity were disabled because they
would hang forever due to a partial implementation of SyncWrites.
Set a single node topolo

Enable testapp_durability tests

Some tests in testapp_duraiblity were disabled because they
would hang forever due to a partial implementation of SyncWrites.
Set a single node topology in the initial testapp setup and enable
these tests.

MB-35234:
The persistence tests for RocksDB are causing TSan to report a
data race during warmup with initScanContext when enabling some
additional durability tests. Disable these tests for now.

Change-Id: Ia0ddd251b21ca9751d8dd489bbdaa7792be15f5f
Reviewed-on: http://review.couchbase.org/112287
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 9a238e37 31-May-2019 Ben Huddleston <ben.huddleston@couchbase.com>

MB-34445 SIGABRT ep_testsuite after given timeout

This should allow us to generate a core dump and identify the
root cause of the timeouts in the ephemeral testsuites.

Change-Id

MB-34445 SIGABRT ep_testsuite after given timeout

This should allow us to generate a core dump and identify the
root cause of the timeouts in the ephemeral testsuites.

Change-Id: I74226ca72d2cffaeeb81cfa912f04c1576128db0
Reviewed-on: http://review.couchbase.org/109968
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 7bbcc27e 11-May-2019 Dave Rigby <daver@couchbase.com>

Build kv_engine/tests & engines/ep/tests without optimizations

Much of the unit test code is expensive to compile with
production-level optimization, either simply due to its size, or

Build kv_engine/tests & engines/ep/tests without optimizations

Much of the unit test code is expensive to compile with
production-level optimization, either simply due to its size, or
things like GMock / GTest template instantiation.

We don't care _that_ much about how fast the functional unit tests
run, therefore set the compiler optimization flags for test
subdirectories to 'optimise for debug' if this isn't already a Debug
build - i.e. only enable optimizations which don't have a significant
effect on compile time (but should still result in modestly fast code
runtime).

Reduces user+sys RelWithDebInfo build time for kv_engine/all

from: 69m37s
to 65m59s

- approx 5% reduction.

Change-Id: Id0ee6e7c2004acdfe641edb44fd7270e90defb73
Reviewed-on: http://review.couchbase.org/109031
Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 573b9a0c 10-May-2019 Dave Rigby <daver@couchbase.com>

Add ep_engine/tests CMakeLists.txt

Create a separate CMakeLists.txt for the ep-engine tests/
subdirectory. The primary motivation for this is to allow easy setting
of directory-level

Add ep_engine/tests CMakeLists.txt

Create a separate CMakeLists.txt for the ep-engine tests/
subdirectory. The primary motivation for this is to allow easy setting
of directory-level settings for all tests.

Change-Id: I266db43af4c05beeb87d042b5da368a4d0ee53c7
Reviewed-on: http://review.couchbase.org/109030
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>

show more ...