Building

Started building at 2022/08/01 09:30:56
Using pegged server, 1636 build
Calculating base
Updating mirror
Basing run on 7.2.0-1636 fa1df4e43
Updating tree for run 01.08.2022-09.30
query is at b7678f3, changes since last good build: none
gometa is at a237ed7, changes since last good build: none
ns_server is at 46b3dc4, changes since last good build: none
couchstore is at f0c688c, changes since last good build: none
forestdb is at acba458, changes since last good build: none
kv_engine is at b03ec8a, changes since last good build: none
Switching indexing to unstable
indexing is at 7419837, changes since last good build: none
Switching plasma to unstable
plasma is at c2cdb39, changes since last good build: 
fatal: Invalid revision range a6bc03311139c8525a8090b2f80b873f48a2be2d..HEAD

Switching nitro to unstable
nitro is at 966c610, changes since last good build: none
Switching gometa to master
gometa is at a237ed7, changes since last good build: none
Switching testrunner to master
Submodule 'gauntlet' (https://github.com/pavithra-mahamani/gauntlet) registered for path 'gauntlet'
Submodule 'java_sdk_client' (https://github.com/couchbaselabs/java_sdk_client) registered for path 'java_sdk_client'
Submodule 'lib/capellaAPI' (https://github.com/couchbaselabs/CapellaRESTAPIs) registered for path 'lib/capellaAPI'
Cloning into '/opt/build/testrunner/gauntlet'...
Cloning into '/opt/build/testrunner/java_sdk_client'...
Cloning into '/opt/build/testrunner/lib/capellaAPI'...
fatal: Could not chdir to '../../../gauntlet': No such file or directory
Unable to fetch in submodule path 'gauntlet'
testrunner is at b34cc53, changes since last good build: none
Pulling in uncommitted change 177770 at refs/changes/70/177770/6
Total 5 (delta 4), reused 5 (delta 4)
[unstable 09259859] Add more logging when inserting nil value into back store
 Author: Varun Velamuri 
 Date: Wed Jul 20 14:51:23 2022 +0530
 1 file changed, 33 insertions(+), 1 deletion(-)
Pulling in uncommitted change 177779 at refs/changes/79/177779/3
Total 11 (delta 8), reused 10 (delta 8)
[unstable 2b0e3b23] WIP: MB-47409: Log nil values in NodeTable
 Author: akhilmd 
 Date: Wed Jul 20 16:40:09 2022 +0530
 1 file changed, 57 insertions(+), 3 deletions(-)
Pulling in uncommitted change 178091 at refs/changes/91/178091/2
Total 5 (delta 4), reused 5 (delta 4)
[unstable 3183c940] MB-53048: Update numSliceWriters as per the cgroup setting
 Author: Sai Krishna Teja Kommaraju 
 Date: Thu Jul 28 11:13:13 2022 +0530
 1 file changed, 7 insertions(+)
Pulling in uncommitted change 178181 at refs/changes/81/178181/5
Total 3 (delta 2), reused 3 (delta 2)
[unstable 3572ebdd] MB-53174: Avoid specifying minor version number in CMakeLists
 Author: Amit Kulkarni 
 Date: Fri Jul 29 13:59:03 2022 +0530
 1 file changed, 5 insertions(+), 5 deletions(-)
Pulling in uncommitted change 177256 at refs/changes/56/177256/2
Total 3 (delta 2), reused 3 (delta 2)
[unstable 4126e36] MB-51993: Fix Timeout in TestAutoTuneFlushBufferGetUsedMemory
 Author: saptarshi.sen 
 Date: Thu Jul 7 18:41:49 2022 -0700
 1 file changed, 22 insertions(+), 1 deletion(-)
Pulling in uncommitted change 177511 at refs/changes/11/177511/2
Total 3 (delta 1), reused 2 (delta 1)
[unstable cdf6963] MB-52020: Add fs utils for data compare
 Author: saptarshi.sen 
 Date: Tue Jul 12 23:34:26 2022 -0700
 1 file changed, 39 insertions(+)
Pulling in uncommitted change 177512 at refs/changes/12/177512/4
Total 7 (delta 1), reused 5 (delta 1)
[unstable b154eb0] MB-52020: Add copier interface & LFS Copier
 Author: saptarshi.sen 
 Date: Wed Jul 13 10:27:35 2022 -0700
 2 files changed, 412 insertions(+)
 create mode 100644 copier.go
 create mode 100644 copier_test.go
Pulling in uncommitted change 177513 at refs/changes/13/177513/4
Total 11 (delta 3), reused 8 (delta 3)
[unstable 2b32bc1] MB-52020: Make readLogSB load complete superblock for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 11:13:24 2022 -0700
 2 files changed, 20 insertions(+), 12 deletions(-)
Pulling in uncommitted change 177514 at refs/changes/14/177514/4
Total 15 (delta 4), reused 10 (delta 4)
[unstable 7501e17] MB-52020: Make LSS loadMetadata return bytes for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:08:05 2022 -0700
 2 files changed, 9 insertions(+), 8 deletions(-)
Pulling in uncommitted change 177515 at refs/changes/15/177515/4
Total 18 (delta 7), reused 13 (delta 7)
[unstable 9cf2137] MB-52020: Make Shard loadMetadata return bytes for copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:24:35 2022 -0700
 1 file changed, 9 insertions(+), 8 deletions(-)
Pulling in uncommitted change 177516 at refs/changes/16/177516/7
Total 26 (delta 11), reused 18 (delta 11)
[unstable 4260ad9] MB-52020: Add LSS Copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:49:15 2022 -0700
 6 files changed, 771 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177517 at refs/changes/17/177517/9
Total 32 (delta 16), reused 24 (delta 16)
[unstable e6b7c97] Mb-52020: Add Shard Copy & Restore on LFS
 Author: saptarshi.sen 
 Date: Wed Jul 13 12:56:46 2022 -0700
 4 files changed, 1191 insertions(+), 3 deletions(-)
Pulling in uncommitted change 177518 at refs/changes/18/177518/8
Total 36 (delta 19), reused 28 (delta 19)
[unstable 75dedd2] MB-52020: Add Tenant Copy
 Author: saptarshi.sen 
 Date: Wed Jul 13 13:06:22 2022 -0700
 2 files changed, 75 insertions(+)
Pulling in uncommitted change 177642 at refs/changes/42/177642/1
Total 7 (delta 4), reused 6 (delta 4)
[unstable e34e3cd] MB-51993: Fix negative global flush buffer memory usage
 Author: saptarshi.sen 
 Date: Fri Jul 15 20:58:04 2022 -0700
 2 files changed, 92 insertions(+), 4 deletions(-)
Pulling in uncommitted change 177643 at refs/changes/43/177643/1
Total 10 (delta 5), reused 8 (delta 5)
[unstable bad1080] MB-51993: Handle invalid autotuner flush buffer config
 Author: saptarshi.sen 
 Date: Fri Jul 15 21:03:34 2022 -0700
 1 file changed, 27 insertions(+), 17 deletions(-)
Pulling in uncommitted change 177644 at refs/changes/44/177644/1
Total 14 (delta 10), reused 14 (delta 10)
[unstable 5b967df] MB-51993: Add autotuner test channel to reduce CI runtime
 Author: saptarshi.sen 
 Date: Fri Jul 15 21:06:52 2022 -0700
 2 files changed, 319 insertions(+), 294 deletions(-)
Building community edition
Building cmakefiles and deps [CE]
Building main product [CE]

... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo


... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo

Build CE finished
BUILD_ENTERPRISE empty. Building enterprise edition
Building Enterprise Edition
Building cmakefiles and deps [EE]
Building main product [EE]

... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo


... A new version of repo (2.21) is available.
... You should upgrade soon:
    cp /opt/build/.repo/repo/repo /home/buildbot/bin/repo

Build EE finished
Disabled integration tests

Testing

Started testing at 2022/08/01 10:17:42
Testing mode: sanity,unit,functional,integration
Using storage type: memdb
Setting ulimit to 200000

Simple Test

Aug 01 10:18:05 b" 'stop_on_failure': 'True'}"
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops,nodes_in=3,replicas=1,items=50000,get-logs-cluster-run=True,doc_ops=create;update;delete'
Aug 01 10:18:05 b"{'nodes_in': '3', 'replicas': '1', 'items': '50000', 'get-logs-cluster-run': 'True', 'doc_ops': 'create;update;delete', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 1, 'total_testcases': 8, 'last_case_fail': 'False', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_1'}"
Aug 01 10:18:05 b'-->result: '
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops,nodes_in=3,bucket_type=ephemeral,replicas=1,items=50000,get-logs-cluster-run=True,doc_ops=create;update;delete'
Aug 01 10:18:05 b"{'nodes_in': '3', 'bucket_type': 'ephemeral', 'replicas': '1', 'items': '50000', 'get-logs-cluster-run': 'True', 'doc_ops': 'create;update;delete', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 2, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_2'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t memcapable.WarmUpMemcachedTest.do_warmup_100k,get-logs-cluster-run=True'
Aug 01 10:18:05 b"{'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 3, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_3'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.createdeleteview.CreateDeleteViewTests.test_view_ops,ddoc_ops=create,test_with_view=True,num_ddocs=1,num_views_per_ddoc=10,items=1000,skip_cleanup=False,get-logs-cluster-run=True'
Aug 01 10:18:05 b"{'ddoc_ops': 'create', 'test_with_view': 'True', 'num_ddocs': '1', 'num_views_per_ddoc': '10', 'items': '1000', 'skip_cleanup': 'False', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 4, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_4'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in,num_nodes_to_add=1,skip_rebalance=true,docs-per-day=1,timeout=1200,get-logs-cluster-run=True'
Aug 01 10:18:05 b"{'num_nodes_to_add': '1', 'skip_rebalance': 'true', 'docs-per-day': '1', 'timeout': '1200', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 5, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_5'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification,num-docs=1000,skip_rebalance=true,timeout=1200,get-logs-cluster-run=True'ERROR
Aug 01 10:18:05 b"{'num-docs': '1000', 'skip_rebalance': 'true', 'timeout': '1200', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 6, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_6'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t xdcr.uniXDCR.unidirectional.load_with_ops,replicas=1,items=10000,value_size=128,ctopology=chain,rdirection=unidirection,doc-ops=update-delete,get-logs-cluster-run=True'
Aug 01 10:18:05 b"{'replicas': '1', 'items': '10000', 'value_size': '128', 'ctopology': 'chain', 'rdirection': 'unidirection', 'doc-ops': 'update-delete', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 7, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_7'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'./testrunner -i b/resources/dev-4-nodes-xdcr.ini -p makefile=True,stop_on_failure=True,log_level=CRITICAL -t xdcr.uniXDCR.unidirectional.load_with_failover,replicas=1,items=10000,ctopology=chain,rdirection=unidirection,doc-ops=update-delete,failover=source,get-logs-cluster-run=True'
Aug 01 10:18:05 b"{'replicas': '1', 'items': '10000', 'ctopology': 'chain', 'rdirection': 'unidirection', 'doc-ops': 'update-delete', 'failover': 'source', 'get-logs-cluster-run': 'True', 'ini': 'b/resources/dev-4-nodes-xdcr.ini', 'cluster_name': 'dev-4-nodes-xdcr', 'spec': 'simple', 'conf_file': 'conf/simple.conf', 'makefile': 'True', 'stop_on_failure': 'True', 'log_level': 'CRITICAL', 'num_nodes': 4, 'case_number': 8, 'total_testcases': 8, 'last_case_fail': 'True', 'teardown_run': 'False', 'logs_folder': '/opt/build/testrunner/logs/testrunner-22-Aug-01_10-18-04/test_8'}"
Aug 01 10:18:05 b'summary so far suite rebalance.rebalancein.RebalanceInTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite memcapable.WarmUpMemcachedTest , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.createdeleteview.CreateDeleteViewTests , pass 0 , fail 1'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite view.viewquerytests.ViewQueryTests , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'summary so far suite xdcr.uniXDCR.unidirectional , pass 0 , fail 2'
Aug 01 10:18:05 b'failures so far...'
Aug 01 10:18:05 b'xdcr.uniXDCR.unidirectional.load_with_failover'
Aug 01 10:18:05 b'Run after suite setup for xdcr.uniXDCR.unidirectional.load_with_failover'
Aug 01 10:18:05 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Aug 01 10:18:05 b"('rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ops', ' fail ')"
Aug 01 10:18:05 b"('memcapable.WarmUpMemcachedTest.do_warmup_100k', ' fail ')"
Aug 01 10:18:05 b"('view.createdeleteview.CreateDeleteViewTests.test_view_ops', ' fail ')"
Aug 01 10:18:05 b"('view.viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_in', ' fail ')"
Aug 01 10:18:05 b"('view.viewquerytests.ViewQueryTests.test_simple_dataset_stale_queries_data_modification', ' fail ')"
Aug 01 10:18:05 b"('xdcr.uniXDCR.unidirectional.load_with_ops', ' fail ')"
Aug 01 10:18:05 b"('xdcr.uniXDCR.unidirectional.load_with_failover', ' fail ')"
Aug 01 10:18:05 Makefile:28: recipe for target 'simple-test' failed

Unit tests

=== RUN   TestMerger
--- PASS: TestMerger (0.02s)
=== RUN   TestInsert
--- PASS: TestInsert (0.00s)
=== RUN   TestInsertPerf
16000000 items took 25.683060825s -> 622978.7060436945 items/s conflicts 25
--- PASS: TestInsertPerf (25.68s)
=== RUN   TestGetPerf
16000000 items took 5.127326195s -> 3.120534834628363e+06 items/s
--- PASS: TestGetPerf (5.72s)
=== RUN   TestGetRangeSplitItems
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3351,
"memory_used":            37360992,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749144,
"level1": 187776,
"level2": 47222,
"level3": 11903,
"level4": 2974,
"level5": 735,
"level6": 182,
"level7": 48,
"level8": 12,
"level9": 2,
"level10": 2,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Split range keys [35911 108875 357987 462344 598654 671258 781160]
No of items in each range [35911 72964 249112 104357 136310 72604 109902 218840]
--- PASS: TestGetRangeSplitItems (0.60s)
=== RUN   TestBuilder
{
"node_count":             50000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3333,
"memory_used":            1866650912,
"node_allocs":            50000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 37500395,
"level1": 9374070,
"level2": 2344404,
"level3": 586129,
"level4": 146617,
"level5": 36338,
"level6": 9033,
"level7": 2299,
"level8": 539,
"level9": 123,
"level10": 39,
"level11": 9,
"level12": 5,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Took 7.03120132s to build 50000000 items, 7.1111605e+06 items/sec
Took 393.606725ms to iterate 50000000 items
--- PASS: TestBuilder (7.42s)
=== RUN   TestNodeDCAS
--- PASS: TestNodeDCAS (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb/skiplist	39.662s
=== RUN   TestInsert
Set IO Concurrency: 716
--- PASS: TestInsert (0.01s)
=== RUN   TestInsertPerf
20000000 items took 46.181960044s -> 433069.53583054815 items/s snapshots_created 210 live_snapshots 1
--- PASS: TestInsertPerf (58.07s)
=== RUN   TestInsertDuplicates
--- PASS: TestInsertDuplicates (0.01s)
=== RUN   TestGetPerf
16000000 items took 20.011857443s -> 799525.9833112934 items/s
--- PASS: TestGetPerf (21.61s)
=== RUN   TestLoadStoreDisk
Inserting 1000000 items took 1.366476785s
{
"node_count":             1000924,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       11,
"next_pointers_per_node": 1.3321,
"memory_used":            57318928,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 751647,
"level1": 186892,
"level2": 46820,
"level3": 11678,
"level4": 2900,
"level5": 728,
"level6": 199,
"level7": 47,
"level8": 13,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
snap count = 1000000
2022-08-01T10:20:21.838+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[94611 38701 9740 72331 45035 54187 53489 101791 87499 92353 107111 58871 42332 72207 59571 10171]] total count [1000000] snap count [1000000] size per shard [[756888 309608 77920 578648 360280 433496 427912 814328 699992 738824 856888 470968 338656 577656 476568 81368]] total size [8000000] memoryInUse [57318928]
Storing to disk took 258.207315ms
Loading from disk took 453.331507ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3327,
"memory_used":            57323120,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750579,
"level1": 186857,
"level2": 46907,
"level3": 11837,
"level4": 2899,
"level5": 691,
"level6": 170,
"level7": 44,
"level8": 11,
"level9": 4,
"level10": 1,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
--- PASS: TestLoadStoreDisk (3.67s)
=== RUN   TestConcurrentLoadCloseFragmentation
Done Inserting 2000000 items
frag = NaN%
2022-08-01T10:20:26.840+05:30 [Info] MemDB::StoreToDisk: Unexpected amount of data being persisted dir [db.dump] count per shard [[8963 97445 73004 237472 34880 115926 174627 40933 29300 72798 212877 282530 100301 129685 175568 213691]] total count [2000000] snap count [1999999] size per shard [[71704 779560 584032 1899776 279040 927408 1397016 327464 234400 582384 1703016 2260240 802408 1037480 1404544 1709528]] total size [16000000] memoryInUse [114663040]
2022-08-01T10:20:26.976+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[8963 97445 73004 237472 34880 115926 174627 40933 29300 72798 212877 282530 100301 129685 175568 213691]] total count [2000000] snap count [1999999] size per shard [[71704 779560 584032 1899776 279040 927408 1397016 327464 234400 582384 1703016 2260240 802408 1037480 1404544 1709528]] total size [16000000] memoryInUse [114663040]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentation (5.10s)
=== RUN   TestConcurrentLoadCloseFragmentationSmall
Done Inserting 10 items
frag = NaN%
2022-08-01T10:20:28.503+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total count [0] snap count [0] size per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total size [0] memoryInUse [0]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentationSmall (0.13s)
=== RUN   TestConcurrentLoadCloseFragmentationEmpty
Done Inserting 0 items
frag = NaN%
2022-08-01T10:20:28.622+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total count [0] snap count [0] size per shard [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]] total size [0] memoryInUse [0]
Done Storing to disk
frag = NaN%
Done Closing
Done Loading from disk
frag = NaN%
--- PASS: TestConcurrentLoadCloseFragmentationEmpty (0.39s)
=== RUN   TestConcurrentCloseSingleNode
A
--- PASS: TestConcurrentCloseSingleNode (0.00s)
=== RUN   TestStoreDiskShutdown
Inserting 1000000 items took 1.253636259s
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       18,
"next_pointers_per_node": 1.3343,
"memory_used":            57349308,
"node_allocs":            999999,
"node_frees":             0,
"level_node_distribution":{
"level0": 748932,
"level1": 188735,
"level2": 46580,
"level3": 11871,
"level4": 2904,
"level5": 726,
"level6": 199,
"level7": 39,
"level8": 12,
"level9": 1,
"level10": 1,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
snap count = 1000000
Prepare returns error:  MemDB instance has been shutdown
--- PASS: TestStoreDiskShutdown (1.88s)
=== RUN   TestDelete
{
"node_count":             10,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3000,
"memory_used":            588,
"node_allocs":            10,
"node_frees":             0,
"level_node_distribution":{
"level0": 8,
"level1": 1,
"level2": 1,
"level3": 0,
"level4": 0,
"level5": 0,
"level6": 0,
"level7": 0,
"level8": 0,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
{
"node_count":             10,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3000,
"memory_used":            588,
"node_allocs":            20,
"node_frees":             10,
"level_node_distribution":{
"level0": 8,
"level1": 1,
"level2": 1,
"level3": 0,
"level4": 0,
"level5": 0,
"level6": 0,
"level7": 0,
"level8": 0,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
--- PASS: TestDelete (1.00s)
=== RUN   TestGCPerf
final_node_count = 16000, average_live_node_count = 67214, wait_time_for_collection = 20ms
--- PASS: TestGCPerf (34.27s)
=== RUN   TestMemoryInUse
ItemsCount: 5000, MemoryInUse: 296992, NodesCount: 5000
ItemsCount: 0, MemoryInUse: 64, NodesCount: 0
--- PASS: TestMemoryInUse (1.01s)
=== RUN   TestFullScan
Inserting 1600000 items took 2.307041309s
{
"node_count":             1599999,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       17,
"next_pointers_per_node": 1.3341,
"memory_used":            91752448,
"node_allocs":            1600000,
"node_frees":             0,
"level_node_distribution":{
"level0": 1199739,
"level1": 299761,
"level2": 75235,
"level3": 18924,
"level4": 4717,
"level5": 1215,
"level6": 304,
"level7": 78,
"level8": 23,
"level9": 2,
"level10": 1,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Full iteration of 1600000 items took 222.1802ms
--- PASS: TestFullScan (3.66s)
=== RUN   TestVisitor
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3334,
"memory_used":            57334000,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 750167,
"level1": 187306,
"level2": 46757,
"level3": 11807,
"level4": 3008,
"level5": 719,
"level6": 168,
"level7": 50,
"level8": 13,
"level9": 5,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Took 45.366685ms to iterate 1000000 items, 2.2042606e+07 items/s
shard - 0 count = 15476, range: 0-15475
shard - 1 count = 31791, range: 15476-47266
shard - 2 count = 19400, range: 47267-66666
shard - 3 count = 52107, range: 66667-118773
shard - 4 count = 8838, range: 118774-127611
shard - 5 count = 14597, range: 127612-142208
shard - 6 count = 25927, range: 142209-168135
shard - 7 count = 29252, range: 168136-197387
shard - 8 count = 22438, range: 197388-219825
shard - 9 count = 13712, range: 219826-233537
shard - 10 count = 46242, range: 233538-279779
shard - 11 count = 26197, range: 279780-305976
shard - 12 count = 10203, range: 305977-316179
shard - 13 count = 9399, range: 316180-325578
shard - 14 count = 32805, range: 325579-358383
shard - 15 count = 21092, range: 358384-379475
shard - 16 count = 75045, range: 379476-454520
shard - 17 count = 41986, range: 454521-496506
shard - 18 count = 21241, range: 496507-517747
shard - 19 count = 45296, range: 517748-563043
shard - 20 count = 110793, range: 563044-673836
shard - 21 count = 8465, range: 673837-682301
shard - 22 count = 16677, range: 682302-698978
shard - 23 count = 22027, range: 698979-721005
shard - 24 count = 22558, range: 721006-743563
shard - 25 count = 35851, range: 743564-779414
shard - 26 count = 17083, range: 779415-796497
shard - 27 count = 8032, range: 796498-804529
shard - 28 count = 22190, range: 804530-826719
shard - 29 count = 1960, range: 826720-828679
shard - 30 count = 25847, range: 828680-854526
shard - 31 count = 145473, range: 854527-999999
--- PASS: TestVisitor (1.40s)
=== RUN   TestVisitorError
--- PASS: TestVisitorError (0.13s)
=== RUN   TestLoadDeltaStoreDisk
snap count = 1000000
2022-08-01T10:21:16.351+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[0 0 0 0 0 0 0 0 100383 56894 57021 160974 389877 34061 63224 123380]] total count [985814] snap count [1000000] size per shard [[0 0 0 0 0 0 0 0 803064 455152 456168 1287792 3119016 272488 505792 987040]] total size [7886512] memoryInUse [116830644]
Storing to disk took 15.16814576s
Loading from disk took 784.615431ms
{
"node_count":             1000000,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       0,
"next_pointers_per_node": 1.3340,
"memory_used":            57343216,
"node_allocs":            1000000,
"node_frees":             0,
"level_node_distribution":{
"level0": 749634,
"level1": 187844,
"level2": 46702,
"level3": 11900,
"level4": 2928,
"level5": 744,
"level6": 188,
"level7": 45,
"level8": 9,
"level9": 4,
"level10": 2,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Restored 14186
RestoredFailed 403881
--- PASS: TestLoadDeltaStoreDisk (17.74s)
=== RUN   TestExecuteConcurrGCWorkers
--- PASS: TestExecuteConcurrGCWorkers (0.57s)
=== RUN   TestCloseWithActiveIterators
--- PASS: TestCloseWithActiveIterators (9.40s)
=== RUN   TestDiskCorruption
Inserting 100000 items took 83.306024ms
{
"node_count":             99999,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       5,
"next_pointers_per_node": 1.3349,
"memory_used":            5735824,
"node_allocs":            99999,
"node_frees":             0,
"level_node_distribution":{
"level0": 74956,
"level1": 18747,
"level2": 4709,
"level3": 1175,
"level4": 304,
"level5": 76,
"level6": 24,
"level7": 5,
"level8": 3,
"level9": 0,
"level10": 0,
"level11": 0,
"level12": 0,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
2022-08-01T10:21:40.175+05:30 [Info] MemDB::StoreToDisk: Done dir [db.dump] disk snapshot - count per shard [[2302 6288 7354 6731 8167 3917 4556 2046 6909 2655 6881 1747 6220 9341 5808 19078]] total count [100000] snap count [100000] size per shard [[18416 50304 58832 53848 65336 31336 36448 16368 55272 21240 55048 13976 49760 74728 46464 152624]] total size [800000] memoryInUse [5735824]
Storing to disk took 83.273698ms
Loading from disk took 27.160017ms
--- PASS: TestDiskCorruption (0.24s)
=== RUN   TestSnapshotStats
--- PASS: TestSnapshotStats (0.00s)
=== RUN   TestInsertDeleteConcurrent
total items in snapshot: 8142427  items deleted: 1857573
{
"node_count":             8142427,
"soft_deletes":           0,
"read_conflicts":         7030,
"insert_conflicts":       80,
"next_pointers_per_node": 1.3335,
"memory_used":            466851772,
"node_allocs":            10000000,
"node_frees":             10000002,
"level_node_distribution":{
"level0": 6106166,
"level1": 1526881,
"level2": 381867,
"level3": 95792,
"level4": 23866,
"level5": 5876,
"level6": 1500,
"level7": 361,
"level8": 83,
"level9": 31,
"level10": 2,
"level11": 1,
"level12": 1,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
allocs: 20000002 frees: 20000002
--- PASS: TestInsertDeleteConcurrent (16.49s)
=== RUN   TestNodeList
--- PASS: TestNodeList (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/memdb	177.034s
=== RUN   TestInteger
--- PASS: TestInteger (0.00s)
=== RUN   TestSmallDecimal
--- PASS: TestSmallDecimal (0.00s)
=== RUN   TestLargeDecimal
--- PASS: TestLargeDecimal (0.00s)
=== RUN   TestFloat
--- PASS: TestFloat (0.00s)
=== RUN   TestSuffixCoding
--- PASS: TestSuffixCoding (0.00s)
=== RUN   TestCodecLength
--- PASS: TestCodecLength (0.00s)
=== RUN   TestSpecialString
--- PASS: TestSpecialString (0.00s)
=== RUN   TestCodecNoLength
--- PASS: TestCodecNoLength (0.00s)
=== RUN   TestCodecJSON
--- PASS: TestCodecJSON (0.00s)
=== RUN   TestReference
--- PASS: TestReference (0.00s)
=== RUN   TestN1QLEncode
--- PASS: TestN1QLEncode (0.00s)
=== RUN   TestArrayExplodeJoin
--- PASS: TestArrayExplodeJoin (0.00s)
=== RUN   TestN1QLDecode
--- PASS: TestN1QLDecode (0.00s)
=== RUN   TestN1QLDecode2
--- PASS: TestN1QLDecode2 (0.00s)
=== RUN   TestArrayExplodeJoin2
--- PASS: TestArrayExplodeJoin2 (0.00s)
=== RUN   TestMB28956
--- PASS: TestMB28956 (0.00s)
=== RUN   TestFixEncodedInt
--- PASS: TestFixEncodedInt (0.00s)
=== RUN   TestN1QLDecodeLargeInt64
--- PASS: TestN1QLDecodeLargeInt64 (0.00s)
=== RUN   TestMixedModeFixEncodedInt
TESTING [4111686018427387900, -8223372036854775808, 822337203685477618] 
PASS 
TESTING [0] 
PASS 
TESTING [0.0] 
PASS 
TESTING [0.0000] 
PASS 
TESTING [0.0000000] 
PASS 
TESTING [-0] 
PASS 
TESTING [-0.0] 
PASS 
TESTING [-0.0000] 
PASS 
TESTING [-0.0000000] 
PASS 
TESTING [1] 
PASS 
TESTING [20] 
PASS 
TESTING [3456] 
PASS 
TESTING [7645000] 
PASS 
TESTING [9223372036854775807] 
PASS 
TESTING [9223372036854775806] 
PASS 
TESTING [9223372036854775808] 
PASS 
TESTING [92233720368547758071234000] 
PASS 
TESTING [92233720368547758071234987437653] 
PASS 
TESTING [12300000000000000000000000000000056] 
PASS 
TESTING [12300000000000000000000000000000000] 
PASS 
TESTING [123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] 
PASS 
TESTING [12300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [210690] 
PASS 
TESTING [90000] 
PASS 
TESTING [123000000] 
PASS 
TESTING [3.60e2] 
PASS 
TESTING [36e2] 
PASS 
TESTING [1.9999999999e10] 
PASS 
TESTING [1.99999e10] 
PASS 
TESTING [1.99999e5] 
PASS 
TESTING [0.00000000000012e15] 
PASS 
TESTING [7.64507352e8] 
PASS 
TESTING [9.2233720368547758071234987437653e31] 
PASS 
TESTING [2650e-1] 
PASS 
TESTING [26500e-1] 
PASS 
TESTING [-1] 
PASS 
TESTING [-20] 
PASS 
TESTING [-3456] 
PASS 
TESTING [-7645000] 
PASS 
TESTING [-9223372036854775808] 
PASS 
TESTING [-9223372036854775807] 
PASS 
TESTING [-9223372036854775806] 
PASS 
TESTING [-9223372036854775809] 
PASS 
TESTING [-92233720368547758071234000] 
PASS 
TESTING [-92233720368547758071234987437653] 
PASS 
TESTING [-12300000000000000000000000000000056] 
PASS 
TESTING [-12300000000000000000000000000000000] 
PASS 
TESTING [-123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056] 
PASS 
TESTING [-123000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] 
PASS 
TESTING [-210690] 
PASS 
TESTING [-90000] 
PASS 
TESTING [-123000000] 
PASS 
TESTING [-3.60e2] 
PASS 
TESTING [-36e2] 
PASS 
TESTING [-1.9999999999e10] 
PASS 
TESTING [-1.99999e10] 
PASS 
TESTING [-1.99999e5] 
PASS 
TESTING [-0.00000000000012e15] 
PASS 
TESTING [-2650e-1] 
PASS 
TESTING [-26500e-1] 
PASS 
TESTING [0.03] 
PASS 
TESTING [198.60] 
PASS 
TESTING [2000045.178] 
PASS 
TESTING [1.7976931348623157e+308] 
PASS 
TESTING [0.000000000000000000890] 
PASS 
TESTING [257953786.9864236576] 
PASS 
TESTING [257953786.9864236576e8] 
PASS 
TESTING [36.912e3] 
PASS 
TESTING [2761.67e0] 
PASS 
TESTING [2761.67e00] 
PASS 
TESTING [2761.67e000] 
PASS 
TESTING [7676546.67e-3] 
PASS 
TESTING [-0.03] 
PASS 
TESTING [-198.60] 
PASS 
TESTING [-2000045.178] 
PASS 
TESTING [-1.7976931348623157e+308] 
PASS 
TESTING [-0.000000000000000000890] 
PASS 
TESTING [-257953786.9864236576] 
PASS 
TESTING [-257953786.9864236576e8] 
PASS 
TESTING [-36.912e3] 
PASS 
TESTING [-2761.67e0] 
PASS 
TESTING [-2761.67e00] 
PASS 
TESTING [-2761.67e000] 
PASS 
TESTING [-7676546.67e-3] 
PASS 
--- PASS: TestMixedModeFixEncodedInt (0.01s)
=== RUN   TestCodecDesc
--- PASS: TestCodecDesc (0.00s)
=== RUN   TestCodecDescPropLen
--- PASS: TestCodecDescPropLen (0.00s)
=== RUN   TestCodecDescSplChar
--- PASS: TestCodecDescSplChar (0.00s)
PASS
ok  	github.com/couchbase/indexing/secondary/collatejson	0.033s
Initializing write barrier = 8000
=== RUN   TestForestDBIterator
2022-08-01T10:22:02.186+05:30 [INFO][FDB] Forestdb blockcache size 134217728 initialized in 4985 us

2022-08-01T10:22:02.187+05:30 [INFO][FDB] Forestdb opened database file test
2022-08-01T10:22:02.191+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIterator (0.01s)
=== RUN   TestForestDBIteratorSeek
2022-08-01T10:22:02.191+05:30 [INFO][FDB] Forestdb opened database file test
2022-08-01T10:22:02.196+05:30 [INFO][FDB] Forestdb closed database file test
--- PASS: TestForestDBIteratorSeek (0.01s)
=== RUN   TestPrimaryIndexEntry
--- PASS: TestPrimaryIndexEntry (0.00s)
=== RUN   TestSecondaryIndexEntry
--- PASS: TestSecondaryIndexEntry (0.00s)
=== RUN   TestPrimaryIndexEntryMatch
--- PASS: TestPrimaryIndexEntryMatch (0.00s)
=== RUN   TestSecondaryIndexEntryMatch
--- PASS: TestSecondaryIndexEntryMatch (0.00s)
=== RUN   TestLongDocIdEntry
--- PASS: TestLongDocIdEntry (0.00s)
=== RUN   TestMemDBInsertionPerf
Maximum number of file descriptors = 200000
Set IO Concurrency: 7200
Initial build: 10000000 items took 1m52.090571698s -> 89213.56942439813 items/s
Incr build: 10000000 items took 1m31.644890025s -> 109116.83125237076 items/s
Main Index: {
"node_count":             16805354,
"soft_deletes":           0,
"read_conflicts":         0,
"insert_conflicts":       2,
"next_pointers_per_node": 1.3333,
"memory_used":            1583269333,
"node_allocs":            16805354,
"node_frees":             0,
"level_node_distribution":{
"level0": 12604393,
"level1": 3151297,
"level2": 787069,
"level3": 196820,
"level4": 49295,
"level5": 12465,
"level6": 3018,
"level7": 735,
"level8": 207,
"level9": 36,
"level10": 16,
"level11": 2,
"level12": 1,
"level13": 0,
"level14": 0,
"level15": 0,
"level16": 0,
"level17": 0,
"level18": 0,
"level19": 0,
"level20": 0,
"level21": 0,
"level22": 0,
"level23": 0,
"level24": 0,
"level25": 0,
"level26": 0,
"level27": 0,
"level28": 0,
"level29": 0,
"level30": 0,
"level31": 0,
"level32": 0
}
}
Back Index 0 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 1 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 2 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 3 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 4 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 5 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 6 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 7 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 8 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 9 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 10 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 11 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 12 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 13 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 14 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
Back Index 15 : {
"FastHTCount":  625000,
"SlowHTCount":  0,
"Conflicts":   0,
"MemoryInUse": 26250000
}
--- PASS: TestMemDBInsertionPerf (203.74s)
=== RUN   TestBasicsA
--- PASS: TestBasicsA (0.00s)
=== RUN   TestSizeA
--- PASS: TestSizeA (0.00s)
=== RUN   TestSizeWithFreelistA
--- PASS: TestSizeWithFreelistA (0.00s)
=== RUN   TestDequeueUptoSeqnoA
--- PASS: TestDequeueUptoSeqnoA (0.10s)
=== RUN   TestDequeueA
--- PASS: TestDequeueA (1.21s)
=== RUN   TestMultipleVbucketsA
--- PASS: TestMultipleVbucketsA (0.00s)
=== RUN   TestDequeueUptoFreelistA
--- PASS: TestDequeueUptoFreelistA (0.00s)
=== RUN   TestDequeueUptoFreelistMultVbA
--- PASS: TestDequeueUptoFreelistMultVbA (0.00s)
=== RUN   TestConcurrentEnqueueDequeueA
--- PASS: TestConcurrentEnqueueDequeueA (0.00s)
=== RUN   TestConcurrentEnqueueDequeueA1
--- PASS: TestConcurrentEnqueueDequeueA1 (10.01s)
=== RUN   TestEnqueueAppCh
--- PASS: TestEnqueueAppCh (2.00s)
=== RUN   TestDequeueN
--- PASS: TestDequeueN (0.00s)
=== RUN   TestConcurrentEnqueueDequeueN
--- PASS: TestConcurrentEnqueueDequeueN (0.00s)
=== RUN   TestConcurrentEnqueueDequeueN1
--- PASS: TestConcurrentEnqueueDequeueN1 (10.01s)
PASS
ok  	github.com/couchbase/indexing/secondary/indexer	227.701s
=== RUN   TestConnPoolBasicSanity
2022-08-01T10:25:52.827+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 3 overflow 6 low WM 3 relConn batch size 1 ...
2022-08-01T10:25:53.034+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:25:53.828+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnPoolBasicSanity (5.00s)
=== RUN   TestConnRelease
2022-08-01T10:25:57.831+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Waiting for connections to get released
Waiting for more connections to get released
Waiting for further more connections to get released
2022-08-01T10:26:37.591+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:26:37.849+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestConnRelease (43.76s)
=== RUN   TestLongevity
2022-08-01T10:26:41.593+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Releasing 1 conns.
Getting 2 conns.
Releasing 2 conns.
Getting 4 conns.
Releasing 1 conns.
Getting 3 conns.
Releasing 0 conns.
Getting 0 conns.
Releasing 1 conns.
Getting 0 conns.
Releasing 4 conns.
Getting 1 conns.
Releasing 2 conns.
Getting 4 conns.
Releasing 3 conns.
Getting 4 conns.
Releasing 1 conns.
Getting 0 conns.
Releasing 2 conns.
Getting 1 conns.
Releasing 0 conns.
Getting 1 conns.
Releasing 3 conns.
Getting 3 conns.
Releasing 2 conns.
Getting 2 conns.
Releasing 2 conns.
Getting 3 conns.
Releasing 0 conns.
Getting 0 conns.
2022-08-01T10:27:20.166+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:27:20.610+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLongevity (42.57s)
=== RUN   TestSustainedHighConns
2022-08-01T10:27:24.167+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 500 overflow 10 low WM 40 relConn batch size 10 ...
Allocating 16 Connections
Returning 3 Connections
cp.curActConns = 0
cp.curActConns = 11
Returning 2 Connections
cp.curActConns = 11
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 14
Returning 1 Connections
Allocating 12 Connections
cp.curActConns = 23
Returning 1 Connections
cp.curActConns = 24
Allocating 10 Connections
Returning 1 Connections
cp.curActConns = 33
Returning 3 Connections
Allocating 15 Connections
cp.curActConns = 34
Returning 4 Connections
cp.curActConns = 41
Returning 3 Connections
Allocating 8 Connections
cp.curActConns = 46
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 46
Returning 4 Connections
cp.curActConns = 43
Allocating 9 Connections
Returning 3 Connections
cp.curActConns = 49
Returning 2 Connections
Allocating 21 Connections
cp.curActConns = 58
Returning 4 Connections
cp.curActConns = 64
Returning 4 Connections
Allocating 0 Connections
cp.curActConns = 60
Returning 0 Connections
Allocating 13 Connections
cp.curActConns = 70
Returning 3 Connections
cp.curActConns = 70
Allocating 3 Connections
Returning 0 Connections
cp.curActConns = 73
Returning 1 Connections
Allocating 10 Connections
cp.curActConns = 82
Returning 0 Connections
Allocating 6 Connections
cp.curActConns = 82
Returning 1 Connections
cp.curActConns = 87
Returning 3 Connections
Allocating 11 Connections
cp.curActConns = 94
Returning 2 Connections
cp.curActConns = 93
Allocating 8 Connections
Returning 1 Connections
cp.curActConns = 100
Returning 3 Connections
Allocating 1 Connections
cp.curActConns = 98
Returning 2 Connections
Allocating 18 Connections
cp.curActConns = 106
Returning 2 Connections
cp.curActConns = 112
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 110
Returning 3 Connections
Allocating 21 Connections
cp.curActConns = 118
Returning 0 Connections
cp.curActConns = 128
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 128
Returning 2 Connections
Allocating 8 Connections
cp.curActConns = 130
Returning 1 Connections
cp.curActConns = 133
Returning 4 Connections
Allocating 8 Connections
cp.curActConns = 137
Returning 3 Connections
Allocating 16 Connections
cp.curActConns = 141
Returning 2 Connections
cp.curActConns = 148
Returning 3 Connections
Allocating 11 Connections
cp.curActConns = 152
Returning 1 Connections
cp.curActConns = 155
Returning 2 Connections
Allocating 15 Connections
cp.curActConns = 164
Returning 3 Connections
cp.curActConns = 165
Allocating 2 Connections
Returning 3 Connections
cp.curActConns = 164
Allocating 5 Connections
Returning 3 Connections
cp.curActConns = 166
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 167
Returning 0 Connections
Allocating 7 Connections
cp.curActConns = 174
Returning 2 Connections
Allocating 10 Connections
cp.curActConns = 175
Returning 0 Connections
cp.curActConns = 182
Returning 0 Connections
Allocating 15 Connections
cp.curActConns = 187
Returning 2 Connections
cp.curActConns = 195
Returning 3 Connections
Allocating 3 Connections
cp.curActConns = 195
Returning 1 Connections
Allocating 7 Connections
cp.curActConns = 198
Returning 4 Connections
cp.curActConns = 197
Allocating 22 Connections
Returning 2 Connections
cp.curActConns = 209
Returning 2 Connections
cp.curActConns = 215
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 218
Returning 1 Connections
Allocating 2 Connections
cp.curActConns = 219
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 221
Returning 1 Connections
cp.curActConns = 221
Allocating 0 Connections
Returning 3 Connections
cp.curActConns = 218
Allocating 1 Connections
Returning 4 Connections
cp.curActConns = 215
Allocating 1 Connections
Returning 2 Connections
cp.curActConns = 214
Allocating 0 Connections
Returning 0 Connections
cp.curActConns = 214
Allocating 0 Connections
Returning 2 Connections
cp.curActConns = 212
Allocating 4 Connections
Returning 3 Connections
cp.curActConns = 213
Allocating 3 Connections
Returning 4 Connections
cp.curActConns = 212
Allocating 3 Connections
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 213
Returning 2 Connections
cp.curActConns = 211
Allocating 2 Connections
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 216
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 217
Returning 1 Connections
cp.curActConns = 216
Allocating 1 Connections
Returning 0 Connections
Allocating 1 Connections
cp.curActConns = 218
Returning 4 Connections
cp.curActConns = 214
Allocating 4 Connections
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 218
Returning 1 Connections
cp.curActConns = 220
Allocating 0 Connections
Returning 2 Connections
cp.curActConns = 218
Allocating 3 Connections
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 220
Returning 3 Connections
cp.curActConns = 217
Allocating 4 Connections
Returning 2 Connections
Allocating 3 Connections
cp.curActConns = 222
Returning 2 Connections
cp.curActConns = 220
Allocating 3 Connections
Returning 3 Connections
cp.curActConns = 220
Allocating 3 Connections
Returning 1 Connections
cp.curActConns = 222
Allocating 0 Connections
Returning 0 Connections
cp.curActConns = 222
Allocating 0 Connections
Returning 4 Connections
cp.curActConns = 218
Allocating 2 Connections
Returning 2 Connections
cp.curActConns = 218
Allocating 0 Connections
Returning 1 Connections
cp.curActConns = 217
Allocating 4 Connections
Returning 0 Connections
cp.curActConns = 221
Allocating 3 Connections
Returning 0 Connections
cp.curActConns = 224
Returning 4 Connections
Allocating 0 Connections
cp.curActConns = 220
Returning 3 Connections
Allocating 0 Connections
cp.curActConns = 217
Returning 4 Connections
Allocating 2 Connections
cp.curActConns = 215
Returning 0 Connections
Allocating 0 Connections
cp.curActConns = 215
Returning 2 Connections
Allocating 4 Connections
cp.curActConns = 217
Returning 0 Connections
Allocating 3 Connections
cp.curActConns = 220
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 219
Returning 1 Connections
Allocating 0 Connections
cp.curActConns = 218
Returning 1 Connections
Allocating 4 Connections
cp.curActConns = 221
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 220
Returning 2 Connections
Allocating 1 Connections
cp.curActConns = 219
Returning 0 Connections
Allocating 4 Connections
cp.curActConns = 223
Returning 2 Connections
Allocating 2 Connections
cp.curActConns = 223
Retuning from startDeallocatorRoutine
Retuning from startAllocatorRoutine
2022-08-01T10:28:19.237+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:28:20.201+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestSustainedHighConns (59.07s)
=== RUN   TestLowWM
2022-08-01T10:28:23.238+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 20 overflow 5 low WM 10 relConn batch size 2 ...
2022-08-01T10:29:23.254+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-08-01T10:30:23.270+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] active conns 0, free conns 10
2022-08-01T10:30:28.748+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:30:29.272+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestLowWM (129.51s)
=== RUN   TestTotalConns
2022-08-01T10:30:32.750+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 120 overflow 5 low WM 10 relConn batch size 10 ...
2022-08-01T10:30:46.927+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:30:47.755+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestTotalConns (18.18s)
=== RUN   TestUpdateTickRate
2022-08-01T10:30:50.929+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] started poolsize 40 overflow 5 low WM 2 relConn batch size 2 ...
2022-08-01T10:31:11.777+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] ... stopped
2022-08-01T10:31:11.941+05:30 [Info] [Queryport-connpool:127.0.0.1:15151] Stopping releaseConnsRoutine
--- PASS: TestUpdateTickRate (24.85s)
PASS
ok  	github.com/couchbase/indexing/secondary/queryport/client	322.998s
Starting server: attempt 1

Functional tests

2022/08/01 10:33:22 In TestMain()
2022/08/01 10:33:22 otp node fetch error: json: cannot unmarshal string into Go value of type couchbase.Pool
2022/08/01 10:33:22 Initialising services with role: kv,n1ql on node: 127.0.0.1:9000
2022/08/01 10:33:23 Initialising web UI on node: 127.0.0.1:9000
2022/08/01 10:33:23 InitWebCreds, response is: {"newBaseUri":"http://127.0.0.1:9000/"}
2022/08/01 10:33:24 Setting data quota of 1500M and Index quota of 1500M
2022/08/01 10:33:25 Adding node: https://127.0.0.1:19001 with role: kv,index to the cluster
2022/08/01 10:33:32 AddNode: Successfully added node: 127.0.0.1:9001 (role kv,index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 10:33:37 Rebalance progress: 0
2022/08/01 10:33:42 Rebalance progress: 0
2022/08/01 10:33:47 Rebalance progress: 50
2022/08/01 10:33:52 Rebalance progress: 100
2022/08/01 10:33:57 Created bucket default, responseBody: 
2022/08/01 10:34:02 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 10:34:02 Successfully initialised cluster
2022/08/01 10:34:02 Cluster status: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 10:34:03 Changing config key queryport.client.settings.backfillLimit to value 0
2022/08/01 10:34:03 Changing config key queryport.client.log_level to value Warn
2022/08/01 10:34:03 Changing config key indexer.api.enableTestServer to value true
2022/08/01 10:34:03 Changing config key indexer.settings.persisted_snapshot_init_build.moi.interval to value 60000
2022/08/01 10:34:03 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 60000
2022/08/01 10:34:03 Changing config key indexer.settings.log_level to value info
2022/08/01 10:34:03 Changing config key indexer.settings.storage_mode.disable_upgrade to value true
2022/08/01 10:34:03 Using memory_optimized for creating indexes
2022/08/01 10:34:03 Changing config key indexer.settings.storage_mode to value memory_optimized
2022/08/01 10:34:08 Data file exists. Skipping download
2022/08/01 10:34:08 Data file exists. Skipping download
2022/08/01 10:34:09 In DropAllSecondaryIndexes()
2022/08/01 10:34:09 Emptying the default bucket
2022/08/01 10:34:12 Flush Enabled on bucket default, responseBody: 
2022/08/01 10:34:50 Flushed the bucket default, Response body: 
2022/08/01 10:34:50 Create Index On the empty default Bucket()
2022/08/01 10:34:53 Created the secondary index index_eyeColor. Waiting for it become active
2022/08/01 10:34:53 Index is 6220517014457098358 now active
2022/08/01 10:34:53 Populating the default bucket
=== RUN   TestScanAfterBucketPopulate
2022/08/01 10:35:02 In TestScanAfterBucketPopulate()
2022/08/01 10:35:02 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/08/01 10:35:02 Using n1ql client
2022-08-01T10:35:02.248+05:30 [Info] creating GsiClient for 127.0.0.1:9000
2022/08/01 10:35:02 Expected and Actual scan responses are the same
--- PASS: TestScanAfterBucketPopulate (0.12s)
=== RUN   TestRestartNilSnapshot
2022/08/01 10:35:02 In TestRestartNilSnapshot()
2022/08/01 10:35:06 Created the secondary index idx_age. Waiting for it become active
2022/08/01 10:35:06 Index is 9099284510716258481 now active
2022/08/01 10:35:06 Restarting indexer process ...
2022/08/01 10:35:06 []
2022-08-01T10:35:06.354+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T10:35:06.354+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T10:35:06.360+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T10:35:06.360+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 10:38:26 Using n1ql client
2022-08-01T10:38:26.334+05:30 [Error] transport error between 127.0.0.1:38180->127.0.0.1:9107: write tcp 127.0.0.1:38180->127.0.0.1:9107: write: broken pipe
2022-08-01T10:38:26.334+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6379721068842891783 request transport failed `write tcp 127.0.0.1:38180->127.0.0.1:9107: write: broken pipe`
2022-08-01T10:38:26.335+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T10:38:26.335+05:30 [Error] metadataClient:PickRandom: Replicas - [16871028898666753423], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 10:38:26 Expected and Actual scan responses are the same
--- PASS: TestRestartNilSnapshot (204.03s)
=== RUN   TestThreeIndexCreates
2022/08/01 10:38:26 In TestThreeIndexCreates()
2022/08/01 10:38:30 Created the secondary index index_balance. Waiting for it become active
2022/08/01 10:38:30 Index is 4570518728471347828 now active
2022/08/01 10:38:30 Create docs mutations
2022/08/01 10:38:30 Using n1ql client
2022/08/01 10:38:30 Expected and Actual scan responses are the same
2022/08/01 10:38:34 Created the secondary index index_email. Waiting for it become active
2022/08/01 10:38:34 Index is 15881294460027402541 now active
2022/08/01 10:38:34 Create docs mutations
2022/08/01 10:38:34 Using n1ql client
2022/08/01 10:38:35 Expected and Actual scan responses are the same
2022/08/01 10:38:39 Created the secondary index index_pin. Waiting for it become active
2022/08/01 10:38:39 Index is 18289806352805300227 now active
2022/08/01 10:38:39 Delete docs mutations
2022/08/01 10:38:39 Using n1ql client
2022/08/01 10:38:39 Expected and Actual scan responses are the same
--- PASS: TestThreeIndexCreates (13.07s)
=== RUN   TestMultipleIndexCreatesDropsWithMutations
2022/08/01 10:38:39 In TestThreeIndexCreates()
2022/08/01 10:38:43 Created the secondary index index_state. Waiting for it become active
2022/08/01 10:38:43 Index is 2693352722155692730 now active
2022/08/01 10:38:43 Create docs mutations
2022/08/01 10:38:43 Using n1ql client
2022/08/01 10:38:43 Expected and Actual scan responses are the same
2022/08/01 10:38:47 Created the secondary index index_registered. Waiting for it become active
2022/08/01 10:38:47 Index is 15179694236590577418 now active
2022/08/01 10:38:47 Create docs mutations
2022/08/01 10:38:48 Using n1ql client
2022/08/01 10:38:48 Expected and Actual scan responses are the same
2022/08/01 10:38:52 Created the secondary index index_gender. Waiting for it become active
2022/08/01 10:38:52 Index is 2870971588205685417 now active
2022/08/01 10:38:52 Create docs mutations
2022/08/01 10:38:52 Using n1ql client
2022/08/01 10:38:52 Expected and Actual scan responses are the same
2022/08/01 10:38:52 Dropping the secondary index index_registered
2022/08/01 10:38:52 Index dropped
2022/08/01 10:38:52 Create docs mutations
2022/08/01 10:38:52 Delete docs mutations
2022/08/01 10:38:53 Using n1ql client
2022/08/01 10:38:53 Expected and Actual scan responses are the same
2022/08/01 10:38:57 Created the secondary index index_longitude. Waiting for it become active
2022/08/01 10:38:57 Index is 14907538857568459545 now active
2022/08/01 10:38:57 Create docs mutations
2022/08/01 10:38:57 Using n1ql client
2022/08/01 10:38:57 Expected and Actual scan responses are the same
--- PASS: TestMultipleIndexCreatesDropsWithMutations (18.06s)
=== RUN   TestCreateDropScan
2022/08/01 10:38:57 In TestCreateDropScan()
2022/08/01 10:39:01 Created the secondary index index_cd. Waiting for it become active
2022/08/01 10:39:01 Index is 10833983713704446136 now active
2022/08/01 10:39:01 Using n1ql client
2022/08/01 10:39:01 Expected and Actual scan responses are the same
2022/08/01 10:39:01 Dropping the secondary index index_cd
2022/08/01 10:39:01 Index dropped
2022/08/01 10:39:01 Using n1ql client
2022/08/01 10:39:01 Scan failed as expected with error: Index Not Found - cause: GSI index index_cd not found.
--- PASS: TestCreateDropScan (4.20s)
=== RUN   TestCreateDropCreate
2022/08/01 10:39:01 In TestCreateDropCreate()
2022/08/01 10:39:05 Created the secondary index index_cdc. Waiting for it become active
2022/08/01 10:39:05 Index is 3325337985520239243 now active
2022/08/01 10:39:05 Using n1ql client
2022/08/01 10:39:05 Expected and Actual scan responses are the same
2022/08/01 10:39:05 Dropping the secondary index index_cdc
2022/08/01 10:39:05 Index dropped
2022/08/01 10:39:05 Using n1ql client
2022/08/01 10:39:05 Scan 2 failed as expected with error: Index Not Found - cause: GSI index index_cdc not found.
2022/08/01 10:39:09 Created the secondary index index_cdc. Waiting for it become active
2022/08/01 10:39:09 Index is 13602568690261709515 now active
2022/08/01 10:39:09 Using n1ql client
2022/08/01 10:39:10 Expected and Actual scan responses are the same
2022/08/01 10:39:10 (Inclusion 1) Lengths of expected and actual scan results are 5055 and 5055. Num of docs in bucket = 10402
2022/08/01 10:39:10 Using n1ql client
2022/08/01 10:39:10 Expected and Actual scan responses are the same
2022/08/01 10:39:10 (Inclusion 3) Lengths of expected and actual scan results are 5055 and 5055. Num of docs in bucket = 10402
--- PASS: TestCreateDropCreate (8.38s)
=== RUN   TestCreate2Drop1Scan2
2022/08/01 10:39:10 In TestCreate2Drop1Scan2()
2022/08/01 10:39:14 Created the secondary index index_i1. Waiting for it become active
2022/08/01 10:39:14 Index is 18237184562776181238 now active
2022/08/01 10:39:18 Created the secondary index index_i2. Waiting for it become active
2022/08/01 10:39:18 Index is 12326726710644639996 now active
2022/08/01 10:39:18 Using n1ql client
2022/08/01 10:39:18 Expected and Actual scan responses are the same
2022/08/01 10:39:18 Using n1ql client
2022/08/01 10:39:18 Expected and Actual scan responses are the same
2022/08/01 10:39:18 Dropping the secondary index index_i1
2022/08/01 10:39:18 Index dropped
2022/08/01 10:39:18 Using n1ql client
2022/08/01 10:39:18 Expected and Actual scan responses are the same
--- PASS: TestCreate2Drop1Scan2 (8.48s)
=== RUN   TestIndexNameCaseSensitivity
2022/08/01 10:39:18 In TestIndexNameCaseSensitivity()
2022/08/01 10:39:22 Created the secondary index index_age. Waiting for it become active
2022/08/01 10:39:22 Index is 8696954766563811803 now active
2022/08/01 10:39:22 Using n1ql client
2022/08/01 10:39:22 Expected and Actual scan responses are the same
2022/08/01 10:39:22 Using n1ql client
2022/08/01 10:39:22 Scan failed as expected with error: Index Not Found - cause: GSI index index_Age not found.
--- PASS: TestIndexNameCaseSensitivity (4.05s)
=== RUN   TestCreateDuplicateIndex
2022/08/01 10:39:22 In TestCreateDuplicateIndex()
2022/08/01 10:39:26 Created the secondary index index_di1. Waiting for it become active
2022/08/01 10:39:26 Index is 14983355535310935762 now active
2022/08/01 10:39:26 Index found:  index_di1
2022/08/01 10:39:26 Create failed as expected with error: Index index_di1 already exists.
--- PASS: TestCreateDuplicateIndex (4.11s)
=== RUN   TestDropNonExistingIndex
2022/08/01 10:39:26 In TestDropNonExistingIndex()
2022/08/01 10:39:26 Dropping the secondary index 123456
2022/08/01 10:39:26 Index drop failed as expected with error: Index does not exist.
--- PASS: TestDropNonExistingIndex (0.07s)
=== RUN   TestCreateIndexNonExistentBucket
2022/08/01 10:39:26 In TestCreateIndexNonExistentBucket()
2022-08-01T10:39:27.304+05:30 [Error] Encountered error during create index.  Error: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
2022-08-01T10:39:37.306+05:30 [Error] Fail to create index: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
2022/08/01 10:39:37 Index create failed as expected with error: [Bucket Not Found] Bucket BlahBucket does not exist or temporarily unavailable for creating new index. Please retry the operation at a later time.
--- PASS: TestCreateIndexNonExistentBucket (10.51s)
=== RUN   TestScanWithNoTimeout
2022/08/01 10:39:37 Create an index on empty bucket, populate the bucket and Run a scan on the index
2022/08/01 10:39:37 Changing config key indexer.settings.scan_timeout to value 0
2022/08/01 10:39:37 Using n1ql client
2022/08/01 10:39:37 Expected and Actual scan responses are the same
--- PASS: TestScanWithNoTimeout (0.26s)
=== RUN   TestIndexingOnBinaryBucketMeta
2022/08/01 10:39:37 In TestIndexingOnBinaryBucketMeta()
2022/08/01 10:39:37 	 1. Populate a bucekt with binary docs and create indexs on the `id`, `cas` and `expiration` fields of Metadata
2022/08/01 10:39:37 	 2. Validate the test by comparing the items_count of indexes and the number of docs in the bucket for each of the fields
2022/08/01 10:39:40 Modified parameters of bucket default, responseBody: 
2022/08/01 10:39:40 Created bucket binaryBucket, responseBody: 
2022/08/01 10:39:59 Created the secondary index index_binary_meta_id. Waiting for it become active
2022/08/01 10:39:59 Index is 3363433497614621799 now active
2022/08/01 10:40:04 items_count stat is 10 for index index_binary_meta_id
2022/08/01 10:40:04 Dropping the secondary index index_binary_meta_id
2022/08/01 10:40:04 Index dropped
2022/08/01 10:40:07 Created the secondary index index_binary_meta_cas. Waiting for it become active
2022/08/01 10:40:07 Index is 14270313804832724178 now active
2022/08/01 10:40:12 items_count stat is 10 for index index_binary_meta_cas
2022/08/01 10:40:12 Dropping the secondary index index_binary_meta_cas
2022/08/01 10:40:12 Index dropped
2022/08/01 10:40:15 Created the secondary index index_binary_meta_expiration. Waiting for it become active
2022/08/01 10:40:15 Index is 2055753475986399132 now active
2022/08/01 10:40:20 items_count stat is 10 for index index_binary_meta_expiration
2022/08/01 10:40:20 Dropping the secondary index index_binary_meta_expiration
2022/08/01 10:40:20 Index dropped
2022/08/01 10:40:22 Deleted bucket binaryBucket, responseBody: 
2022/08/01 10:40:25 Modified parameters of bucket default, responseBody: 
--- PASS: TestIndexingOnBinaryBucketMeta (63.01s)
=== RUN   TestRetainDeleteXATTRBinaryDocs
2022/08/01 10:40:40 In TestRetainDeleteXATTRBinaryDocs()
2022/08/01 10:40:40 	 1. Populate a bucket with binary docs having system XATTRS
2022/08/01 10:40:40 	 2. Create index on the system XATTRS with "retain_deleted_xattr" attribute set to true
2022/08/01 10:40:40 	 3. Delete the documents in the bucket
2022/08/01 10:40:40 	 4. Query for the meta() information in the source bucket. The total number of results should be equivalent to the number of documents in the bucket before deletion of documents
2022/08/01 10:40:43 Modified parameters of bucket default, responseBody: 
2022/08/01 10:40:43 Created bucket binaryBucket, responseBody: 
2022/08/01 10:41:02 Created the secondary index index_system_xattr. Waiting for it become active
2022/08/01 10:41:02 Index is 15217435795587246722 now active
2022/08/01 10:41:07 Deleted all the documents in the bucket: binaryBucket successfully
2022/08/01 10:41:09 Deleted bucket binaryBucket, responseBody: 
2022/08/01 10:41:12 Modified parameters of bucket default, responseBody: 
--- PASS: TestRetainDeleteXATTRBinaryDocs (47.32s)
=== RUN   TestSimpleIndex_FloatDataType
2022/08/01 10:41:27 In TestSimpleIndex_FloatDataType()
2022/08/01 10:41:27 Index found:  index_age
2022/08/01 10:41:27 Using n1ql client
2022/08/01 10:41:27 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FloatDataType (0.02s)
=== RUN   TestSimpleIndex_StringDataType
2022/08/01 10:41:27 In TestSimpleIndex_StringDataType()
2022/08/01 10:41:32 Created the secondary index index_company. Waiting for it become active
2022/08/01 10:41:32 Index is 17052942130179168415 now active
2022/08/01 10:41:32 Using n1ql client
2022/08/01 10:41:32 Expected and Actual scan responses are the same
2022/08/01 10:41:32 Using n1ql client
2022/08/01 10:41:32 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_StringDataType (4.33s)
=== RUN   TestSimpleIndex_FieldValueCaseSensitivity
2022/08/01 10:41:32 In TestSimpleIndex_StringCaseSensitivity()
2022/08/01 10:41:32 Index found:  index_company
2022/08/01 10:41:32 Using n1ql client
2022/08/01 10:41:32 Expected and Actual scan responses are the same
2022/08/01 10:41:32 Using n1ql client
2022/08/01 10:41:32 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_FieldValueCaseSensitivity (0.06s)
=== RUN   TestSimpleIndex_BoolDataType
2022/08/01 10:41:32 In TestSimpleIndex_BoolDataType()
2022/08/01 10:41:36 Created the secondary index index_isActive. Waiting for it become active
2022/08/01 10:41:36 Index is 10948793166888011125 now active
2022/08/01 10:41:36 Using n1ql client
2022/08/01 10:41:36 Expected and Actual scan responses are the same
--- PASS: TestSimpleIndex_BoolDataType (4.39s)
=== RUN   TestBasicLookup
2022/08/01 10:41:36 In TestBasicLookup()
2022/08/01 10:41:36 Index found:  index_company
2022/08/01 10:41:36 Using n1ql client
2022/08/01 10:41:36 Expected and Actual scan responses are the same
--- PASS: TestBasicLookup (0.01s)
=== RUN   TestIndexOnNonExistentField
2022/08/01 10:41:36 In TestIndexOnNonExistentField()
2022/08/01 10:41:40 Created the secondary index index_height. Waiting for it become active
2022/08/01 10:41:40 Index is 7764120701880934675 now active
2022/08/01 10:41:40 Using n1ql client
2022/08/01 10:41:40 Expected and Actual scan responses are the same
--- PASS: TestIndexOnNonExistentField (4.13s)
=== RUN   TestIndexPartiallyMissingField
2022/08/01 10:41:40 In TestIndexPartiallyMissingField()
2022/08/01 10:41:45 Created the secondary index index_nationality. Waiting for it become active
2022/08/01 10:41:45 Index is 13618973459523371927 now active
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestIndexPartiallyMissingField (4.24s)
=== RUN   TestScanNonMatchingDatatype
2022/08/01 10:41:45 In TestScanNonMatchingDatatype()
2022/08/01 10:41:45 Index found:  index_age
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestScanNonMatchingDatatype (0.02s)
=== RUN   TestInclusionNeither
2022/08/01 10:41:45 In TestInclusionNeither()
2022/08/01 10:41:45 Index found:  index_age
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestInclusionNeither (0.05s)
=== RUN   TestInclusionLow
2022/08/01 10:41:45 In TestInclusionLow()
2022/08/01 10:41:45 Index found:  index_age
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestInclusionLow (0.02s)
=== RUN   TestInclusionHigh
2022/08/01 10:41:45 In TestInclusionHigh()
2022/08/01 10:41:45 Index found:  index_age
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestInclusionHigh (0.01s)
=== RUN   TestInclusionBoth
2022/08/01 10:41:45 In TestInclusionBoth()
2022/08/01 10:41:45 Index found:  index_age
2022/08/01 10:41:45 Using n1ql client
2022/08/01 10:41:45 Expected and Actual scan responses are the same
--- PASS: TestInclusionBoth (0.02s)
=== RUN   TestNestedIndex_String
2022/08/01 10:41:45 In TestNestedIndex_String()
2022/08/01 10:41:49 Created the secondary index index_streetname. Waiting for it become active
2022/08/01 10:41:49 Index is 11283475807709045887 now active
2022/08/01 10:41:49 Using n1ql client
2022/08/01 10:41:49 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_String (4.11s)
=== RUN   TestNestedIndex_Float
2022/08/01 10:41:49 In TestNestedIndex_Float()
2022/08/01 10:41:53 Created the secondary index index_floor. Waiting for it become active
2022/08/01 10:41:53 Index is 15716918971815258830 now active
2022/08/01 10:41:53 Using n1ql client
2022/08/01 10:41:53 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Float (4.27s)
=== RUN   TestNestedIndex_Bool
2022/08/01 10:41:53 In TestNestedIndex_Bool()
2022/08/01 10:41:57 Created the secondary index index_isresidential. Waiting for it become active
2022/08/01 10:41:57 Index is 16254602394518105824 now active
2022/08/01 10:41:57 Using n1ql client
2022/08/01 10:41:57 Expected and Actual scan responses are the same
--- PASS: TestNestedIndex_Bool (4.29s)
=== RUN   TestLookupJsonObject
2022/08/01 10:41:57 In TestLookupJsonObject()
2022/08/01 10:42:03 Created the secondary index index_streetaddress. Waiting for it become active
2022/08/01 10:42:03 Index is 3012114043318107310 now active
2022/08/01 10:42:03 Using n1ql client
2022/08/01 10:42:04 Count of docScanResults is 1
2022/08/01 10:42:04 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 10:42:04 Count of scanResults is 1
2022/08/01 10:42:04 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 10:42:04 Expected and Actual scan responses are the same
--- PASS: TestLookupJsonObject (6.15s)
=== RUN   TestLookupObjDifferentOrdering
2022/08/01 10:42:04 In TestLookupObjDifferentOrdering()
2022/08/01 10:42:04 Index found:  index_streetaddress
2022/08/01 10:42:04 Using n1ql client
2022/08/01 10:42:04 Count of docScanResults is 1
2022/08/01 10:42:04 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 10:42:04 Count of scanResults is 1
2022/08/01 10:42:04 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 10:42:04 Expected and Actual scan responses are the same
--- PASS: TestLookupObjDifferentOrdering (0.01s)
=== RUN   TestRangeJsonObject
2022/08/01 10:42:04 In TestRangeJsonObject()
2022/08/01 10:42:04 Index found:  index_streetaddress
2022/08/01 10:42:04 Using n1ql client
2022/08/01 10:42:04 Count of scanResults is 2
2022/08/01 10:42:04 Key: string Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: value.Values [{"buildingname":"Rosewood Gardens","doornumber":"514","floor":2,"streetname":"Karweg Place"}] false
2022/08/01 10:42:04 Key: string User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: value.Values [{"buildingname":"Sterling Heights","doornumber":"12B","floor":5,"streetname":"Hill Street"}] false
2022/08/01 10:42:04 Count of docScanResults is 2
2022/08/01 10:42:04 Key: User3bf51f08-0bac-4c03-bcec-5c255cbdde2c  Value: [map[buildingname:Sterling Heights doornumber:12B floor:5 streetname:Hill Street]]
2022/08/01 10:42:04 Key: Userbb48952f-f8d1-4e04-a0e1-96b9019706fb  Value: [map[buildingname:Rosewood Gardens doornumber:514 floor:2 streetname:Karweg Place]]
2022/08/01 10:42:04 Expected and Actual scan responses are the same
--- PASS: TestRangeJsonObject (0.01s)
=== RUN   TestLookupFloatDiffForms
2022/08/01 10:42:04 In TestLookupFloatDiffForms()
2022/08/01 10:42:08 Created the secondary index index_latitude. Waiting for it become active
2022/08/01 10:42:08 Index is 10080421591202913411 now active
2022/08/01 10:42:08 Scan 1
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 2
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 3
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 4
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 5
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 6
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
--- PASS: TestLookupFloatDiffForms (4.52s)
=== RUN   TestRangeFloatInclVariations
2022/08/01 10:42:08 In TestRangeFloatInclVariations()
2022/08/01 10:42:08 Index found:  index_latitude
2022/08/01 10:42:08 Scan 1
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 2
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 3
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 4
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 5
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
2022/08/01 10:42:08 Scan 6
2022/08/01 10:42:08 Using n1ql client
2022/08/01 10:42:08 Expected and Actual scan responses are the same
--- PASS: TestRangeFloatInclVariations (0.03s)
=== RUN   TestScanAll
2022/08/01 10:42:08 In TestScanAll()
2022/08/01 10:42:12 Created the secondary index index_name. Waiting for it become active
2022/08/01 10:42:12 Index is 18114722493665961242 now active
2022/08/01 10:42:12 Length of docScanResults = 10502
2022/08/01 10:42:12 Using n1ql client
2022/08/01 10:42:12 Length of scanResults = 10502
2022/08/01 10:42:12 Expected and Actual scan responses are the same
--- PASS: TestScanAll (4.38s)
=== RUN   TestScanAllNestedField
2022/08/01 10:42:12 In TestScanAllNestedField()
2022/08/01 10:42:12 Index found:  index_streetname
2022/08/01 10:42:12 Length of docScanResults = 2
2022/08/01 10:42:12 Using n1ql client
2022/08/01 10:42:12 Length of scanResults = 2
2022/08/01 10:42:12 Expected and Actual scan responses are the same
--- PASS: TestScanAllNestedField (0.01s)
=== RUN   TestBasicPrimaryIndex
2022/08/01 10:42:12 In TestBasicPrimaryIndex()
2022/08/01 10:42:17 Created the secondary index index_p1. Waiting for it become active
2022/08/01 10:42:17 Index is 1998205730139388683 now active
2022-08-01T10:42:17.818+05:30 [Error] transport error between 127.0.0.1:37512->127.0.0.1:9107: write tcp 127.0.0.1:37512->127.0.0.1:9107: write: broken pipe
2022-08-01T10:42:17.818+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:37512->127.0.0.1:9107: write: broken pipe`
2022-08-01T10:42:17.818+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T10:42:17.818+05:30 [Error] metadataClient:PickRandom: Replicas - [10054226446129043152], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 10:42:17 Expected and Actual scan responses are the same
2022/08/01 10:42:17 CountRange() expected and actual is:  1880 and 1880
2022/08/01 10:42:17 lookupkey for CountLookup() = User6a962a75-2cf0-480f-a0d9-1c66d24d925f
2022/08/01 10:42:17 CountLookup() = 1
--- PASS: TestBasicPrimaryIndex (4.95s)
=== RUN   TestBasicNullDataType
2022/08/01 10:42:17 In TestBasicNullDataType()
2022/08/01 10:42:17 Index found:  index_email
2022/08/01 10:42:17 Using n1ql client
2022/08/01 10:42:17 Expected and Actual scan responses are the same
--- PASS: TestBasicNullDataType (0.01s)
=== RUN   TestBasicArrayDataType_ScanAll
2022/08/01 10:42:17 In TestBasicArrayDataType_ScanAll()
2022/08/01 10:42:22 Created the secondary index index_tags. Waiting for it become active
2022/08/01 10:42:22 Index is 12343659487467633288 now active
2022/08/01 10:42:22 Using n1ql client
2022/08/01 10:42:22 Expected and Actual scan responses are the same
--- PASS: TestBasicArrayDataType_ScanAll (4.70s)
=== RUN   TestBasicArrayDataType_Lookup
2022/08/01 10:42:22 In TestBasicArrayDataType_Lookup()
2022/08/01 10:42:24 Index found:  index_tags
2022/08/01 10:42:24 Count of scanResults is 1
2022/08/01 10:42:24 Key: string Usere46cea01-38f6-4e7b-92e5-69d64668ae75  Value: value.Values [["reprehenderit","tempor","officia","exercitation","labore","sunt","tempor"]] false
--- PASS: TestBasicArrayDataType_Lookup (2.00s)
=== RUN   TestArrayDataType_LookupMissingArrayValue
2022/08/01 10:42:24 In TestArrayDataType_LookupMissingArrayValue()
2022/08/01 10:42:24 Index found:  index_tags
2022/08/01 10:42:24 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupMissingArrayValue (0.00s)
=== RUN   TestArrayDataType_LookupWrongOrder
2022/08/01 10:42:24 In TestArrayDataType_LookupWrongOrder()
2022/08/01 10:42:24 Index found:  index_tags
2022/08/01 10:42:24 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupWrongOrder (0.00s)
=== RUN   TestArrayDataType_LookupSubset
2022/08/01 10:42:24 In TestArrayDataType_LookupSubset()
2022/08/01 10:42:24 Index found:  index_tags
2022/08/01 10:42:24 Count of scanResults is 0
--- PASS: TestArrayDataType_LookupSubset (0.00s)
=== RUN   TestScanLimitParameter
2022/08/01 10:42:24 In TestScanLimitParameter()
2022/08/01 10:42:24 Index found:  index_age
2022/08/01 10:42:24 Using n1ql client
2022/08/01 10:42:24 Using n1ql client
--- PASS: TestScanLimitParameter (0.01s)
=== RUN   TestCountRange
2022/08/01 10:42:24 In TestRangeCount()
2022/08/01 10:42:24 Index found:  index_age
2022/08/01 10:42:24 Count of expected and actual Range is:  2390 and 2390
2022/08/01 10:42:24 Count of expected and actual Range is: 10002 and 10002
2022/08/01 10:42:24 Count of expected and actual Range are: 0 and 0
2022/08/01 10:42:24 Count of expected and actual Range are: 465 and 465
2022/08/01 10:42:24 Testing CountRange() for key <= val
2022/08/01 10:42:24 Count of expected and actual CountRange for key <= 30 are: 5261 and 5261
2022/08/01 10:42:24 Testing CountRange() for key >= val
2022/08/01 10:42:24 Count of expected and actual CountRange for key >= 25 are: 7668 and 7668
2022/08/01 10:42:24 Testing CountRange() for null < key <= val
2022/08/01 10:42:24 Count of expected and actual CountRange for key > null && key <= 30 are: 5261 and 5261
2022/08/01 10:42:24 Testing CountRange() for val <= key < null 
2022/08/01 10:42:24 Count of expected and actual CountRange for key >= 25 && key < null are: 0 and 0
2022/08/01 10:42:24 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountRange (0.05s)
=== RUN   TestCountLookup
2022/08/01 10:42:24 In TestCountLookup()
2022/08/01 10:42:24 Index found:  index_age
2022/08/01 10:42:24 Count of expected and actual Range are: 508 and 508
2022/08/01 10:42:24 Count of expected and actual Range are: 0 and 0
--- PASS: TestCountLookup (0.01s)
=== RUN   TestRangeStatistics
2022/08/01 10:42:24 In TestRangeCount()
2022/08/01 10:42:24 Index found:  index_age
--- PASS: TestRangeStatistics (0.00s)
=== RUN   TestIndexCreateWithWhere
2022/08/01 10:42:24 In TestIndexCreateWithWhere()
2022/08/01 10:42:28 Created the secondary index index_ageabove30. Waiting for it become active
2022/08/01 10:42:28 Index is 10210146456665503196 now active
2022/08/01 10:42:28 Using n1ql client
2022/08/01 10:42:29 Expected and Actual scan responses are the same
2022/08/01 10:42:29 Lengths of expected and actual scanReuslts are:  4276 and 4276
2022/08/01 10:42:33 Created the secondary index index_ageteens. Waiting for it become active
2022/08/01 10:42:33 Index is 918407360013779725 now active
2022/08/01 10:42:33 Using n1ql client
2022/08/01 10:42:33 Expected and Actual scan responses are the same
2022/08/01 10:42:33 Lengths of expected and actual scanReuslts are:  0 and 0
2022/08/01 10:42:37 Created the secondary index index_age35to45. Waiting for it become active
2022/08/01 10:42:37 Index is 13886888099498733575 now active
2022/08/01 10:42:37 Using n1ql client
2022/08/01 10:42:37 Expected and Actual scan responses are the same
2022/08/01 10:42:37 Lengths of expected and actual scanReuslts are:  2855 and 2855
--- PASS: TestIndexCreateWithWhere (13.02s)
=== RUN   TestDeferredIndexCreate
2022/08/01 10:42:37 In TestDeferredIndexCreate()
2022/08/01 10:42:37 Created the index index_deferred in deferred mode. Index state is INDEX_STATE_READY
2022/08/01 10:42:39 Build the deferred index index_deferred. Waiting for the index to become active
2022/08/01 10:42:39 Waiting for index 2519020314624183960 to go active ...
2022/08/01 10:42:40 Waiting for index 2519020314624183960 to go active ...
2022/08/01 10:42:41 Waiting for index 2519020314624183960 to go active ...
2022/08/01 10:42:42 Index is 2519020314624183960 now active
2022/08/01 10:42:42 Using n1ql client
2022/08/01 10:42:42 Expected and Actual scan responses are the same
--- PASS: TestDeferredIndexCreate (5.13s)
=== RUN   TestCompositeIndex_NumAndString
2022/08/01 10:42:42 In TestCompositeIndex()
2022/08/01 10:42:47 Created the secondary index index_composite1. Waiting for it become active
2022/08/01 10:42:47 Index is 12764548914730935730 now active
2022/08/01 10:42:47 Using n1ql client
2022/08/01 10:42:47 Using n1ql client
2022/08/01 10:42:47 Using n1ql client
2022/08/01 10:42:47 Expected and Actual scan responses are the same
--- PASS: TestCompositeIndex_NumAndString (4.55s)
=== RUN   TestCompositeIndex_TwoNumberFields
2022/08/01 10:42:47 In TestCompositeIndex()
2022/08/01 10:42:51 Created the secondary index index_composite2. Waiting for it become active
2022/08/01 10:42:51 Index is 6289898599087995160 now active
2022/08/01 10:42:51 Using n1ql client
--- PASS: TestCompositeIndex_TwoNumberFields (5.48s)
=== RUN   TestNumbers_Int64_Float64
2022/08/01 10:42:52 In TestNumbers_Int64_Float64()
2022/08/01 10:42:57 Created the secondary index idx_numbertest. Waiting for it become active
2022/08/01 10:42:57 Index is 17777912736548915091 now active
2022/08/01 10:42:57 
 ==== Int64 test #0
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #1
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #2
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #3
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #4
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #5
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #6
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #7
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Int64 test #8
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Float64 test #0
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Float64 test #1
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Float64 test #2
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
2022/08/01 10:42:57 
 ==== Float64 test #3
2022/08/01 10:42:57 Using n1ql client
2022/08/01 10:42:57 Expected and Actual scan responses are the same
--- PASS: TestNumbers_Int64_Float64 (5.03s)
=== RUN   TestRestartIndexer
2022/08/01 10:42:57 In TestRestartIndexer()
2022/08/01 10:42:57 []
2022-08-01T10:42:57.964+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T10:42:57.964+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T10:42:57.964+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T10:42:57.964+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 10:43:17 Using n1ql client
2022-08-01T10:43:17.961+05:30 [Error] transport error between 127.0.0.1:39924->127.0.0.1:9107: write tcp 127.0.0.1:39924->127.0.0.1:9107: write: broken pipe
2022-08-01T10:43:17.961+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 3843297342981505164 request transport failed `write tcp 127.0.0.1:39924->127.0.0.1:9107: write: broken pipe`
2022-08-01T10:43:17.961+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T10:43:17.961+05:30 [Error] metadataClient:PickRandom: Replicas - [17015196350744324749], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 10:43:18 Len of expected and actual scan results are :  10002 and 10002
2022/08/01 10:43:18 Expected and Actual scan responses are the same
--- PASS: TestRestartIndexer (20.16s)
=== RUN   TestCreateDocsMutation
2022/08/01 10:43:18 In TestCreateDocsMutation()
2022/08/01 10:43:18 Index found:  index_age
2022/08/01 10:43:18 Using n1ql client
2022/08/01 10:43:18 Len of expected and actual scan results are :  10002 and 10002
2022/08/01 10:43:18 Expected and Actual scan responses are the same
2022/08/01 10:43:18 Using n1ql client
2022/08/01 10:43:18 Index Scan after mutations took 37.136688ms
2022/08/01 10:43:18 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 10:43:18 Expected and Actual scan responses are the same
--- PASS: TestCreateDocsMutation (0.30s)
=== RUN   TestRestartProjector
2022/08/01 10:43:18 In TestRestartProjector()
2022/08/01 10:43:18 []
2022/08/01 10:43:38 Using n1ql client
2022/08/01 10:43:38 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 10:43:38 Expected and Actual scan responses are the same
--- PASS: TestRestartProjector (20.07s)
=== RUN   TestDeleteDocsMutation
2022/08/01 10:43:38 In TestDeleteDocsMutation()
2022/08/01 10:43:38 Index found:  index_age
2022/08/01 10:43:38 Using n1ql client
2022/08/01 10:43:38 Len of expected and actual scan results are :  10102 and 10102
2022/08/01 10:43:38 Expected and Actual scan responses are the same
2022/08/01 10:43:38 Using n1ql client
2022/08/01 10:43:38 Index Scan after mutations took 35.999393ms
2022/08/01 10:43:38 Len of expected and actual scan results are :  9902 and 9902
2022/08/01 10:43:38 Expected and Actual scan responses are the same
--- PASS: TestDeleteDocsMutation (0.34s)
=== RUN   TestUpdateDocsMutation
2022/08/01 10:43:38 In TestUpdateDocsMutation()
2022/08/01 10:43:38 Index found:  index_age
2022/08/01 10:43:38 Using n1ql client
2022/08/01 10:43:38 Len of expected and actual scan results are :  9438 and 9438
2022/08/01 10:43:38 Expected and Actual scan responses are the same
2022/08/01 10:43:38 Num of keysFromMutDocs: 100
2022/08/01 10:43:38 Updating number of documents: 99
2022/08/01 10:43:39 Using n1ql client
2022/08/01 10:43:39 Index Scan after mutations took 44.292009ms
2022/08/01 10:43:39 Len of expected and actual scan results are :  9431 and 9431
2022/08/01 10:43:39 Expected and Actual scan responses are the same
--- PASS: TestUpdateDocsMutation (0.38s)
=== RUN   TestLargeMutations
2022/08/01 10:43:39 In TestLargeMutations()
2022/08/01 10:43:39 In DropAllSecondaryIndexes()
2022/08/01 10:43:39 Index found:  index_gender
2022/08/01 10:43:39 Dropped index index_gender
2022/08/01 10:43:39 Index found:  index_name
2022/08/01 10:43:39 Dropped index index_name
2022/08/01 10:43:39 Index found:  idx_age
2022/08/01 10:43:39 Dropped index idx_age
2022/08/01 10:43:39 Index found:  index_height
2022/08/01 10:43:39 Dropped index index_height
2022/08/01 10:43:39 Index found:  index_isresidential
2022/08/01 10:43:39 Dropped index index_isresidential
2022/08/01 10:43:39 Index found:  index_state
2022/08/01 10:43:39 Dropped index index_state
2022/08/01 10:43:39 Index found:  index_deferred
2022/08/01 10:43:39 Dropped index index_deferred
2022/08/01 10:43:39 Index found:  index_ageteens
2022/08/01 10:43:39 Dropped index index_ageteens
2022/08/01 10:43:39 Index found:  index_cdc
2022/08/01 10:43:40 Dropped index index_cdc
2022/08/01 10:43:40 Index found:  idx_numbertest
2022/08/01 10:43:40 Dropped index idx_numbertest
2022/08/01 10:43:40 Index found:  index_longitude
2022/08/01 10:43:40 Dropped index index_longitude
2022/08/01 10:43:40 Index found:  index_pin
2022/08/01 10:43:40 Dropped index index_pin
2022/08/01 10:43:40 Index found:  index_di1
2022/08/01 10:43:40 Dropped index index_di1
2022/08/01 10:43:40 Index found:  index_composite1
2022/08/01 10:43:40 Dropped index index_composite1
2022/08/01 10:43:40 Index found:  index_tags
2022/08/01 10:43:40 Dropped index index_tags
2022/08/01 10:43:40 Index found:  index_age35to45
2022/08/01 10:43:40 Dropped index index_age35to45
2022/08/01 10:43:40 Index found:  index_age
2022/08/01 10:43:40 Dropped index index_age
2022/08/01 10:43:40 Index found:  index_streetaddress
2022/08/01 10:43:40 Dropped index index_streetaddress
2022/08/01 10:43:40 Index found:  index_isActive
2022/08/01 10:43:40 Dropped index index_isActive
2022/08/01 10:43:40 Index found:  index_i2
2022/08/01 10:43:40 Dropped index index_i2
2022/08/01 10:43:40 Index found:  index_company
2022/08/01 10:43:40 Dropped index index_company
2022/08/01 10:43:40 Index found:  index_composite2
2022/08/01 10:43:40 Dropped index index_composite2
2022/08/01 10:43:40 Index found:  index_eyeColor
2022/08/01 10:43:40 Dropped index index_eyeColor
2022/08/01 10:43:40 Index found:  index_latitude
2022/08/01 10:43:41 Dropped index index_latitude
2022/08/01 10:43:41 Index found:  index_floor
2022/08/01 10:43:41 Dropped index index_floor
2022/08/01 10:43:41 Index found:  index_nationality
2022/08/01 10:43:41 Dropped index index_nationality
2022/08/01 10:43:41 Index found:  index_streetname
2022/08/01 10:43:41 Dropped index index_streetname
2022/08/01 10:43:41 Index found:  index_p1
2022/08/01 10:43:41 Dropped index index_p1
2022/08/01 10:43:41 Index found:  index_ageabove30
2022/08/01 10:43:41 Dropped index index_ageabove30
2022/08/01 10:43:41 Index found:  index_balance
2022/08/01 10:43:41 Dropped index index_balance
2022/08/01 10:43:41 Index found:  index_email
2022/08/01 10:43:41 Dropped index index_email
2022/08/01 10:43:59 Created the secondary index indexmut_1. Waiting for it become active
2022/08/01 10:43:59 Index is 1740511006241640100 now active
2022/08/01 10:43:59 Using n1ql client
2022/08/01 10:44:00 Expected and Actual scan responses are the same
2022/08/01 10:44:00 Len of expected and actual scan results are :  29902 and 29902
2022/08/01 10:44:00 ITERATION 0
2022/08/01 10:44:16 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:44:16 Index is 7734468802192903163 now active
2022/08/01 10:44:16 Using n1ql client
2022/08/01 10:44:17 Expected and Actual scan responses are the same
2022/08/01 10:44:17 Len of expected and actual scan results are :  39902 and 39902
2022/08/01 10:44:17 Using n1ql client
2022/08/01 10:44:17 Expected and Actual scan responses are the same
2022/08/01 10:44:17 Len of expected and actual scan results are :  39902 and 39902
2022/08/01 10:44:17 Dropping the secondary index indexmut_2
2022/08/01 10:44:17 Index dropped
2022/08/01 10:44:17 ITERATION 1
2022/08/01 10:44:33 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:44:33 Index is 5960108185837813935 now active
2022/08/01 10:44:33 Using n1ql client
2022/08/01 10:44:34 Expected and Actual scan responses are the same
2022/08/01 10:44:34 Len of expected and actual scan results are :  49902 and 49902
2022/08/01 10:44:34 Using n1ql client
2022/08/01 10:44:34 Expected and Actual scan responses are the same
2022/08/01 10:44:34 Len of expected and actual scan results are :  49902 and 49902
2022/08/01 10:44:34 Dropping the secondary index indexmut_2
2022/08/01 10:44:34 Index dropped
2022/08/01 10:44:34 ITERATION 2
2022/08/01 10:44:50 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:44:50 Index is 1183372015065557 now active
2022/08/01 10:44:51 Using n1ql client
2022/08/01 10:44:51 Expected and Actual scan responses are the same
2022/08/01 10:44:51 Len of expected and actual scan results are :  59902 and 59902
2022/08/01 10:44:51 Using n1ql client
2022/08/01 10:44:52 Expected and Actual scan responses are the same
2022/08/01 10:44:52 Len of expected and actual scan results are :  59902 and 59902
2022/08/01 10:44:52 Dropping the secondary index indexmut_2
2022/08/01 10:44:52 Index dropped
2022/08/01 10:44:52 ITERATION 3
2022/08/01 10:45:10 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:45:10 Index is 4318378152341216974 now active
2022/08/01 10:45:10 Using n1ql client
2022/08/01 10:45:11 Expected and Actual scan responses are the same
2022/08/01 10:45:11 Len of expected and actual scan results are :  69902 and 69902
2022/08/01 10:45:11 Using n1ql client
2022/08/01 10:45:11 Expected and Actual scan responses are the same
2022/08/01 10:45:11 Len of expected and actual scan results are :  69902 and 69902
2022/08/01 10:45:11 Dropping the secondary index indexmut_2
2022/08/01 10:45:11 Index dropped
2022/08/01 10:45:11 ITERATION 4
2022/08/01 10:45:30 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:45:30 Index is 13695191668424981405 now active
2022/08/01 10:45:30 Using n1ql client
2022/08/01 10:45:31 Expected and Actual scan responses are the same
2022/08/01 10:45:31 Len of expected and actual scan results are :  79902 and 79902
2022/08/01 10:45:31 Using n1ql client
2022/08/01 10:45:31 Expected and Actual scan responses are the same
2022/08/01 10:45:31 Len of expected and actual scan results are :  79902 and 79902
2022/08/01 10:45:31 Dropping the secondary index indexmut_2
2022/08/01 10:45:31 Index dropped
2022/08/01 10:45:31 ITERATION 5
2022/08/01 10:45:49 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:45:49 Index is 8335671616928941028 now active
2022/08/01 10:45:49 Using n1ql client
2022/08/01 10:45:50 Expected and Actual scan responses are the same
2022/08/01 10:45:50 Len of expected and actual scan results are :  89902 and 89902
2022/08/01 10:45:50 Using n1ql client
2022/08/01 10:45:50 Expected and Actual scan responses are the same
2022/08/01 10:45:50 Len of expected and actual scan results are :  89902 and 89902
2022/08/01 10:45:50 Dropping the secondary index indexmut_2
2022/08/01 10:45:50 Index dropped
2022/08/01 10:45:50 ITERATION 6
2022/08/01 10:46:10 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:46:10 Index is 5146433257850476712 now active
2022/08/01 10:46:10 Using n1ql client
2022/08/01 10:46:10 Expected and Actual scan responses are the same
2022/08/01 10:46:10 Len of expected and actual scan results are :  99902 and 99902
2022/08/01 10:46:11 Using n1ql client
2022/08/01 10:46:11 Expected and Actual scan responses are the same
2022/08/01 10:46:11 Len of expected and actual scan results are :  99902 and 99902
2022/08/01 10:46:11 Dropping the secondary index indexmut_2
2022/08/01 10:46:11 Index dropped
2022/08/01 10:46:11 ITERATION 7
2022/08/01 10:46:30 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:46:30 Index is 12567190953966770045 now active
2022/08/01 10:46:30 Using n1ql client
2022/08/01 10:46:31 Expected and Actual scan responses are the same
2022/08/01 10:46:31 Len of expected and actual scan results are :  109902 and 109902
2022/08/01 10:46:31 Using n1ql client
2022/08/01 10:46:32 Expected and Actual scan responses are the same
2022/08/01 10:46:32 Len of expected and actual scan results are :  109902 and 109902
2022/08/01 10:46:32 Dropping the secondary index indexmut_2
2022/08/01 10:46:32 Index dropped
2022/08/01 10:46:32 ITERATION 8
2022/08/01 10:46:52 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:46:52 Index is 603637818277869485 now active
2022/08/01 10:46:52 Using n1ql client
2022/08/01 10:46:54 Expected and Actual scan responses are the same
2022/08/01 10:46:54 Len of expected and actual scan results are :  119902 and 119902
2022/08/01 10:46:54 Using n1ql client
2022/08/01 10:46:55 Expected and Actual scan responses are the same
2022/08/01 10:46:55 Len of expected and actual scan results are :  119902 and 119902
2022/08/01 10:46:55 Dropping the secondary index indexmut_2
2022/08/01 10:46:55 Index dropped
2022/08/01 10:46:55 ITERATION 9
2022/08/01 10:47:16 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:47:16 Index is 8958580764625738307 now active
2022/08/01 10:47:16 Using n1ql client
2022/08/01 10:47:17 Expected and Actual scan responses are the same
2022/08/01 10:47:17 Len of expected and actual scan results are :  129902 and 129902
2022/08/01 10:47:17 Using n1ql client
2022/08/01 10:47:18 Expected and Actual scan responses are the same
2022/08/01 10:47:18 Len of expected and actual scan results are :  129902 and 129902
2022/08/01 10:47:18 Dropping the secondary index indexmut_2
2022/08/01 10:47:18 Index dropped
2022/08/01 10:47:18 ITERATION 10
2022/08/01 10:47:38 Created the secondary index indexmut_2. Waiting for it become active
2022/08/01 10:47:38 Index is 6481368071033408131 now active
2022/08/01 10:47:38 Using n1ql client
2022/08/01 10:47:39 Expected and Actual scan responses are the same
2022/08/01 10:47:39 Len of expected and actual scan results are :  139902 and 139902
2022/08/01 10:47:39 Using n1ql client
2022/08/01 10:47:40 Expected and Actual scan responses are the same
2022/08/01 10:47:40 Len of expected and actual scan results are :  139902 and 139902
2022/08/01 10:47:40 Dropping the secondary index indexmut_2
2022/08/01 10:47:40 Index dropped
--- PASS: TestLargeMutations (241.42s)
=== RUN   TestPlanner
2022/08/01 10:47:40 In TestPlanner()
2022/08/01 10:47:40 -------------------------------------------
2022/08/01 10:47:40 initial placement - 20-50M, 10 index, 3 replica, 2x
2022-08-01T10:47:40.590+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:40.608+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:40.608+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:40.609+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:40.609+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:40.611+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T10:47:40.622+05:30 [Info] switched currmeta from 449 -> 451 force true 
2022-08-01T10:47:40.625+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:40.626+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:40.627+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T10:47:40.632+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:40.633+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:40.635+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-08-01T10:47:40.659+05:30 [Info] Score: 0.02699941922737686
2022-08-01T10:47:40.659+05:30 [Info] Memory Quota: 62269443666 (57.9929G)
2022-08-01T10:47:40.659+05:30 [Info] CPU Quota: 12
2022-08-01T10:47:40.659+05:30 [Info] Indexer Memory Mean 37058557073 (34.5135G)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Memory Deviation 2001119036 (1.86369G) (5.40%)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Memory Utilization 0.5951
2022-08-01T10:47:40.659+05:30 [Info] Indexer CPU Mean 11.2446
2022-08-01T10:47:40.659+05:30 [Info] Indexer CPU Deviation 2.59 (23.05%)
2022-08-01T10:47:40.659+05:30 [Info] Indexer CPU Utilization 0.9370
2022-08-01T10:47:40.659+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:40.659+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:40.659+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:40.659+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Data Size Mean 37058557073 (34.5135G)
2022-08-01T10:47:40.659+05:30 [Info] Indexer Data Size Deviation 2001119036 (1.86369G) (5.40%)
2022-08-01T10:47:40.659+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:40.659+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:40.659+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:40.659+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:40 -------------------------------------------
2022/08/01 10:47:40 initial placement - 20-50M, 30 index, 3 replica, 2x
2022-08-01T10:47:40.660+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:41.654+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:41.654+05:30 [Info] Score: 0.034563104410495184
2022-08-01T10:47:41.654+05:30 [Info] Memory Quota: 59914372748 (55.7996G)
2022-08-01T10:47:41.654+05:30 [Info] CPU Quota: 12
2022-08-01T10:47:41.654+05:30 [Info] Indexer Memory Mean 38012930785 (35.4023G)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Memory Deviation 2627689791 (2.44723G) (6.91%)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Memory Utilization 0.6345
2022-08-01T10:47:41.654+05:30 [Info] Indexer CPU Mean 10.8119
2022-08-01T10:47:41.654+05:30 [Info] Indexer CPU Deviation 2.25 (20.83%)
2022-08-01T10:47:41.654+05:30 [Info] Indexer CPU Utilization 0.9010
2022-08-01T10:47:41.654+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:41.654+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:41.654+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:41.654+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Data Size Mean 38012930785 (35.4023G)
2022-08-01T10:47:41.654+05:30 [Info] Indexer Data Size Deviation 2627689791 (2.44723G) (6.91%)
2022-08-01T10:47:41.654+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:41.654+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:41.654+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:41.654+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:41 -------------------------------------------
2022/08/01 10:47:41 initial placement - 20-50M, 30 index, 3 replica, 4x
2022-08-01T10:47:41.655+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:41.852+05:30 [Info] Score: 0.01514305038405801
2022-08-01T10:47:41.852+05:30 [Info] Memory Quota: 141377878920 (131.668G)
2022-08-01T10:47:41.852+05:30 [Info] CPU Quota: 24
2022-08-01T10:47:41.852+05:30 [Info] Indexer Memory Mean 88346349082 (82.2789G)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Memory Deviation 2675666430 (2.49191G) (3.03%)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Memory Utilization 0.6249
2022-08-01T10:47:41.852+05:30 [Info] Indexer CPU Mean 25.4101
2022-08-01T10:47:41.852+05:30 [Info] Indexer CPU Deviation 5.20 (20.47%)
2022-08-01T10:47:41.852+05:30 [Info] Indexer CPU Utilization 1.0588
2022-08-01T10:47:41.852+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:41.852+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:41.852+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:41.852+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Data Size Mean 88346349082 (82.2789G)
2022-08-01T10:47:41.852+05:30 [Info] Indexer Data Size Deviation 2675666430 (2.49191G) (3.03%)
2022-08-01T10:47:41.852+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:41.852+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:41.852+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:41.852+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:41 -------------------------------------------
2022/08/01 10:47:41 initial placement - 200-500M, 10 index, 3 replica, 2x
2022-08-01T10:47:41.853+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:41.888+05:30 [Info] Score: 0.03354083261596104
2022-08-01T10:47:41.888+05:30 [Info] Memory Quota: 517880112388 (482.313G)
2022-08-01T10:47:41.888+05:30 [Info] CPU Quota: 12
2022-08-01T10:47:41.888+05:30 [Info] Indexer Memory Mean 385812659004 (359.316G)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Memory Deviation 25880955633 (24.1035G) (6.71%)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Memory Utilization 0.7450
2022-08-01T10:47:41.888+05:30 [Info] Indexer CPU Mean 10.8089
2022-08-01T10:47:41.888+05:30 [Info] Indexer CPU Deviation 3.05 (28.18%)
2022-08-01T10:47:41.888+05:30 [Info] Indexer CPU Utilization 0.9007
2022-08-01T10:47:41.888+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:41.888+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:41.888+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:41.888+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Data Size Mean 385812659004 (359.316G)
2022-08-01T10:47:41.888+05:30 [Info] Indexer Data Size Deviation 25880955633 (24.1035G) (6.71%)
2022-08-01T10:47:41.888+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:41.888+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:41.888+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:41.888+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:41 -------------------------------------------
2022/08/01 10:47:41 initial placement - 200-500M, 30 index, 3 replica, 2x
2022-08-01T10:47:41.889+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:43.210+05:30 [Info] Score: 0.029243146790355508
2022-08-01T10:47:43.210+05:30 [Info] Memory Quota: 476551847610 (443.823G)
2022-08-01T10:47:43.210+05:30 [Info] CPU Quota: 12
2022-08-01T10:47:43.210+05:30 [Info] Indexer Memory Mean 372055957554 (346.504G)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Memory Deviation 21760173962 (20.2657G) (5.85%)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Memory Utilization 0.7807
2022-08-01T10:47:43.210+05:30 [Info] Indexer CPU Mean 10.5233
2022-08-01T10:47:43.210+05:30 [Info] Indexer CPU Deviation 2.77 (26.31%)
2022-08-01T10:47:43.210+05:30 [Info] Indexer CPU Utilization 0.8769
2022-08-01T10:47:43.210+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:43.210+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:43.210+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:43.210+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Data Size Mean 372055957554 (346.504G)
2022-08-01T10:47:43.210+05:30 [Info] Indexer Data Size Deviation 21760173962 (20.2657G) (5.85%)
2022-08-01T10:47:43.210+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:43.210+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:43.210+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:43.210+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:43 -------------------------------------------
2022/08/01 10:47:43 initial placement - mixed small/medium, 30 index, 3 replica, 1.5/4x
2022-08-01T10:47:43.211+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:43.418+05:30 [Info] Score: 0.01828338095912723
2022-08-01T10:47:43.418+05:30 [Info] Memory Quota: 330495238869 (307.798G)
2022-08-01T10:47:43.418+05:30 [Info] CPU Quota: 12
2022-08-01T10:47:43.418+05:30 [Info] Indexer Memory Mean 243248179273 (226.543G)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Memory Deviation 8894798258 (8.28393G) (3.66%)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Memory Utilization 0.7360
2022-08-01T10:47:43.418+05:30 [Info] Indexer CPU Mean 11.8451
2022-08-01T10:47:43.418+05:30 [Info] Indexer CPU Deviation 7.00 (59.13%)
2022-08-01T10:47:43.418+05:30 [Info] Indexer CPU Utilization 0.9871
2022-08-01T10:47:43.418+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:43.418+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:43.418+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:43.418+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Data Size Mean 243248179273 (226.543G)
2022-08-01T10:47:43.418+05:30 [Info] Indexer Data Size Deviation 8894798258 (8.28393G) (3.66%)
2022-08-01T10:47:43.418+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:43.418+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:43.418+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:43.418+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:43 -------------------------------------------
2022/08/01 10:47:43 initial placement - mixed all, 30 index, 3 replica, 1.5/4x
2022-08-01T10:47:43.419+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:43.971+05:30 [Info] Score: 0.02547088883451342
2022-08-01T10:47:43.971+05:30 [Info] Memory Quota: 337506940879 (314.328G)
2022-08-01T10:47:43.971+05:30 [Info] CPU Quota: 20
2022-08-01T10:47:43.971+05:30 [Info] Indexer Memory Mean 263673803524 (245.565G)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Memory Deviation 13432012276 (12.5095G) (5.09%)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Memory Utilization 0.7812
2022-08-01T10:47:43.971+05:30 [Info] Indexer CPU Mean 8.8240
2022-08-01T10:47:43.971+05:30 [Info] Indexer CPU Deviation 5.24 (59.37%)
2022-08-01T10:47:43.971+05:30 [Info] Indexer CPU Utilization 0.4412
2022-08-01T10:47:43.971+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:43.971+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:43.971+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:43.971+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Data Size Mean 263673803524 (245.565G)
2022-08-01T10:47:43.971+05:30 [Info] Indexer Data Size Deviation 13432012276 (12.5095G) (5.09%)
2022-08-01T10:47:43.971+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:43.971+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:43.971+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:43.972+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:43 -------------------------------------------
2022/08/01 10:47:43 initial placement - 6 2M index, 1 replica, 2x
2022-08-01T10:47:43.986+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:44.002+05:30 [Info] Score: 0
2022-08-01T10:47:44.002+05:30 [Info] Memory Quota: 4848128000 (4.51517G)
2022-08-01T10:47:44.002+05:30 [Info] CPU Quota: 2
2022-08-01T10:47:44.002+05:30 [Info] Indexer Memory Mean 2080000000 (1.93715G)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Memory Utilization 0.4290
2022-08-01T10:47:44.002+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T10:47:44.002+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T10:47:44.002+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.002+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.002+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.002+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Data Size Mean 2080000000 (1.93715G)
2022-08-01T10:47:44.002+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.002+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.002+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.002+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 initial placement - 5 20M primary index, 2 replica, 2x
2022-08-01T10:47:44.012+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:44.052+05:30 [Info] Score: 0
2022-08-01T10:47:44.052+05:30 [Info] Memory Quota: 14310128000 (13.3273G)
2022-08-01T10:47:44.052+05:30 [Info] CPU Quota: 2
2022-08-01T10:47:44.052+05:30 [Info] Indexer Memory Mean 10960000000 (10.2073G)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Memory Utilization 0.7659
2022-08-01T10:47:44.052+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T10:47:44.052+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T10:47:44.052+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.052+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.052+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.052+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Data Size Mean 10960000000 (10.2073G)
2022-08-01T10:47:44.052+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.052+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.052+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.052+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 initial placement - 5 20M array index, 2 replica, 2x
2022-08-01T10:47:44.062+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:44.099+05:30 [Info] Score: 0
2022-08-01T10:47:44.099+05:30 [Info] Memory Quota: 237416768000 (221.112G)
2022-08-01T10:47:44.099+05:30 [Info] CPU Quota: 2
2022-08-01T10:47:44.099+05:30 [Info] Indexer Memory Mean 191440000000 (178.292G)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Memory Utilization 0.8063
2022-08-01T10:47:44.099+05:30 [Info] Indexer CPU Mean 1.2000
2022-08-01T10:47:44.099+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Indexer CPU Utilization 0.6000
2022-08-01T10:47:44.099+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.099+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.099+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.099+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Data Size Mean 191440000000 (178.292G)
2022-08-01T10:47:44.099+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.099+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.100+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.100+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.100+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 initial placement - 3 replica constraint, 2 index, 2x
2022-08-01T10:47:44.103+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:44.139+05:30 [Info] Score: 0
2022-08-01T10:47:44.139+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T10:47:44.139+05:30 [Info] CPU Quota: 2
2022-08-01T10:47:44.139+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T10:47:44.139+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:44.139+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:44.139+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.139+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.139+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.139+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T10:47:44.139+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.139+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.139+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.139+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 incr placement - 20-50M, 5 2M index, 1 replica, 1x
2022-08-01T10:47:44.149+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.022553707154574578
2022-08-01T10:47:44.272+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.272+05:30 [Info] Score: 0.007189938568471697
2022-08-01T10:47:44.272+05:30 [Info] Memory Quota: 125233041042 (116.632G)
2022-08-01T10:47:44.272+05:30 [Info] CPU Quota: 27
2022-08-01T10:47:44.272+05:30 [Info] Indexer Memory Mean 71117238485 (66.2331G)
2022-08-01T10:47:44.272+05:30 [Info] Indexer Memory Deviation 1022657151 (975.282M) (1.44%)
2022-08-01T10:47:44.273+05:30 [Info] Indexer Memory Utilization 0.5679
2022-08-01T10:47:44.273+05:30 [Info] Indexer CPU Mean 20.1734
2022-08-01T10:47:44.273+05:30 [Info] Indexer CPU Deviation 1.87 (9.29%)
2022-08-01T10:47:44.273+05:30 [Info] Indexer CPU Utilization 0.7472
2022-08-01T10:47:44.273+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.273+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.273+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.273+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.273+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.273+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.273+05:30 [Info] Indexer Data Size Mean 71117238485 (66.2331G)
2022-08-01T10:47:44.273+05:30 [Info] Indexer Data Size Deviation 1022657151 (975.282M) (1.44%)
2022-08-01T10:47:44.273+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.273+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.273+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.273+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 incr placement - mixed small/medium, 6 2M index, 1 replica, 1x
2022-08-01T10:47:44.284+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.0033326351701951605
2022-08-01T10:47:44.493+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.494+05:30 [Info] Score: 0.00043718596495524715
2022-08-01T10:47:44.494+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T10:47:44.494+05:30 [Info] CPU Quota: 20
2022-08-01T10:47:44.494+05:30 [Info] Indexer Memory Mean 393025602195 (366.034G)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Memory Deviation 343650554 (327.731M) (0.09%)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Memory Utilization 0.7321
2022-08-01T10:47:44.494+05:30 [Info] Indexer CPU Mean 14.2305
2022-08-01T10:47:44.494+05:30 [Info] Indexer CPU Deviation 0.95 (6.65%)
2022-08-01T10:47:44.494+05:30 [Info] Indexer CPU Utilization 0.7115
2022-08-01T10:47:44.494+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.494+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.494+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.494+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Data Size Mean 393025602195 (366.034G)
2022-08-01T10:47:44.494+05:30 [Info] Indexer Data Size Deviation 343650554 (327.731M) (0.09%)
2022-08-01T10:47:44.494+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.494+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.494+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.494+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 incr placement - 3 server group, 3 replica, 1x
2022-08-01T10:47:44.496+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.816496580927726
2022-08-01T10:47:44.523+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.523+05:30 [Info] Score: 0
2022-08-01T10:47:44.523+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T10:47:44.523+05:30 [Info] CPU Quota: 16
2022-08-01T10:47:44.523+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T10:47:44.523+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:44.523+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:44.523+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.523+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.523+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.523+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T10:47:44.523+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.523+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.523+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.523+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 incr placement - 2 server group, 3 replica, 1x
2022-08-01T10:47:44.525+05:30 [Warn] Index has more replica than server group. Index=index1 0 Bucket=bucket2 Scope= Collection=
2022-08-01T10:47:44.525+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 1) Bucket=bucket2 Scope= Collection=
2022-08-01T10:47:44.525+05:30 [Warn] Index has more replica than server group. Index=index1 0 (replica 2) Bucket=bucket2 Scope= Collection=
2022-08-01T10:47:44.525+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.816496580927726
2022-08-01T10:47:44.555+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.555+05:30 [Info] Score: 0
2022-08-01T10:47:44.555+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T10:47:44.555+05:30 [Info] CPU Quota: 16
2022-08-01T10:47:44.555+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T10:47:44.555+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:44.555+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:44.555+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.555+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.555+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.555+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T10:47:44.555+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.555+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.555+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:44.555+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 rebalance - 20-50M, 90 index, 20% shuffle, 1x, utilization 90%+
2022-08-01T10:47:44.557+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.2664003025945891
2022-08-01T10:47:44.557+05:30 [Info] Planner::initial temperature: initial resource variation 0.2664003025945891 temp 0.026640030259458908
2022-08-01T10:47:44.710+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.710+05:30 [Info] Score: 0.23728027648291378
2022-08-01T10:47:44.710+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-08-01T10:47:44.710+05:30 [Info] CPU Quota: 30
2022-08-01T10:47:44.710+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Memory Deviation 2157107192 (2.00896G) (2.43%)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Memory Utilization 0.6367
2022-08-01T10:47:44.710+05:30 [Info] Indexer CPU Mean 24.0538
2022-08-01T10:47:44.710+05:30 [Info] Indexer CPU Deviation 4.11 (17.07%)
2022-08-01T10:47:44.710+05:30 [Info] Indexer CPU Utilization 0.8018
2022-08-01T10:47:44.710+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.710+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.710+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.710+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-08-01T10:47:44.710+05:30 [Info] Indexer Data Size Deviation 2157107192 (2.00896G) (2.43%)
2022-08-01T10:47:44.710+05:30 [Info] Total Index Data (from non-deleted node) 993.273G
2022-08-01T10:47:44.711+05:30 [Info] Index Data Moved (exclude new node) 453.245G (45.63%)
2022-08-01T10:47:44.711+05:30 [Info] No. Index (from non-deleted node) 90
2022-08-01T10:47:44.711+05:30 [Info] No. Index Moved (exclude new node) 42 (46.67%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 rebalance - mixed small/medium, 90 index, 20% shuffle, 1x
2022-08-01T10:47:44.712+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.31133416144600556
2022-08-01T10:47:44.712+05:30 [Info] Planner::initial temperature: initial resource variation 0.31133416144600556 temp 0.031133416144600558
2022-08-01T10:47:44.907+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.907+05:30 [Info] Score: 0.20627576933322747
2022-08-01T10:47:44.907+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T10:47:44.907+05:30 [Info] CPU Quota: 20
2022-08-01T10:47:44.907+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Memory Deviation 14002569387 (13.0409G) (3.57%)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Memory Utilization 0.7311
2022-08-01T10:47:44.907+05:30 [Info] Indexer CPU Mean 13.9305
2022-08-01T10:47:44.907+05:30 [Info] Indexer CPU Deviation 3.20 (22.98%)
2022-08-01T10:47:44.907+05:30 [Info] Indexer CPU Utilization 0.6965
2022-08-01T10:47:44.907+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.907+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.907+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.907+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-08-01T10:47:44.907+05:30 [Info] Indexer Data Size Deviation 14002569387 (13.0409G) (3.57%)
2022-08-01T10:47:44.907+05:30 [Info] Total Index Data (from non-deleted node) 4.28378T
2022-08-01T10:47:44.907+05:30 [Info] Index Data Moved (exclude new node) 2.25362T (52.61%)
2022-08-01T10:47:44.907+05:30 [Info] No. Index (from non-deleted node) 90
2022-08-01T10:47:44.907+05:30 [Info] No. Index Moved (exclude new node) 23 (25.56%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 rebalance - travel sample, 10% shuffle, 1x
2022-08-01T10:47:44.908+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.8618050128552659
2022-08-01T10:47:44.908+05:30 [Info] Planner::initial temperature: initial resource variation 0.8618050128552659 temp 0.0861805012855266
2022-08-01T10:47:44.952+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:44.952+05:30 [Info] Score: 0.04715225965046212
2022-08-01T10:47:44.953+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T10:47:44.953+05:30 [Info] CPU Quota: 8
2022-08-01T10:47:44.953+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Memory Deviation 1632564 (1.55693M) (9.33%)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Memory Utilization 0.0326
2022-08-01T10:47:44.953+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:44.953+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:44.953+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:44.953+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:44.953+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:44.953+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T10:47:44.953+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:44.953+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:44.953+05:30 [Info] No. Index (from non-deleted node) 10
2022-08-01T10:47:44.953+05:30 [Info] No. Index Moved (exclude new node) 1 (10.00%)
2022/08/01 10:47:44 -------------------------------------------
2022/08/01 10:47:44 rebalance - 20-50M, 90 index, swap 2, 1x
2022-08-01T10:47:44.955+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4095843409677649
2022-08-01T10:47:44.955+05:30 [Info] Planner::initial temperature: initial resource variation 0.4095843409677649 temp 0.04095843409677649
2022-08-01T10:47:45.153+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:45.153+05:30 [Info] Score: 0.015303651608798735
2022-08-01T10:47:45.153+05:30 [Info] Memory Quota: 139586437120 (130G)
2022-08-01T10:47:45.153+05:30 [Info] CPU Quota: 30
2022-08-01T10:47:45.153+05:30 [Info] Indexer Memory Mean 88876568718 (82.7728G)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Memory Deviation 2720272087 (2.53345G) (3.06%)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Memory Utilization 0.6367
2022-08-01T10:47:45.153+05:30 [Info] Indexer CPU Mean 24.0538
2022-08-01T10:47:45.153+05:30 [Info] Indexer CPU Deviation 1.15 (4.76%)
2022-08-01T10:47:45.153+05:30 [Info] Indexer CPU Utilization 0.8018
2022-08-01T10:47:45.153+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.153+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.153+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.153+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Data Size Mean 88876568718 (82.7728G)
2022-08-01T10:47:45.153+05:30 [Info] Indexer Data Size Deviation 2720272087 (2.53345G) (3.06%)
2022-08-01T10:47:45.153+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.153+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.153+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.153+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - mixed small/medium, 90 index, swap 2, 1x
2022-08-01T10:47:45.155+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.4082556623939647
2022-08-01T10:47:45.156+05:30 [Info] Planner::initial temperature: initial resource variation 0.4082556623939647 temp 0.040825566239396475
2022-08-01T10:47:45.310+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:45.310+05:30 [Info] Score: 0.0012230123047238617
2022-08-01T10:47:45.310+05:30 [Info] Memory Quota: 536870912000 (500G)
2022-08-01T10:47:45.310+05:30 [Info] CPU Quota: 20
2022-08-01T10:47:45.310+05:30 [Info] Indexer Memory Mean 392505602195 (365.549G)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Memory Deviation 960078362 (915.602M) (0.24%)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Memory Utilization 0.7311
2022-08-01T10:47:45.310+05:30 [Info] Indexer CPU Mean 13.9305
2022-08-01T10:47:45.310+05:30 [Info] Indexer CPU Deviation 1.09 (7.81%)
2022-08-01T10:47:45.310+05:30 [Info] Indexer CPU Utilization 0.6965
2022-08-01T10:47:45.310+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.310+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.310+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.310+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Data Size Mean 392505602195 (365.549G)
2022-08-01T10:47:45.310+05:30 [Info] Indexer Data Size Deviation 960078362 (915.602M) (0.24%)
2022-08-01T10:47:45.310+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.310+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.310+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.310+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - travel sample, swap 2, 1x
2022-08-01T10:47:45.311+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1.0086622738872069
2022-08-01T10:47:45.311+05:30 [Info] Planner::initial temperature: initial resource variation 1.0086622738872069 temp 0.1008662273887207
2022-08-01T10:47:45.435+05:30 [Info] Score: 0.00031929273712825843
2022-08-01T10:47:45.435+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T10:47:45.435+05:30 [Info] CPU Quota: 8
2022-08-01T10:47:45.435+05:30 [Info] Indexer Memory Mean 17503138 (16.6923M)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Memory Deviation 22354 (21.8301K) (0.13%)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Memory Utilization 0.0326
2022-08-01T10:47:45.435+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:45.435+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:45.435+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.435+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.435+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.435+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T10:47:45.435+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.435+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.435+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.435+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - 8 identical index, add 4, 1x
2022-08-01T10:47:45.436+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1
2022-08-01T10:47:45.436+05:30 [Info] Planner::initial temperature: initial resource variation 1 temp 0.1
2022-08-01T10:47:45.453+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:45.453+05:30 [Info] Score: 0.0625
2022-08-01T10:47:45.453+05:30 [Info] Memory Quota: 530294000 (505.728M)
2022-08-01T10:47:45.453+05:30 [Info] CPU Quota: 2
2022-08-01T10:47:45.453+05:30 [Info] Indexer Memory Mean 2600000 (2.47955M)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Memory Utilization 0.0049
2022-08-01T10:47:45.453+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:45.453+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:45.453+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.453+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.453+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.453+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Data Size Mean 2600000 (2.47955M)
2022-08-01T10:47:45.453+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.453+05:30 [Info] Total Index Data (from non-deleted node) 19.8364M
2022-08-01T10:47:45.453+05:30 [Info] Index Data Moved (exclude new node) 2.47955M (12.50%)
2022-08-01T10:47:45.453+05:30 [Info] No. Index (from non-deleted node) 8
2022-08-01T10:47:45.453+05:30 [Info] No. Index Moved (exclude new node) 1 (12.50%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - 8 identical index, delete 2, 2x
2022-08-01T10:47:45.453+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:45.453+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022-08-01T10:47:45.472+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022-08-01T10:47:45.476+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:45.476+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:45.476+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T10:47:45.476+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T10:47:45.478+05:30 [Info] switched currmeta from 451 -> 451 force true 
2022-08-01T10:47:45.478+05:30 [Info] switched currmeta from 455 -> 455 force true 
2022-08-01T10:47:45.506+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:45.506+05:30 [Info] Score: 0
2022-08-01T10:47:45.506+05:30 [Info] Memory Quota: 1060588000 (1011.46M)
2022-08-01T10:47:45.506+05:30 [Info] CPU Quota: 4
2022-08-01T10:47:45.506+05:30 [Info] Indexer Memory Mean 10400000 (9.91821M)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Memory Utilization 0.0098
2022-08-01T10:47:45.506+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:45.506+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:45.506+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.506+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.506+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.506+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Data Size Mean 10400000 (9.91821M)
2022-08-01T10:47:45.506+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.506+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.506+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.506+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - drop replcia - 3 replica, 3 zone, delete 1, 2x
2022-08-01T10:47:45.507+05:30 [Warn] There is more replica than available nodes.  Will not move index replica (default,,,country) from ejected node 127.0.0.1:9001
2022-08-01T10:47:45.507+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-08-01T10:47:45.507+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-08-01T10:47:45.507+05:30 [Info] Score: 0
2022-08-01T10:47:45.507+05:30 [Info] Memory Quota: 536870912 (512M)
2022-08-01T10:47:45.507+05:30 [Info] CPU Quota: 16
2022-08-01T10:47:45.507+05:30 [Info] Indexer Memory Mean 0 (0)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Memory Utilization 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.507+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T10:47:45.507+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.507+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.507+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.508+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.508+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 rebalance - rebuid replica - 3 replica, 3 zone, add 1, delete 1, 1x
2022-08-01T10:47:45.508+05:30 [Info] Planner::planSingleRun Initial variance of the solution: NaN
2022-08-01T10:47:45.508+05:30 [Info] Planner::initial temperature: initial resource variation NaN temp NaN
2022-08-01T10:47:45.508+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T10:47:45.508+05:30 [Info] Score: 0
2022-08-01T10:47:45.508+05:30 [Info] Memory Quota: 268435456 (256M)
2022-08-01T10:47:45.508+05:30 [Info] CPU Quota: 8
2022-08-01T10:47:45.508+05:30 [Info] Indexer Memory Mean 0 (0)
2022-08-01T10:47:45.508+05:30 [Info] Indexer Memory Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.508+05:30 [Info] Indexer Memory Utilization 0.0000
2022-08-01T10:47:45.508+05:30 [Info] Indexer CPU Mean 0.0000
2022-08-01T10:47:45.508+05:30 [Info] Indexer CPU Deviation 0.00 (0.00%)
2022-08-01T10:47:45.508+05:30 [Info] Indexer CPU Utilization 0.0000
2022-08-01T10:47:45.508+05:30 [Info] Indexer IO Mean 0.0000
2022-08-01T10:47:45.509+05:30 [Info] Indexer IO Deviation 0.00 (0.00%)
2022-08-01T10:47:45.509+05:30 [Info] Indexer Drain Rate Mean 0.0000
2022-08-01T10:47:45.509+05:30 [Info] Indexer Drain Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.509+05:30 [Info] Indexer Scan Rate Mean 0.0000
2022-08-01T10:47:45.509+05:30 [Info] Indexer Scan Rate Deviation 0.00 (0.00%)
2022-08-01T10:47:45.509+05:30 [Info] Indexer Data Size Mean 0 (0)
2022-08-01T10:47:45.509+05:30 [Info] Indexer Data Size Deviation 0 (0) (0.00%)
2022-08-01T10:47:45.509+05:30 [Info] Total Index Data (from non-deleted node) 0
2022-08-01T10:47:45.509+05:30 [Info] Index Data Moved (exclude new node) 0 (0.00%)
2022-08-01T10:47:45.509+05:30 [Info] No. Index (from non-deleted node) 0
2022-08-01T10:47:45.509+05:30 [Info] No. Index Moved (exclude new node) 0 (0.00%)
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 Minimum memory test 1: min memory = 0
2022-08-01T10:47:45.510+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T10:47:45.510+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-08-01T10:47:45.514+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 10:47:45 -------------------------------------------
2022/08/01 10:47:45 Minimum memory test 2: min memory > quota
2022-08-01T10:47:45.515+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=7us
2022-08-01T10:47:45.515+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=7us
2022-08-01T10:47:45.515+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=5us
2022-08-01T10:47:45.515+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T10:47:45.515+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022/08/01 10:47:46 -------------------------------------------
2022/08/01 10:47:46 Minimum memory test 3: min memory < quota
2022-08-01T10:47:46.463+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T10:47:46.463+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 4: replica repair with min memory > quota
2022-08-01T10:47:47.396+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-08-01T10:47:47.396+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T10:47:47.396+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=5us
2022-08-01T10:47:47.396+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=4us
2022-08-01T10:47:47.396+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T10:47:47.396+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T10:47:47.396+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T10:47:47.396+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.396+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=226us
2022-08-01T10:47:47.396+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T10:47:47.396+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T10:47:47.396+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T10:47:47.396+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.396+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=161us
2022-08-01T10:47:47.396+05:30 [Info] Cannot rebuild lost replica due to resource constraint in cluster.  Will not rebuild lost replica.
2022-08-01T10:47:47.396+05:30 [Warn] 
MemoryQuota: 200
CpuQuota: 8
--- Violations for index  (mem 130, cpu 0) at node 127.0.0.1:9003 
	Cannot move to 127.0.0.1:9001: ReplicaViolation (free mem 1.67772e+07T, free cpu 8)
	Cannot move to 127.0.0.1:9002: ReplicaViolation (free mem 1.67772e+07T, free cpu 8)
2022-08-01T10:47:47.396+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0
2022-08-01T10:47:47.396+05:30 [Info] Planner::planSingleRun Skip running planner as current solution resource variation: 0 is less than threshold: 0. No nodes have been added or deleted and there are no violations observed
2022-08-01T10:47:47.396+05:30 [Info] Planner::initial temperature: initial resource variation 0 temp 1e-05
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 5: replica repair with min memory < quota
2022-08-01T10:47:47.397+05:30 [Info] Rebuilding lost replica for (default,,,country,0)
2022-08-01T10:47:47.397+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3535533905932738
2022-08-01T10:47:47.397+05:30 [Info] Planner::initial temperature: initial resource variation 0.3535533905932738 temp 0.03535533905932738
2022-08-01T10:47:47.407+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 6: rebalance with min memory > quota
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=4us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=4us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=3us
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 7: rebalance-out with min memory > quota
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=4us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=4us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=3us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=5us
2022-08-01T10:47:47.408+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=5us
2022-08-01T10:47:47.408+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T10:47:47.408+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.25
2022-08-01T10:47:47.409+05:30 [Info] Planner::initial temperature: initial resource variation 0.25 temp 0.025
2022-08-01T10:47:47.409+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 8: plan with min memory > quota
2022-08-01T10:47:47.411+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2022-08-01T10:47:47.412+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022-08-01T10:47:47.412+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=952us
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=7us
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=7us
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=5us
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=5us
2022-08-01T10:47:47.412+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=7us
2022-08-01T10:47:47.412+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T10:47:47.412+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.375
2022-08-01T10:47:47.413+05:30 [Info] Planner::finalizing the solution as final solution is found.
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 9: single node rebalance with min memory > quota
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=5us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=8us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=6us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=5us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=19us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=6us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=5us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=5us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=6us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=6us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=5us
2022-08-01T10:47:47.413+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=4us
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Minimum memory test 10: plan with partitioned index on empty cluster
2022-08-01T10:47:47.415+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 1
2022-08-01T10:47:47.452+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 iterationTest :: Remove one node - failure
2022-08-01T10:47:47.453+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.3102834049137881
2022-08-01T10:47:47.529+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.529+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.529+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.529+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.529+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.529+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.11977838505911831).
2022-08-01T10:47:47.530+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=1.  Elapsed Time=336us
2022-08-01T10:47:47.530+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.530+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.530+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.530+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.530+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.14382375039619205).
2022-08-01T10:47:47.530+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=2.  Elapsed Time=344us
2022-08-01T10:47:47.530+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.530+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.530+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.530+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.530+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1362837359136246).
2022-08-01T10:47:47.530+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=3.  Elapsed Time=353us
2022-08-01T10:47:47.530+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.530+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.530+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.531+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.531+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.10468017897733298).
2022-08-01T10:47:47.531+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=4.  Elapsed Time=338us
2022-08-01T10:47:47.531+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.531+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.531+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.531+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.531+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.09966925431225605).
2022-08-01T10:47:47.531+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=5.  Elapsed Time=333us
2022-08-01T10:47:47.531+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.531+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.531+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.531+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.531+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12105685641914797).
2022-08-01T10:47:47.531+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=6.  Elapsed Time=316us
2022-08-01T10:47:47.531+05:30 [Warn] Unable to find a solution with resource constraint.  Relax resource constraint check.
2022-08-01T10:47:47.531+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.532+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.532+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.532+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.532+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.10035950875120558).
2022-08-01T10:47:47.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=7.  Elapsed Time=356us
2022-08-01T10:47:47.532+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.532+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.532+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.532+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.532+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12569778626816486).
2022-08-01T10:47:47.532+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=8.  Elapsed Time=353us
2022-08-01T10:47:47.532+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.532+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.532+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.532+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.532+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.13260500142008375).
2022-08-01T10:47:47.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=9.  Elapsed Time=329us
2022-08-01T10:47:47.533+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.533+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.533+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.533+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.533+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.12916007686035672).
2022-08-01T10:47:47.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=10.  Elapsed Time=310us
2022-08-01T10:47:47.533+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.533+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.533+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.533+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.533+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.1473473068417322).
2022-08-01T10:47:47.533+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=11.  Elapsed Time=322us
2022-08-01T10:47:47.533+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.013698281949653932
2022-08-01T10:47:47.533+05:30 [Info] Planner::initial temperature: initial resource variation 0.013698281949653932 temp 0.0336301718050346
2022-08-01T10:47:47.533+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.534+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (2, 2) exceeded.
2022-08-01T10:47:47.534+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.13511746517786555).
2022-08-01T10:47:47.534+05:30 [Info] Planner::Fail to create plan satisfying constraint. Re-planning. Num of Try=12.  Elapsed Time=321us
2022-08-01T10:47:47.534+05:30 [Error] 
MemoryQuota: 5302940000000
CpuQuota: 6
--- Violations for index <16854984577224981287, bucket1, , > (mem 17.4656G, cpu 3.6309199999999997) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <16048095101276349069, bucket1, , > (mem 24.2693G, cpu 4.04396) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <14496864748553777195, bucket1, , > (mem 17.8672G, cpu 4.30112) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <16981310129370726047, bucket1, , > (mem 11.1432G, cpu 2.72076) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <10550012103946055763, bucket1, , > (mem 11.4441G, cpu 4.27036) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <14197027158678927537, bucket1, , > (mem 10.2657G, cpu 5.0802) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <6115669112625154345, bucket1, , > (mem 13.6172G, cpu 4.5468399999999995) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <18374885311877196942, bucket1, , > (mem 13.7711G, cpu 2.74168) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
--- Violations for index <8298653294003865160, bucket1, , > (mem 13.5112G, cpu 2.24688) at node 127.0.0.1:9001 
	Can move to 127.0.0.1:9002: NoViolation (free mem 4.68035T, free cpu -22.50252)
	Can move to 127.0.0.1:9003: NoViolation (free mem 4.64152T, free cpu -42.35276)
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 iterationTest :: Remove one node - success
2022-08-01T10:47:47.534+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.09933192218996259
2022-08-01T10:47:47.611+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.612+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.009914371264800406
2022-08-01T10:47:47.612+05:30 [Info] Planner::initial temperature: initial resource variation 0.009914371264800406 temp 0.024008562873519962
2022-08-01T10:47:47.612+05:30 [Info] Planner::Running more iterations than 1 because of deleted nodes.
2022-08-01T10:47:47.612+05:30 [Info] Planner::Finished planner run after 10 iterations.
2022-08-01T10:47:47.612+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.17357483540338822).
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 iterationTest :: Index rebuild - success
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i13,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i15,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i18,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i22,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i0,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i5,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i10,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i26,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i28,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i2,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i4,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i8,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i11,1)
2022-08-01T10:47:47.614+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i24,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i27,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i1,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i3,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i6,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i12,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i14,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i20,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i23,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i17,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i19,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i21,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i25,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i29,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i7,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i9,1)
2022-08-01T10:47:47.615+05:30 [Info] Rebuilding lost replica for (default,_default,_default,i16,1)
2022-08-01T10:47:47.616+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.5849976258261415
2022-08-01T10:47:47.616+05:30 [Info] Planner::planSingleRun Skip running planner as current solution resource variation: 0.5849976258261415 is less than threshold: 0.8. No nodes have been added or deleted and there are no violations observed
2022-08-01T10:47:47.616+05:30 [Info] Planner::initial temperature: initial resource variation 0.5849976258261415 temp 0.02150023741738586
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 iterationTest :: Index rebuild - initial placement - success
2022-08-01T10:47:47.617+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-08-01T10:47:47.617+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-08-01T10:47:47.617+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-08-01T10:47:47.617+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.6236095644623236
2022-08-01T10:47:47.617+05:30 [Info] Planner::initial temperature: initial resource variation 0.6236095644623236 temp 0.03663904355376764
2022-08-01T10:47:47.617+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-08-01T10:47:47.617+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.617+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.6236095644623236).
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 iterationTest :: Index rebuild - initial placement - numReplica > numSG - success
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx1,1)
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx1,2)
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx2,2)
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx2,1)
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx3,1)
2022-08-01T10:47:47.618+05:30 [Info] Rebuilding lost replica for (default,,,idx3,2)
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx1 0 (replica 1) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx2 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Warn] Index has more replica than server group. Index=idx3 0 (replica 2) Bucket=default Scope= Collection=
2022-08-01T10:47:47.618+05:30 [Info] Planner::planSingleRun Initial variance of the solution: 0.24845199749997662
2022-08-01T10:47:47.618+05:30 [Info] Planner::initial temperature: initial resource variation 0.24845199749997662 temp 0.07415480025000235
2022-08-01T10:47:47.618+05:30 [Info] Planner::stop planner iter per temp as maxIterPerTemp limit (0, 0) exceeded.
2022-08-01T10:47:47.618+05:30 [Info] Planner::finalizing the solution as there are no more valid index movements.
2022-08-01T10:47:47.618+05:30 [Info] Planner::finalizing the solution as the current resource variation is under control (0.24845199749997662).
--- PASS: TestPlanner (7.03s)
=== RUN   TestGreedyPlanner
2022/08/01 10:47:47 In TestGreedyPlanner()
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Single Index Instance - 3 empty nodes - 1 SG
2022-08-01T10:47:47.621+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Single Index Instance - 2 empty nodes, 1 non-empty node - 1 SG
2022-08-01T10:47:47.623+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Single Index Instance - 1 empty node, 2 non-empty nodes - 1 SG
2022-08-01T10:47:47.625+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Single Index Instance - 3 non-empty nodes - 1 SG
2022-08-01T10:47:47.627+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 3 empty nodes - 1 SG
2022-08-01T10:47:47.629+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 1 SG
2022-08-01T10:47:47.631+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 1 SG
2022-08-01T10:47:47.633+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 3 non-empty nodes - 1 SG
2022-08-01T10:47:47.634+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 2 Replica - 3 empty nodes - 1 SG
2022-08-01T10:47:47.636+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 2 Replica - 3 non-empty nodes - 1 SG
2022-08-01T10:47:47.638+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 2 empty nodes, 1 non-empty node - 2 SG
2022-08-01T10:47:47.640+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 1 empty node, 2 non-empty nodes - 2 SG
2022-08-01T10:47:47.642+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Index With 1 Replica - 3 non-empty nodes - 2 SG
2022-08-01T10:47:47.644+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Equivalent Index Without any replica - 3 non-empty nodes - 1 SG
2022-08-01T10:47:47.646+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Skip least loaded node
2022-08-01T10:47:47.648+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place Equivalent Index With 1 Replica - 3 non-empty nodes - 1 SG - Use least loaded node
2022-08-01T10:47:47.650+05:30 [Info] Using greedy index placement for index 987654
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place 60 index instaces on 3 empty nodes - 1 SG
2022-08-01T10:47:47.651+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T10:47:47.653+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T10:47:47.655+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T10:47:47.656+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T10:47:47.658+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T10:47:47.659+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T10:47:47.661+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T10:47:47.662+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T10:47:47.664+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T10:47:47.665+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T10:47:47.667+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T10:47:47.669+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T10:47:47.670+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T10:47:47.672+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T10:47:47.673+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T10:47:47.675+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T10:47:47.676+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T10:47:47.678+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T10:47:47.680+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T10:47:47.681+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T10:47:47.683+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T10:47:47.684+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T10:47:47.686+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T10:47:47.688+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T10:47:47.689+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T10:47:47.691+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T10:47:47.692+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T10:47:47.694+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T10:47:47.695+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T10:47:47.697+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T10:47:47.699+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T10:47:47.700+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T10:47:47.702+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T10:47:47.703+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T10:47:47.705+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T10:47:47.706+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T10:47:47.708+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T10:47:47.710+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T10:47:47.711+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T10:47:47.713+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T10:47:47.715+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T10:47:47.716+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T10:47:47.718+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T10:47:47.719+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T10:47:47.721+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T10:47:47.723+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T10:47:47.724+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T10:47:47.726+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T10:47:47.728+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T10:47:47.729+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T10:47:47.731+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T10:47:47.733+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T10:47:47.734+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T10:47:47.736+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T10:47:47.738+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T10:47:47.739+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T10:47:47.741+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T10:47:47.743+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T10:47:47.744+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T10:47:47.746+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T10:47:47.746+05:30 [Info] Actual variance of deferred index count across nodes is 0
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place 60 index instaces on 1 empty and 1 10 percent filled node - 1 SG
2022-08-01T10:47:47.748+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T10:47:47.750+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T10:47:47.751+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T10:47:47.753+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T10:47:47.754+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T10:47:47.756+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T10:47:47.758+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T10:47:47.760+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T10:47:47.761+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T10:47:47.763+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T10:47:47.764+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T10:47:47.766+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T10:47:47.768+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T10:47:47.769+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T10:47:47.771+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T10:47:47.772+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T10:47:47.774+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T10:47:47.775+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T10:47:47.777+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T10:47:47.779+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T10:47:47.781+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T10:47:47.782+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T10:47:47.784+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T10:47:47.785+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T10:47:47.787+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T10:47:47.789+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T10:47:47.791+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T10:47:47.792+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T10:47:47.794+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T10:47:47.796+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T10:47:47.798+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T10:47:47.800+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T10:47:47.804+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T10:47:47.806+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T10:47:47.814+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T10:47:47.817+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T10:47:47.820+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T10:47:47.823+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T10:47:47.825+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T10:47:47.827+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T10:47:47.830+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T10:47:47.833+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T10:47:47.835+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T10:47:47.837+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T10:47:47.839+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T10:47:47.840+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T10:47:47.842+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T10:47:47.844+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T10:47:47.845+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T10:47:47.847+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T10:47:47.849+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T10:47:47.850+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T10:47:47.852+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T10:47:47.854+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T10:47:47.855+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T10:47:47.857+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T10:47:47.859+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T10:47:47.860+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T10:47:47.862+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T10:47:47.864+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T10:47:47.864+05:30 [Info] Actual variance of deferred index count across nodes is 8
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place 60 index instaces on 1 empty and 1 30 percent filled node - 1 SG
2022-08-01T10:47:47.866+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T10:47:47.867+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T10:47:47.869+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T10:47:47.870+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T10:47:47.872+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T10:47:47.873+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T10:47:47.875+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T10:47:47.876+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T10:47:47.878+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T10:47:47.879+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T10:47:47.881+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T10:47:47.882+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T10:47:47.884+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T10:47:47.886+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T10:47:47.887+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T10:47:47.889+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T10:47:47.890+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T10:47:47.892+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T10:47:47.893+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T10:47:47.895+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T10:47:47.897+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T10:47:47.898+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T10:47:47.900+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T10:47:47.901+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T10:47:47.903+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T10:47:47.905+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T10:47:47.906+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T10:47:47.908+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T10:47:47.910+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T10:47:47.911+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T10:47:47.913+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T10:47:47.914+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T10:47:47.916+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T10:47:47.918+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T10:47:47.920+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T10:47:47.922+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T10:47:47.923+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T10:47:47.925+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T10:47:47.926+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T10:47:47.928+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T10:47:47.929+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T10:47:47.931+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T10:47:47.933+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T10:47:47.934+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T10:47:47.936+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T10:47:47.938+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T10:47:47.939+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T10:47:47.941+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T10:47:47.943+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T10:47:47.944+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T10:47:47.946+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T10:47:47.948+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T10:47:47.949+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T10:47:47.951+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T10:47:47.953+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T10:47:47.955+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T10:47:47.957+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T10:47:47.958+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T10:47:47.960+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T10:47:47.962+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T10:47:47.962+05:30 [Info] Actual variance of deferred index count across nodes is 98
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place 5 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-08-01T10:47:47.964+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T10:47:47.965+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T10:47:47.967+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T10:47:47.968+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T10:47:47.970+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T10:47:47.970+05:30 [Info] Actual variance of deferred index count across nodes is 4.5
2022/08/01 10:47:47 -------------------------------------------
2022/08/01 10:47:47 Place 60 index instaces on 1 empty and 1 60 percent filled node - 1 SG
2022-08-01T10:47:47.971+05:30 [Info] Using greedy index placement for index 1000987654
2022-08-01T10:47:47.973+05:30 [Info] Using greedy index placement for index 1001987654
2022-08-01T10:47:47.975+05:30 [Info] Using greedy index placement for index 1002987654
2022-08-01T10:47:47.976+05:30 [Info] Using greedy index placement for index 1003987654
2022-08-01T10:47:47.978+05:30 [Info] Using greedy index placement for index 1004987654
2022-08-01T10:47:47.979+05:30 [Info] Using greedy index placement for index 1005987654
2022-08-01T10:47:47.981+05:30 [Info] Using greedy index placement for index 1006987654
2022-08-01T10:47:47.983+05:30 [Info] Using greedy index placement for index 1007987654
2022-08-01T10:47:47.984+05:30 [Info] Using greedy index placement for index 1008987654
2022-08-01T10:47:47.986+05:30 [Info] Using greedy index placement for index 1009987654
2022-08-01T10:47:47.987+05:30 [Info] Using greedy index placement for index 1010987654
2022-08-01T10:47:47.989+05:30 [Info] Using greedy index placement for index 1011987654
2022-08-01T10:47:47.991+05:30 [Info] Using greedy index placement for index 1012987654
2022-08-01T10:47:47.992+05:30 [Info] Using greedy index placement for index 1013987654
2022-08-01T10:47:47.994+05:30 [Info] Using greedy index placement for index 1014987654
2022-08-01T10:47:47.996+05:30 [Info] Using greedy index placement for index 1015987654
2022-08-01T10:47:47.998+05:30 [Info] Using greedy index placement for index 1016987654
2022-08-01T10:47:48.000+05:30 [Info] Using greedy index placement for index 1017987654
2022-08-01T10:47:48.004+05:30 [Info] Using greedy index placement for index 1018987654
2022-08-01T10:47:48.006+05:30 [Info] Using greedy index placement for index 1019987654
2022-08-01T10:47:48.020+05:30 [Info] Using greedy index placement for index 1020987654
2022-08-01T10:47:48.022+05:30 [Info] Using greedy index placement for index 1021987654
2022-08-01T10:47:48.025+05:30 [Info] Using greedy index placement for index 1022987654
2022-08-01T10:47:48.027+05:30 [Info] Using greedy index placement for index 1023987654
2022-08-01T10:47:48.029+05:30 [Info] Using greedy index placement for index 1024987654
2022-08-01T10:47:48.031+05:30 [Info] Using greedy index placement for index 1025987654
2022-08-01T10:47:48.033+05:30 [Info] Using greedy index placement for index 1026987654
2022-08-01T10:47:48.034+05:30 [Info] Using greedy index placement for index 1027987654
2022-08-01T10:47:48.036+05:30 [Info] Using greedy index placement for index 1028987654
2022-08-01T10:47:48.038+05:30 [Info] Using greedy index placement for index 1029987654
2022-08-01T10:47:48.039+05:30 [Info] Using greedy index placement for index 1030987654
2022-08-01T10:47:48.041+05:30 [Info] Using greedy index placement for index 1031987654
2022-08-01T10:47:48.043+05:30 [Info] Using greedy index placement for index 1032987654
2022-08-01T10:47:48.044+05:30 [Info] Using greedy index placement for index 1033987654
2022-08-01T10:47:48.046+05:30 [Info] Using greedy index placement for index 1034987654
2022-08-01T10:47:48.047+05:30 [Info] Using greedy index placement for index 1035987654
2022-08-01T10:47:48.049+05:30 [Info] Using greedy index placement for index 1036987654
2022-08-01T10:47:48.051+05:30 [Info] Using greedy index placement for index 1037987654
2022-08-01T10:47:48.053+05:30 [Info] Using greedy index placement for index 1038987654
2022-08-01T10:47:48.054+05:30 [Info] Using greedy index placement for index 1039987654
2022-08-01T10:47:48.056+05:30 [Info] Using greedy index placement for index 1040987654
2022-08-01T10:47:48.058+05:30 [Info] Using greedy index placement for index 1041987654
2022-08-01T10:47:48.059+05:30 [Info] Using greedy index placement for index 1042987654
2022-08-01T10:47:48.061+05:30 [Info] Using greedy index placement for index 1043987654
2022-08-01T10:47:48.063+05:30 [Info] Using greedy index placement for index 1044987654
2022-08-01T10:47:48.064+05:30 [Info] Using greedy index placement for index 1045987654
2022-08-01T10:47:48.066+05:30 [Info] Using greedy index placement for index 1046987654
2022-08-01T10:47:48.068+05:30 [Info] Using greedy index placement for index 1047987654
2022-08-01T10:47:48.070+05:30 [Info] Using greedy index placement for index 1048987654
2022-08-01T10:47:48.071+05:30 [Info] Using greedy index placement for index 1049987654
2022-08-01T10:47:48.073+05:30 [Info] Using greedy index placement for index 1050987654
2022-08-01T10:47:48.075+05:30 [Info] Using greedy index placement for index 1051987654
2022-08-01T10:47:48.076+05:30 [Info] Using greedy index placement for index 1052987654
2022-08-01T10:47:48.078+05:30 [Info] Using greedy index placement for index 1053987654
2022-08-01T10:47:48.080+05:30 [Info] Using greedy index placement for index 1054987654
2022-08-01T10:47:48.082+05:30 [Info] Using greedy index placement for index 1055987654
2022-08-01T10:47:48.083+05:30 [Info] Using greedy index placement for index 1056987654
2022-08-01T10:47:48.085+05:30 [Info] Using greedy index placement for index 1057987654
2022-08-01T10:47:48.087+05:30 [Info] Using greedy index placement for index 1058987654
2022-08-01T10:47:48.089+05:30 [Info] Using greedy index placement for index 1059987654
2022-08-01T10:47:48.089+05:30 [Info] Actual variance of deferred index count across nodes is 648
--- PASS: TestGreedyPlanner (0.47s)
=== RUN   TestRestfulAPI
2022/08/01 10:47:48 In TestRestfulAPI()
2022/08/01 10:47:48 In DropAllSecondaryIndexes()
2022/08/01 10:47:48 Index found:  indexmut_1
2022/08/01 10:47:48 Dropped index indexmut_1
2022/08/01 10:47:48 Setting JSON docs in KV
2022/08/01 10:47:48 GET all indexes
2022/08/01 10:47:49 200 OK
2022/08/01 10:47:49 FOUND indexes: []
2022/08/01 10:47:49 DROP index: badindexid
2022/08/01 10:47:49 status: 400 Bad Request
2022/08/01 10:47:49 DROP index: 23544142
2022/08/01 10:47:49 status: 500 Internal Server Error
2022/08/01 10:47:49 TEST: malformed body
2022/08/01 10:47:49 400 Bad Request "invalid request body ({name:), unmarshal failed invalid character 'n' looking for beginning of object key string"

2022/08/01 10:47:49 TEST: missing field ``name``
2022/08/01 10:47:49 400 Bad Request "missing field name"
2022/08/01 10:47:49 TEST: empty field ``name``
2022/08/01 10:47:49 400 Bad Request "empty field name"
2022/08/01 10:47:49 TEST: missing field ``bucket``
2022/08/01 10:47:49 400 Bad Request "missing field bucket"
2022/08/01 10:47:49 TEST: empty field ``bucket``
2022/08/01 10:47:49 400 Bad Request "empty field bucket"
2022/08/01 10:47:49 TEST: missing field ``secExprs``
2022/08/01 10:47:49 400 Bad Request "missing field secExprs"
2022/08/01 10:47:49 TEST: empty field ``secExprs``
2022/08/01 10:47:49 400 Bad Request "empty field secExprs"
2022/08/01 10:47:49 TEST: incomplete field ``desc``
2022/08/01 10:47:49 400 Bad Request "incomplete desc information [true]"
2022/08/01 10:47:49 TEST: invalid field ``desc``
2022/08/01 10:47:49 400 Bad Request "incomplete desc information [1]"
2022/08/01 10:47:49 
2022/08/01 10:47:49 CREATE INDEX: idx1
2022/08/01 10:47:58 status : 201 Created
2022/08/01 10:47:58 {"id": "14298480861200037402"} 
2022/08/01 10:47:58 CREATE INDEX: idx2 (defer)
2022/08/01 10:47:58 status : 201 Created
2022/08/01 10:47:58 {"id": "8476618352079816707"} 
2022/08/01 10:47:58 CREATE INDEX: idx3 (defer)
2022/08/01 10:47:59 status : 201 Created
2022/08/01 10:47:59 {"id": "6907449394304724944"} 
2022/08/01 10:47:59 CREATE INDEX: idx4 (defer)
2022/08/01 10:47:59 status : 201 Created
2022/08/01 10:47:59 {"id": "10310273908811832273"} 
2022/08/01 10:47:59 CREATE INDEX: idx5
2022/08/01 10:48:11 status : 201 Created
2022/08/01 10:48:11 {"id": "3588579090667946460"} 
2022/08/01 10:48:11 BUILD single deferred index
2022/08/01 10:48:11 202 Accepted
2022/08/01 10:48:11 GET all indexes
2022/08/01 10:48:11 200 OK
2022/08/01 10:48:11 index idx1 in INDEX_STATE_ACTIVE
2022/08/01 10:48:11 GET all indexes
2022/08/01 10:48:11 200 OK
2022/08/01 10:48:11 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:12 GET all indexes
2022/08/01 10:48:12 200 OK
2022/08/01 10:48:12 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:13 GET all indexes
2022/08/01 10:48:13 200 OK
2022/08/01 10:48:13 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:14 GET all indexes
2022/08/01 10:48:14 200 OK
2022/08/01 10:48:14 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:15 GET all indexes
2022/08/01 10:48:15 200 OK
2022/08/01 10:48:15 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:16 GET all indexes
2022/08/01 10:48:16 200 OK
2022/08/01 10:48:16 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:17 GET all indexes
2022/08/01 10:48:17 200 OK
2022/08/01 10:48:17 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:18 GET all indexes
2022/08/01 10:48:18 200 OK
2022/08/01 10:48:18 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:19 GET all indexes
2022/08/01 10:48:19 200 OK
2022/08/01 10:48:19 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:20 GET all indexes
2022/08/01 10:48:20 200 OK
2022/08/01 10:48:20 index idx2 in INDEX_STATE_INITIAL
2022/08/01 10:48:21 GET all indexes
2022/08/01 10:48:21 200 OK
2022/08/01 10:48:21 index idx2 in INDEX_STATE_CATCHUP
2022/08/01 10:48:22 GET all indexes
2022/08/01 10:48:22 200 OK
2022/08/01 10:48:22 index idx2 in INDEX_STATE_ACTIVE
2022/08/01 10:48:22 BUILD many deferred index
2022/08/01 10:48:22 202 Accepted 
2022/08/01 10:48:22 GET all indexes
2022/08/01 10:48:22 200 OK
2022/08/01 10:48:22 index idx1 in INDEX_STATE_ACTIVE
2022/08/01 10:48:23 GET all indexes
2022/08/01 10:48:23 200 OK
2022/08/01 10:48:23 index idx2 in INDEX_STATE_ACTIVE
2022/08/01 10:48:23 GET all indexes
2022/08/01 10:48:23 200 OK
2022/08/01 10:48:23 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:24 GET all indexes
2022/08/01 10:48:24 200 OK
2022/08/01 10:48:24 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:25 GET all indexes
2022/08/01 10:48:25 200 OK
2022/08/01 10:48:25 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:26 GET all indexes
2022/08/01 10:48:26 200 OK
2022/08/01 10:48:26 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:27 GET all indexes
2022/08/01 10:48:27 200 OK
2022/08/01 10:48:27 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:28 GET all indexes
2022/08/01 10:48:28 200 OK
2022/08/01 10:48:28 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:29 GET all indexes
2022/08/01 10:48:29 200 OK
2022/08/01 10:48:29 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:30 GET all indexes
2022/08/01 10:48:30 200 OK
2022/08/01 10:48:30 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:31 GET all indexes
2022/08/01 10:48:31 200 OK
2022/08/01 10:48:31 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:32 GET all indexes
2022/08/01 10:48:32 200 OK
2022/08/01 10:48:32 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:33 GET all indexes
2022/08/01 10:48:33 200 OK
2022/08/01 10:48:33 index idx3 in INDEX_STATE_INITIAL
2022/08/01 10:48:34 GET all indexes
2022/08/01 10:48:34 200 OK
2022/08/01 10:48:34 index idx3 in INDEX_STATE_CATCHUP
2022/08/01 10:48:35 GET all indexes
2022/08/01 10:48:35 200 OK
2022/08/01 10:48:35 index idx3 in INDEX_STATE_ACTIVE
2022/08/01 10:48:35 GET all indexes
2022/08/01 10:48:35 200 OK
2022/08/01 10:48:35 index idx4 in INDEX_STATE_ACTIVE
2022/08/01 10:48:35 GET all indexes
2022/08/01 10:48:35 200 OK
2022/08/01 10:48:35 index idx5 in INDEX_STATE_ACTIVE
2022/08/01 10:48:35 GET all indexes
2022/08/01 10:48:35 200 OK
2022/08/01 10:48:35 CREATED indexes: [14298480861200037402 8476618352079816707 6907449394304724944 10310273908811832273 3588579090667946460]
2022/08/01 10:48:35 
2022/08/01 10:48:35 LOOKUP missing index
2022/08/01 10:48:35 status : 404 Not Found
2022/08/01 10:48:35 LOOKUP Pyongyang
2022/08/01 10:48:35 status : 200 OK
2022/08/01 10:48:35 number of entries 579
2022/08/01 10:48:35 Expected and Actual scan responses are the same
2022/08/01 10:48:35 LOOKUP with stale as false
2022/08/01 10:48:35 status : 200 OK
2022/08/01 10:48:35 number of entries 579
2022/08/01 10:48:35 Expected and Actual scan responses are the same
2022/08/01 10:48:35 LOOKUP with Rome
2022/08/01 10:48:35 status : 200 OK
2022/08/01 10:48:35 number of entries 552
2022/08/01 10:48:35 Expected and Actual scan responses are the same
2022/08/01 10:48:35 RANGE missing index
2022/08/01 10:48:35 Status : 404 Not Found
2022/08/01 10:48:35 RANGE cities - none
2022/08/01 10:48:35 Status : 200 OK
2022/08/01 10:48:40 number of entries 140902
2022/08/01 10:48:40 Expected and Actual scan responses are the same
2022/08/01 10:48:40 RANGE cities -low
2022/08/01 10:48:40 Status : 200 OK
2022/08/01 10:48:44 number of entries 140902
2022/08/01 10:48:45 Expected and Actual scan responses are the same
2022/08/01 10:48:45 RANGE cities -high
2022/08/01 10:48:45 Status : 200 OK
2022/08/01 10:48:49 number of entries 140902
2022/08/01 10:48:50 Expected and Actual scan responses are the same
2022/08/01 10:48:50 RANGE cities - both
2022/08/01 10:48:51 Status : 200 OK
2022/08/01 10:48:54 number of entries 140902
2022/08/01 10:48:55 Expected and Actual scan responses are the same
2022/08/01 10:48:55 RANGE missing cities
2022/08/01 10:48:55 Status : 200 OK
2022/08/01 10:48:55 number of entries 0
2022/08/01 10:48:55 Expected and Actual scan responses are the same
2022/08/01 10:48:55 
2022/08/01 10:48:55 SCANALL missing index
2022/08/01 10:48:55 {"limit":1000000,"stale":"ok"}
2022/08/01 10:48:55 Status : 404 Not Found
2022/08/01 10:48:55 SCANALL stale ok
2022/08/01 10:48:55 {"limit":1000000,"stale":"ok"}
2022/08/01 10:48:55 Status : 200 OK
2022/08/01 10:49:00 number of entries 140902
2022/08/01 10:49:01 Expected and Actual scan responses are the same
2022/08/01 10:49:01 SCANALL stale false
2022/08/01 10:49:01 {"limit":1000000,"stale":"false"}
2022/08/01 10:49:01 Status : 200 OK
2022/08/01 10:49:05 number of entries 140902
2022/08/01 10:49:06 Expected and Actual scan responses are the same
2022/08/01 10:49:06 
2022/08/01 10:49:06 COUNT missing index
2022/08/01 10:49:06 Status : 404 Not Found
2022/08/01 10:49:06 COUNT cities - none
2022/08/01 10:49:06 Status : 200 OK
2022/08/01 10:49:06 number of entries 140902
2022/08/01 10:49:06 COUNT cities -low
2022/08/01 10:49:06 Status : 200 OK
2022/08/01 10:49:06 number of entries 140902
2022/08/01 10:49:06 COUNT cities -high
2022/08/01 10:49:06 Status : 200 OK
2022/08/01 10:49:06 number of entries 140902
2022/08/01 10:49:06 COUNT cities - both
2022/08/01 10:49:06 Status : 200 OK
2022/08/01 10:49:06 number of entries 140902
2022/08/01 10:49:07 COUNT missing cities
2022/08/01 10:49:07 Status : 200 OK
2022/08/01 10:49:07 number of entries 0
2022/08/01 10:49:07 
2022/08/01 10:49:08 STATS: Testing URLs with valid authentication
2022/08/01 10:49:08 STATS: Testing URLs with invalid authentication
2022/08/01 10:49:08 STATS: Testing invalid URLs
2022/08/01 10:49:08 STATS: Testing unsupported methods
2022/08/01 10:49:08 
--- PASS: TestRestfulAPI (80.42s)
=== RUN   TestStatIndexInstFilter
2022/08/01 10:49:08 CREATE INDEX: statIdx1
2022/08/01 10:49:19 status : 201 Created
2022/08/01 10:49:19 {"id": "14786003032968520445"} 
2022/08/01 10:49:19 CREATE INDEX: statIdx2
2022/08/01 10:49:29 status : 201 Created
2022/08/01 10:49:29 {"id": "3328750047915853545"} 
2022/08/01 10:49:29 Instance Id for statIdx2 is 16415975627616757566, common.IndexInstId
--- PASS: TestStatIndexInstFilter (21.17s)
=== RUN   TestBucketDefaultDelete
2022-08-01T10:49:29.815+05:30 [Warn] Client:runObserveStreamingEndpoint streaming endpoint for /pools/default/bs/default returned err EOF
2022-08-01T10:49:29.815+05:30 [Warn] serviceChangeNotifier: Connection terminated for collection manifest notifier instance of http://%40query@127.0.0.1:9000, default, bucket: default, (EOF)
2022/08/01 10:49:31 Deleted bucket default, responseBody: 
2022/08/01 10:49:47 Created bucket default, responseBody: 
2022/08/01 10:50:03 Populating the default bucket
2022/08/01 10:50:10 Using n1ql client
2022-08-01T10:50:10.334+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T10:50:10.334+05:30 [Info] GSIC[default/default-_default-_default-1659331210332755093] started ...
2022/08/01 10:50:10 Scan failed as expected with error: Index Not Found - cause: GSI index index_isActive not found.
2022/08/01 10:50:10 Populating the default bucket after it was deleted
2022/08/01 10:50:19 Created the secondary index index_isActive. Waiting for it become active
2022/08/01 10:50:19 Index is 9855055032190819638 now active
2022/08/01 10:50:19 Using n1ql client
2022/08/01 10:50:19 Expected and Actual scan responses are the same
--- PASS: TestBucketDefaultDelete (49.36s)
=== RUN   TestMixedDatatypesScanAll
2022/08/01 10:50:19 In TestMixedDatatypesScanAll()
2022/08/01 10:50:19 Before test begin: Length of kv docs is 10002
2022/08/01 10:50:19 In DropAllSecondaryIndexes()
2022/08/01 10:50:19 Index found:  index_isActive
2022/08/01 10:50:19 Dropped index index_isActive
2022/08/01 10:50:19 Number of number fields is: 244
2022/08/01 10:50:19 Number of string fields is: 246
2022/08/01 10:50:19 Number of json fields is: 242
2022/08/01 10:50:19 Number of true bool fields is: 145
2022/08/01 10:50:19 Number of false bool fields is: 123
2022/08/01 10:50:19 After generate docs: Length of kv docs is 11002
2022/08/01 10:50:19 Setting mixed datatypes JSON docs in KV
2022/08/01 10:50:23 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 10:50:23 Index is 10272992587566833100 now active
2022/08/01 10:50:23 Using n1ql client
2022/08/01 10:50:23 Expected and Actual scan responses are the same
2022/08/01 10:50:23 Lengths of expected and actual scan results are:  1000 and 1000
2022/08/01 10:50:23 End: Length of kv docs is 11002
--- PASS: TestMixedDatatypesScanAll (4.86s)
=== RUN   TestMixedDatatypesRange_Float
2022/08/01 10:50:23 In TestMixedDatatypesRange_Float()
2022/08/01 10:50:23 In DropAllSecondaryIndexes()
2022/08/01 10:50:23 Index found:  index_mixeddt
2022/08/01 10:50:24 Dropped index index_mixeddt
2022/08/01 10:50:24 Number of number fields is: 258
2022/08/01 10:50:24 Number of string fields is: 268
2022/08/01 10:50:24 Number of json fields is: 235
2022/08/01 10:50:24 Number of true bool fields is: 124
2022/08/01 10:50:24 Number of false bool fields is: 115
2022/08/01 10:50:24 Setting mixed datatypes JSON docs in KV
2022/08/01 10:50:28 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 10:50:28 Index is 17142938066638512293 now active
2022/08/01 10:50:28 Using n1ql client
2022/08/01 10:50:28 Expected and Actual scan responses are the same
2022/08/01 10:50:28 Lengths of expected and actual scan results are:  20 and 20
2022/08/01 10:50:28 Using n1ql client
2022/08/01 10:50:28 Expected and Actual scan responses are the same
2022/08/01 10:50:28 Lengths of expected and actual scan results are:  1 and 1
2022/08/01 10:50:28 Length of kv docs is 12002
--- PASS: TestMixedDatatypesRange_Float (4.79s)
=== RUN   TestMixedDatatypesRange_String
2022/08/01 10:50:28 In TestMixedDatatypesRange_String()
2022/08/01 10:50:28 In DropAllSecondaryIndexes()
2022/08/01 10:50:28 Index found:  index_mixeddt
2022/08/01 10:50:28 Dropped index index_mixeddt
2022/08/01 10:50:28 Number of number fields is: 251
2022/08/01 10:50:28 Number of string fields is: 268
2022/08/01 10:50:28 Number of json fields is: 245
2022/08/01 10:50:28 Number of true bool fields is: 105
2022/08/01 10:50:28 Number of false bool fields is: 131
2022/08/01 10:50:28 Setting mixed datatypes JSON docs in KV
2022/08/01 10:50:33 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 10:50:33 Index is 16474232981407490563 now active
2022/08/01 10:50:33 Using n1ql client
2022/08/01 10:50:33 Expected and Actual scan responses are the same
2022/08/01 10:50:33 Lengths of expected and actual scan results are:  190 and 190
2022/08/01 10:50:33 Length of kv docs is 13002
--- PASS: TestMixedDatatypesRange_String (4.45s)
=== RUN   TestMixedDatatypesRange_Json
2022/08/01 10:50:33 In TestMixedDatatypesRange_Json()
2022/08/01 10:50:33 In DropAllSecondaryIndexes()
2022/08/01 10:50:33 Index found:  index_mixeddt
2022/08/01 10:50:33 Dropped index index_mixeddt
2022/08/01 10:50:33 Number of number fields is: 257
2022/08/01 10:50:33 Number of string fields is: 250
2022/08/01 10:50:33 Number of json fields is: 260
2022/08/01 10:50:33 Number of true bool fields is: 119
2022/08/01 10:50:33 Number of false bool fields is: 114
2022/08/01 10:50:33 Setting mixed datatypes JSON docs in KV
2022/08/01 10:50:38 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 10:50:38 Index is 7826608675791537404 now active
2022/08/01 10:50:38 Using n1ql client
2022/08/01 10:50:38 Expected and Actual scan responses are the same
2022/08/01 10:50:38 Lengths of expected and actual scan results are:  740 and 740
2022/08/01 10:50:38 Length of kv docs is 14002
--- PASS: TestMixedDatatypesRange_Json (5.09s)
=== RUN   TestMixedDatatypesScan_Bool
2022/08/01 10:50:38 In TestMixedDatatypesScan_Bool()
2022/08/01 10:50:38 In DropAllSecondaryIndexes()
2022/08/01 10:50:38 Index found:  index_mixeddt
2022/08/01 10:50:38 Dropped index index_mixeddt
2022/08/01 10:50:38 Number of number fields is: 247
2022/08/01 10:50:38 Number of string fields is: 244
2022/08/01 10:50:38 Number of json fields is: 279
2022/08/01 10:50:38 Number of true bool fields is: 101
2022/08/01 10:50:38 Number of false bool fields is: 129
2022/08/01 10:50:38 Setting mixed datatypes JSON docs in KV
2022/08/01 10:50:43 Created the secondary index index_mixeddt. Waiting for it become active
2022/08/01 10:50:43 Index is 1642538258597044797 now active
2022/08/01 10:50:43 Using n1ql client
2022/08/01 10:50:43 Expected and Actual scan responses are the same
2022/08/01 10:50:43 Lengths of expected and actual scan results are:  449 and 449
2022/08/01 10:50:43 Using n1ql client
2022/08/01 10:50:43 Expected and Actual scan responses are the same
2022/08/01 10:50:43 Lengths of expected and actual scan results are:  489 and 489
2022/08/01 10:50:43 Length of kv docs is 15002
--- PASS: TestMixedDatatypesScan_Bool (5.10s)
=== RUN   TestLargeSecondaryKeyLength
2022/08/01 10:50:43 In TestLargeSecondaryKeyLength()
2022/08/01 10:50:43 In DropAllSecondaryIndexes()
2022/08/01 10:50:43 Index found:  index_mixeddt
2022/08/01 10:50:43 Dropped index index_mixeddt
2022/08/01 10:50:43 Setting JSON docs in KV
2022/08/01 10:50:48 Created the secondary index index_LongSecField. Waiting for it become active
2022/08/01 10:50:48 Index is 11602341602304487881 now active
2022/08/01 10:50:48 Using n1ql client
2022/08/01 10:50:48 ScanAll: Lengths of expected and actual scan results are:  1000 and 1000
2022/08/01 10:50:48 Expected and Actual scan responses are the same
2022/08/01 10:50:48 Using n1ql client
2022/08/01 10:50:48 Range: Lengths of expected and actual scan results are:  805 and 805
2022/08/01 10:50:48 Expected and Actual scan responses are the same
2022/08/01 10:50:48 End: Length of kv docs is 16002
--- PASS: TestLargeSecondaryKeyLength (5.28s)
=== RUN   TestLargePrimaryKeyLength
2022/08/01 10:50:48 In TestLargePrimaryKeyLength()
2022/08/01 10:50:48 In DropAllSecondaryIndexes()
2022/08/01 10:50:48 Index found:  index_LongSecField
2022/08/01 10:50:48 Dropped index index_LongSecField
2022/08/01 10:50:48 Setting JSON docs in KV
2022/08/01 10:50:54 Created the secondary index index_LongPrimaryField. Waiting for it become active
2022/08/01 10:50:54 Index is 11442805073683853488 now active
2022/08/01 10:50:54 Using n1ql client
2022/08/01 10:50:55 Lengths of num of docs and scanResults are:  17002 and 17002
2022/08/01 10:50:55 End: Length of kv docs is 17002
--- PASS: TestLargePrimaryKeyLength (7.37s)
=== RUN   TestUpdateMutations_DeleteField
2022/08/01 10:50:55 In TestUpdateMutations_DeleteField()
2022/08/01 10:50:56 Setting JSON docs in KV
2022/08/01 10:51:02 Created the secondary index index_bal. Waiting for it become active
2022/08/01 10:51:02 Index is 13672152071841447339 now active
2022/08/01 10:51:02 Using n1ql client
2022/08/01 10:51:02 Expected and Actual scan responses are the same
2022/08/01 10:51:03 Using n1ql client
2022/08/01 10:51:03 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DeleteField (7.31s)
=== RUN   TestUpdateMutations_AddField
2022/08/01 10:51:03 In TestUpdateMutations_AddField()
2022/08/01 10:51:03 Setting JSON docs in KV
2022/08/01 10:51:09 Created the secondary index index_newField. Waiting for it become active
2022/08/01 10:51:09 Index is 3257845748596327383 now active
2022/08/01 10:51:09 Using n1ql client
2022/08/01 10:51:09 Count of scan results before add field mutations:  0
2022/08/01 10:51:09 Expected and Actual scan responses are the same
2022/08/01 10:51:09 Using n1ql client
2022/08/01 10:51:09 Count of scan results after add field mutations:  300
2022/08/01 10:51:09 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_AddField (6.47s)
=== RUN   TestUpdateMutations_DataTypeChange
2022/08/01 10:51:09 In TestUpdateMutations_DataTypeChange()
2022/08/01 10:51:09 Setting JSON docs in KV
2022/08/01 10:51:17 Created the secondary index index_isUserActive. Waiting for it become active
2022/08/01 10:51:17 Index is 1170568281355090367 now active
2022/08/01 10:51:18 Using n1ql client
2022/08/01 10:51:18 Expected and Actual scan responses are the same
2022/08/01 10:51:18 Using n1ql client
2022/08/01 10:51:18 Expected and Actual scan responses are the same
2022/08/01 10:51:18 Using n1ql client
2022/08/01 10:51:18 Expected and Actual scan responses are the same
2022/08/01 10:51:18 Using n1ql client
2022/08/01 10:51:18 Expected and Actual scan responses are the same
--- PASS: TestUpdateMutations_DataTypeChange (8.63s)
=== RUN   TestMultipleBuckets
2022/08/01 10:51:18 In TestMultipleBuckets()
2022/08/01 10:51:18 In DropAllSecondaryIndexes()
2022/08/01 10:51:18 Index found:  index_isUserActive
2022/08/01 10:51:18 Dropped index index_isUserActive
2022/08/01 10:51:18 Index found:  index_LongPrimaryField
2022/08/01 10:51:18 Dropped index index_LongPrimaryField
2022/08/01 10:51:18 Index found:  index_newField
2022/08/01 10:51:18 Dropped index index_newField
2022/08/01 10:51:18 Index found:  index_bal
2022/08/01 10:51:18 Dropped index index_bal
2022/08/01 10:51:55 Flushed the bucket default, Response body: 
2022/08/01 10:51:58 Modified parameters of bucket default, responseBody: 
2022/08/01 10:51:58 Created bucket testbucket2, responseBody: 
2022/08/01 10:51:59 Created bucket testbucket3, responseBody: 
2022/08/01 10:51:59 Created bucket testbucket4, responseBody: 
2022/08/01 10:52:14 Generating docs and Populating all the buckets
2022/08/01 10:52:18 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 10:52:18 Index is 17841376474779349275 now active
2022/08/01 10:52:23 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 10:52:23 Index is 1786810487731933909 now active
2022/08/01 10:52:29 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 10:52:29 Index is 7114291872802050951 now active
2022/08/01 10:52:35 Created the secondary index bucket4_balance. Waiting for it become active
2022/08/01 10:52:35 Index is 3303096279477624996 now active
2022/08/01 10:52:38 Using n1ql client
2022/08/01 10:52:38 Expected and Actual scan responses are the same
2022/08/01 10:52:38 Using n1ql client
2022-08-01T10:52:38.314+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T10:52:38.314+05:30 [Info] GSIC[default/testbucket2-_default-_default-1659331358311134687] started ...
2022/08/01 10:52:38 Expected and Actual scan responses are the same
2022/08/01 10:52:38 Using n1ql client
2022-08-01T10:52:38.328+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T10:52:38.329+05:30 [Info] GSIC[default/testbucket3-_default-_default-1659331358326373572] started ...
2022/08/01 10:52:38 Expected and Actual scan responses are the same
2022/08/01 10:52:38 Using n1ql client
2022-08-01T10:52:38.396+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T10:52:38.400+05:30 [Info] GSIC[default/testbucket4-_default-_default-1659331358358149785] started ...
2022/08/01 10:52:38 Expected and Actual scan responses are the same
2022/08/01 10:52:40 Deleted bucket testbucket2, responseBody: 
2022/08/01 10:52:43 Deleted bucket testbucket3, responseBody: 
2022/08/01 10:52:45 Deleted bucket testbucket4, responseBody: 
2022/08/01 10:52:48 Modified parameters of bucket default, responseBody: 
--- PASS: TestMultipleBuckets (105.15s)
=== RUN   TestBucketFlush
2022/08/01 10:53:03 In TestBucketFlush()
2022/08/01 10:53:03 In DropAllSecondaryIndexes()
2022/08/01 10:53:03 Index found:  bucket1_age
2022/08/01 10:53:03 Dropped index bucket1_age
2022/08/01 10:53:41 Flushed the bucket default, Response body: 
2022/08/01 10:53:45 Created the secondary index index_age. Waiting for it become active
2022/08/01 10:53:45 Index is 17745414372026660699 now active
2022/08/01 10:53:45 Using n1ql client
2022/08/01 10:53:46 Expected and Actual scan responses are the same
2022/08/01 10:53:51 Created the secondary index index_gender. Waiting for it become active
2022/08/01 10:53:51 Index is 13337604031542769574 now active
2022/08/01 10:53:51 Using n1ql client
2022/08/01 10:53:51 Expected and Actual scan responses are the same
2022/08/01 10:53:55 Created the secondary index index_city. Waiting for it become active
2022/08/01 10:53:55 Index is 5161324438724625134 now active
2022/08/01 10:53:55 Using n1ql client
2022/08/01 10:53:56 Expected and Actual scan responses are the same
2022/08/01 10:54:33 Flushed the bucket default, Response body: 
2022/08/01 10:54:33 TestBucketFlush:: Flushed the bucket
2022/08/01 10:54:33 Using n1ql client
2022/08/01 10:54:33 Using n1ql client
2022/08/01 10:54:33 Using n1ql client
--- PASS: TestBucketFlush (90.25s)
=== RUN   TestLargeDocumentSize
2022/08/01 10:54:33 In TestLargeDocumentSize()
2022/08/01 10:54:33 Data file exists. Skipping download
2022/08/01 10:54:33 Length of docs and largeDocs = 200 and 200
2022/08/01 10:54:38 Created the secondary index index_userscreenname. Waiting for it become active
2022/08/01 10:54:38 Index is 8190264633222884423 now active
2022/08/01 10:54:38 Using n1ql client
2022/08/01 10:54:38 Expected and Actual scan responses are the same
--- PASS: TestLargeDocumentSize (4.42s)
=== RUN   TestFieldsWithSpecialCharacters
2022/08/01 10:54:38 In TestFieldsWithSpecialCharacters()
2022/08/01 10:54:43 Created the secondary index index_specialchar. Waiting for it become active
2022/08/01 10:54:43 Index is 14726580348196095723 now active
2022/08/01 10:54:43 Looking up for value §32©#®€
2022/08/01 10:54:43 Using n1ql client
2022/08/01 10:54:43 Expected and Actual scan responses are the same
--- PASS: TestFieldsWithSpecialCharacters (5.20s)
=== RUN   TestLargeKeyLookup
2022/08/01 10:54:43 In TestLargeKeyLookup()
2022/08/01 10:54:49 Created the secondary index index_largeKeyLookup. Waiting for it become active
2022/08/01 10:54:49 Index is 16189163006153847725 now active
2022/08/01 10:54:49 Looking up for a large key
2022/08/01 10:54:49 Using n1ql client
2022/08/01 10:54:49 Expected and Actual scan responses are the same
--- PASS: TestLargeKeyLookup (6.20s)
=== RUN   TestIndexNameValidation
2022/08/01 10:54:49 In TestIndexNameValidation()
2022/08/01 10:54:49 Setting JSON docs in KV
2022/08/01 10:54:50 Creation of index with invalid name ÌñÐÉx&(abc_% failed as expected
2022/08/01 10:54:54 Created the secondary index #primary-Index_test. Waiting for it become active
2022/08/01 10:54:54 Index is 14693388355953210168 now active
2022/08/01 10:54:54 Using n1ql client
2022/08/01 10:54:55 Expected and Actual scan responses are the same
--- PASS: TestIndexNameValidation (5.41s)
=== RUN   TestSameFieldNameAtDifferentLevels
2022/08/01 10:54:55 In TestSameFieldNameAtDifferentLevels()
2022/08/01 10:54:55 Setting JSON docs in KV
2022/08/01 10:55:00 Created the secondary index cityindex. Waiting for it become active
2022/08/01 10:55:00 Index is 1935890359228663219 now active
2022/08/01 10:55:00 Using n1ql client
2022/08/01 10:55:01 Expected and Actual scan responses are the same
--- PASS: TestSameFieldNameAtDifferentLevels (6.41s)
=== RUN   TestSameIndexNameInTwoBuckets
2022/08/01 10:55:01 In TestSameIndexNameInTwoBuckets()
2022/08/01 10:55:01 In DropAllSecondaryIndexes()
2022/08/01 10:55:01 Index found:  #primary-Index_test
2022/08/01 10:55:01 Dropped index #primary-Index_test
2022/08/01 10:55:01 Index found:  index_city
2022/08/01 10:55:01 Dropped index index_city
2022/08/01 10:55:01 Index found:  index_specialchar
2022/08/01 10:55:01 Dropped index index_specialchar
2022/08/01 10:55:01 Index found:  index_userscreenname
2022/08/01 10:55:01 Dropped index index_userscreenname
2022/08/01 10:55:01 Index found:  cityindex
2022/08/01 10:55:01 Dropped index cityindex
2022/08/01 10:55:01 Index found:  index_gender
2022/08/01 10:55:01 Dropped index index_gender
2022/08/01 10:55:01 Index found:  index_largeKeyLookup
2022/08/01 10:55:01 Dropped index index_largeKeyLookup
2022/08/01 10:55:01 Index found:  index_age
2022/08/01 10:55:01 Dropped index index_age
2022/08/01 10:55:39 Flushed the bucket default, Response body: 
2022/08/01 10:55:42 Modified parameters of bucket default, responseBody: 
2022/08/01 10:55:42 Created bucket buck2, responseBody: 
2022/08/01 10:55:57 Generating docs and Populating all the buckets
2022/08/01 10:56:02 Created the secondary index b_idx. Waiting for it become active
2022/08/01 10:56:02 Index is 13958365189694022942 now active
2022/08/01 10:56:08 Created the secondary index b_idx. Waiting for it become active
2022/08/01 10:56:08 Index is 11880257296479945150 now active
2022/08/01 10:56:11 Using n1ql client
2022/08/01 10:56:11 Expected and Actual scan responses are the same
2022/08/01 10:56:11 Using n1ql client
2022-08-01T10:56:11.501+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T10:56:11.502+05:30 [Info] GSIC[default/buck2-_default-_default-1659331571494162340] started ...
2022/08/01 10:56:11 Expected and Actual scan responses are the same
2022/08/01 10:56:14 Modified parameters of bucket default, responseBody: 
2022/08/01 10:56:16 Deleted bucket buck2, responseBody: 
--- PASS: TestSameIndexNameInTwoBuckets (89.67s)
=== RUN   TestLargeKeysSplChars
2022/08/01 10:56:31 In TestLargeKeysSplChars()
2022/08/01 10:56:40 Created the secondary index idspl1. Waiting for it become active
2022/08/01 10:56:40 Index is 16410754224374871406 now active
2022/08/01 10:56:46 Created the secondary index idspl2. Waiting for it become active
2022/08/01 10:56:46 Index is 4223461197008270882 now active
2022/08/01 10:56:50 Created the secondary index idspl3. Waiting for it become active
2022/08/01 10:56:50 Index is 15144789572210448691 now active
2022/08/01 10:56:50 Using n1ql client
2022/08/01 10:56:50 Expected and Actual scan responses are the same
2022-08-01T10:56:50.903+05:30 [Error] transport error between 127.0.0.1:43604->127.0.0.1:9107: write tcp 127.0.0.1:43604->127.0.0.1:9107: write: broken pipe
2022-08-01T10:56:50.912+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:43604->127.0.0.1:9107: write: broken pipe`
2022-08-01T10:56:50.912+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T10:56:50.912+05:30 [Error] metadataClient:PickRandom: Replicas - [5707643573662599943], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 10:56:51 Expected and Actual scan responses are the same
2022/08/01 10:56:51 Using n1ql client
2022/08/01 10:56:51 Expected and Actual scan responses are the same
--- PASS: TestLargeKeysSplChars (20.13s)
=== RUN   TestVeryLargeIndexKey
2022/08/01 10:56:51 In DropAllSecondaryIndexes()
2022/08/01 10:56:51 Index found:  idspl2
2022/08/01 10:56:51 Dropped index idspl2
2022/08/01 10:56:51 Index found:  idspl3
2022/08/01 10:56:51 Dropped index idspl3
2022/08/01 10:56:51 Index found:  idspl1
2022/08/01 10:56:51 Dropped index idspl1
2022/08/01 10:56:51 Index found:  b_idx
2022/08/01 10:56:51 Dropped index b_idx
2022/08/01 10:57:29 Flushed the bucket default, Response body: 
2022/08/01 10:57:29 TestVeryLargeIndexKey:: Flushed the bucket
2022/08/01 10:57:29 clusterconfig.KVAddress = 127.0.0.1:9000
2022/08/01 10:57:34 Created the secondary index i1. Waiting for it become active
2022/08/01 10:57:34 Index is 14666729360579350228 now active
2022/08/01 10:57:34 Using n1ql client
2022/08/01 10:57:35 Expected and Actual scan responses are the same
2022/08/01 10:57:40 Created the secondary index i2. Waiting for it become active
2022/08/01 10:57:40 Index is 1338588458079813137 now active
2022/08/01 10:57:40 Using n1ql client
2022/08/01 10:57:41 Expected and Actual scan responses are the same
2022/08/01 10:57:41 In DropAllSecondaryIndexes()
2022/08/01 10:57:41 Index found:  i1
2022/08/01 10:57:41 Dropped index i1
2022/08/01 10:57:41 Index found:  i2
2022/08/01 10:57:41 Dropped index i2
2022/08/01 10:58:18 Flushed the bucket default, Response body: 
--- PASS: TestVeryLargeIndexKey (87.72s)
=== RUN   TestTempBufScanResult
2022/08/01 10:58:18 In DropAllSecondaryIndexes()
2022/08/01 10:58:56 Flushed the bucket default, Response body: 
2022/08/01 10:58:56 TestTempBufScanResult:: Flushed the bucket
2022/08/01 10:59:00 Created the secondary index index_idxKey. Waiting for it become active
2022/08/01 10:59:00 Index is 1639229661549519330 now active
2022/08/01 10:59:00 Using n1ql client
2022/08/01 10:59:00 Expected and Actual scan responses are the same
2022/08/01 10:59:00 In DropAllSecondaryIndexes()
2022/08/01 10:59:00 Index found:  index_idxKey
2022/08/01 10:59:00 Dropped index index_idxKey
2022/08/01 10:59:38 Flushed the bucket default, Response body: 
--- PASS: TestTempBufScanResult (79.39s)
=== RUN   TestBuildDeferredAnotherBuilding
2022/08/01 10:59:38 In TestBuildDeferredAnotherBuilding()
2022/08/01 10:59:38 In DropAllSecondaryIndexes()
2022/08/01 11:00:19 Setting JSON docs in KV
2022/08/01 11:01:59 Build the deferred index id_age1. Waiting for the index to become active
2022/08/01 11:01:59 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:00 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:01 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:02 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:03 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:04 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:05 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:06 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:07 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:08 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:09 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:10 Waiting for index 10808273437203796588 to go active ...
2022/08/01 11:02:11 Index is 10808273437203796588 now active
2022/08/01 11:02:11 Build command issued for the deferred indexes [17425926776718028715]
2022/08/01 11:02:14 Build index failed as expected: Build index fails. Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 11:02:14 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:15 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:16 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:17 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:18 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:19 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:20 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:21 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:22 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:23 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:24 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:25 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:26 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:27 Waiting for index 17425926776718028715 to go active ...
2022/08/01 11:02:28 Index is 17425926776718028715 now active
2022/08/01 11:02:28 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:29 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:30 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:31 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:32 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:33 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:34 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:35 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:36 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:37 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:38 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:39 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:40 Waiting for index 13030896795872220442 to go active ...
2022/08/01 11:02:41 Index is 13030896795872220442 now active
2022/08/01 11:02:41 Using n1ql client
2022/08/01 11:02:41 Expected and Actual scan responses are the same
2022/08/01 11:02:41 Using n1ql client
2022/08/01 11:02:42 Expected and Actual scan responses are the same
--- PASS: TestBuildDeferredAnotherBuilding (183.64s)
=== RUN   TestMultipleBucketsDeferredBuild
2022/08/01 11:02:42 In TestMultipleBucketsDeferredBuild()
2022/08/01 11:02:42 In DropAllSecondaryIndexes()
2022/08/01 11:02:42 Index found:  id_age1
2022/08/01 11:02:42 Dropped index id_age1
2022/08/01 11:02:42 Index found:  id_company
2022/08/01 11:02:42 Dropped index id_company
2022/08/01 11:02:42 Index found:  id_age
2022/08/01 11:02:42 Dropped index id_age
2022/08/01 11:03:18 Flushed the bucket default, Response body: 
2022/08/01 11:03:21 Modified parameters of bucket default, responseBody: 
2022/08/01 11:03:21 http://127.0.0.1:9000/pools/default/buckets/defertest_buck2
2022/08/01 11:03:21 &{DELETE http://127.0.0.1:9000/pools/default/buckets/defertest_buck2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:03:21 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 05:33:21 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc05be446c0 31 [] false false map[] 0xc002732100 }
2022/08/01 11:03:21 DeleteBucket failed for bucket defertest_buck2 
2022/08/01 11:03:21 Deleted bucket defertest_buck2, responseBody: Requested resource not found.
2022/08/01 11:03:22 Created bucket defertest_buck2, responseBody: 
2022/08/01 11:03:37 Setting JSON docs in KV
2022/08/01 11:04:42 Build command issued for the deferred indexes [16531886165158696615]
2022/08/01 11:04:43 Build command issued for the deferred indexes [16951712879179474356 11822590271353501230]
2022/08/01 11:04:43 Index state of 11822590271353501230 is INDEX_STATE_READY
2022/08/01 11:04:43 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:44 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:45 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:46 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:47 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:48 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:49 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:50 Waiting for index 16531886165158696615 to go active ...
2022/08/01 11:04:51 Index is 16531886165158696615 now active
2022/08/01 11:04:51 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:52 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:53 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:54 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:55 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:56 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:57 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:58 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:04:59 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:00 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:01 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:02 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:03 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:04 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:05 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:06 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:07 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:08 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:09 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:10 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:11 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:12 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:13 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:14 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:15 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:16 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:17 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:18 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:19 Waiting for index 16951712879179474356 to go active ...
2022/08/01 11:05:20 Index is 16951712879179474356 now active
2022/08/01 11:05:20 Using n1ql client
2022/08/01 11:05:20 Expected and Actual scan responses are the same
2022/08/01 11:05:20 Using n1ql client
2022/08/01 11:05:20 Expected and Actual scan responses are the same
2022/08/01 11:05:20 Using n1ql client
2022-08-01T11:05:20.804+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:05:20.805+05:30 [Info] GSIC[default/defertest_buck2-_default-_default-1659332120801883367] started ...
2022-08-01T11:05:20.804+05:30 [Info] serviceChangeNotifier: received PoolChangeNotification
2022/08/01 11:05:20 Expected and Actual scan responses are the same
2022/08/01 11:05:23 Modified parameters of bucket default, responseBody: 
2022/08/01 11:05:25 Deleted bucket defertest_buck2, responseBody: 
--- PASS: TestMultipleBucketsDeferredBuild (168.76s)
=== RUN   TestCreateDropCreateDeferredIndex
2022/08/01 11:05:30 In TestCreateDropCreateDeferredIndex()
2022/08/01 11:05:30 In DropAllSecondaryIndexes()
2022/08/01 11:05:30 Index found:  buck1_id1
2022/08/01 11:05:30 Dropped index buck1_id1
2022/08/01 11:05:30 Index found:  buck1_id2
2022/08/01 11:05:30 Dropped index buck1_id2
2022/08/01 11:05:33 Setting JSON docs in KV
2022/08/01 11:05:44 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:05:44 Index is 9711872035260208264 now active
2022/08/01 11:05:45 Dropping the secondary index id_age
2022/08/01 11:05:45 Index dropped
2022/08/01 11:05:48 Setting JSON docs in KV
2022/08/01 11:05:55 Using n1ql client
2022/08/01 11:05:56 Expected and Actual scan responses are the same
--- PASS: TestCreateDropCreateDeferredIndex (25.41s)
=== RUN   TestMultipleDeferredIndexes_BuildTogether
2022/08/01 11:05:56 In TestMultipleDeferredIndexes_BuildTogether()
2022/08/01 11:05:56 In DropAllSecondaryIndexes()
2022/08/01 11:05:56 Index found:  id_company
2022/08/01 11:05:56 Dropped index id_company
2022/08/01 11:05:58 Setting JSON docs in KV
2022/08/01 11:06:11 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:06:11 Index is 13538021768269374253 now active
2022/08/01 11:06:12 Build command issued for the deferred indexes [id_age id_gender id_isActive]
2022/08/01 11:06:12 Waiting for the index id_age to become active
2022/08/01 11:06:12 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:13 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:14 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:15 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:16 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:17 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:18 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:19 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:20 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:21 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:22 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:23 Waiting for index 2151302945419339564 to go active ...
2022/08/01 11:06:24 Index is 2151302945419339564 now active
2022/08/01 11:06:24 Waiting for the index id_gender to become active
2022/08/01 11:06:24 Index is 5234655981013063893 now active
2022/08/01 11:06:24 Waiting for the index id_isActive to become active
2022/08/01 11:06:24 Index is 895460800918982325 now active
2022/08/01 11:06:24 Using n1ql client
2022/08/01 11:06:24 Expected and Actual scan responses are the same
2022/08/01 11:06:27 Setting JSON docs in KV
2022/08/01 11:06:36 Using n1ql client
2022/08/01 11:06:37 Expected and Actual scan responses are the same
2022/08/01 11:06:37 Using n1ql client
2022/08/01 11:06:37 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildTogether (41.38s)
=== RUN   TestMultipleDeferredIndexes_BuildOneByOne
2022/08/01 11:06:37 In TestMultipleDeferredIndexes_BuildOneByOne()
2022/08/01 11:06:37 In DropAllSecondaryIndexes()
2022/08/01 11:06:37 Index found:  id_company
2022/08/01 11:06:37 Dropped index id_company
2022/08/01 11:06:37 Index found:  id_gender
2022/08/01 11:06:37 Dropped index id_gender
2022/08/01 11:06:37 Index found:  id_isActive
2022/08/01 11:06:37 Dropped index id_isActive
2022/08/01 11:06:37 Index found:  id_age
2022/08/01 11:06:38 Dropped index id_age
2022/08/01 11:06:40 Setting JSON docs in KV
2022/08/01 11:06:56 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:06:56 Index is 2394488335758830681 now active
2022/08/01 11:06:57 Build command issued for the deferred indexes [id_age]
2022/08/01 11:06:57 Waiting for the index id_age to become active
2022/08/01 11:06:57 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:06:58 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:06:59 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:00 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:01 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:02 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:03 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:04 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:05 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:06 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:07 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:08 Waiting for index 655622987965169351 to go active ...
2022/08/01 11:07:09 Index is 655622987965169351 now active
2022/08/01 11:07:09 Build command issued for the deferred indexes [id_gender]
2022/08/01 11:07:09 Waiting for the index id_gender to become active
2022/08/01 11:07:09 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:10 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:11 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:12 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:13 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:14 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:15 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:16 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:17 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:18 Waiting for index 17749252468717576541 to go active ...
2022/08/01 11:07:19 Index is 17749252468717576541 now active
2022/08/01 11:07:20 Build command issued for the deferred indexes [id_isActive]
2022/08/01 11:07:20 Waiting for the index id_isActive to become active
2022/08/01 11:07:20 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:21 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:22 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:23 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:24 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:25 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:26 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:27 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:28 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:29 Waiting for index 17336791581280286643 to go active ...
2022/08/01 11:07:30 Index is 17336791581280286643 now active
2022/08/01 11:07:30 Using n1ql client
2022/08/01 11:07:30 Expected and Actual scan responses are the same
2022/08/01 11:07:32 Setting JSON docs in KV
2022/08/01 11:07:40 Using n1ql client
2022/08/01 11:07:40 Expected and Actual scan responses are the same
2022/08/01 11:07:40 Using n1ql client
2022/08/01 11:07:41 Expected and Actual scan responses are the same
--- PASS: TestMultipleDeferredIndexes_BuildOneByOne (63.50s)
=== RUN   TestDropDeferredIndexWhileOthersBuilding
2022/08/01 11:07:41 In TestDropDeferredIndexWhileOthersBuilding()
2022/08/01 11:07:41 In DropAllSecondaryIndexes()
2022/08/01 11:07:41 Index found:  id_gender
2022/08/01 11:07:41 Dropped index id_gender
2022/08/01 11:07:41 Index found:  id_age
2022/08/01 11:07:41 Dropped index id_age
2022/08/01 11:07:41 Index found:  id_isActive
2022/08/01 11:07:41 Dropped index id_isActive
2022/08/01 11:07:41 Index found:  id_company
2022/08/01 11:07:41 Dropped index id_company
2022/08/01 11:07:43 Setting JSON docs in KV
2022/08/01 11:07:58 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:07:58 Index is 6016379770443688457 now active
2022/08/01 11:07:59 Build command issued for the deferred indexes [17717353990222753243 3779274384416185716]
2022/08/01 11:08:01 Dropping the secondary index id_isActive
2022/08/01 11:08:02 Index dropped
2022/08/01 11:08:02 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:03 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:04 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:05 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:06 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:07 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:08 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:09 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:10 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:11 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:12 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:13 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:14 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:15 Waiting for index 17717353990222753243 to go active ...
2022/08/01 11:08:16 Index is 17717353990222753243 now active
2022/08/01 11:08:16 Index is 3779274384416185716 now active
2022/08/01 11:08:17 Using n1ql client
2022/08/01 11:08:17 Expected and Actual scan responses are the same
2022/08/01 11:08:17 Using n1ql client
2022/08/01 11:08:17 Expected and Actual scan responses are the same
2022/08/01 11:08:19 Setting JSON docs in KV
2022/08/01 11:08:27 Using n1ql client
2022/08/01 11:08:27 Expected and Actual scan responses are the same
--- PASS: TestDropDeferredIndexWhileOthersBuilding (46.72s)
=== RUN   TestDropBuildingDeferredIndex
2022/08/01 11:08:27 In TestDropBuildingDeferredIndex()
2022/08/01 11:08:27 In DropAllSecondaryIndexes()
2022/08/01 11:08:27 Index found:  id_age
2022/08/01 11:08:27 Dropped index id_age
2022/08/01 11:08:27 Index found:  id_gender
2022/08/01 11:08:27 Dropped index id_gender
2022/08/01 11:08:27 Index found:  id_company
2022/08/01 11:08:28 Dropped index id_company
2022/08/01 11:08:30 Setting JSON docs in KV
2022/08/01 11:08:35 Build command issued for the deferred indexes [14289700551414501778 16726837763231186687]
2022/08/01 11:08:36 Dropping the secondary index id_age
2022/08/01 11:08:36 Index dropped
2022/08/01 11:08:36 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:37 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:38 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:39 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:40 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:41 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:42 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:43 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:44 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:45 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:46 Waiting for index 14289700551414501778 to go active ...
2022/08/01 11:08:47 Index is 14289700551414501778 now active
2022/08/01 11:08:47 Build command issued for the deferred indexes [id_gender]
2022/08/01 11:08:47 Waiting for the index id_gender to become active
2022/08/01 11:08:47 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:48 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:49 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:50 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:51 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:52 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:53 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:54 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:55 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:56 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:57 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:58 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:08:59 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:09:00 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:09:01 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:09:02 Waiting for index 8936707260242184240 to go active ...
2022/08/01 11:09:03 Index is 8936707260242184240 now active
2022/08/01 11:09:04 Using n1ql client
2022/08/01 11:09:04 Expected and Actual scan responses are the same
2022/08/01 11:09:05 Using n1ql client
2022/08/01 11:09:05 Expected and Actual scan responses are the same
2022/08/01 11:09:07 Setting JSON docs in KV
2022/08/01 11:09:15 Using n1ql client
2022/08/01 11:09:16 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingDeferredIndex (48.96s)
=== RUN   TestDropMultipleBuildingDeferredIndexes
2022/08/01 11:09:16 In TestDropMultipleBuildingDeferredIndexes()
2022/08/01 11:09:16 In DropAllSecondaryIndexes()
2022/08/01 11:09:16 Index found:  id_gender
2022/08/01 11:09:16 Dropped index id_gender
2022/08/01 11:09:16 Index found:  id_company
2022/08/01 11:09:16 Dropped index id_company
2022/08/01 11:09:23 Setting JSON docs in KV
2022/08/01 11:09:52 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:09:52 Index is 14263110682764311303 now active
2022/08/01 11:09:53 Build command issued for the deferred indexes [14404979208190815061 3133641184567052447]
2022/08/01 11:09:55 Dropping the secondary index id_age
2022/08/01 11:09:55 Index dropped
2022/08/01 11:09:55 Dropping the secondary index id_gender
2022/08/01 11:10:09 Index dropped
2022/08/01 11:10:09 Build command issued for the deferred indexes [id_isActive]
2022/08/01 11:10:09 Waiting for the index id_isActive to become active
2022/08/01 11:10:09 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:10 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:11 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:12 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:13 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:14 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:15 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:16 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:17 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:18 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:19 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:20 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:21 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:22 Waiting for index 9103855619986826940 to go active ...
2022/08/01 11:10:23 Index is 9103855619986826940 now active
2022/08/01 11:10:34 Using n1ql client
2022/08/01 11:10:34 Expected and Actual scan responses are the same
2022/08/01 11:10:34 Number of docScanResults and scanResults = 180000 and 180000
2022/08/01 11:10:35 Using n1ql client
2022/08/01 11:10:36 Expected and Actual scan responses are the same
2022/08/01 11:10:36 Number of docScanResults and scanResults = 180000 and 180000
--- PASS: TestDropMultipleBuildingDeferredIndexes (80.09s)
=== RUN   TestDropOneIndexSecondDeferBuilding
2022/08/01 11:10:36 In TestDropOneIndexSecondDeferBuilding()
2022/08/01 11:10:36 In DropAllSecondaryIndexes()
2022/08/01 11:10:36 Index found:  id_isActive
2022/08/01 11:10:36 Dropped index id_isActive
2022/08/01 11:10:36 Index found:  id_company
2022/08/01 11:10:37 Dropped index id_company
2022/08/01 11:10:38 Setting JSON docs in KV
2022/08/01 11:10:43 Build command issued for the deferred indexes [id_company]
2022/08/01 11:10:43 Waiting for the index id_company to become active
2022/08/01 11:10:43 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:44 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:45 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:46 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:47 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:48 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:49 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:50 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:51 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:52 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:53 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:54 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:55 Waiting for index 1204183699190999992 to go active ...
2022/08/01 11:10:56 Index is 1204183699190999992 now active
2022/08/01 11:10:56 Build command issued for the deferred indexes [5981283983200532736]
2022/08/01 11:10:57 Dropping the secondary index id_company
2022/08/01 11:10:58 Index dropped
2022/08/01 11:11:06 Setting JSON docs in KV
2022/08/01 11:11:20 Index is 5981283983200532736 now active
2022/08/01 11:11:20 Build command issued for the deferred indexes [id_gender]
2022/08/01 11:11:20 Waiting for the index id_gender to become active
2022/08/01 11:11:20 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:21 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:22 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:23 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:24 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:25 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:26 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:27 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:28 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:29 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:30 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:31 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:32 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:33 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:34 Waiting for index 406223366482617663 to go active ...
2022/08/01 11:11:35 Index is 406223366482617663 now active
2022/08/01 11:11:35 Using n1ql client
2022/08/01 11:11:35 Expected and Actual scan responses are the same
2022/08/01 11:11:35 Using n1ql client
2022/08/01 11:11:36 Expected and Actual scan responses are the same
--- PASS: TestDropOneIndexSecondDeferBuilding (60.13s)
=== RUN   TestDropSecondIndexSecondDeferBuilding
2022/08/01 11:11:36 In TestDropSecondIndexSecondDeferBuilding()
2022/08/01 11:11:36 In DropAllSecondaryIndexes()
2022/08/01 11:11:36 Index found:  id_gender
2022/08/01 11:11:37 Dropped index id_gender
2022/08/01 11:11:37 Index found:  id_age
2022/08/01 11:11:37 Dropped index id_age
2022/08/01 11:11:39 Setting JSON docs in KV
2022/08/01 11:11:44 Build command issued for the deferred indexes [id_company]
2022/08/01 11:11:44 Waiting for the index id_company to become active
2022/08/01 11:11:44 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:45 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:46 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:47 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:48 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:49 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:50 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:51 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:52 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:53 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:54 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:55 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:56 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:57 Waiting for index 17342318202651251056 to go active ...
2022/08/01 11:11:58 Index is 17342318202651251056 now active
2022/08/01 11:11:58 Build command issued for the deferred indexes [16039249058916469696]
2022/08/01 11:11:59 Dropping the secondary index id_age
2022/08/01 11:11:59 Index dropped
2022/08/01 11:12:09 Setting JSON docs in KV
2022/08/01 11:12:16 Build command issued for the deferred indexes [id_gender]
2022/08/01 11:12:16 Waiting for the index id_gender to become active
2022/08/01 11:12:16 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:17 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:18 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:19 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:20 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:21 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:22 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:23 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:24 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:25 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:26 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:27 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:28 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:29 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:30 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:31 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:32 Waiting for index 16767735408333926689 to go active ...
2022/08/01 11:12:33 Index is 16767735408333926689 now active
2022/08/01 11:12:34 Using n1ql client
2022/08/01 11:12:34 Expected and Actual scan responses are the same
2022/08/01 11:12:34 Using n1ql client
2022/08/01 11:12:36 Expected and Actual scan responses are the same
--- PASS: TestDropSecondIndexSecondDeferBuilding (59.10s)
=== RUN   TestCreateAfterDropWhileIndexBuilding
2022/08/01 11:12:36 In TestCreateAfterDropWhileIndexBuilding()
2022/08/01 11:12:36 In DropAllSecondaryIndexes()
2022/08/01 11:12:36 Index found:  id_company
2022/08/01 11:12:36 Dropped index id_company
2022/08/01 11:12:36 Index found:  id_gender
2022/08/01 11:12:36 Dropped index id_gender
2022/08/01 11:12:58 Setting JSON docs in KV
2022/08/01 11:13:51 Build command issued for the deferred indexes [8342473702623144194]
2022/08/01 11:13:52 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:53 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:54 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:55 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:56 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:57 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:58 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:13:59 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:00 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:01 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:02 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:03 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:04 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:05 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:06 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:07 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:08 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:09 Waiting for index 8342473702623144194 to go active ...
2022/08/01 11:14:10 Index is 8342473702623144194 now active
2022/08/01 11:14:10 Build command issued for the deferred indexes [6078866800052925268]
2022/08/01 11:14:11 Dropping the secondary index id_company
2022/08/01 11:14:12 Index dropped
2022/08/01 11:14:12 Dropping the secondary index id_age
2022/08/01 11:14:15 Index dropped
2022/08/01 11:14:20 Build command issued for the deferred indexes [id_gender]
2022/08/01 11:14:20 Waiting for the index id_gender to become active
2022/08/01 11:14:20 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:21 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:22 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:24 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:25 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:26 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:27 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:28 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:29 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:30 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:31 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:32 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:33 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:34 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:35 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:36 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:37 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:38 Waiting for index 12645377671587254391 to go active ...
2022/08/01 11:14:39 Index is 12645377671587254391 now active
2022/08/01 11:14:40 Index is 12645377671587254391 now active
2022/08/01 11:14:40 Using n1ql client
2022/08/01 11:14:42 Expected and Actual scan responses are the same
--- PASS: TestCreateAfterDropWhileIndexBuilding (126.50s)
=== RUN   TestDropBuildingIndex1
2022/08/01 11:14:42 In TestDropBuildingIndex1()
2022/08/01 11:14:42 In DropAllSecondaryIndexes()
2022/08/01 11:14:42 Index found:  id_gender
2022/08/01 11:14:42 Dropped index id_gender
2022/08/01 11:14:47 Setting JSON docs in KV
2022/08/01 11:15:16 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:15:16 Index is 60386234230084080 now active
2022/08/01 11:15:39 Dropping the secondary index id_age
2022/08/01 11:15:39 Index dropped
2022/08/01 11:15:59 Created the secondary index id_age. Waiting for it become active
2022/08/01 11:15:59 Index is 7306267622471426639 now active
2022/08/01 11:16:01 Setting JSON docs in KV
2022/08/01 11:16:09 Using n1ql client
2022/08/01 11:16:10 Expected and Actual scan responses are the same
2022/08/01 11:16:10 Using n1ql client
2022/08/01 11:16:10 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex1 (88.25s)
=== RUN   TestDropBuildingIndex2
2022/08/01 11:16:10 In TestDropBuildingIndex2()
2022/08/01 11:16:10 In DropAllSecondaryIndexes()
2022/08/01 11:16:10 Index found:  id_age
2022/08/01 11:16:10 Dropped index id_age
2022/08/01 11:16:10 Index found:  id_company
2022/08/01 11:16:11 Dropped index id_company
2022/08/01 11:16:16 Setting JSON docs in KV
2022/08/01 11:16:51 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:16:51 Index is 12828094268602507573 now active
2022/08/01 11:17:17 Dropping the secondary index id_company
2022/08/01 11:17:17 Index dropped
2022/08/01 11:17:17 Index is 11615779619891197520 now active
2022/08/01 11:17:38 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:17:38 Index is 15829262840426688042 now active
2022/08/01 11:17:39 Setting JSON docs in KV
2022/08/01 11:17:47 Using n1ql client
2022/08/01 11:17:48 Expected and Actual scan responses are the same
2022/08/01 11:17:48 Using n1ql client
2022/08/01 11:17:49 Expected and Actual scan responses are the same
--- PASS: TestDropBuildingIndex2 (98.50s)
=== RUN   TestDropIndexWithDataLoad
2022/08/01 11:17:49 In TestDropIndexWithDataLoad()
2022/08/01 11:17:49 In DropAllSecondaryIndexes()
2022/08/01 11:17:49 Index found:  id_company
2022/08/01 11:17:49 Dropped index id_company
2022/08/01 11:17:49 Index found:  id_age
2022/08/01 11:17:49 Dropped index id_age
2022/08/01 11:17:52 Setting JSON docs in KV
2022/08/01 11:18:20 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:18:20 Index is 13273828741597931208 now active
2022/08/01 11:18:43 Created the secondary index id_age. Waiting for it become active
2022/08/01 11:18:43 Index is 14008330366884108028 now active
2022/08/01 11:19:07 Created the secondary index id_gender. Waiting for it become active
2022/08/01 11:19:07 Index is 4650738442952685587 now active
2022/08/01 11:19:30 Created the secondary index id_isActive. Waiting for it become active
2022/08/01 11:19:30 Index is 17749612669755469445 now active
2022/08/01 11:19:37 Setting JSON docs in KV
2022/08/01 11:19:37 In LoadKVBucket
2022/08/01 11:19:37 In DropIndexWhileKVLoad
2022/08/01 11:19:37 Bucket name = default
2022/08/01 11:19:38 Dropping the secondary index id_company
2022/08/01 11:19:38 Index dropped
2022/08/01 11:20:07 Using n1ql client
2022/08/01 11:20:08 Expected and Actual scan responses are the same
2022/08/01 11:20:08 Number of docScanResults and scanResults = 96752 and 96752
2022/08/01 11:20:09 Using n1ql client
2022/08/01 11:20:12 Expected and Actual scan responses are the same
2022/08/01 11:20:12 Number of docScanResults and scanResults = 420000 and 420000
--- PASS: TestDropIndexWithDataLoad (143.46s)
=== RUN   TestDropAllIndexesWithDataLoad
2022/08/01 11:20:12 In TestDropAllIndexesWithDataLoad()
2022/08/01 11:20:12 In DropAllSecondaryIndexes()
2022/08/01 11:20:12 Index found:  id_gender
2022/08/01 11:20:12 Dropped index id_gender
2022/08/01 11:20:12 Index found:  id_isActive
2022/08/01 11:20:12 Dropped index id_isActive
2022/08/01 11:20:12 Index found:  id_age
2022/08/01 11:20:13 Dropped index id_age
2022/08/01 11:20:15 Setting JSON docs in KV
2022/08/01 11:20:49 Created the secondary index id_company. Waiting for it become active
2022/08/01 11:20:49 Index is 12276152043082366572 now active
2022/08/01 11:21:20 Created the secondary index id_age. Waiting for it become active
2022/08/01 11:21:20 Index is 110576671284909858 now active
2022/08/01 11:21:47 Created the secondary index id_gender. Waiting for it become active
2022/08/01 11:21:47 Index is 13946466231608718192 now active
2022/08/01 11:22:12 Created the secondary index id_isActive. Waiting for it become active
2022/08/01 11:22:12 Index is 15832307176151739209 now active
2022/08/01 11:22:18 Setting JSON docs in KV
2022/08/01 11:22:18 In LoadKVBucket
2022/08/01 11:22:18 Bucket name = default
2022/08/01 11:22:18 In DropIndexWhileKVLoad
2022/08/01 11:22:18 In DropIndexWhileKVLoad
2022/08/01 11:22:18 In DropIndexWhileKVLoad
2022/08/01 11:22:18 In DropIndexWhileKVLoad
2022/08/01 11:22:19 Dropping the secondary index id_gender
2022/08/01 11:22:19 Dropping the secondary index id_company
2022/08/01 11:22:19 Dropping the secondary index id_age
2022/08/01 11:22:19 Dropping the secondary index id_isActive
2022/08/01 11:22:19 Index dropped
2022/08/01 11:22:19 Index dropped
2022/08/01 11:22:20 Index dropped
2022/08/01 11:22:20 Index dropped
2022/08/01 11:22:35 Using n1ql client
2022/08/01 11:22:35 Scan failed as expected with error: Index Not Found - cause: GSI index id_company not found.
--- PASS: TestDropAllIndexesWithDataLoad (142.52s)
=== RUN   TestCreateBucket_AnotherIndexBuilding
2022/08/01 11:22:35 In TestCreateBucket_AnotherIndexBuilding()
2022/08/01 11:22:35 In DropAllSecondaryIndexes()
2022/08/01 11:23:13 Flushed the bucket default, Response body: 
2022/08/01 11:23:17 Modified parameters of bucket default, responseBody: 
2022/08/01 11:23:17 http://127.0.0.1:9000/pools/default/buckets/multi_buck2
2022/08/01 11:23:17 &{DELETE http://127.0.0.1:9000/pools/default/buckets/multi_buck2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:23:17 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 05:53:16 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc0ad5990c0 31 [] false false map[] 0xc000195300 }
2022/08/01 11:23:17 DeleteBucket failed for bucket multi_buck2 
2022/08/01 11:23:17 Deleted bucket multi_buck2, responseBody: Requested resource not found.
2022/08/01 11:23:32 Setting JSON docs in KV
2022/08/01 11:25:26 Created bucket multi_buck2, responseBody: 
2022/08/01 11:25:49 Index is 9749895159467283930 now active
2022/08/01 11:25:49 Index is 18358715281295767702 now active
2022/08/01 11:25:49 Using n1ql client
2022-08-01T11:25:49.155+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:25:49.155+05:30 [Info] GSIC[default/multi_buck2-_default-_default-1659333349151860500] started ...
2022/08/01 11:25:49 Expected and Actual scan responses are the same
2022/08/01 11:25:49 Number of docScanResults and scanResults = 10000 and 10000
2022/08/01 11:25:49 Using n1ql client
2022/08/01 11:25:52 Expected and Actual scan responses are the same
2022/08/01 11:25:52 Number of docScanResults and scanResults = 200000 and 200000
2022/08/01 11:25:54 Deleted bucket multi_buck2, responseBody: 
2022/08/01 11:26:32 Flushed the bucket default, Response body: 
--- PASS: TestCreateBucket_AnotherIndexBuilding (236.95s)
=== RUN   TestDropBucket2Index_Bucket1IndexBuilding
2022/08/01 11:26:32 In TestDropBucket2Index_Bucket1IndexBuilding()
2022/08/01 11:26:32 In DropAllSecondaryIndexes()
2022/08/01 11:26:32 Index found:  buck1_idx
2022/08/01 11:26:32 Dropped index buck1_idx
2022/08/01 11:27:10 Flushed the bucket default, Response body: 
2022/08/01 11:27:13 Modified parameters of bucket default, responseBody: 
2022/08/01 11:27:13 http://127.0.0.1:9000/pools/default/buckets/multibucket_test3
2022/08/01 11:27:13 &{DELETE http://127.0.0.1:9000/pools/default/buckets/multibucket_test3 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:27:13 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 05:57:13 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc00420ab80 31 [] false false map[] 0xc003f44800 }
2022/08/01 11:27:13 DeleteBucket failed for bucket multibucket_test3 
2022/08/01 11:27:13 Deleted bucket multibucket_test3, responseBody: Requested resource not found.
2022/08/01 11:27:13 Created bucket multibucket_test3, responseBody: 
2022/08/01 11:27:28 Setting JSON docs in KV
2022/08/01 11:28:23 Created the secondary index buck2_idx. Waiting for it become active
2022/08/01 11:28:23 Index is 11136754681564122845 now active
2022/08/01 11:28:35 Dropping the secondary index buck2_idx
2022/08/01 11:28:35 Index dropped
2022/08/01 11:28:35 Index is 9007158272529611745 now active
2022/08/01 11:28:35 Using n1ql client
2022/08/01 11:28:37 Expected and Actual scan responses are the same
2022/08/01 11:28:37 Number of docScanResults and scanResults = 100000 and 100000
2022/08/01 11:28:39 Deleted bucket multibucket_test3, responseBody: 
2022/08/01 11:29:17 Flushed the bucket default, Response body: 
--- PASS: TestDropBucket2Index_Bucket1IndexBuilding (165.06s)
=== RUN   TestDeleteBucketWhileInitialIndexBuild
2022/08/01 11:29:17 In TestDeleteBucketWhileInitialIndexBuild()
2022/08/01 11:29:17 ============== DBG: Drop all indexes in all buckets
2022/08/01 11:29:17 In DropAllSecondaryIndexes()
2022/08/01 11:29:17 Index found:  buck1_idx
2022/08/01 11:29:17 Dropped index buck1_idx
2022/08/01 11:29:17 ============== DBG: Delete bucket default
2022/08/01 11:29:19 Deleted bucket default, responseBody: 
2022/08/01 11:29:19 ============== DBG: Create bucket default
2022/08/01 11:29:19 Created bucket default, responseBody: 
2022/08/01 11:29:22 Flush Enabled on bucket default, responseBody: 
2022/08/01 11:29:55 Flushed the bucket default, Response body: 
2022/08/01 11:29:55 ============== DBG: Delete bucket testbucket2
2022/08/01 11:29:55 http://127.0.0.1:9000/pools/default/buckets/testbucket2
2022/08/01 11:29:55 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket2 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:29:55 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 05:59:55 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc002f20c00 31 [] false false map[] 0xc002c76300 }
2022/08/01 11:29:55 DeleteBucket failed for bucket testbucket2 
2022/08/01 11:29:55 Deleted bucket testbucket2, responseBody: Requested resource not found.
2022/08/01 11:29:55 ============== DBG: Create bucket testbucket2
2022/08/01 11:29:55 Created bucket testbucket2, responseBody: 
2022/08/01 11:29:58 Flush Enabled on bucket testbucket2, responseBody: 
2022/08/01 11:30:32 Flushed the bucket testbucket2, Response body: 
2022/08/01 11:30:32 ============== DBG: Delete bucket testbucket3
2022/08/01 11:30:32 http://127.0.0.1:9000/pools/default/buckets/testbucket3
2022/08/01 11:30:32 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket3 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:30:32 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 06:00:32 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc003446ac0 31 [] false false map[] 0xc00337c000 }
2022/08/01 11:30:32 DeleteBucket failed for bucket testbucket3 
2022/08/01 11:30:32 Deleted bucket testbucket3, responseBody: Requested resource not found.
2022/08/01 11:30:32 ============== DBG: Create bucket testbucket3
2022/08/01 11:30:32 Created bucket testbucket3, responseBody: 
2022/08/01 11:30:35 Flush Enabled on bucket testbucket3, responseBody: 
2022/08/01 11:31:09 Flushed the bucket testbucket3, Response body: 
2022/08/01 11:31:09 ============== DBG: Delete bucket testbucket4
2022/08/01 11:31:09 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/08/01 11:31:09 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket4 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:31:09 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 06:01:09 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc023741a00 31 [] false false map[] 0xc011764500 }
2022/08/01 11:31:09 DeleteBucket failed for bucket testbucket4 
2022/08/01 11:31:09 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/08/01 11:31:09 ============== DBG: Create bucket testbucket4
2022/08/01 11:31:09 Created bucket testbucket4, responseBody: 
2022/08/01 11:31:12 Flush Enabled on bucket testbucket4, responseBody: 
2022/08/01 11:31:45 Flushed the bucket testbucket4, Response body: 
2022/08/01 11:32:00 Generating docs and Populating all the buckets
2022/08/01 11:32:00 ============== DBG: Creating docs in bucket default
2022/08/01 11:32:01 ============== DBG: Creating index bucket1_age in bucket default
2022/08/01 11:32:05 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 11:32:05 Index is 14850266114046977887 now active
2022/08/01 11:32:05 ============== DBG: Creating index bucket1_gender in bucket default
2022/08/01 11:32:10 Created the secondary index bucket1_gender. Waiting for it become active
2022/08/01 11:32:10 Index is 4662016739340230008 now active
2022/08/01 11:32:10 ============== DBG: Creating docs in bucket testbucket2
2022/08/01 11:32:11 ============== DBG: Creating index bucket2_city in bucket testbucket2
2022/08/01 11:32:15 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 11:32:15 Index is 4631523848134403004 now active
2022/08/01 11:32:15 ============== DBG: Creating index bucket2_company in bucket testbucket2
2022/08/01 11:32:20 Created the secondary index bucket2_company. Waiting for it become active
2022/08/01 11:32:20 Index is 6715426269314505923 now active
2022/08/01 11:32:20 ============== DBG: Creating docs in bucket testbucket3
2022/08/01 11:32:21 ============== DBG: Creating index bucket3_gender in bucket testbucket3
2022/08/01 11:32:25 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 11:32:25 Index is 12357144088543389436 now active
2022/08/01 11:32:25 ============== DBG: Creating index bucket3_address in bucket testbucket3
2022/08/01 11:32:30 Created the secondary index bucket3_address. Waiting for it become active
2022/08/01 11:32:30 Index is 5681536295409741907 now active
2022/08/01 11:32:30 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/08/01 11:32:30 Using n1ql client
2022-08-01T11:32:30.504+05:30 [Info] metadata provider version changed 1265 -> 1266
2022-08-01T11:32:30.504+05:30 [Info] switched currmeta from 1265 -> 1266 force false 
2022-08-01T11:32:30.504+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:32:30.505+05:30 [Info] GSIC[default/default-_default-_default-1659333750498683942] started ...
2022/08/01 11:32:30 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/08/01 11:32:30 Expected and Actual scan responses are the same
2022/08/01 11:32:41 ============== DBG: Creating 50K docs in bucket testbucket4
2022/08/01 11:33:06 ============== DBG: Creating index bucket4_balance asynchronously in bucket testbucket4
2022/08/01 11:33:16 ============== DBG: Deleting bucket testbucket4
2022/08/01 11:33:17 Deleted bucket testbucket4, responseBody: 
2022/08/01 11:33:17 ============== DBG: First bucket scan:: Scanning index bucket1_age in bucket default
2022/08/01 11:33:17 Using n1ql client
2022/08/01 11:33:17 ============== DBG: First bucket scan:: Expected results = 310 Actual results = 310
2022/08/01 11:33:17 Expected and Actual scan responses are the same
2022/08/01 11:33:17 ============== DBG: Second bucket scan:: Scanning index bucket2_city in bucket testbucket2
2022/08/01 11:33:17 Using n1ql client
2022-08-01T11:33:17.875+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:33:17.876+05:30 [Info] GSIC[default/testbucket2-_default-_default-1659333797873910605] started ...
2022/08/01 11:33:17 ============== DBG: Second bucket scan:: Expected results = 423 Actual results = 423
2022/08/01 11:33:17 Expected and Actual scan responses are the same
2022/08/01 11:33:17 ============== DBG: Third bucket scan:: Scanning index bucket3_gender in bucket testbucket3
2022/08/01 11:33:17 Using n1ql client
2022-08-01T11:33:17.882+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:33:17.883+05:30 [Info] GSIC[default/testbucket3-_default-_default-1659333797881123803] started ...
2022/08/01 11:33:17 ============== DBG: Third bucket scan:: Expected results = 521 Actual results = 521
2022/08/01 11:33:17 Expected and Actual scan responses are the same
2022/08/01 11:33:17 ============== DBG: Deleting buckets testbucket2 testbucket3 testbucket4
2022/08/01 11:33:20 Deleted bucket testbucket2, responseBody: 
2022/08/01 11:33:22 Deleted bucket testbucket3, responseBody: 
2022/08/01 11:33:22 http://127.0.0.1:9000/pools/default/buckets/testbucket4
2022/08/01 11:33:22 &{DELETE http://127.0.0.1:9000/pools/default/buckets/testbucket4 HTTP/1.1 1 1 map[Authorization:[Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=] Content-Type:[application/x-www-form-urlencoded; charset=UTF-8]]   0 [] false 127.0.0.1:9000 map[] map[]  map[]      0xc00003a0e0}
2022/08/01 11:33:22 &{404 Object Not Found 404 HTTP/1.1 1 1 map[Cache-Control:[no-cache,no-store,must-revalidate] Content-Length:[31] Content-Type:[text/plain] Date:[Mon, 01 Aug 2022 06:03:22 GMT] Expires:[Thu, 01 Jan 1970 00:00:00 GMT] Pragma:[no-cache] Server:[Couchbase Server] X-Content-Type-Options:[nosniff] X-Frame-Options:[DENY] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[1; mode=block]] 0xc017a36240 31 [] false false map[] 0xc0179ce700 }
2022/08/01 11:33:22 DeleteBucket failed for bucket testbucket4 
2022/08/01 11:33:22 Deleted bucket testbucket4, responseBody: Requested resource not found.
2022/08/01 11:33:25 Modified parameters of bucket default, responseBody: 
--- PASS: TestDeleteBucketWhileInitialIndexBuild (262.93s)
=== RUN   TestWherClause_UpdateDocument
2022/08/01 11:33:40 In TestWherClause_UpdateDocument()
2022/08/01 11:33:40 In DropAllSecondaryIndexes()
2022/08/01 11:33:40 Index found:  bucket1_age
2022/08/01 11:33:40 Dropped index bucket1_age
2022/08/01 11:33:40 Index found:  bucket1_gender
2022/08/01 11:33:40 Dropped index bucket1_gender
2022/08/01 11:34:18 Flushed the bucket default, Response body: 
2022/08/01 11:34:20 Setting JSON docs in KV
2022/08/01 11:34:28 Created the secondary index id_ageGreaterThan40. Waiting for it become active
2022/08/01 11:34:28 Index is 7245221228065671206 now active
2022/08/01 11:34:28 Using n1ql client
2022/08/01 11:34:28 Expected and Actual scan responses are the same
2022/08/01 11:34:28 Number of docScanResults and scanResults = 6008 and 6008
2022/08/01 11:34:33 Using n1ql client
2022/08/01 11:34:33 Expected and Actual scan responses are the same
2022/08/01 11:34:33 Number of docScanResults and scanResults = 2008 and 2008
--- PASS: TestWherClause_UpdateDocument (52.82s)
=== RUN   TestDeferFalse
2022/08/01 11:34:33 In TestDeferFalse()
2022/08/01 11:34:35 Setting JSON docs in KV
2022/08/01 11:34:47 Created the secondary index index_deferfalse1. Waiting for it become active
2022/08/01 11:34:47 Index is 13769471583483581722 now active
2022/08/01 11:34:47 Using n1ql client
2022/08/01 11:34:47 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse (14.64s)
=== RUN   TestDeferFalse_CloseClientConnection
2022/08/01 11:34:47 In TestDeferFalse_CloseClientConnection()
2022/08/01 11:34:47 In CloseClientThread
2022/08/01 11:34:47 In CreateIndexThread
2022-08-01T11:34:49.726+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:33546->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 11:34:49 Create Index call failed as expected due to error : Terminate Request due to client termination
2022/08/01 11:34:49 Waiting for index 7194871759029523399 to go active ...
2022/08/01 11:34:50 Waiting for index 7194871759029523399 to go active ...
2022/08/01 11:34:51 Waiting for index 7194871759029523399 to go active ...
2022/08/01 11:34:52 Waiting for index 7194871759029523399 to go active ...
2022/08/01 11:34:53 Index is 7194871759029523399 now active
2022/08/01 11:34:53 Using n1ql client
2022/08/01 11:34:53 Expected and Actual scan responses are the same
--- PASS: TestDeferFalse_CloseClientConnection (6.16s)
=== RUN   TestOrphanIndexCleanup
2022-08-01T11:34:53.844+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:33610->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 11:34:53 In DropAllSecondaryIndexes()
2022/08/01 11:34:53 Index found:  index_deferfalse1
2022/08/01 11:34:53 Dropped index index_deferfalse1
2022/08/01 11:34:53 Index found:  index_deferfalse2
2022/08/01 11:34:53 Dropped index index_deferfalse2
2022/08/01 11:34:53 Index found:  id_ageGreaterThan40
2022/08/01 11:34:54 Dropped index id_ageGreaterThan40
2022/08/01 11:35:07 Created the secondary index idx1_age_regular. Waiting for it become active
2022/08/01 11:35:07 Index is 12028702210350230381 now active
2022/08/01 11:35:14 Created the secondary index idx2_company_regular. Waiting for it become active
2022/08/01 11:35:14 Index is 17593836449430349523 now active
2022/08/01 11:35:24 Using n1ql client
2022/08/01 11:35:24 Query on idx1_age_regular is successful
2022/08/01 11:35:24 Using n1ql client
2022/08/01 11:35:24 Query on idx2_company_regular is successful
Restarting indexer process ...
2022/08/01 11:35:24 []
2022-08-01T11:35:24.124+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T11:35:24.124+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T11:35:24.124+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T11:35:24.125+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 11:35:44 Using n1ql client
2022-08-01T11:35:44.078+05:30 [Error] transport error between 127.0.0.1:44650->127.0.0.1:9107: write tcp 127.0.0.1:44650->127.0.0.1:9107: write: broken pipe
2022-08-01T11:35:44.078+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6173703385156698237 request transport failed `write tcp 127.0.0.1:44650->127.0.0.1:9107: write: broken pipe`
2022-08-01T11:35:44.079+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T11:35:44.079+05:30 [Error] metadataClient:PickRandom: Replicas - [7989039291333930056], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 11:35:44 Query on idx1_age_regular is successful - after indexer restart.
2022/08/01 11:35:44 Using n1ql client
2022/08/01 11:35:44 Query on idx2_company_regular is successful - after indexer restart.
--- PASS: TestOrphanIndexCleanup (50.27s)
=== RUN   TestOrphanPartitionCleanup
2022/08/01 11:35:48 Created the secondary index idx3_age_regular. Waiting for it become active
2022/08/01 11:35:48 Index is 562288714444585609 now active
2022/08/01 11:35:58 Using n1ql client
2022/08/01 11:35:58 Query on idx3_age_regular is successful
Restarting indexer process ...
2022/08/01 11:35:58 []
2022-08-01T11:35:58.946+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T11:35:58.946+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T11:35:58.946+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T11:35:58.946+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T11:36:10.462+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333966463133375 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T11:36:10.462+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333966463133375 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T11:36:15.461+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333972462305933 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T11:36:15.461+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333972462305933 map[]}, clientStatsPtr.Stats[bucket] 
2022/08/01 11:36:18 Using n1ql client
2022-08-01T11:36:18.925+05:30 [Error] transport error between 127.0.0.1:55956->127.0.0.1:9107: write tcp 127.0.0.1:55956->127.0.0.1:9107: write: broken pipe
2022-08-01T11:36:18.925+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -4814776171713125870 request transport failed `write tcp 127.0.0.1:55956->127.0.0.1:9107: write: broken pipe`
2022-08-01T11:36:18.925+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 0 
2022-08-01T11:36:18.925+05:30 [Error] metadataClient:PickRandom: Replicas - [5933351315865930950], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 11:36:18 Query on idx3_age_regular is successful - after indexer restart.
--- PASS: TestOrphanPartitionCleanup (34.86s)
=== RUN   TestIndexerSettings
2022/08/01 11:36:18 In TestIndexerSettings()
2022/08/01 11:36:18 Changing config key indexer.settings.max_cpu_percent to value 300
2022/08/01 11:36:19 Changing config key indexer.settings.inmemory_snapshot.interval to value 300
2022/08/01 11:36:19 Changing config key indexer.settings.persisted_snapshot.interval to value 20000
2022/08/01 11:36:19 Changing config key indexer.settings.recovery.max_rollbacks to value 3
2022/08/01 11:36:19 Changing config key indexer.settings.log_level to value error
--- PASS: TestIndexerSettings (0.26s)
=== RUN   TestRestoreDefaultSettings
2022/08/01 11:36:19 In TestIndexerSettings_RestoreDefault()
2022/08/01 11:36:19 Changing config key indexer.settings.max_cpu_percent to value 0
2022/08/01 11:36:19 Changing config key indexer.settings.inmemory_snapshot.interval to value 200
2022/08/01 11:36:19 Changing config key indexer.settings.persisted_snapshot.interval to value 5000
2022/08/01 11:36:19 Changing config key indexer.settings.recovery.max_rollbacks to value 5
2022/08/01 11:36:19 Changing config key indexer.settings.log_level to value info
--- PASS: TestRestoreDefaultSettings (0.14s)
=== RUN   TestStat_ItemsCount
2022/08/01 11:36:19 In TestStat_ItemsCount()
2022/08/01 11:36:19 In DropAllSecondaryIndexes()
2022/08/01 11:36:19 Index found:  idx3_age_regular
2022/08/01 11:36:19 Dropped index idx3_age_regular
2022/08/01 11:36:19 Index found:  idx2_company_regular
2022/08/01 11:36:19 Dropped index idx2_company_regular
2022/08/01 11:36:19 Index found:  idx1_age_regular
2022/08/01 11:36:19 Dropped index idx1_age_regular
2022/08/01 11:36:19 Emptying the default bucket
2022-08-01T11:36:20.461+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333978462601941 map[]}, clientStatsPtr.Stats[bucket] 
2022-08-01T11:36:20.461+05:30 [Error] watcher.updateIndexStats2NoLock: unexpected nil *DedupedIndexStats. bucket default, dedupedIndexStats &{0 0 1659333959878443253 1659333978462601941 map[]}, clientStatsPtr.Stats[bucket] 
2022/08/01 11:36:22 Flush Enabled on bucket default, responseBody: 
2022/08/01 11:37:00 Flushed the bucket default, Response body: 
2022/08/01 11:37:00 Generating JSON docs
2022/08/01 11:37:01 Setting initial JSON docs in KV
2022/08/01 11:37:05 Creating a 2i
2022/08/01 11:37:08 Created the secondary index index_test1. Waiting for it become active
2022/08/01 11:37:08 Index is 14081905274558091572 now active
2022/08/01 11:37:13 items_count stat is 10000
--- PASS: TestStat_ItemsCount (53.71s)
=== RUN   TestRangeArrayIndex_Distinct
2022/08/01 11:37:13 In TestRangeArrayIndex_Distinct()
2022/08/01 11:37:13 In DropAllSecondaryIndexes()
2022/08/01 11:37:13 Index found:  index_test1
2022/08/01 11:37:13 Dropped index index_test1
2022/08/01 11:37:51 Flushed the bucket default, Response body: 
2022/08/01 11:37:54 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 11:37:54 Index is 4617255350034410675 now active
2022-08-01T11:37:54.657+05:30 [Error] transport error between 127.0.0.1:56210->127.0.0.1:9107: write tcp 127.0.0.1:56210->127.0.0.1:9107: write: broken pipe
2022-08-01T11:37:54.658+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:56210->127.0.0.1:9107: write: broken pipe`
2022-08-01T11:37:54.658+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 10233053731136199824 partition [0]
2022-08-01T11:37:54.658+05:30 [Warn] Scan failed with error for index 4617255350034410675.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:56210->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022-08-01T11:37:54.658+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T11:37:54.658+05:30 [Error] metadataClient:PickRandom: Replicas - [10233053731136199824], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T11:37:54.659+05:30 [Warn] Fail to find indexers to satisfy query request.  Trying scan again for index 4617255350034410675, reqId: :  write tcp 127.0.0.1:56210->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/08/01 11:37:54 Expected and Actual scan responses are the same
2022/08/01 11:37:57 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Distinct (44.50s)
=== RUN   TestUpdateArrayIndex_Distinct
2022/08/01 11:37:57 In TestUpdateArrayIndex_Distinct()
2022/08/01 11:37:57 In DropAllSecondaryIndexes()
2022/08/01 11:37:57 Index found:  arridx_friends
2022/08/01 11:37:57 Dropped index arridx_friends
2022/08/01 11:38:35 Flushed the bucket default, Response body: 
2022/08/01 11:38:39 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 11:38:39 Index is 14252611181513412856 now active
2022/08/01 11:38:39 Expected and Actual scan responses are the same
2022/08/01 11:38:42 Expected and Actual scan responses are the same
2022/08/01 11:38:42 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Distinct (45.10s)
=== RUN   TestRangeArrayIndex_Duplicate
2022/08/01 11:38:42 In TestRangeArrayIndex_Duplicate()
2022/08/01 11:38:42 In DropAllSecondaryIndexes()
2022/08/01 11:38:42 Index found:  arridx_friends
2022/08/01 11:38:42 Dropped index arridx_friends
2022/08/01 11:39:20 Flushed the bucket default, Response body: 
2022/08/01 11:39:23 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 11:39:23 Index is 782001022817605597 now active
2022/08/01 11:39:24 Expected and Actual scan responses are the same
2022/08/01 11:39:26 Expected and Actual scan responses are the same
--- PASS: TestRangeArrayIndex_Duplicate (44.14s)
=== RUN   TestUpdateArrayIndex_Duplicate
2022/08/01 11:39:26 In TestUpdateArrayIndex_Duplicate()
2022/08/01 11:39:26 In DropAllSecondaryIndexes()
2022/08/01 11:39:26 Index found:  arridx_friends
2022/08/01 11:39:26 Dropped index arridx_friends
2022/08/01 11:40:04 Flushed the bucket default, Response body: 
2022/08/01 11:40:08 Created the secondary index arridx_friends. Waiting for it become active
2022/08/01 11:40:08 Index is 17918358207249733688 now active
2022/08/01 11:40:08 Expected and Actual scan responses are the same
2022/08/01 11:40:11 Expected and Actual scan responses are the same
2022/08/01 11:40:11 Expected and Actual scan responses are the same
--- PASS: TestUpdateArrayIndex_Duplicate (44.59s)
=== RUN   TestArrayIndexCornerCases
2022/08/01 11:40:11 In TestArrayIndexCornerCases()
2022/08/01 11:40:15 Created the secondary index arr_single. Waiting for it become active
2022/08/01 11:40:15 Index is 15154807685219471458 now active
2022/08/01 11:40:19 Created the secondary index arr_leading. Waiting for it become active
2022/08/01 11:40:19 Index is 558441966767761341 now active
2022/08/01 11:40:23 Created the secondary index arr_nonleading. Waiting for it become active
2022/08/01 11:40:23 Index is 3091906398388722893 now active
2022/08/01 11:40:23 

--------ScanAll for EMPTY array--------
2022/08/01 11:40:23 Count of scanResults is 0
2022/08/01 11:40:23 Count of scanResults is 0
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["PZUjE" Missing field or index.] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 

--------ScanAll for MISSING array--------
2022/08/01 11:40:23 Count of scanResults is 0
2022/08/01 11:40:23 Count of scanResults is 0
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["mkioO" Missing field or index.] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 

--------ScanAll for NULL array--------
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values [null] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values [null "UP5E,"] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["UP5E," null] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 

--------ScanAll for SCALARVALUE array--------
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["IamScalar"] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["IamScalar" "Ee7dz"] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["Ee7dz" "IamScalar"] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 

--------ScanAll for SCALAROBJECT array--------
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values [{"1":"abc","2":"def"}] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values [{"1":"abc","2":"def"} "v9,EJs"] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
2022/08/01 11:40:23 Count of scanResults is 1
2022/08/01 11:40:23 Key: string 8157130710533393679  Value: value.Values ["v9,EJs" {"1":"abc","2":"def"}] false
2022/08/01 11:40:23 Expected and Actual scan responses are the same
--- PASS: TestArrayIndexCornerCases (12.11s)
=== RUN   TestArraySizeIncreaseDecrease1
2022/08/01 11:40:23 In TestArraySizeIncreaseDecrease1()
2022/08/01 11:40:23 In DropAllSecondaryIndexes()
2022/08/01 11:40:23 Index found:  arr_nonleading
2022/08/01 11:40:23 Dropped index arr_nonleading
2022/08/01 11:40:23 Index found:  arr_single
2022/08/01 11:40:23 Dropped index arr_single
2022/08/01 11:40:23 Index found:  arr_leading
2022/08/01 11:40:23 Dropped index arr_leading
2022/08/01 11:40:23 Index found:  arridx_friends
2022/08/01 11:40:23 Dropped index arridx_friends
2022/08/01 11:41:01 Flushed the bucket default, Response body: 
2022/08/01 11:41:01 Changing config key indexer.settings.allow_large_keys to value false
2022/08/01 11:41:02 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 11:41:02 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/08/01 11:41:03 Start of createArrayDocs()
2022/08/01 11:41:20 End of createArrayDocs()
2022/08/01 11:41:21 Start of createArrayDocs()
2022/08/01 11:41:21 End of createArrayDocs()
2022/08/01 11:41:24 Created the secondary index arr1. Waiting for it become active
2022/08/01 11:41:24 Index is 15645246662580355631 now active
2022/08/01 11:41:29 Created the secondary index arr2. Waiting for it become active
2022/08/01 11:41:29 Index is 9697862939341583932 now active
2022/08/01 11:41:33 Created the secondary index idx3. Waiting for it become active
2022/08/01 11:41:33 Index is 895336752602228741 now active
2022/08/01 11:41:33 Using n1ql client
2022/08/01 11:41:33 Length of scanResults = 10
2022/08/01 11:41:33 Changing config key indexer.settings.max_seckey_size to value 4096
2022/08/01 11:41:33 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/08/01 11:41:38 Expected and Actual scan responses are the same
2022/08/01 11:41:38 Using n1ql client
2022/08/01 11:41:38 Expected and Actual scan responses are the same
2022/08/01 11:41:38 Using n1ql client
2022/08/01 11:41:38 Expected and Actual scan responses are the same
2022/08/01 11:41:38 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 11:41:38 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/08/01 11:41:41 Using n1ql client
2022/08/01 11:41:41 Length of scanResults = 10
2022/08/01 11:41:41 Changing config key indexer.settings.max_seckey_size to value 4608
2022/08/01 11:41:41 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease1 (79.22s)
=== RUN   TestArraySizeIncreaseDecrease2
2022/08/01 11:41:42 In TestArraySizeIncreaseDecrease2()
2022/08/01 11:41:42 In DropAllSecondaryIndexes()
2022/08/01 11:41:42 Index found:  idx3
2022/08/01 11:41:42 Dropped index idx3
2022/08/01 11:41:42 Index found:  arr1
2022/08/01 11:41:42 Dropped index arr1
2022/08/01 11:41:42 Index found:  arr2
2022/08/01 11:41:42 Dropped index arr2
2022/08/01 11:42:20 Flushed the bucket default, Response body: 
2022/08/01 11:42:20 Changing config key indexer.settings.allow_large_keys to value true
2022/08/01 11:42:21 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 11:42:21 Changing config key indexer.settings.max_array_seckey_size to value 2000
2022/08/01 11:42:22 Start of createArrayDocs()
2022/08/01 11:42:39 End of createArrayDocs()
2022/08/01 11:42:40 Start of createArrayDocs()
2022/08/01 11:42:40 End of createArrayDocs()
2022/08/01 11:42:47 Created the secondary index arr1. Waiting for it become active
2022/08/01 11:42:47 Index is 12939792783026976912 now active
2022/08/01 11:42:51 Created the secondary index arr2. Waiting for it become active
2022/08/01 11:42:51 Index is 5903389587628661972 now active
2022/08/01 11:42:55 Created the secondary index idx3. Waiting for it become active
2022/08/01 11:42:55 Index is 7510367048701103419 now active
2022/08/01 11:42:56 Expected and Actual scan responses are the same
2022/08/01 11:42:56 Using n1ql client
2022/08/01 11:42:56 Expected and Actual scan responses are the same
2022/08/01 11:42:56 Using n1ql client
2022/08/01 11:42:56 Expected and Actual scan responses are the same
2022/08/01 11:42:56 Changing config key indexer.settings.max_seckey_size to value 4096
2022/08/01 11:42:56 Changing config key indexer.settings.max_array_seckey_size to value 51200
2022/08/01 11:43:00 Expected and Actual scan responses are the same
2022/08/01 11:43:00 Using n1ql client
2022/08/01 11:43:00 Expected and Actual scan responses are the same
2022/08/01 11:43:00 Using n1ql client
2022/08/01 11:43:00 Expected and Actual scan responses are the same
2022/08/01 11:43:00 Changing config key indexer.settings.max_seckey_size to value 100
2022/08/01 11:43:00 Changing config key indexer.settings.max_array_seckey_size to value 2200
2022/08/01 11:43:04 Expected and Actual scan responses are the same
2022/08/01 11:43:04 Using n1ql client
2022/08/01 11:43:04 Expected and Actual scan responses are the same
2022/08/01 11:43:04 Using n1ql client
2022/08/01 11:43:04 Expected and Actual scan responses are the same
2022/08/01 11:43:04 Changing config key indexer.settings.max_seckey_size to value 4608
2022/08/01 11:43:04 Changing config key indexer.settings.max_array_seckey_size to value 10240
--- PASS: TestArraySizeIncreaseDecrease2 (82.89s)
=== RUN   TestBufferedScan_BackfillDisabled
2022/08/01 11:43:05 In TestBufferedScan_BackfillDisabled()
2022/08/01 11:43:05 In DropAllSecondaryIndexes()
2022/08/01 11:43:05 Index found:  arr1
2022/08/01 11:43:05 Dropped index arr1
2022/08/01 11:43:05 Index found:  idx3
2022/08/01 11:43:05 Dropped index idx3
2022/08/01 11:43:05 Index found:  arr2
2022/08/01 11:43:06 Dropped index arr2
2022/08/01 11:43:43 Flushed the bucket default, Response body: 
2022/08/01 11:44:16 Changing config key queryport.client.settings.backfillLimit to value 0
2022/08/01 11:44:22 Created the secondary index addressidx. Waiting for it become active
2022/08/01 11:44:22 Index is 15861059173954153804 now active
2022-08-01T11:44:22.950+05:30 [Info] metadata provider version changed 1480 -> 1481
2022-08-01T11:44:22.950+05:30 [Info] switched currmeta from 1480 -> 1481 force false 
2022-08-01T11:44:22.950+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:44:22.950+05:30 [Info] GSIC[default/default-_default-_default-1659334462944239770] started ...
2022-08-01T11:44:22.950+05:30 [Warn] MonitorIndexer: Indexer for default:_default:_default is already being monitored
2022/08/01 11:44:22 Non-backfill file found: /tmp/.ICE-unix
2022/08/01 11:44:22 Non-backfill file found: /tmp/.Test-unix
2022/08/01 11:44:22 Non-backfill file found: /tmp/.X11-unix
2022/08/01 11:44:22 Non-backfill file found: /tmp/.XIM-unix
2022/08/01 11:44:22 Non-backfill file found: /tmp/.font-unix
2022/08/01 11:44:22 Non-backfill file found: /tmp/go-build3038489040
2022/08/01 11:44:22 Non-backfill file found: /tmp/mdbslice
2022/08/01 11:44:22 Non-backfill file found: /tmp/systemd-private-d5c9238ccef94979bab524ded68fa175-apache2.service-KYH3zv
2022/08/01 11:44:22 Non-backfill file found: /tmp/systemd-private-d5c9238ccef94979bab524ded68fa175-systemd-timesyncd.service-qZ82H2
2022/08/01 11:44:22 limit=1,chsize=256; received 1 items; took 2.472257ms
2022-08-01T11:44:22.981+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T11:44:22.981+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T11:44:22.982+05:30 [Info] switched currmeta from 1485 -> 1485 force true 
2022-08-01T11:44:22.984+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T11:44:22.984+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T11:44:22.986+05:30 [Info] switched currmeta from 1481 -> 1481 force true 
2022/08/01 11:44:25 limit=1000,chsize=256; received 1000 items; took 1.255106822s
2022-08-01T11:44:26.210+05:30 [Info] gsiKeyspace::Close Closing default:_default:_default
--- PASS: TestBufferedScan_BackfillDisabled (80.56s)
=== RUN   TestBufferedScan_BackfillEnabled
2022/08/01 11:44:26 In TestBufferedScan_BackfillEnabled()
2022-08-01T11:44:26.210+05:30 [Info] MetadataProvider.CheckIndexerStatus(): adminport=127.0.0.1:9106 connected=true
2022/08/01 11:44:26 Changing config key queryport.client.settings.backfillLimit to value 1
2022-08-01T11:44:26.226+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T11:44:26.226+05:30 [Info] GSIC[default/default-_default-_default-1659334466220715588] started ...
2022-08-01T11:44:26.227+05:30 [Info] New settings received: 
{"indexer.api.enableTestServer":true,"indexer.plasma.backIndex.enableInMemoryCompression":true,"indexer.plasma.backIndex.enablePageBloomFilter":false,"indexer.plasma.mainIndex.enableInMemoryCompression":true,"indexer.settings.allow_large_keys":true,"indexer.settings.bufferPoolBlockSize":16384,"indexer.settings.build.batch_size":5,"indexer.settings.compaction.abort_exceed_interval":false,"indexer.settings.compaction.check_period":30,"indexer.settings.compaction.compaction_mode":"circular","indexer.settings.compaction.days_of_week":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday","indexer.settings.compaction.interval":"00:00,00:00","indexer.settings.compaction.min_frag":30,"indexer.settings.compaction.min_size":524288000,"indexer.settings.compaction.plasma.manual":false,"indexer.settings.compaction.plasma.optional.decrement":5,"indexer.settings.compaction.plasma.optional.min_frag":20,"indexer.settings.compaction.plasma.optional.quota":25,"indexer.settings.corrupt_index_num_backups":1,"indexer.settings.cpuProfDir":"","indexer.settings.cpuProfile":false,"indexer.settings.eTagPeriod":240,"indexer.settings.enable_corrupt_index_backup":false,"indexer.settings.enable_page_bloom_filter":false,"indexer.settings.fast_flush_mode":true,"indexer.settings.gc_percent":100,"indexer.settings.inmemory_snapshot.fdb.interval":200,"indexer.settings.inmemory_snapshot.interval":200,"indexer.settings.inmemory_snapshot.moi.interval":10,"indexer.settings.largeSnapshotThreshold":200,"indexer.settings.log_level":"info","indexer.settings.maxVbQueueLength":0,"indexer.settings.max_array_seckey_size":10240,"indexer.settings.max_cpu_percent":0,"indexer.settings.max_seckey_size":4608,"indexer.settings.max_writer_lock_prob":20,"indexer.settings.memProfDir":"","indexer.settings.memProfile":false,"indexer.settings.memory_quota":1572864000,"indexer.settings.minVbQueueLength":250,"indexer.settings.moi.debug":false,"indexer.settings.moi.persistence_threads":2,"indexer.settings.moi.recovery.max_rollbacks":2,"indexer.settings.moi.recovery_threads":4,"indexer.settings.num_replica":0,"indexer.settings.persisted_snapshot.fdb.interval":5000,"indexer.settings.persisted_snapshot.interval":5000,"indexer.settings.persisted_snapshot.moi.interval":60000,"indexer.settings.persisted_snapshot_init_build.fdb.interval":5000,"indexer.settings.persisted_snapshot_init_build.interval":5000,"indexer.settings.persisted_snapshot_init_build.moi.interval":60000,"indexer.settings.plasma.recovery.max_rollbacks":2,"indexer.settings.rebalance.redistribute_indexes":false,"indexer.settings.recovery.max_rollbacks":5,"indexer.settings.scan_getseqnos_retries":30,"indexer.settings.scan_timeout":0,"indexer.settings.send_buffer_size":1024,"indexer.settings.serverless.indexLimit":200,"indexer.settings.sliceBufSize":800,"indexer.settings.smallSnapshotThreshold":30,"indexer.settings.snapshotListeners":2,"indexer.settings.snapshotRequestWorkers":2,"indexer.settings.statsLogDumpInterval":60,"indexer.settings.storage_mode":"memory_optimized","indexer.settings.storage_mode.disable_upgrade":true,"indexer.settings.thresholds.mem_high":80,"indexer.settings.thresholds.mem_low":60,"indexer.settings.wal_size":4096,"projector.settings.log_level":"info","queryport.client.log_level":"warn","queryport.client.settings.backfillLimit":1,"queryport.client.settings.minPoolSizeWM":1000,"queryport.client.settings.poolOverflow":30,"queryport.client.settings.poolSize":5000,"queryport.client.settings.relConnBatchSize":100}
2022/08/01 11:44:26 limit=1,chsize=256; received 1 items; took 21.06699ms
2022/08/01 11:44:27 limit=1000,chsize=256; received 1000 items; took 9.362307ms
2022/08/01 11:44:39 limit=1000,chsize=256; received 1000 items; took 10.350356422s
Scan error: bufferedscan temp file size exceeded limit 1, 13 - cause: bufferedscan temp file size exceeded limit 1, 13
Scan error: bufferedscan temp file size exceeded limit 1, 13 - cause: bufferedscan temp file size exceeded limit 1, 13
Scan error:  bufferedscan temp file size exceeded limit 1, 13 - cause:  bufferedscan temp file size exceeded limit 1, 13
Scan error:  bufferedscan temp file size exceeded limit 1, 13 - cause:  bufferedscan temp file size exceeded limit 1, 13
2022/08/01 11:44:53 limit=1000,chsize=256; received 644 items; took 13.146307772s
2022/08/01 11:44:53 limit=1000,chsize=256; received 644 items; took 13.146414641s
2022/08/01 11:44:54 Changing config key queryport.client.settings.backfillLimit to value 0
--- PASS: TestBufferedScan_BackfillEnabled (28.56s)
=== RUN   TestMultiScanSetup
2022/08/01 11:44:54 In TestMultiScanSetup()
2022/08/01 11:44:56 Emptying the default bucket
2022/08/01 11:44:59 Flush Enabled on bucket default, responseBody: 
2022/08/01 11:45:36 Flushed the bucket default, Response body: 
2022/08/01 11:45:36 Populating the default bucket
2022/08/01 11:45:47 Created the secondary index index_companyname. Waiting for it become active
2022/08/01 11:45:47 Index is 4023371946289696762 now active
2022/08/01 11:45:52 Created the secondary index index_company. Waiting for it become active
2022/08/01 11:45:52 Index is 15437753287681304198 now active
2022/08/01 11:45:56 Created the secondary index index_company_name_age. Waiting for it become active
2022/08/01 11:45:56 Index is 13101095290581508466 now active
2022/08/01 11:46:01 Created the secondary index index_primary. Waiting for it become active
2022/08/01 11:46:01 Index is 8700495510356278647 now active
2022/08/01 11:46:06 Created the secondary index index_company_name_age_address. Waiting for it become active
2022/08/01 11:46:06 Index is 281661462836954464 now active
2022/08/01 11:46:11 Created the secondary index index_company_name_age_address_friends. Waiting for it become active
2022/08/01 11:46:11 Index is 17742184440342000912 now active
--- PASS: TestMultiScanSetup (76.72s)
=== RUN   TestMultiScanCount
2022/08/01 11:46:11 In TestMultiScanCount()
2022/08/01 11:46:11 

--------- Composite Index with 2 fields ---------
2022/08/01 11:46:11 
--- ScanAllNoFilter ---
2022/08/01 11:46:11 distinct = false
2022/08/01 11:46:11 Using n1ql client
2022/08/01 11:46:11 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:11 
--- ScanAllFilterNil ---
2022/08/01 11:46:11 distinct = false
2022/08/01 11:46:12 Using n1ql client
2022/08/01 11:46:12 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:12 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:12 distinct = false
2022/08/01 11:46:12 Using n1ql client
2022/08/01 11:46:12 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:12 
--- SingleSeek ---
2022/08/01 11:46:12 distinct = false
2022/08/01 11:46:13 Using n1ql client
2022/08/01 11:46:13 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:46:13 
--- MultipleSeek ---
2022/08/01 11:46:13 distinct = false
2022/08/01 11:46:13 Using n1ql client
2022/08/01 11:46:13 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:46:13 
--- SimpleRange ---
2022/08/01 11:46:13 distinct = false
2022/08/01 11:46:13 Using n1ql client
2022/08/01 11:46:13 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 11:46:13 
--- NonOverlappingRanges ---
2022/08/01 11:46:13 distinct = false
2022/08/01 11:46:14 Using n1ql client
2022/08/01 11:46:14 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/08/01 11:46:14 
--- OverlappingRanges ---
2022/08/01 11:46:14 distinct = false
2022/08/01 11:46:14 Using n1ql client
2022/08/01 11:46:14 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/08/01 11:46:14 
--- NonOverlappingFilters ---
2022/08/01 11:46:14 distinct = false
2022/08/01 11:46:14 Using n1ql client
2022/08/01 11:46:14 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/08/01 11:46:14 
--- OverlappingFilters ---
2022/08/01 11:46:14 distinct = false
2022/08/01 11:46:15 Using n1ql client
2022/08/01 11:46:15 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/08/01 11:46:15 
--- BoundaryFilters ---
2022/08/01 11:46:15 distinct = false
2022/08/01 11:46:15 Using n1ql client
2022/08/01 11:46:15 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/08/01 11:46:15 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:46:15 distinct = false
2022/08/01 11:46:16 Using n1ql client
2022/08/01 11:46:16 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/08/01 11:46:16 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:46:16 distinct = false
2022/08/01 11:46:16 Using n1ql client
2022/08/01 11:46:16 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/08/01 11:46:16 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:46:16 distinct = false
2022/08/01 11:46:16 Using n1ql client
2022/08/01 11:46:16 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 11:46:16 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:46:16 distinct = false
2022/08/01 11:46:17 Using n1ql client
2022/08/01 11:46:17 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 11:46:17 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:46:17 distinct = false
2022/08/01 11:46:17 Using n1ql client
2022/08/01 11:46:17 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:17 
--- FiltersWithUnbounded ---
2022/08/01 11:46:17 distinct = false
2022/08/01 11:46:18 Using n1ql client
2022/08/01 11:46:18 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 11:46:18 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:46:18 distinct = false
2022/08/01 11:46:18 Using n1ql client
2022/08/01 11:46:18 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 11:46:18 

--------- Simple Index with 1 field ---------
2022/08/01 11:46:18 
--- SingleIndexSimpleRange ---
2022/08/01 11:46:18 distinct = false
2022/08/01 11:46:18 Using n1ql client
2022/08/01 11:46:18 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 11:46:18 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:46:18 distinct = false
2022/08/01 11:46:18 Using n1ql client
2022/08/01 11:46:18 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/08/01 11:46:18 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:46:18 distinct = false
2022/08/01 11:46:19 Using n1ql client
2022/08/01 11:46:19 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/08/01 11:46:19 

--------- Composite Index with 3 fields ---------
2022/08/01 11:46:19 
--- ScanAllNoFilter ---
2022/08/01 11:46:19 distinct = false
2022/08/01 11:46:19 Using n1ql client
2022/08/01 11:46:19 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:19 
--- ScanAllFilterNil ---
2022/08/01 11:46:19 distinct = false
2022/08/01 11:46:20 Using n1ql client
2022/08/01 11:46:20 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:20 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:20 distinct = false
2022/08/01 11:46:20 Using n1ql client
2022/08/01 11:46:20 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:20 
--- 3FieldsSingleSeek ---
2022/08/01 11:46:20 distinct = false
2022/08/01 11:46:20 Using n1ql client
2022/08/01 11:46:20 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:46:20 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:46:20 distinct = false
2022/08/01 11:46:21 Using n1ql client
2022/08/01 11:46:21 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 11:46:21 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:46:21 distinct = false
2022/08/01 11:46:21 Using n1ql client
2022/08/01 11:46:21 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:46:21 

--------- New scenarios ---------
2022/08/01 11:46:21 
--- CompIndexHighUnbounded1 ---
2022/08/01 11:46:21 
--- Multi Scan 0 ---
2022/08/01 11:46:21 distinct = false
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 11:46:22 Expected and Actual scan responses are the same
2022/08/01 11:46:22 
--- Multi Scan 1 ---
2022/08/01 11:46:22 distinct = false
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 len(scanResults) = 0 MultiScanCount = 0
2022/08/01 11:46:22 Expected and Actual scan responses are the same
2022/08/01 11:46:22 
--- Multi Scan 2 ---
2022/08/01 11:46:22 distinct = false
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 Using n1ql client
2022/08/01 11:46:22 len(scanResults) = 9 MultiScanCount = 9
2022/08/01 11:46:22 Expected and Actual scan responses are the same
2022/08/01 11:46:22 
--- CompIndexHighUnbounded2 ---
2022/08/01 11:46:22 
--- Multi Scan 0 ---
2022/08/01 11:46:22 distinct = false
2022/08/01 11:46:23 Using n1ql client
2022/08/01 11:46:23 Using n1ql client
2022/08/01 11:46:23 len(scanResults) = 4138 MultiScanCount = 4138
2022/08/01 11:46:23 Expected and Actual scan responses are the same
2022/08/01 11:46:23 
--- Multi Scan 1 ---
2022/08/01 11:46:23 distinct = false
2022/08/01 11:46:23 Using n1ql client
2022/08/01 11:46:23 Using n1ql client
2022/08/01 11:46:23 len(scanResults) = 2746 MultiScanCount = 2746
2022/08/01 11:46:23 Expected and Actual scan responses are the same
2022/08/01 11:46:23 
--- Multi Scan 2 ---
2022/08/01 11:46:23 distinct = false
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 len(scanResults) = 4691 MultiScanCount = 4691
2022/08/01 11:46:24 Expected and Actual scan responses are the same
2022/08/01 11:46:24 
--- CompIndexHighUnbounded3 ---
2022/08/01 11:46:24 
--- Multi Scan 0 ---
2022/08/01 11:46:24 distinct = false
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 len(scanResults) = 1329 MultiScanCount = 1329
2022/08/01 11:46:24 Expected and Actual scan responses are the same
2022/08/01 11:46:24 
--- CompIndexHighUnbounded4 ---
2022/08/01 11:46:24 
--- Multi Scan 0 ---
2022/08/01 11:46:24 distinct = false
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 Using n1ql client
2022/08/01 11:46:24 len(scanResults) = 5349 MultiScanCount = 5349
2022/08/01 11:46:24 Expected and Actual scan responses are the same
2022/08/01 11:46:24 
--- CompIndexHighUnbounded5 ---
2022/08/01 11:46:24 
--- Multi Scan 0 ---
2022/08/01 11:46:24 distinct = false
2022/08/01 11:46:25 Using n1ql client
2022/08/01 11:46:25 Using n1ql client
2022/08/01 11:46:25 len(scanResults) = 8210 MultiScanCount = 8210
2022/08/01 11:46:25 Expected and Actual scan responses are the same
2022/08/01 11:46:25 
--- SeekBoundaries ---
2022/08/01 11:46:25 
--- Multi Scan 0 ---
2022/08/01 11:46:25 distinct = false
2022/08/01 11:46:25 Using n1ql client
2022/08/01 11:46:25 Using n1ql client
2022/08/01 11:46:25 len(scanResults) = 175 MultiScanCount = 175
2022/08/01 11:46:25 Expected and Actual scan responses are the same
2022/08/01 11:46:25 
--- Multi Scan 1 ---
2022/08/01 11:46:25 distinct = false
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 len(scanResults) = 1 MultiScanCount = 1
2022/08/01 11:46:26 Expected and Actual scan responses are the same
2022/08/01 11:46:26 
--- Multi Scan 2 ---
2022/08/01 11:46:26 distinct = false
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 len(scanResults) = 555 MultiScanCount = 555
2022/08/01 11:46:26 Expected and Actual scan responses are the same
2022/08/01 11:46:26 
--- Multi Scan 3 ---
2022/08/01 11:46:26 distinct = false
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 Using n1ql client
2022/08/01 11:46:26 len(scanResults) = 872 MultiScanCount = 872
2022/08/01 11:46:26 Expected and Actual scan responses are the same
2022/08/01 11:46:26 
--- Multi Scan 4 ---
2022/08/01 11:46:26 distinct = false
2022/08/01 11:46:27 Using n1ql client
2022/08/01 11:46:27 Using n1ql client
2022/08/01 11:46:27 len(scanResults) = 287 MultiScanCount = 287
2022/08/01 11:46:27 Expected and Actual scan responses are the same
2022/08/01 11:46:27 
--- Multi Scan 5 ---
2022/08/01 11:46:27 distinct = false
2022/08/01 11:46:27 Using n1ql client
2022/08/01 11:46:27 Using n1ql client
2022/08/01 11:46:27 len(scanResults) = 5254 MultiScanCount = 5254
2022/08/01 11:46:27 Expected and Actual scan responses are the same
2022/08/01 11:46:27 
--- Multi Scan 6 ---
2022/08/01 11:46:27 distinct = false
2022/08/01 11:46:27 Using n1ql client
2022/08/01 11:46:28 Using n1ql client
2022/08/01 11:46:28 len(scanResults) = 5566 MultiScanCount = 5566
2022/08/01 11:46:28 Expected and Actual scan responses are the same
2022/08/01 11:46:28 
--- Multi Scan 7 ---
2022/08/01 11:46:28 distinct = false
2022/08/01 11:46:28 Using n1ql client
2022/08/01 11:46:28 Using n1ql client
2022/08/01 11:46:28 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 11:46:28 Expected and Actual scan responses are the same
2022/08/01 11:46:28 

--------- With DISTINCT True ---------
2022/08/01 11:46:28 
--- ScanAllNoFilter ---
2022/08/01 11:46:28 distinct = true
2022/08/01 11:46:28 Using n1ql client
2022/08/01 11:46:28 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:28 
--- ScanAllFilterNil ---
2022/08/01 11:46:28 distinct = true
2022/08/01 11:46:29 Using n1ql client
2022/08/01 11:46:29 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:29 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:29 distinct = true
2022/08/01 11:46:29 Using n1ql client
2022/08/01 11:46:29 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:29 
--- SingleSeek ---
2022/08/01 11:46:29 distinct = true
2022/08/01 11:46:29 Using n1ql client
2022/08/01 11:46:29 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:46:29 
--- MultipleSeek ---
2022/08/01 11:46:29 distinct = true
2022/08/01 11:46:30 Using n1ql client
2022/08/01 11:46:30 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:46:30 
--- SimpleRange ---
2022/08/01 11:46:30 distinct = true
2022/08/01 11:46:30 Using n1ql client
2022/08/01 11:46:30 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 11:46:30 
--- NonOverlappingRanges ---
2022/08/01 11:46:30 distinct = true
2022/08/01 11:46:31 Using n1ql client
2022/08/01 11:46:31 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/08/01 11:46:31 
--- OverlappingRanges ---
2022/08/01 11:46:31 distinct = true
2022/08/01 11:46:31 Using n1ql client
2022/08/01 11:46:31 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/08/01 11:46:31 
--- NonOverlappingFilters ---
2022/08/01 11:46:31 distinct = true
2022/08/01 11:46:31 Using n1ql client
2022/08/01 11:46:31 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/08/01 11:46:31 
--- NonOverlappingFilters2 ---
2022/08/01 11:46:31 distinct = true
2022/08/01 11:46:32 Using n1ql client
2022/08/01 11:46:32 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:46:32 
--- OverlappingFilters ---
2022/08/01 11:46:32 distinct = true
2022/08/01 11:46:32 Using n1ql client
2022/08/01 11:46:32 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/08/01 11:46:32 
--- BoundaryFilters ---
2022/08/01 11:46:32 distinct = true
2022/08/01 11:46:33 Using n1ql client
2022/08/01 11:46:33 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/08/01 11:46:33 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:46:33 distinct = true
2022/08/01 11:46:33 Using n1ql client
2022/08/01 11:46:33 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/08/01 11:46:33 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:46:33 distinct = true
2022/08/01 11:46:33 Using n1ql client
2022/08/01 11:46:33 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/08/01 11:46:33 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:46:33 distinct = false
2022/08/01 11:46:34 Using n1ql client
2022/08/01 11:46:34 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 11:46:34 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:46:34 distinct = false
2022/08/01 11:46:34 Using n1ql client
2022/08/01 11:46:34 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 11:46:34 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:46:34 distinct = false
2022/08/01 11:46:34 Using n1ql client
2022/08/01 11:46:34 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:46:34 
--- FiltersWithUnbounded ---
2022/08/01 11:46:34 distinct = false
2022/08/01 11:46:35 Using n1ql client
2022/08/01 11:46:35 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 11:46:35 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:46:35 distinct = false
2022/08/01 11:46:35 Using n1ql client
2022/08/01 11:46:35 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 11:46:35 

--------- Simple Index with 1 field ---------
2022/08/01 11:46:35 
--- SingleIndexSimpleRange ---
2022/08/01 11:46:35 distinct = true
2022/08/01 11:46:35 Using n1ql client
2022/08/01 11:46:35 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 11:46:35 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:46:35 distinct = true
2022/08/01 11:46:36 Using n1ql client
2022/08/01 11:46:36 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/08/01 11:46:36 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:46:36 distinct = true
2022/08/01 11:46:36 Using n1ql client
2022/08/01 11:46:36 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/08/01 11:46:36 

--------- Composite Index with 3 fields ---------
2022/08/01 11:46:36 
--- ScanAllNoFilter ---
2022/08/01 11:46:36 distinct = true
2022/08/01 11:46:37 Using n1ql client
2022/08/01 11:46:37 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:37 
--- ScanAllFilterNil ---
2022/08/01 11:46:37 distinct = true
2022/08/01 11:46:37 Using n1ql client
2022/08/01 11:46:37 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:37 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:37 distinct = true
2022/08/01 11:46:37 Using n1ql client
2022/08/01 11:46:37 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:46:37 
--- 3FieldsSingleSeek ---
2022/08/01 11:46:37 distinct = true
2022/08/01 11:46:38 Using n1ql client
2022/08/01 11:46:38 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:46:38 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:46:38 distinct = true
2022/08/01 11:46:38 Using n1ql client
2022/08/01 11:46:38 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 11:46:38 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:46:38 distinct = true
2022/08/01 11:46:39 Using n1ql client
2022/08/01 11:46:39 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanCount (27.53s)
=== RUN   TestMultiScanScenarios
2022/08/01 11:46:39 In TestMultiScanScenarios()
2022/08/01 11:46:39 

--------- Composite Index with 2 fields ---------
2022/08/01 11:46:39 
--- ScanAllNoFilter ---
2022/08/01 11:46:39 distinct = false
2022/08/01 11:46:39 Using n1ql client
2022/08/01 11:46:39 Expected and Actual scan responses are the same
2022/08/01 11:46:39 
--- ScanAllFilterNil ---
2022/08/01 11:46:39 distinct = false
2022/08/01 11:46:39 Using n1ql client
2022/08/01 11:46:39 Expected and Actual scan responses are the same
2022/08/01 11:46:39 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:39 distinct = false
2022/08/01 11:46:40 Using n1ql client
2022/08/01 11:46:40 Expected and Actual scan responses are the same
2022/08/01 11:46:40 
--- SingleSeek ---
2022/08/01 11:46:40 distinct = false
2022/08/01 11:46:40 Using n1ql client
2022/08/01 11:46:40 Expected and Actual scan responses are the same
2022/08/01 11:46:40 
--- MultipleSeek ---
2022/08/01 11:46:40 distinct = false
2022/08/01 11:46:41 Using n1ql client
2022/08/01 11:46:41 Expected and Actual scan responses are the same
2022/08/01 11:46:41 
--- SimpleRange ---
2022/08/01 11:46:41 distinct = false
2022/08/01 11:46:41 Using n1ql client
2022/08/01 11:46:41 Expected and Actual scan responses are the same
2022/08/01 11:46:41 
--- NonOverlappingRanges ---
2022/08/01 11:46:41 distinct = false
2022/08/01 11:46:41 Using n1ql client
2022/08/01 11:46:41 Expected and Actual scan responses are the same
2022/08/01 11:46:41 
--- OverlappingRanges ---
2022/08/01 11:46:41 distinct = false
2022/08/01 11:46:42 Using n1ql client
2022/08/01 11:46:42 Expected and Actual scan responses are the same
2022/08/01 11:46:42 
--- NonOverlappingFilters ---
2022/08/01 11:46:42 distinct = false
2022/08/01 11:46:42 Using n1ql client
2022/08/01 11:46:42 Expected and Actual scan responses are the same
2022/08/01 11:46:42 
--- OverlappingFilters ---
2022/08/01 11:46:42 distinct = false
2022/08/01 11:46:43 Using n1ql client
2022/08/01 11:46:43 Expected and Actual scan responses are the same
2022/08/01 11:46:43 
--- BoundaryFilters ---
2022/08/01 11:46:43 distinct = false
2022/08/01 11:46:43 Using n1ql client
2022/08/01 11:46:43 Expected and Actual scan responses are the same
2022/08/01 11:46:43 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:46:43 distinct = false
2022/08/01 11:46:43 Using n1ql client
2022/08/01 11:46:43 Expected and Actual scan responses are the same
2022/08/01 11:46:43 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:46:43 distinct = false
2022/08/01 11:46:44 Using n1ql client
2022/08/01 11:46:44 Expected and Actual scan responses are the same
2022/08/01 11:46:44 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:46:44 distinct = false
2022/08/01 11:46:44 Using n1ql client
2022/08/01 11:46:44 Expected and Actual scan responses are the same
2022/08/01 11:46:44 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:46:44 distinct = false
2022/08/01 11:46:44 Using n1ql client
2022/08/01 11:46:44 Expected and Actual scan responses are the same
2022/08/01 11:46:44 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:46:44 distinct = false
2022/08/01 11:46:45 Using n1ql client
2022/08/01 11:46:45 Expected and Actual scan responses are the same
2022/08/01 11:46:45 
--- FiltersWithUnbounded ---
2022/08/01 11:46:45 distinct = false
2022/08/01 11:46:45 Using n1ql client
2022/08/01 11:46:45 Expected and Actual scan responses are the same
2022/08/01 11:46:45 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:46:45 distinct = false
2022/08/01 11:46:46 Using n1ql client
2022/08/01 11:46:46 Expected and Actual scan responses are the same
2022/08/01 11:46:46 

--------- Simple Index with 1 field ---------
2022/08/01 11:46:46 
--- SingleIndexSimpleRange ---
2022/08/01 11:46:46 distinct = false
2022/08/01 11:46:46 Using n1ql client
2022/08/01 11:46:46 Expected and Actual scan responses are the same
2022/08/01 11:46:46 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:46:46 distinct = false
2022/08/01 11:46:46 Using n1ql client
2022/08/01 11:46:46 Expected and Actual scan responses are the same
2022/08/01 11:46:46 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:46:46 distinct = false
2022/08/01 11:46:47 Using n1ql client
2022/08/01 11:46:47 Expected and Actual scan responses are the same
2022/08/01 11:46:47 

--------- Composite Index with 3 fields ---------
2022/08/01 11:46:47 
--- ScanAllNoFilter ---
2022/08/01 11:46:47 distinct = false
2022/08/01 11:46:47 Using n1ql client
2022/08/01 11:46:47 Expected and Actual scan responses are the same
2022/08/01 11:46:47 
--- ScanAllFilterNil ---
2022/08/01 11:46:47 distinct = false
2022/08/01 11:46:48 Using n1ql client
2022/08/01 11:46:48 Expected and Actual scan responses are the same
2022/08/01 11:46:48 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:48 distinct = false
2022/08/01 11:46:48 Using n1ql client
2022/08/01 11:46:48 Expected and Actual scan responses are the same
2022/08/01 11:46:48 
--- 3FieldsSingleSeek ---
2022/08/01 11:46:48 distinct = false
2022/08/01 11:46:49 Using n1ql client
2022/08/01 11:46:49 Expected and Actual scan responses are the same
2022/08/01 11:46:49 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:46:49 distinct = false
2022/08/01 11:46:49 Using n1ql client
2022/08/01 11:46:49 Expected and Actual scan responses are the same
2022/08/01 11:46:49 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:46:49 distinct = false
2022/08/01 11:46:49 Using n1ql client
2022/08/01 11:46:49 Expected and Actual scan responses are the same
2022/08/01 11:46:49 

--------- New scenarios ---------
2022/08/01 11:46:49 
--- CompIndexHighUnbounded1 ---
2022/08/01 11:46:49 
--- Multi Scan 0 ---
2022/08/01 11:46:49 distinct = false
2022/08/01 11:46:50 Using n1ql client
2022/08/01 11:46:50 Expected and Actual scan responses are the same
2022/08/01 11:46:50 
--- Multi Scan 1 ---
2022/08/01 11:46:50 distinct = false
2022/08/01 11:46:50 Using n1ql client
2022/08/01 11:46:50 Expected and Actual scan responses are the same
2022/08/01 11:46:50 
--- Multi Scan 2 ---
2022/08/01 11:46:50 distinct = false
2022/08/01 11:46:50 Using n1ql client
2022/08/01 11:46:50 Expected and Actual scan responses are the same
2022/08/01 11:46:50 
--- CompIndexHighUnbounded2 ---
2022/08/01 11:46:50 
--- Multi Scan 0 ---
2022/08/01 11:46:50 distinct = false
2022/08/01 11:46:51 Using n1ql client
2022/08/01 11:46:51 Expected and Actual scan responses are the same
2022/08/01 11:46:51 
--- Multi Scan 1 ---
2022/08/01 11:46:51 distinct = false
2022/08/01 11:46:51 Using n1ql client
2022/08/01 11:46:51 Expected and Actual scan responses are the same
2022/08/01 11:46:51 
--- Multi Scan 2 ---
2022/08/01 11:46:51 distinct = false
2022/08/01 11:46:52 Using n1ql client
2022/08/01 11:46:52 Expected and Actual scan responses are the same
2022/08/01 11:46:52 
--- CompIndexHighUnbounded3 ---
2022/08/01 11:46:52 
--- Multi Scan 0 ---
2022/08/01 11:46:52 distinct = false
2022/08/01 11:46:52 Using n1ql client
2022/08/01 11:46:52 Expected and Actual scan responses are the same
2022/08/01 11:46:52 
--- CompIndexHighUnbounded4 ---
2022/08/01 11:46:52 
--- Multi Scan 0 ---
2022/08/01 11:46:52 distinct = false
2022/08/01 11:46:52 Using n1ql client
2022/08/01 11:46:52 Expected and Actual scan responses are the same
2022/08/01 11:46:52 
--- CompIndexHighUnbounded5 ---
2022/08/01 11:46:52 
--- Multi Scan 0 ---
2022/08/01 11:46:52 distinct = false
2022/08/01 11:46:53 Using n1ql client
2022/08/01 11:46:53 Expected and Actual scan responses are the same
2022/08/01 11:46:53 
--- SeekBoundaries ---
2022/08/01 11:46:53 
--- Multi Scan 0 ---
2022/08/01 11:46:53 distinct = false
2022/08/01 11:46:53 Using n1ql client
2022/08/01 11:46:53 Expected and Actual scan responses are the same
2022/08/01 11:46:53 
--- Multi Scan 1 ---
2022/08/01 11:46:53 distinct = false
2022/08/01 11:46:54 Using n1ql client
2022/08/01 11:46:54 Expected and Actual scan responses are the same
2022/08/01 11:46:54 
--- Multi Scan 2 ---
2022/08/01 11:46:54 distinct = false
2022/08/01 11:46:54 Using n1ql client
2022/08/01 11:46:54 Expected and Actual scan responses are the same
2022/08/01 11:46:54 
--- Multi Scan 3 ---
2022/08/01 11:46:54 distinct = false
2022/08/01 11:46:54 Using n1ql client
2022/08/01 11:46:54 Expected and Actual scan responses are the same
2022/08/01 11:46:54 
--- Multi Scan 4 ---
2022/08/01 11:46:54 distinct = false
2022/08/01 11:46:55 Using n1ql client
2022/08/01 11:46:55 Expected and Actual scan responses are the same
2022/08/01 11:46:55 
--- Multi Scan 5 ---
2022/08/01 11:46:55 distinct = false
2022/08/01 11:46:55 Using n1ql client
2022/08/01 11:46:55 Expected and Actual scan responses are the same
2022/08/01 11:46:55 
--- Multi Scan 6 ---
2022/08/01 11:46:55 distinct = false
2022/08/01 11:46:55 Using n1ql client
2022/08/01 11:46:56 Expected and Actual scan responses are the same
2022/08/01 11:46:56 
--- Multi Scan 7 ---
2022/08/01 11:46:56 distinct = false
2022/08/01 11:46:56 Using n1ql client
2022/08/01 11:46:56 Expected and Actual scan responses are the same
2022/08/01 11:46:56 
--- PrefixSortVariations ---
2022/08/01 11:46:56 
--- Multi Scan 0 ---
2022/08/01 11:46:56 distinct = false
2022/08/01 11:46:56 Using n1ql client
2022/08/01 11:46:56 Expected and Actual scan responses are the same
2022/08/01 11:46:56 
--- Multi Scan 1 ---
2022/08/01 11:46:56 distinct = false
2022/08/01 11:46:57 Using n1ql client
2022/08/01 11:46:57 Expected and Actual scan responses are the same
--- PASS: TestMultiScanScenarios (18.20s)
=== RUN   TestMultiScanOffset
2022/08/01 11:46:57 In TestMultiScanOffset()
2022/08/01 11:46:57 

--------- Composite Index with 2 fields ---------
2022/08/01 11:46:57 
--- ScanAllNoFilter ---
2022/08/01 11:46:57 distinct = false
2022/08/01 11:46:57 Using n1ql client
2022/08/01 11:46:57 
--- ScanAllFilterNil ---
2022/08/01 11:46:57 distinct = false
2022/08/01 11:46:57 Using n1ql client
2022/08/01 11:46:57 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:46:57 distinct = false
2022/08/01 11:46:58 Using n1ql client
2022/08/01 11:46:58 
--- SingleSeek ---
2022/08/01 11:46:58 distinct = false
2022/08/01 11:46:58 Using n1ql client
2022/08/01 11:46:58 
--- MultipleSeek ---
2022/08/01 11:46:58 distinct = false
2022/08/01 11:46:59 Using n1ql client
2022/08/01 11:46:59 
--- SimpleRange ---
2022/08/01 11:46:59 distinct = false
2022/08/01 11:46:59 Using n1ql client
2022/08/01 11:46:59 
--- NonOverlappingRanges ---
2022/08/01 11:46:59 distinct = false
2022/08/01 11:46:59 Using n1ql client
2022/08/01 11:46:59 
--- OverlappingRanges ---
2022/08/01 11:46:59 distinct = false
2022/08/01 11:47:00 Using n1ql client
2022/08/01 11:47:00 
--- NonOverlappingFilters ---
2022/08/01 11:47:00 distinct = false
2022/08/01 11:47:00 Using n1ql client
2022/08/01 11:47:00 
--- OverlappingFilters ---
2022/08/01 11:47:00 distinct = false
2022/08/01 11:47:00 Using n1ql client
2022/08/01 11:47:00 
--- BoundaryFilters ---
2022/08/01 11:47:00 distinct = false
2022/08/01 11:47:01 Using n1ql client
2022/08/01 11:47:01 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:47:01 distinct = false
2022/08/01 11:47:02 Using n1ql client
2022/08/01 11:47:02 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:47:02 distinct = false
2022/08/01 11:47:02 Using n1ql client
2022/08/01 11:47:02 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:47:02 distinct = false
2022/08/01 11:47:03 Using n1ql client
2022/08/01 11:47:03 Expected and Actual scan responses are the same
2022/08/01 11:47:03 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:47:03 distinct = false
2022/08/01 11:47:03 Using n1ql client
2022/08/01 11:47:03 Expected and Actual scan responses are the same
2022/08/01 11:47:03 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:47:03 distinct = false
2022/08/01 11:47:03 Using n1ql client
2022/08/01 11:47:03 Expected and Actual scan responses are the same
2022/08/01 11:47:03 
--- FiltersWithUnbounded ---
2022/08/01 11:47:03 distinct = false
2022/08/01 11:47:04 Using n1ql client
2022/08/01 11:47:04 Expected and Actual scan responses are the same
2022/08/01 11:47:04 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:47:04 distinct = false
2022/08/01 11:47:04 Using n1ql client
2022/08/01 11:47:04 Expected and Actual scan responses are the same
2022/08/01 11:47:04 

--------- Simple Index with 1 field ---------
2022/08/01 11:47:04 
--- SingleIndexSimpleRange ---
2022/08/01 11:47:04 distinct = false
2022/08/01 11:47:05 Using n1ql client
2022/08/01 11:47:05 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:47:05 distinct = false
2022/08/01 11:47:05 Using n1ql client
2022/08/01 11:47:05 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:47:05 distinct = false
2022/08/01 11:47:05 Using n1ql client
2022/08/01 11:47:05 

--------- Composite Index with 3 fields ---------
2022/08/01 11:47:05 
--- ScanAllNoFilter ---
2022/08/01 11:47:05 distinct = false
2022/08/01 11:47:06 Using n1ql client
2022/08/01 11:47:06 
--- ScanAllFilterNil ---
2022/08/01 11:47:06 distinct = false
2022/08/01 11:47:06 Using n1ql client
2022/08/01 11:47:06 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:47:06 distinct = false
2022/08/01 11:47:06 Using n1ql client
2022/08/01 11:47:07 
--- 3FieldsSingleSeek ---
2022/08/01 11:47:07 distinct = false
2022/08/01 11:47:07 Using n1ql client
2022/08/01 11:47:07 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:47:07 distinct = false
2022/08/01 11:47:07 Using n1ql client
2022/08/01 11:47:07 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:47:07 distinct = false
2022/08/01 11:47:08 Using n1ql client
--- PASS: TestMultiScanOffset (11.03s)
=== RUN   TestMultiScanPrimaryIndex
2022/08/01 11:47:08 In TestMultiScanPrimaryIndex()
2022/08/01 11:47:08 
--- PrimaryRange ---
2022/08/01 11:47:08 Using n1ql client
2022/08/01 11:47:08 Expected and Actual scan responses are the same
2022/08/01 11:47:08 
--- PrimaryScanAllNoFilter ---
2022/08/01 11:47:08 Using n1ql client
2022/08/01 11:47:08 Expected and Actual scan responses are the same
--- PASS: TestMultiScanPrimaryIndex (0.07s)
=== RUN   TestMultiScanDistinct
2022/08/01 11:47:08 In TestScansDistinct()
2022/08/01 11:47:08 

--------- Composite Index with 2 fields ---------
2022/08/01 11:47:08 
--- ScanAllNoFilter ---
2022/08/01 11:47:08 distinct = true
2022/08/01 11:47:08 Using n1ql client
2022/08/01 11:47:08 Expected and Actual scan responses are the same
2022/08/01 11:47:08 
--- ScanAllFilterNil ---
2022/08/01 11:47:08 distinct = true
2022/08/01 11:47:09 Using n1ql client
2022/08/01 11:47:09 Expected and Actual scan responses are the same
2022/08/01 11:47:09 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:47:09 distinct = true
2022/08/01 11:47:09 Using n1ql client
2022/08/01 11:47:09 Expected and Actual scan responses are the same
2022/08/01 11:47:09 
--- SingleSeek ---
2022/08/01 11:47:09 distinct = true
2022/08/01 11:47:09 Using n1ql client
2022/08/01 11:47:09 Expected and Actual scan responses are the same
2022/08/01 11:47:09 
--- MultipleSeek ---
2022/08/01 11:47:09 distinct = true
2022/08/01 11:47:10 Using n1ql client
2022/08/01 11:47:10 Expected and Actual scan responses are the same
2022/08/01 11:47:10 
--- SimpleRange ---
2022/08/01 11:47:10 distinct = true
2022/08/01 11:47:10 Using n1ql client
2022/08/01 11:47:10 Expected and Actual scan responses are the same
2022/08/01 11:47:10 
--- NonOverlappingRanges ---
2022/08/01 11:47:10 distinct = true
2022/08/01 11:47:11 Using n1ql client
2022/08/01 11:47:11 Expected and Actual scan responses are the same
2022/08/01 11:47:11 
--- OverlappingRanges ---
2022/08/01 11:47:11 distinct = true
2022/08/01 11:47:11 Using n1ql client
2022/08/01 11:47:11 Expected and Actual scan responses are the same
2022/08/01 11:47:11 
--- NonOverlappingFilters ---
2022/08/01 11:47:11 distinct = true
2022/08/01 11:47:11 Using n1ql client
2022/08/01 11:47:11 Expected and Actual scan responses are the same
2022/08/01 11:47:11 
--- OverlappingFilters ---
2022/08/01 11:47:11 distinct = true
2022/08/01 11:47:12 Using n1ql client
2022/08/01 11:47:12 Expected and Actual scan responses are the same
2022/08/01 11:47:12 
--- BoundaryFilters ---
2022/08/01 11:47:12 distinct = true
2022/08/01 11:47:12 Using n1ql client
2022/08/01 11:47:12 Expected and Actual scan responses are the same
2022/08/01 11:47:12 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:47:12 distinct = true
2022/08/01 11:47:13 Using n1ql client
2022/08/01 11:47:13 Expected and Actual scan responses are the same
2022/08/01 11:47:13 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:47:13 distinct = true
2022/08/01 11:47:13 Using n1ql client
2022/08/01 11:47:13 Expected and Actual scan responses are the same
2022/08/01 11:47:13 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:47:13 distinct = false
2022/08/01 11:47:13 Using n1ql client
2022/08/01 11:47:13 Expected and Actual scan responses are the same
2022/08/01 11:47:13 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:47:13 distinct = false
2022/08/01 11:47:14 Using n1ql client
2022/08/01 11:47:14 Expected and Actual scan responses are the same
2022/08/01 11:47:14 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:47:14 distinct = false
2022/08/01 11:47:14 Using n1ql client
2022/08/01 11:47:14 Expected and Actual scan responses are the same
2022/08/01 11:47:14 
--- FiltersWithUnbounded ---
2022/08/01 11:47:14 distinct = false
2022/08/01 11:47:14 Using n1ql client
2022/08/01 11:47:15 Expected and Actual scan responses are the same
2022/08/01 11:47:15 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:47:15 distinct = false
2022/08/01 11:47:15 Using n1ql client
2022/08/01 11:47:15 Expected and Actual scan responses are the same
2022/08/01 11:47:15 

--------- Simple Index with 1 field ---------
2022/08/01 11:47:15 
--- SingleIndexSimpleRange ---
2022/08/01 11:47:15 distinct = true
2022/08/01 11:47:15 Using n1ql client
2022/08/01 11:47:15 Expected and Actual scan responses are the same
2022/08/01 11:47:15 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:47:15 distinct = true
2022/08/01 11:47:16 Using n1ql client
2022/08/01 11:47:16 Expected and Actual scan responses are the same
2022/08/01 11:47:16 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:47:16 distinct = true
2022/08/01 11:47:16 Using n1ql client
2022/08/01 11:47:16 Expected and Actual scan responses are the same
2022/08/01 11:47:16 

--------- Composite Index with 3 fields ---------
2022/08/01 11:47:16 
--- ScanAllNoFilter ---
2022/08/01 11:47:16 distinct = true
2022/08/01 11:47:16 Using n1ql client
2022/08/01 11:47:16 Expected and Actual scan responses are the same
2022/08/01 11:47:16 
--- ScanAllFilterNil ---
2022/08/01 11:47:16 distinct = true
2022/08/01 11:47:17 Using n1ql client
2022/08/01 11:47:17 Expected and Actual scan responses are the same
2022/08/01 11:47:17 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:47:17 distinct = true
2022/08/01 11:47:17 Using n1ql client
2022/08/01 11:47:18 Expected and Actual scan responses are the same
2022/08/01 11:47:18 
--- 3FieldsSingleSeek ---
2022/08/01 11:47:18 distinct = true
2022/08/01 11:47:18 Using n1ql client
2022/08/01 11:47:18 Expected and Actual scan responses are the same
2022/08/01 11:47:18 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:47:18 distinct = true
2022/08/01 11:47:18 Using n1ql client
2022/08/01 11:47:18 Expected and Actual scan responses are the same
2022/08/01 11:47:18 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:47:18 distinct = true
2022/08/01 11:47:19 Using n1ql client
2022/08/01 11:47:19 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDistinct (10.87s)
=== RUN   TestMultiScanProjection
2022/08/01 11:47:19 In TestMultiScanProjection()
2022/08/01 11:47:19 

--------- Composite Index with 2 fields ---------
2022/08/01 11:47:19 
--- ScanAllNoFilter ---
2022/08/01 11:47:19 distinct = true
2022/08/01 11:47:19 Using n1ql client
2022/08/01 11:47:19 Expected and Actual scan responses are the same
2022/08/01 11:47:19 
--- ScanAllFilterNil ---
2022/08/01 11:47:19 distinct = true
2022/08/01 11:47:19 Using n1ql client
2022/08/01 11:47:20 Expected and Actual scan responses are the same
2022/08/01 11:47:20 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:47:20 distinct = true
2022/08/01 11:47:20 Using n1ql client
2022/08/01 11:47:20 Expected and Actual scan responses are the same
2022/08/01 11:47:20 
--- SingleSeek ---
2022/08/01 11:47:20 distinct = true
2022/08/01 11:47:20 Using n1ql client
2022/08/01 11:47:20 Expected and Actual scan responses are the same
2022/08/01 11:47:20 
--- MultipleSeek ---
2022/08/01 11:47:20 distinct = true
2022/08/01 11:47:21 Using n1ql client
2022/08/01 11:47:21 Expected and Actual scan responses are the same
2022/08/01 11:47:21 
--- SimpleRange ---
2022/08/01 11:47:21 distinct = true
2022/08/01 11:47:21 Using n1ql client
2022/08/01 11:47:21 Expected and Actual scan responses are the same
2022/08/01 11:47:21 
--- NonOverlappingRanges ---
2022/08/01 11:47:21 distinct = true
2022/08/01 11:47:21 Using n1ql client
2022/08/01 11:47:22 Expected and Actual scan responses are the same
2022/08/01 11:47:22 
--- OverlappingRanges ---
2022/08/01 11:47:22 distinct = true
2022/08/01 11:47:22 Using n1ql client
2022/08/01 11:47:22 Expected and Actual scan responses are the same
2022/08/01 11:47:22 
--- NonOverlappingFilters ---
2022/08/01 11:47:22 distinct = true
2022/08/01 11:47:22 Using n1ql client
2022/08/01 11:47:22 Expected and Actual scan responses are the same
2022/08/01 11:47:22 
--- OverlappingFilters ---
2022/08/01 11:47:22 distinct = true
2022/08/01 11:47:23 Using n1ql client
2022/08/01 11:47:23 Expected and Actual scan responses are the same
2022/08/01 11:47:23 
--- BoundaryFilters ---
2022/08/01 11:47:23 distinct = true
2022/08/01 11:47:23 Using n1ql client
2022/08/01 11:47:23 Expected and Actual scan responses are the same
2022/08/01 11:47:23 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:47:23 distinct = true
2022/08/01 11:47:23 Using n1ql client
2022/08/01 11:47:23 Expected and Actual scan responses are the same
2022/08/01 11:47:23 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:47:23 distinct = true
2022/08/01 11:47:24 Using n1ql client
2022/08/01 11:47:24 Expected and Actual scan responses are the same
2022/08/01 11:47:24 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:47:24 distinct = false
2022/08/01 11:47:24 Using n1ql client
2022/08/01 11:47:24 Expected and Actual scan responses are the same
2022/08/01 11:47:24 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:47:24 distinct = false
2022/08/01 11:47:25 Using n1ql client
2022/08/01 11:47:25 Expected and Actual scan responses are the same
2022/08/01 11:47:25 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:47:25 distinct = false
2022/08/01 11:47:25 Using n1ql client
2022/08/01 11:47:25 Expected and Actual scan responses are the same
2022/08/01 11:47:25 
--- FiltersWithUnbounded ---
2022/08/01 11:47:25 distinct = false
2022/08/01 11:47:25 Using n1ql client
2022/08/01 11:47:25 Expected and Actual scan responses are the same
2022/08/01 11:47:25 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:47:25 distinct = false
2022/08/01 11:47:26 Using n1ql client
2022/08/01 11:47:26 Expected and Actual scan responses are the same
2022/08/01 11:47:26 

--------- Simple Index with 1 field ---------
2022/08/01 11:47:26 
--- SingleIndexSimpleRange ---
2022/08/01 11:47:26 distinct = true
2022/08/01 11:47:26 Using n1ql client
2022/08/01 11:47:26 Expected and Actual scan responses are the same
2022/08/01 11:47:26 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:47:26 distinct = true
2022/08/01 11:47:27 Using n1ql client
2022/08/01 11:47:27 Expected and Actual scan responses are the same
2022/08/01 11:47:27 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:47:27 distinct = true
2022/08/01 11:47:27 Using n1ql client
2022/08/01 11:47:27 Expected and Actual scan responses are the same
2022/08/01 11:47:27 

--------- Composite Index with 3 fields ---------
2022/08/01 11:47:27 
--- ScanAllNoFilter ---
2022/08/01 11:47:27 distinct = true
2022/08/01 11:47:27 Using n1ql client
2022/08/01 11:47:27 Expected and Actual scan responses are the same
2022/08/01 11:47:27 
--- ScanAllFilterNil ---
2022/08/01 11:47:27 distinct = true
2022/08/01 11:47:28 Using n1ql client
2022/08/01 11:47:28 Expected and Actual scan responses are the same
2022/08/01 11:47:28 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:47:28 distinct = true
2022/08/01 11:47:28 Using n1ql client
2022/08/01 11:47:28 Expected and Actual scan responses are the same
2022/08/01 11:47:28 
--- 3FieldsSingleSeek ---
2022/08/01 11:47:28 distinct = true
2022/08/01 11:47:29 Using n1ql client
2022/08/01 11:47:29 Expected and Actual scan responses are the same
2022/08/01 11:47:29 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:47:29 distinct = true
2022/08/01 11:47:29 Using n1ql client
2022/08/01 11:47:29 Expected and Actual scan responses are the same
2022/08/01 11:47:29 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:47:29 distinct = true
2022/08/01 11:47:30 Using n1ql client
2022/08/01 11:47:30 Expected and Actual scan responses are the same
2022/08/01 11:47:30 indexes are: index_company, index_companyname, index_company_name_age, index_company_name_age_address, index_company_name_age_address_friends
2022/08/01 11:47:30 fields are: [company], [company name], [company name age], [company name age address], [company name age address friends]
2022/08/01 11:47:30 
--- SingleIndexProjectFirst ---
2022/08/01 11:47:30 distinct = true
2022/08/01 11:47:30 Using n1ql client
2022/08/01 11:47:30 Expected and Actual scan responses are the same
2022/08/01 11:47:30 
--- 2FieldIndexProjectSecond ---
2022/08/01 11:47:30 distinct = true
2022/08/01 11:47:30 Using n1ql client
2022/08/01 11:47:30 Expected and Actual scan responses are the same
2022/08/01 11:47:30 
--- 3FieldIndexProjectThird ---
2022/08/01 11:47:30 distinct = true
2022/08/01 11:47:31 Using n1ql client
2022/08/01 11:47:31 Expected and Actual scan responses are the same
2022/08/01 11:47:31 
--- 4FieldIndexProjectFourth ---
2022/08/01 11:47:31 distinct = true
2022/08/01 11:47:32 Using n1ql client
2022/08/01 11:47:32 Expected and Actual scan responses are the same
2022/08/01 11:47:32 
--- 5FieldIndexProjectFifth ---
2022/08/01 11:47:32 distinct = true
2022/08/01 11:47:35 Using n1ql client
2022/08/01 11:47:35 Expected and Actual scan responses are the same
2022/08/01 11:47:35 
--- 2FieldIndexProjectTwo ---
2022/08/01 11:47:35 distinct = true
2022/08/01 11:47:36 Using n1ql client
2022/08/01 11:47:36 Expected and Actual scan responses are the same
2022/08/01 11:47:36 
--- 3FieldIndexProjectTwo ---
2022/08/01 11:47:36 distinct = true
2022/08/01 11:47:36 Using n1ql client
2022/08/01 11:47:36 Expected and Actual scan responses are the same
2022/08/01 11:47:36 
--- 3FieldIndexProjectTwo ---
2022/08/01 11:47:36 distinct = true
2022/08/01 11:47:37 Using n1ql client
2022/08/01 11:47:37 Expected and Actual scan responses are the same
2022/08/01 11:47:37 
--- 3FieldIndexProjectTwo ---
2022/08/01 11:47:37 distinct = true
2022/08/01 11:47:37 Using n1ql client
2022/08/01 11:47:37 Expected and Actual scan responses are the same
2022/08/01 11:47:37 
--- 4FieldIndexProjectTwo ---
2022/08/01 11:47:37 distinct = true
2022/08/01 11:47:39 Using n1ql client
2022/08/01 11:47:39 Expected and Actual scan responses are the same
2022/08/01 11:47:39 
--- 4FieldIndexProjectTwo ---
2022/08/01 11:47:39 distinct = true
2022/08/01 11:47:40 Using n1ql client
2022/08/01 11:47:40 Expected and Actual scan responses are the same
2022/08/01 11:47:40 
--- 4FieldIndexProjectTwo ---
2022/08/01 11:47:40 distinct = true
2022/08/01 11:47:42 Using n1ql client
2022/08/01 11:47:42 Expected and Actual scan responses are the same
2022/08/01 11:47:42 
--- 4FieldIndexProjectTwo ---
2022/08/01 11:47:42 distinct = true
2022/08/01 11:47:43 Using n1ql client
2022/08/01 11:47:43 Expected and Actual scan responses are the same
2022/08/01 11:47:43 
--- 4FieldIndexProjectTwo ---
2022/08/01 11:47:43 distinct = true
2022/08/01 11:47:45 Using n1ql client
2022/08/01 11:47:45 Expected and Actual scan responses are the same
2022/08/01 11:47:45 
--- 5FieldIndexProjectTwo ---
2022/08/01 11:47:45 distinct = true
2022/08/01 11:47:48 Using n1ql client
2022/08/01 11:47:48 Expected and Actual scan responses are the same
2022/08/01 11:47:48 
--- 5FieldIndexProjectTwo ---
2022/08/01 11:47:48 distinct = true
2022/08/01 11:47:52 Using n1ql client
2022/08/01 11:47:52 Expected and Actual scan responses are the same
2022/08/01 11:47:52 
--- 5FieldIndexProjectTwo ---
2022/08/01 11:47:52 distinct = true
2022/08/01 11:47:55 Using n1ql client
2022/08/01 11:47:55 Expected and Actual scan responses are the same
2022/08/01 11:47:55 
--- 5FieldIndexProjectTwo ---
2022/08/01 11:47:55 distinct = true
2022/08/01 11:47:58 Using n1ql client
2022/08/01 11:47:58 Expected and Actual scan responses are the same
2022/08/01 11:47:58 
--- 5FieldIndexProjectThree ---
2022/08/01 11:47:58 distinct = true
2022/08/01 11:48:02 Using n1ql client
2022/08/01 11:48:02 Expected and Actual scan responses are the same
2022/08/01 11:48:02 
--- 5FieldIndexProjectFour ---
2022/08/01 11:48:02 distinct = true
2022/08/01 11:48:06 Using n1ql client
2022/08/01 11:48:06 Expected and Actual scan responses are the same
2022/08/01 11:48:06 
--- 5FieldIndexProjectAll ---
2022/08/01 11:48:06 distinct = true
2022/08/01 11:48:09 Using n1ql client
2022/08/01 11:48:09 Expected and Actual scan responses are the same
2022/08/01 11:48:09 
--- 5FieldIndexProjectAlternate ---
2022/08/01 11:48:09 distinct = true
2022/08/01 11:48:12 Using n1ql client
2022/08/01 11:48:12 Expected and Actual scan responses are the same
2022/08/01 11:48:12 
--- 5FieldIndexProjectEmptyEntryKeys ---
2022/08/01 11:48:12 distinct = true
2022/08/01 11:48:16 Using n1ql client
2022/08/01 11:48:16 Expected and Actual scan responses are the same
--- PASS: TestMultiScanProjection (57.10s)
=== RUN   TestMultiScanRestAPI
2022/08/01 11:48:16 In TestMultiScanRestAPI()
2022/08/01 11:48:16 In DropAllSecondaryIndexes()
2022/08/01 11:48:16 Index found:  index_primary
2022/08/01 11:48:16 Dropped index index_primary
2022/08/01 11:48:16 Index found:  index_company_name_age_address
2022/08/01 11:48:16 Dropped index index_company_name_age_address
2022/08/01 11:48:16 Index found:  addressidx
2022/08/01 11:48:16 Dropped index addressidx
2022/08/01 11:48:16 Index found:  index_companyname
2022/08/01 11:48:16 Dropped index index_companyname
2022/08/01 11:48:16 Index found:  index_company
2022/08/01 11:48:16 Dropped index index_company
2022/08/01 11:48:16 Index found:  index_company_name_age_address_friends
2022/08/01 11:48:16 Dropped index index_company_name_age_address_friends
2022/08/01 11:48:16 Index found:  index_company_name_age
2022/08/01 11:48:16 Dropped index index_company_name_age
2022/08/01 11:48:20 Created the secondary index index_companyname. Waiting for it become active
2022/08/01 11:48:20 Index is 11712229394755854439 now active
2022/08/01 11:48:20 GET all indexes
2022/08/01 11:48:20 200 OK
2022/08/01 11:48:20 getscans status : 200 OK
2022/08/01 11:48:20 number of entries 337
2022/08/01 11:48:20 Status : 200 OK
2022/08/01 11:48:20 Result from multiscancount API = 0
--- PASS: TestMultiScanRestAPI (4.01s)
=== RUN   TestMultiScanPrimaryIndexVariations
2022/08/01 11:48:20 In TestMultiScanPrimaryIndexVariations()
2022/08/01 11:48:25 Created the secondary index index_pi. Waiting for it become active
2022/08/01 11:48:25 Index is 16092833236022905695 now active
2022/08/01 11:48:25 
--- No Overlap ---
2022/08/01 11:48:25 Using n1ql client
2022/08/01 11:48:25 Expected and Actual scan responses are the same
2022/08/01 11:48:25 
--- Proper Overlap ---
2022/08/01 11:48:25 Using n1ql client
2022/08/01 11:48:25 Expected and Actual scan responses are the same
2022/08/01 11:48:25 
--- Low Boundary Overlap ---
2022/08/01 11:48:25 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Complex Overlaps ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Multiple Equal Overlaps ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Boundary and Subset Overlaps ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Point Overlaps ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Boundary and Point Overlaps ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 
--- Primary index range null ---
2022/08/01 11:48:26 Using n1ql client
2022/08/01 11:48:26 Expected and Actual scan responses are the same
2022/08/01 11:48:26 Dropping the secondary index index_pi
2022/08/01 11:48:26 Index dropped
--- PASS: TestMultiScanPrimaryIndexVariations (5.94s)
=== RUN   TestMultiScanDescSetup
2022/08/01 11:48:26 In TestMultiScanDescSetup()
2022/08/01 11:48:26 In DropAllSecondaryIndexes()
2022/08/01 11:48:26 Index found:  index_companyname
2022/08/01 11:48:26 Dropped index index_companyname
2022/08/01 11:48:29 Created the secondary index index_companyname_desc. Waiting for it become active
2022/08/01 11:48:29 Index is 5832105785376198340 now active
2022/08/01 11:48:35 Created the secondary index index_company_desc. Waiting for it become active
2022/08/01 11:48:35 Index is 13113840990348639018 now active
2022/08/01 11:48:39 Created the secondary index index_company_name_age_desc. Waiting for it become active
2022/08/01 11:48:39 Index is 16913079694584168955 now active
--- PASS: TestMultiScanDescSetup (13.38s)
=== RUN   TestMultiScanDescScenarios
2022/08/01 11:48:39 In TestMultiScanDescScenarios()
2022/08/01 11:48:39 

--------- Composite Index with 2 fields ---------
2022/08/01 11:48:39 
--- ScanAllNoFilter ---
2022/08/01 11:48:39 distinct = false
2022/08/01 11:48:40 Using n1ql client
2022/08/01 11:48:40 Expected and Actual scan responses are the same
2022/08/01 11:48:40 
--- ScanAllFilterNil ---
2022/08/01 11:48:40 distinct = false
2022/08/01 11:48:40 Using n1ql client
2022/08/01 11:48:40 Expected and Actual scan responses are the same
2022/08/01 11:48:40 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:48:40 distinct = false
2022/08/01 11:48:40 Using n1ql client
2022/08/01 11:48:41 Expected and Actual scan responses are the same
2022/08/01 11:48:41 
--- SingleSeek ---
2022/08/01 11:48:41 distinct = false
2022/08/01 11:48:41 Using n1ql client
2022/08/01 11:48:41 Expected and Actual scan responses are the same
2022/08/01 11:48:41 
--- MultipleSeek ---
2022/08/01 11:48:41 distinct = false
2022/08/01 11:48:41 Using n1ql client
2022/08/01 11:48:41 Expected and Actual scan responses are the same
2022/08/01 11:48:41 
--- SimpleRange ---
2022/08/01 11:48:41 distinct = false
2022/08/01 11:48:42 Using n1ql client
2022/08/01 11:48:42 Expected and Actual scan responses are the same
2022/08/01 11:48:42 
--- NonOverlappingRanges ---
2022/08/01 11:48:42 distinct = false
2022/08/01 11:48:42 Using n1ql client
2022/08/01 11:48:42 Expected and Actual scan responses are the same
2022/08/01 11:48:42 
--- OverlappingRanges ---
2022/08/01 11:48:42 distinct = false
2022/08/01 11:48:42 Using n1ql client
2022/08/01 11:48:42 Expected and Actual scan responses are the same
2022/08/01 11:48:42 
--- NonOverlappingFilters ---
2022/08/01 11:48:42 distinct = false
2022/08/01 11:48:43 Using n1ql client
2022/08/01 11:48:43 Expected and Actual scan responses are the same
2022/08/01 11:48:43 
--- OverlappingFilters ---
2022/08/01 11:48:43 distinct = false
2022/08/01 11:48:43 Using n1ql client
2022/08/01 11:48:43 Expected and Actual scan responses are the same
2022/08/01 11:48:43 
--- BoundaryFilters ---
2022/08/01 11:48:43 distinct = false
2022/08/01 11:48:44 Using n1ql client
2022/08/01 11:48:44 Expected and Actual scan responses are the same
2022/08/01 11:48:44 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:48:44 distinct = false
2022/08/01 11:48:44 Using n1ql client
2022/08/01 11:48:44 Expected and Actual scan responses are the same
2022/08/01 11:48:44 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:48:44 distinct = false
2022/08/01 11:48:44 Using n1ql client
2022/08/01 11:48:44 Expected and Actual scan responses are the same
2022/08/01 11:48:44 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:48:44 distinct = false
2022/08/01 11:48:45 Using n1ql client
2022/08/01 11:48:45 Expected and Actual scan responses are the same
2022/08/01 11:48:45 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:48:45 distinct = false
2022/08/01 11:48:45 Using n1ql client
2022/08/01 11:48:45 Expected and Actual scan responses are the same
2022/08/01 11:48:45 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:48:45 distinct = false
2022/08/01 11:48:45 Using n1ql client
2022/08/01 11:48:46 Expected and Actual scan responses are the same
2022/08/01 11:48:46 
--- FiltersWithUnbounded ---
2022/08/01 11:48:46 distinct = false
2022/08/01 11:48:46 Using n1ql client
2022/08/01 11:48:46 Expected and Actual scan responses are the same
2022/08/01 11:48:46 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:48:46 distinct = false
2022/08/01 11:48:46 Using n1ql client
2022/08/01 11:48:46 Expected and Actual scan responses are the same
2022/08/01 11:48:46 

--------- Simple Index with 1 field ---------
2022/08/01 11:48:46 
--- SingleIndexSimpleRange ---
2022/08/01 11:48:46 distinct = false
2022/08/01 11:48:47 Using n1ql client
2022/08/01 11:48:47 Expected and Actual scan responses are the same
2022/08/01 11:48:47 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:48:47 distinct = false
2022/08/01 11:48:47 Using n1ql client
2022/08/01 11:48:47 Expected and Actual scan responses are the same
2022/08/01 11:48:47 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:48:47 distinct = false
2022/08/01 11:48:47 Using n1ql client
2022/08/01 11:48:47 Expected and Actual scan responses are the same
2022/08/01 11:48:47 

--------- Composite Index with 3 fields ---------
2022/08/01 11:48:47 
--- ScanAllNoFilter ---
2022/08/01 11:48:47 distinct = false
2022/08/01 11:48:48 Using n1ql client
2022/08/01 11:48:48 Expected and Actual scan responses are the same
2022/08/01 11:48:48 
--- ScanAllFilterNil ---
2022/08/01 11:48:48 distinct = false
2022/08/01 11:48:48 Using n1ql client
2022/08/01 11:48:48 Expected and Actual scan responses are the same
2022/08/01 11:48:48 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:48:48 distinct = false
2022/08/01 11:48:49 Using n1ql client
2022/08/01 11:48:49 Expected and Actual scan responses are the same
2022/08/01 11:48:49 
--- 3FieldsSingleSeek ---
2022/08/01 11:48:49 distinct = false
2022/08/01 11:48:49 Using n1ql client
2022/08/01 11:48:49 Expected and Actual scan responses are the same
2022/08/01 11:48:49 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:48:49 distinct = false
2022/08/01 11:48:50 Using n1ql client
2022/08/01 11:48:50 Expected and Actual scan responses are the same
2022/08/01 11:48:50 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:48:50 distinct = false
2022/08/01 11:48:50 Using n1ql client
2022/08/01 11:48:50 Expected and Actual scan responses are the same
2022/08/01 11:48:50 

--------- New scenarios ---------
2022/08/01 11:48:50 
--- CompIndexHighUnbounded1 ---
2022/08/01 11:48:50 
--- Multi Scan 0 ---
2022/08/01 11:48:50 distinct = false
2022/08/01 11:48:50 Using n1ql client
2022/08/01 11:48:50 Expected and Actual scan responses are the same
2022/08/01 11:48:50 
--- Multi Scan 1 ---
2022/08/01 11:48:50 distinct = false
2022/08/01 11:48:51 Using n1ql client
2022/08/01 11:48:51 Expected and Actual scan responses are the same
2022/08/01 11:48:51 
--- Multi Scan 2 ---
2022/08/01 11:48:51 distinct = false
2022/08/01 11:48:51 Using n1ql client
2022/08/01 11:48:51 Expected and Actual scan responses are the same
2022/08/01 11:48:51 
--- CompIndexHighUnbounded2 ---
2022/08/01 11:48:51 
--- Multi Scan 0 ---
2022/08/01 11:48:51 distinct = false
2022/08/01 11:48:52 Using n1ql client
2022/08/01 11:48:52 Expected and Actual scan responses are the same
2022/08/01 11:48:52 
--- Multi Scan 1 ---
2022/08/01 11:48:52 distinct = false
2022/08/01 11:48:52 Using n1ql client
2022/08/01 11:48:52 Expected and Actual scan responses are the same
2022/08/01 11:48:52 
--- Multi Scan 2 ---
2022/08/01 11:48:52 distinct = false
2022/08/01 11:48:52 Using n1ql client
2022/08/01 11:48:52 Expected and Actual scan responses are the same
2022/08/01 11:48:52 
--- CompIndexHighUnbounded3 ---
2022/08/01 11:48:52 
--- Multi Scan 0 ---
2022/08/01 11:48:52 distinct = false
2022/08/01 11:48:53 Using n1ql client
2022/08/01 11:48:53 Expected and Actual scan responses are the same
2022/08/01 11:48:53 
--- CompIndexHighUnbounded4 ---
2022/08/01 11:48:53 
--- Multi Scan 0 ---
2022/08/01 11:48:53 distinct = false
2022/08/01 11:48:53 Using n1ql client
2022/08/01 11:48:53 Expected and Actual scan responses are the same
2022/08/01 11:48:53 
--- CompIndexHighUnbounded5 ---
2022/08/01 11:48:53 
--- Multi Scan 0 ---
2022/08/01 11:48:53 distinct = false
2022/08/01 11:48:54 Using n1ql client
2022/08/01 11:48:54 Expected and Actual scan responses are the same
2022/08/01 11:48:54 
--- SeekBoundaries ---
2022/08/01 11:48:54 
--- Multi Scan 0 ---
2022/08/01 11:48:54 distinct = false
2022/08/01 11:48:54 Using n1ql client
2022/08/01 11:48:54 Expected and Actual scan responses are the same
2022/08/01 11:48:54 
--- Multi Scan 1 ---
2022/08/01 11:48:54 distinct = false
2022/08/01 11:48:54 Using n1ql client
2022/08/01 11:48:54 Expected and Actual scan responses are the same
2022/08/01 11:48:54 
--- Multi Scan 2 ---
2022/08/01 11:48:54 distinct = false
2022/08/01 11:48:55 Using n1ql client
2022/08/01 11:48:55 Expected and Actual scan responses are the same
2022/08/01 11:48:55 
--- Multi Scan 3 ---
2022/08/01 11:48:55 distinct = false
2022/08/01 11:48:55 Using n1ql client
2022/08/01 11:48:55 Expected and Actual scan responses are the same
2022/08/01 11:48:55 
--- Multi Scan 4 ---
2022/08/01 11:48:55 distinct = false
2022/08/01 11:48:55 Using n1ql client
2022/08/01 11:48:55 Expected and Actual scan responses are the same
2022/08/01 11:48:55 
--- Multi Scan 5 ---
2022/08/01 11:48:55 distinct = false
2022/08/01 11:48:56 Using n1ql client
2022/08/01 11:48:56 Expected and Actual scan responses are the same
2022/08/01 11:48:56 
--- Multi Scan 6 ---
2022/08/01 11:48:56 distinct = false
2022/08/01 11:48:56 Using n1ql client
2022/08/01 11:48:56 Expected and Actual scan responses are the same
2022/08/01 11:48:56 
--- Multi Scan 7 ---
2022/08/01 11:48:56 distinct = false
2022/08/01 11:48:57 Using n1ql client
2022/08/01 11:48:57 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescScenarios (17.57s)
=== RUN   TestMultiScanDescCount
2022/08/01 11:48:57 In TestMultiScanDescCount()
2022/08/01 11:48:57 

--------- Composite Index with 2 fields ---------
2022/08/01 11:48:57 
--- ScanAllNoFilter ---
2022/08/01 11:48:57 distinct = false
2022/08/01 11:48:57 Using n1ql client
2022/08/01 11:48:57 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:48:57 
--- ScanAllFilterNil ---
2022/08/01 11:48:57 distinct = false
2022/08/01 11:48:57 Using n1ql client
2022/08/01 11:48:57 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:48:57 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:48:57 distinct = false
2022/08/01 11:48:58 Using n1ql client
2022/08/01 11:48:58 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:48:58 
--- SingleSeek ---
2022/08/01 11:48:58 distinct = false
2022/08/01 11:48:58 Using n1ql client
2022/08/01 11:48:58 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:48:58 
--- MultipleSeek ---
2022/08/01 11:48:58 distinct = false
2022/08/01 11:48:59 Using n1ql client
2022/08/01 11:48:59 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:48:59 
--- SimpleRange ---
2022/08/01 11:48:59 distinct = false
2022/08/01 11:48:59 Using n1ql client
2022/08/01 11:48:59 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 11:48:59 
--- NonOverlappingRanges ---
2022/08/01 11:48:59 distinct = false
2022/08/01 11:48:59 Using n1ql client
2022/08/01 11:48:59 MultiScanCount = 4283 ExpectedMultiScanCount = 4283
2022/08/01 11:48:59 
--- OverlappingRanges ---
2022/08/01 11:48:59 distinct = false
2022/08/01 11:49:00 Using n1ql client
2022/08/01 11:49:00 MultiScanCount = 5756 ExpectedMultiScanCount = 5756
2022/08/01 11:49:00 
--- NonOverlappingFilters ---
2022/08/01 11:49:00 distinct = false
2022/08/01 11:49:00 Using n1ql client
2022/08/01 11:49:00 MultiScanCount = 337 ExpectedMultiScanCount = 337
2022/08/01 11:49:00 
--- OverlappingFilters ---
2022/08/01 11:49:00 distinct = false
2022/08/01 11:49:00 Using n1ql client
2022/08/01 11:49:00 MultiScanCount = 2559 ExpectedMultiScanCount = 2559
2022/08/01 11:49:00 
--- BoundaryFilters ---
2022/08/01 11:49:00 distinct = false
2022/08/01 11:49:01 Using n1ql client
2022/08/01 11:49:01 MultiScanCount = 499 ExpectedMultiScanCount = 499
2022/08/01 11:49:01 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:49:01 distinct = false
2022/08/01 11:49:02 Using n1ql client
2022/08/01 11:49:02 MultiScanCount = 256 ExpectedMultiScanCount = 256
2022/08/01 11:49:02 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:49:02 distinct = false
2022/08/01 11:49:02 Using n1ql client
2022/08/01 11:49:02 MultiScanCount = 255 ExpectedMultiScanCount = 255
2022/08/01 11:49:02 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:49:02 distinct = false
2022/08/01 11:49:03 Using n1ql client
2022/08/01 11:49:03 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 11:49:03 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:49:03 distinct = false
2022/08/01 11:49:03 Using n1ql client
2022/08/01 11:49:03 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 11:49:03 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:49:03 distinct = false
2022/08/01 11:49:03 Using n1ql client
2022/08/01 11:49:03 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:49:03 
--- FiltersWithUnbounded ---
2022/08/01 11:49:03 distinct = false
2022/08/01 11:49:04 Using n1ql client
2022/08/01 11:49:04 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 11:49:04 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:49:04 distinct = false
2022/08/01 11:49:04 Using n1ql client
2022/08/01 11:49:04 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 11:49:04 

--------- Simple Index with 1 field ---------
2022/08/01 11:49:04 
--- SingleIndexSimpleRange ---
2022/08/01 11:49:04 distinct = false
2022/08/01 11:49:04 Using n1ql client
2022/08/01 11:49:04 MultiScanCount = 2273 ExpectedMultiScanCount = 2273
2022/08/01 11:49:04 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:49:04 distinct = false
2022/08/01 11:49:05 Using n1ql client
2022/08/01 11:49:05 MultiScanCount = 7140 ExpectedMultiScanCount = 7140
2022/08/01 11:49:05 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:49:05 distinct = false
2022/08/01 11:49:05 Using n1ql client
2022/08/01 11:49:05 MultiScanCount = 8701 ExpectedMultiScanCount = 8701
2022/08/01 11:49:05 

--------- Composite Index with 3 fields ---------
2022/08/01 11:49:05 
--- ScanAllNoFilter ---
2022/08/01 11:49:05 distinct = false
2022/08/01 11:49:06 Using n1ql client
2022/08/01 11:49:06 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:49:06 
--- ScanAllFilterNil ---
2022/08/01 11:49:06 distinct = false
2022/08/01 11:49:06 Using n1ql client
2022/08/01 11:49:06 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:49:06 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:06 distinct = false
2022/08/01 11:49:06 Using n1ql client
2022/08/01 11:49:06 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:49:06 
--- 3FieldsSingleSeek ---
2022/08/01 11:49:06 distinct = false
2022/08/01 11:49:07 Using n1ql client
2022/08/01 11:49:07 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:49:07 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:49:07 distinct = false
2022/08/01 11:49:07 Using n1ql client
2022/08/01 11:49:07 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 11:49:07 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:49:07 distinct = false
2022/08/01 11:49:08 Using n1ql client
2022/08/01 11:49:08 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:49:08 

--------- New scenarios ---------
2022/08/01 11:49:08 
--- CompIndexHighUnbounded1 ---
2022/08/01 11:49:08 
--- Multi Scan 0 ---
2022/08/01 11:49:08 distinct = false
2022/08/01 11:49:08 Using n1ql client
2022/08/01 11:49:08 Using n1ql client
2022/08/01 11:49:08 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 11:49:08 Expected and Actual scan responses are the same
2022/08/01 11:49:08 
--- Multi Scan 1 ---
2022/08/01 11:49:08 distinct = false
2022/08/01 11:49:08 Using n1ql client
2022/08/01 11:49:08 Using n1ql client
2022/08/01 11:49:08 len(scanResults) = 0 MultiScanCount = 0
2022/08/01 11:49:08 Expected and Actual scan responses are the same
2022/08/01 11:49:08 
--- Multi Scan 2 ---
2022/08/01 11:49:08 distinct = false
2022/08/01 11:49:09 Using n1ql client
2022/08/01 11:49:09 Using n1ql client
2022/08/01 11:49:09 len(scanResults) = 9 MultiScanCount = 9
2022/08/01 11:49:09 Expected and Actual scan responses are the same
2022/08/01 11:49:09 
--- CompIndexHighUnbounded2 ---
2022/08/01 11:49:09 
--- Multi Scan 0 ---
2022/08/01 11:49:09 distinct = false
2022/08/01 11:49:09 Using n1ql client
2022/08/01 11:49:09 Using n1ql client
2022/08/01 11:49:09 len(scanResults) = 4138 MultiScanCount = 4138
2022/08/01 11:49:09 Expected and Actual scan responses are the same
2022/08/01 11:49:09 
--- Multi Scan 1 ---
2022/08/01 11:49:09 distinct = false
2022/08/01 11:49:09 Using n1ql client
2022/08/01 11:49:10 Using n1ql client
2022/08/01 11:49:10 len(scanResults) = 2746 MultiScanCount = 2746
2022/08/01 11:49:10 Expected and Actual scan responses are the same
2022/08/01 11:49:10 
--- Multi Scan 2 ---
2022/08/01 11:49:10 distinct = false
2022/08/01 11:49:10 Using n1ql client
2022/08/01 11:49:10 Using n1ql client
2022/08/01 11:49:10 len(scanResults) = 4691 MultiScanCount = 4691
2022/08/01 11:49:10 Expected and Actual scan responses are the same
2022/08/01 11:49:10 
--- CompIndexHighUnbounded3 ---
2022/08/01 11:49:10 
--- Multi Scan 0 ---
2022/08/01 11:49:10 distinct = false
2022/08/01 11:49:10 Using n1ql client
2022/08/01 11:49:10 Using n1ql client
2022/08/01 11:49:10 len(scanResults) = 1329 MultiScanCount = 1329
2022/08/01 11:49:10 Expected and Actual scan responses are the same
2022/08/01 11:49:10 
--- CompIndexHighUnbounded4 ---
2022/08/01 11:49:10 
--- Multi Scan 0 ---
2022/08/01 11:49:10 distinct = false
2022/08/01 11:49:11 Using n1ql client
2022/08/01 11:49:11 Using n1ql client
2022/08/01 11:49:11 len(scanResults) = 5349 MultiScanCount = 5349
2022/08/01 11:49:11 Expected and Actual scan responses are the same
2022/08/01 11:49:11 
--- CompIndexHighUnbounded5 ---
2022/08/01 11:49:11 
--- Multi Scan 0 ---
2022/08/01 11:49:11 distinct = false
2022/08/01 11:49:11 Using n1ql client
2022/08/01 11:49:11 Using n1ql client
2022/08/01 11:49:11 len(scanResults) = 8210 MultiScanCount = 8210
2022/08/01 11:49:11 Expected and Actual scan responses are the same
2022/08/01 11:49:11 
--- SeekBoundaries ---
2022/08/01 11:49:11 
--- Multi Scan 0 ---
2022/08/01 11:49:11 distinct = false
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 len(scanResults) = 175 MultiScanCount = 175
2022/08/01 11:49:12 Expected and Actual scan responses are the same
2022/08/01 11:49:12 
--- Multi Scan 1 ---
2022/08/01 11:49:12 distinct = false
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 len(scanResults) = 1 MultiScanCount = 1
2022/08/01 11:49:12 Expected and Actual scan responses are the same
2022/08/01 11:49:12 
--- Multi Scan 2 ---
2022/08/01 11:49:12 distinct = false
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 Using n1ql client
2022/08/01 11:49:12 len(scanResults) = 555 MultiScanCount = 555
2022/08/01 11:49:12 Expected and Actual scan responses are the same
2022/08/01 11:49:12 
--- Multi Scan 3 ---
2022/08/01 11:49:12 distinct = false
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 len(scanResults) = 872 MultiScanCount = 872
2022/08/01 11:49:13 Expected and Actual scan responses are the same
2022/08/01 11:49:13 
--- Multi Scan 4 ---
2022/08/01 11:49:13 distinct = false
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 len(scanResults) = 287 MultiScanCount = 287
2022/08/01 11:49:13 Expected and Actual scan responses are the same
2022/08/01 11:49:13 
--- Multi Scan 5 ---
2022/08/01 11:49:13 distinct = false
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 Using n1ql client
2022/08/01 11:49:13 len(scanResults) = 5254 MultiScanCount = 5254
2022/08/01 11:49:13 Expected and Actual scan responses are the same
2022/08/01 11:49:13 
--- Multi Scan 6 ---
2022/08/01 11:49:13 distinct = false
2022/08/01 11:49:14 Using n1ql client
2022/08/01 11:49:14 Using n1ql client
2022/08/01 11:49:14 len(scanResults) = 5566 MultiScanCount = 5566
2022/08/01 11:49:14 Expected and Actual scan responses are the same
2022/08/01 11:49:14 
--- Multi Scan 7 ---
2022/08/01 11:49:14 distinct = false
2022/08/01 11:49:14 Using n1ql client
2022/08/01 11:49:14 Using n1ql client
2022/08/01 11:49:14 len(scanResults) = 8 MultiScanCount = 8
2022/08/01 11:49:14 Expected and Actual scan responses are the same
2022/08/01 11:49:14 

--------- With DISTINCT True ---------
2022/08/01 11:49:14 
--- ScanAllNoFilter ---
2022/08/01 11:49:14 distinct = true
2022/08/01 11:49:15 Using n1ql client
2022/08/01 11:49:15 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:15 
--- ScanAllFilterNil ---
2022/08/01 11:49:15 distinct = true
2022/08/01 11:49:15 Using n1ql client
2022/08/01 11:49:15 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:15 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:15 distinct = true
2022/08/01 11:49:15 Using n1ql client
2022/08/01 11:49:15 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:15 
--- SingleSeek ---
2022/08/01 11:49:15 distinct = true
2022/08/01 11:49:16 Using n1ql client
2022/08/01 11:49:16 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:49:16 
--- MultipleSeek ---
2022/08/01 11:49:16 distinct = true
2022/08/01 11:49:16 Using n1ql client
2022/08/01 11:49:16 MultiScanCount = 2 ExpectedMultiScanCount = 2
2022/08/01 11:49:16 
--- SimpleRange ---
2022/08/01 11:49:16 distinct = true
2022/08/01 11:49:16 Using n1ql client
2022/08/01 11:49:16 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 11:49:16 
--- NonOverlappingRanges ---
2022/08/01 11:49:16 distinct = true
2022/08/01 11:49:17 Using n1ql client
2022/08/01 11:49:17 MultiScanCount = 428 ExpectedMultiScanCount = 428
2022/08/01 11:49:17 
--- NonOverlappingFilters2 ---
2022/08/01 11:49:17 distinct = true
2022/08/01 11:49:17 Using n1ql client
2022/08/01 11:49:17 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:49:17 
--- OverlappingRanges ---
2022/08/01 11:49:17 distinct = true
2022/08/01 11:49:18 Using n1ql client
2022/08/01 11:49:18 MultiScanCount = 575 ExpectedMultiScanCount = 575
2022/08/01 11:49:18 
--- NonOverlappingFilters ---
2022/08/01 11:49:18 distinct = true
2022/08/01 11:49:18 Using n1ql client
2022/08/01 11:49:18 MultiScanCount = 186 ExpectedMultiScanCount = 186
2022/08/01 11:49:18 
--- OverlappingFilters ---
2022/08/01 11:49:18 distinct = true
2022/08/01 11:49:18 Using n1ql client
2022/08/01 11:49:18 MultiScanCount = 543 ExpectedMultiScanCount = 543
2022/08/01 11:49:18 
--- BoundaryFilters ---
2022/08/01 11:49:18 distinct = true
2022/08/01 11:49:19 Using n1ql client
2022/08/01 11:49:19 MultiScanCount = 172 ExpectedMultiScanCount = 172
2022/08/01 11:49:19 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:49:19 distinct = true
2022/08/01 11:49:19 Using n1ql client
2022/08/01 11:49:19 MultiScanCount = 135 ExpectedMultiScanCount = 135
2022/08/01 11:49:19 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:49:19 distinct = true
2022/08/01 11:49:19 Using n1ql client
2022/08/01 11:49:19 MultiScanCount = 134 ExpectedMultiScanCount = 134
2022/08/01 11:49:19 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:49:19 distinct = false
2022/08/01 11:49:20 Using n1ql client
2022/08/01 11:49:20 MultiScanCount = 5618 ExpectedMultiScanCount = 5618
2022/08/01 11:49:20 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:49:20 distinct = false
2022/08/01 11:49:20 Using n1ql client
2022/08/01 11:49:20 MultiScanCount = 3704 ExpectedMultiScanCount = 3704
2022/08/01 11:49:20 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:49:20 distinct = false
2022/08/01 11:49:21 Using n1ql client
2022/08/01 11:49:21 MultiScanCount = 10002 ExpectedMultiScanCount = 10002
2022/08/01 11:49:21 
--- FiltersWithUnbounded ---
2022/08/01 11:49:21 distinct = false
2022/08/01 11:49:21 Using n1ql client
2022/08/01 11:49:21 MultiScanCount = 3173 ExpectedMultiScanCount = 3173
2022/08/01 11:49:21 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:49:21 distinct = false
2022/08/01 11:49:21 Using n1ql client
2022/08/01 11:49:21 MultiScanCount = 418 ExpectedMultiScanCount = 418
2022/08/01 11:49:21 

--------- Simple Index with 1 field ---------
2022/08/01 11:49:21 
--- SingleIndexSimpleRange ---
2022/08/01 11:49:21 distinct = true
2022/08/01 11:49:22 Using n1ql client
2022/08/01 11:49:22 MultiScanCount = 227 ExpectedMultiScanCount = 227
2022/08/01 11:49:22 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:49:22 distinct = true
2022/08/01 11:49:22 Using n1ql client
2022/08/01 11:49:22 MultiScanCount = 713 ExpectedMultiScanCount = 713
2022/08/01 11:49:22 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:49:22 distinct = true
2022/08/01 11:49:22 Using n1ql client
2022/08/01 11:49:22 MultiScanCount = 869 ExpectedMultiScanCount = 869
2022/08/01 11:49:22 

--------- Composite Index with 3 fields ---------
2022/08/01 11:49:22 
--- ScanAllNoFilter ---
2022/08/01 11:49:22 distinct = true
2022/08/01 11:49:23 Using n1ql client
2022/08/01 11:49:23 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:23 
--- ScanAllFilterNil ---
2022/08/01 11:49:23 distinct = true
2022/08/01 11:49:23 Using n1ql client
2022/08/01 11:49:23 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:23 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:23 distinct = true
2022/08/01 11:49:24 Using n1ql client
2022/08/01 11:49:24 MultiScanCount = 999 ExpectedMultiScanCount = 999
2022/08/01 11:49:24 
--- 3FieldsSingleSeek ---
2022/08/01 11:49:24 distinct = true
2022/08/01 11:49:24 Using n1ql client
2022/08/01 11:49:24 MultiScanCount = 1 ExpectedMultiScanCount = 1
2022/08/01 11:49:24 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:49:24 distinct = true
2022/08/01 11:49:24 Using n1ql client
2022/08/01 11:49:24 MultiScanCount = 3 ExpectedMultiScanCount = 3
2022/08/01 11:49:24 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:49:24 distinct = true
2022/08/01 11:49:25 Using n1ql client
2022/08/01 11:49:25 MultiScanCount = 2 ExpectedMultiScanCount = 2
--- PASS: TestMultiScanDescCount (28.10s)
=== RUN   TestMultiScanDescOffset
2022/08/01 11:49:25 In SkipTestMultiScanDescOffset()
2022/08/01 11:49:25 

--------- Composite Index with 2 fields ---------
2022/08/01 11:49:25 
--- ScanAllNoFilter ---
2022/08/01 11:49:25 distinct = false
2022/08/01 11:49:25 Using n1ql client
2022/08/01 11:49:25 
--- ScanAllFilterNil ---
2022/08/01 11:49:25 distinct = false
2022/08/01 11:49:26 Using n1ql client
2022/08/01 11:49:26 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:26 distinct = false
2022/08/01 11:49:26 Using n1ql client
2022/08/01 11:49:26 
--- SingleSeek ---
2022/08/01 11:49:26 distinct = false
2022/08/01 11:49:26 Using n1ql client
2022/08/01 11:49:26 
--- MultipleSeek ---
2022/08/01 11:49:26 distinct = false
2022/08/01 11:49:27 Using n1ql client
2022/08/01 11:49:27 
--- SimpleRange ---
2022/08/01 11:49:27 distinct = false
2022/08/01 11:49:27 Using n1ql client
2022/08/01 11:49:27 
--- NonOverlappingRanges ---
2022/08/01 11:49:27 distinct = false
2022/08/01 11:49:27 Using n1ql client
2022/08/01 11:49:27 
--- OverlappingRanges ---
2022/08/01 11:49:27 distinct = false
2022/08/01 11:49:28 Using n1ql client
2022/08/01 11:49:28 
--- NonOverlappingFilters ---
2022/08/01 11:49:28 distinct = false
2022/08/01 11:49:28 Using n1ql client
2022/08/01 11:49:28 
--- OverlappingFilters ---
2022/08/01 11:49:28 distinct = false
2022/08/01 11:49:29 Using n1ql client
2022/08/01 11:49:29 
--- BoundaryFilters ---
2022/08/01 11:49:29 distinct = false
2022/08/01 11:49:29 Using n1ql client
2022/08/01 11:49:29 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:49:29 distinct = false
2022/08/01 11:49:29 Using n1ql client
2022/08/01 11:49:29 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:49:29 distinct = false
2022/08/01 11:49:30 Using n1ql client
2022/08/01 11:49:30 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:49:30 distinct = false
2022/08/01 11:49:30 Using n1ql client
2022/08/01 11:49:30 Expected and Actual scan responses are the same
2022/08/01 11:49:30 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:49:30 distinct = false
2022/08/01 11:49:30 Using n1ql client
2022/08/01 11:49:30 Expected and Actual scan responses are the same
2022/08/01 11:49:30 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:49:30 distinct = false
2022/08/01 11:49:31 Using n1ql client
2022/08/01 11:49:31 Expected and Actual scan responses are the same
2022/08/01 11:49:31 
--- FiltersWithUnbounded ---
2022/08/01 11:49:31 distinct = false
2022/08/01 11:49:31 Using n1ql client
2022/08/01 11:49:31 Expected and Actual scan responses are the same
2022/08/01 11:49:31 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:49:31 distinct = false
2022/08/01 11:49:32 Using n1ql client
2022/08/01 11:49:32 Expected and Actual scan responses are the same
2022/08/01 11:49:32 

--------- Simple Index with 1 field ---------
2022/08/01 11:49:32 
--- SingleIndexSimpleRange ---
2022/08/01 11:49:32 distinct = false
2022/08/01 11:49:32 Using n1ql client
2022/08/01 11:49:32 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:49:32 distinct = false
2022/08/01 11:49:32 Using n1ql client
2022/08/01 11:49:32 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:49:32 distinct = false
2022/08/01 11:49:33 Using n1ql client
2022/08/01 11:49:33 

--------- Composite Index with 3 fields ---------
2022/08/01 11:49:33 
--- ScanAllNoFilter ---
2022/08/01 11:49:33 distinct = false
2022/08/01 11:49:33 Using n1ql client
2022/08/01 11:49:33 
--- ScanAllFilterNil ---
2022/08/01 11:49:33 distinct = false
2022/08/01 11:49:34 Using n1ql client
2022/08/01 11:49:34 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:34 distinct = false
2022/08/01 11:49:34 Using n1ql client
2022/08/01 11:49:34 
--- 3FieldsSingleSeek ---
2022/08/01 11:49:34 distinct = false
2022/08/01 11:49:34 Using n1ql client
2022/08/01 11:49:34 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:49:34 distinct = false
2022/08/01 11:49:35 Using n1ql client
2022/08/01 11:49:35 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:49:35 distinct = false
2022/08/01 11:49:35 Using n1ql client
--- PASS: TestMultiScanDescOffset (10.44s)
=== RUN   TestMultiScanDescDistinct
2022/08/01 11:49:35 In SkipTestMultiScanDescDistinct()
2022/08/01 11:49:35 

--------- Composite Index with 2 fields ---------
2022/08/01 11:49:35 
--- ScanAllNoFilter ---
2022/08/01 11:49:35 distinct = true
2022/08/01 11:49:36 Using n1ql client
2022/08/01 11:49:36 Expected and Actual scan responses are the same
2022/08/01 11:49:36 
--- ScanAllFilterNil ---
2022/08/01 11:49:36 distinct = true
2022/08/01 11:49:36 Using n1ql client
2022/08/01 11:49:36 Expected and Actual scan responses are the same
2022/08/01 11:49:36 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:36 distinct = true
2022/08/01 11:49:37 Using n1ql client
2022/08/01 11:49:37 Expected and Actual scan responses are the same
2022/08/01 11:49:37 
--- SingleSeek ---
2022/08/01 11:49:37 distinct = true
2022/08/01 11:49:37 Using n1ql client
2022/08/01 11:49:37 Expected and Actual scan responses are the same
2022/08/01 11:49:37 
--- MultipleSeek ---
2022/08/01 11:49:37 distinct = true
2022/08/01 11:49:37 Using n1ql client
2022/08/01 11:49:37 Expected and Actual scan responses are the same
2022/08/01 11:49:37 
--- SimpleRange ---
2022/08/01 11:49:37 distinct = true
2022/08/01 11:49:38 Using n1ql client
2022/08/01 11:49:38 Expected and Actual scan responses are the same
2022/08/01 11:49:38 
--- NonOverlappingRanges ---
2022/08/01 11:49:38 distinct = true
2022/08/01 11:49:38 Using n1ql client
2022/08/01 11:49:38 Expected and Actual scan responses are the same
2022/08/01 11:49:38 
--- OverlappingRanges ---
2022/08/01 11:49:38 distinct = true
2022/08/01 11:49:38 Using n1ql client
2022/08/01 11:49:38 Expected and Actual scan responses are the same
2022/08/01 11:49:38 
--- NonOverlappingFilters ---
2022/08/01 11:49:38 distinct = true
2022/08/01 11:49:39 Using n1ql client
2022/08/01 11:49:39 Expected and Actual scan responses are the same
2022/08/01 11:49:39 
--- OverlappingFilters ---
2022/08/01 11:49:39 distinct = true
2022/08/01 11:49:39 Using n1ql client
2022/08/01 11:49:39 Expected and Actual scan responses are the same
2022/08/01 11:49:39 
--- BoundaryFilters ---
2022/08/01 11:49:39 distinct = true
2022/08/01 11:49:40 Using n1ql client
2022/08/01 11:49:40 Expected and Actual scan responses are the same
2022/08/01 11:49:40 
--- SeekAndFilters_NonOverlapping ---
2022/08/01 11:49:40 distinct = true
2022/08/01 11:49:40 Using n1ql client
2022/08/01 11:49:40 Expected and Actual scan responses are the same
2022/08/01 11:49:40 
--- SeekAndFilters_Overlapping ---
2022/08/01 11:49:40 distinct = true
2022/08/01 11:49:40 Using n1ql client
2022/08/01 11:49:40 Expected and Actual scan responses are the same
2022/08/01 11:49:40 
--- SimpleRangeLowUnbounded ---
2022/08/01 11:49:40 distinct = false
2022/08/01 11:49:41 Using n1ql client
2022/08/01 11:49:41 Expected and Actual scan responses are the same
2022/08/01 11:49:41 
--- SimpleRangeHighUnbounded ---
2022/08/01 11:49:41 distinct = false
2022/08/01 11:49:41 Using n1ql client
2022/08/01 11:49:41 Expected and Actual scan responses are the same
2022/08/01 11:49:41 
--- SimpleRangeMultipleUnbounded ---
2022/08/01 11:49:41 distinct = false
2022/08/01 11:49:42 Using n1ql client
2022/08/01 11:49:42 Expected and Actual scan responses are the same
2022/08/01 11:49:42 
--- FiltersWithUnbounded ---
2022/08/01 11:49:42 distinct = false
2022/08/01 11:49:42 Using n1ql client
2022/08/01 11:49:42 Expected and Actual scan responses are the same
2022/08/01 11:49:42 
--- FiltersLowGreaterThanHigh ---
2022/08/01 11:49:42 distinct = false
2022/08/01 11:49:42 Using n1ql client
2022/08/01 11:49:42 Expected and Actual scan responses are the same
2022/08/01 11:49:42 

--------- Simple Index with 1 field ---------
2022/08/01 11:49:42 
--- SingleIndexSimpleRange ---
2022/08/01 11:49:42 distinct = true
2022/08/01 11:49:43 Using n1ql client
2022/08/01 11:49:43 Expected and Actual scan responses are the same
2022/08/01 11:49:43 
--- SingleIndex_SimpleRanges_NonOverlapping ---
2022/08/01 11:49:43 distinct = true
2022/08/01 11:49:43 Using n1ql client
2022/08/01 11:49:43 Expected and Actual scan responses are the same
2022/08/01 11:49:43 
--- SingleIndex_SimpleRanges_Overlapping ---
2022/08/01 11:49:43 distinct = true
2022/08/01 11:49:43 Using n1ql client
2022/08/01 11:49:43 Expected and Actual scan responses are the same
2022/08/01 11:49:43 

--------- Composite Index with 3 fields ---------
2022/08/01 11:49:43 
--- ScanAllNoFilter ---
2022/08/01 11:49:43 distinct = true
2022/08/01 11:49:44 Using n1ql client
2022/08/01 11:49:44 Expected and Actual scan responses are the same
2022/08/01 11:49:44 
--- ScanAllFilterNil ---
2022/08/01 11:49:44 distinct = true
2022/08/01 11:49:44 Using n1ql client
2022/08/01 11:49:44 Expected and Actual scan responses are the same
2022/08/01 11:49:44 
--- ScanAll_AllFiltersNil ---
2022/08/01 11:49:44 distinct = true
2022/08/01 11:49:45 Using n1ql client
2022/08/01 11:49:45 Expected and Actual scan responses are the same
2022/08/01 11:49:45 
--- 3FieldsSingleSeek ---
2022/08/01 11:49:45 distinct = true
2022/08/01 11:49:45 Using n1ql client
2022/08/01 11:49:45 Expected and Actual scan responses are the same
2022/08/01 11:49:45 
--- 3FieldsMultipleSeeks ---
2022/08/01 11:49:45 distinct = true
2022/08/01 11:49:46 Using n1ql client
2022/08/01 11:49:46 Expected and Actual scan responses are the same
2022/08/01 11:49:46 
--- 3FieldsMultipleSeeks_Identical ---
2022/08/01 11:49:46 distinct = true
2022/08/01 11:49:46 Using n1ql client
2022/08/01 11:49:46 Expected and Actual scan responses are the same
--- PASS: TestMultiScanDescDistinct (10.89s)
=== RUN   TestGroupAggrSetup
2022/08/01 11:49:46 In TestGroupAggrSetup()
2022/08/01 11:49:46 Emptying the default bucket
2022/08/01 11:49:49 Flush Enabled on bucket default, responseBody: 
2022/08/01 11:50:26 Flushed the bucket default, Response body: 
2022/08/01 11:50:26 Dropping the secondary index index_agg
2022/08/01 11:50:26 Populating the default bucket
2022/08/01 11:50:30 Created the secondary index index_agg. Waiting for it become active
2022/08/01 11:50:30 Index is 2136991499976268989 now active
--- PASS: TestGroupAggrSetup (48.73s)
=== RUN   TestGroupAggrLeading
2022/08/01 11:50:35 In TestGroupAggrLeading()
2022/08/01 11:50:35 Total Scanresults = 7
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 3
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLeading (0.01s)
=== RUN   TestGroupAggrNonLeading
2022/08/01 11:50:35 In TestGroupAggrNonLeading()
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNonLeading (0.00s)
=== RUN   TestGroupAggrNoGroup
2022/08/01 11:50:35 In TestGroupAggrNoGroup()
2022/08/01 11:50:35 Total Scanresults = 1
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroup (0.00s)
=== RUN   TestGroupAggrMinMax
2022/08/01 11:50:35 In TestGroupAggrMinMax()
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax (0.00s)
=== RUN   TestGroupAggrMinMax2
2022/08/01 11:50:35 In TestGroupAggrMinMax()
2022/08/01 11:50:35 Total Scanresults = 1
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMinMax2 (0.00s)
=== RUN   TestGroupAggrLeading_N1QLExprs
2022/08/01 11:50:35 In TestGroupAggrLeading_N1QLExprs()
2022/08/01 11:50:35 Total Scanresults = 17
2022/08/01 11:50:35 basicGroupAggrN1QLExprs1: Scan validation passed
2022/08/01 11:50:35 Total Scanresults = 9
2022/08/01 11:50:35 basicGroupAggrN1QLExprs2: Scan validation passed
--- PASS: TestGroupAggrLeading_N1QLExprs (0.22s)
=== RUN   TestGroupAggrLimit
2022/08/01 11:50:35 In TestGroupAggrLimit()
2022/08/01 11:50:35 Total Scanresults = 3
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrLimit (0.00s)
=== RUN   TestGroupAggrOffset
2022/08/01 11:50:35 In TestGroupAggrOffset()
2022/08/01 11:50:35 Total Scanresults = 3
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrOffset (0.00s)
=== RUN   TestGroupAggrCountN
2022/08/01 11:50:35 In TestGroupAggrCountN()
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrCountN (0.00s)
=== RUN   TestGroupAggrNoGroupNoMatch
2022/08/01 11:50:35 In TestGroupAggrNoGroupNoMatch()
2022/08/01 11:50:35 Total Scanresults = 1
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNoGroupNoMatch (0.01s)
=== RUN   TestGroupAggrGroupNoMatch
2022/08/01 11:50:35 In TestGroupAggrGroupNoMatch()
2022/08/01 11:50:35 Total Scanresults = 0
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrGroupNoMatch (0.00s)
=== RUN   TestGroupAggrMultDataTypes
2022/08/01 11:50:35 In TestGroupAggrMultDataTypes()
2022/08/01 11:50:35 Total Scanresults = 8
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrMultDataTypes (0.00s)
=== RUN   TestGroupAggrDistinct
2022/08/01 11:50:35 In TestGroupAggrDistinct()
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct (0.00s)
=== RUN   TestGroupAggrDistinct2
2022/08/01 11:50:35 In TestGroupAggrDistinct2()
2022/08/01 11:50:35 Total Scanresults = 1
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 4
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDistinct2 (0.01s)
=== RUN   TestGroupAggrNull
2022/08/01 11:50:35 In TestGroupAggrNull()
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrNull (0.00s)
=== RUN   TestGroupAggrInt64
2022/08/01 11:50:35 In TestGroupAggrInt64()
2022/08/01 11:50:35 Updating the default bucket
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
2022/08/01 11:50:35 Total Scanresults = 2
2022/08/01 11:50:35 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrInt64 (0.21s)
=== RUN   TestGroupAggr1
2022/08/01 11:50:35 In TestGroupAggr1()
2022/08/01 11:50:35 In DropAllSecondaryIndexes()
2022/08/01 11:50:35 Index found:  #primary
2022/08/01 11:50:35 Dropped index #primary
2022/08/01 11:50:35 Index found:  index_company_desc
2022/08/01 11:50:35 Dropped index index_company_desc
2022/08/01 11:50:35 Index found:  index_companyname_desc
2022/08/01 11:50:36 Dropped index index_companyname_desc
2022/08/01 11:50:36 Index found:  index_company_name_age_desc
2022/08/01 11:50:36 Dropped index index_company_name_age_desc
2022/08/01 11:50:36 Index found:  index_agg
2022/08/01 11:50:36 Dropped index index_agg
2022/08/01 11:51:13 Flushed the bucket default, Response body: 
2022/08/01 11:51:22 Created the secondary index idx_aggrs. Waiting for it become active
2022/08/01 11:51:22 Index is 13482113404445201757 now active
2022/08/01 11:51:22 Total Scanresults = 641
2022/08/01 11:51:23 Total Scanresults = 753
--- PASS: TestGroupAggr1 (47.55s)
=== RUN   TestGroupAggrArrayIndex
2022/08/01 11:51:23 In TestGroupAggrArrayIndex()
2022/08/01 11:51:27 Created the secondary index ga_arr1. Waiting for it become active
2022/08/01 11:51:27 Index is 18237961386111796888 now active
2022/08/01 11:51:31 Created the secondary index ga_arr2. Waiting for it become active
2022/08/01 11:51:31 Index is 16553551596242647805 now active
2022/08/01 11:51:31 Scenario 1
2022/08/01 11:51:31 Total Scanresults = 641
2022/08/01 11:51:31 Scenario 2
2022/08/01 11:51:31 Total Scanresults = 2835
2022/08/01 11:51:32 Scenario 3
2022/08/01 11:51:32 Total Scanresults = 1
2022/08/01 11:51:32 Scenario 4
2022/08/01 11:51:32 Total Scanresults = 991
2022/08/01 11:51:33 Scenario 5
2022/08/01 11:51:33 Total Scanresults = 2835
2022/08/01 11:51:34 Scenario 6
2022/08/01 11:51:34 Total Scanresults = 1
2022/08/01 11:51:34 Scenario 7
2022/08/01 11:51:34 Total Scanresults = 2931
2022/08/01 11:51:37 Scenario 8
2022/08/01 11:51:37 Total Scanresults = 1168
2022/08/01 11:51:38 Scenario 9
2022/08/01 11:51:38 Total Scanresults = 1
2022/08/01 11:51:38 Scenario 10
2022/08/01 11:51:38 Total Scanresults = 641
2022/08/01 11:51:38 Scenario 11
2022/08/01 11:51:38 Total Scanresults = 1168
2022/08/01 11:51:39 Scenario 12
2022/08/01 11:51:39 Total Scanresults = 1
2022/08/01 11:51:39 Scenario 13
2022/08/01 11:51:43 Total Scanresults = 1
2022/08/01 11:51:43 Count of scanResults is 1
2022/08/01 11:51:43 Value: [2 117]
--- PASS: TestGroupAggrArrayIndex (20.21s)
=== RUN   TestGroupAggr_FirstValidAggrOnly
2022/08/01 11:51:43 In TestGroupAggr_FirstValidAggrOnly()
2022/08/01 11:51:43 In DropAllSecondaryIndexes()
2022/08/01 11:51:43 Index found:  idx_aggrs
2022/08/01 11:51:43 Dropped index idx_aggrs
2022/08/01 11:51:43 Index found:  test_oneperprimarykey
2022/08/01 11:51:43 Dropped index test_oneperprimarykey
2022/08/01 11:51:43 Index found:  ga_arr2
2022/08/01 11:51:43 Dropped index ga_arr2
2022/08/01 11:51:43 Index found:  ga_arr1
2022/08/01 11:51:43 Dropped index ga_arr1
2022/08/01 11:51:43 Index found:  #primary
2022/08/01 11:51:43 Dropped index #primary
2022/08/01 11:51:56 Created the secondary index idx_asc_3field. Waiting for it become active
2022/08/01 11:51:56 Index is 5932335803786844652 now active
2022/08/01 11:52:00 Created the secondary index idx_desc_3field. Waiting for it become active
2022/08/01 11:52:00 Index is 16329578664073447497 now active
2022/08/01 11:52:00 === MIN no group by ===
2022/08/01 11:52:00 Total Scanresults = 1
2022/08/01 11:52:00 Count of scanResults is 1
2022/08/01 11:52:00 Value: ["ACCEL"]
2022/08/01 11:52:00 === MIN no group by, no row match ===
2022/08/01 11:52:00 Total Scanresults = 1
2022/08/01 11:52:00 Count of scanResults is 1
2022/08/01 11:52:00 Value: [null]
2022/08/01 11:52:01 === MIN with group by ===
2022/08/01 11:52:01 Total Scanresults = 641
2022/08/01 11:52:01 === MIN with group by, no row match ===
2022/08/01 11:52:01 Total Scanresults = 0
2022/08/01 11:52:02 === One Aggr, no group by ===
2022/08/01 11:52:02 Total Scanresults = 1
2022/08/01 11:52:02 Count of scanResults is 1
2022/08/01 11:52:02 Value: ["FANFARE"]
2022/08/01 11:52:02 === One Aggr, no group by, no row match ===
2022/08/01 11:52:02 Total Scanresults = 1
2022/08/01 11:52:02 Count of scanResults is 1
2022/08/01 11:52:02 Value: [null]
2022/08/01 11:52:02 === Multiple Aggr, no group by ===
2022/08/01 11:52:02 Total Scanresults = 1
2022/08/01 11:52:02 Count of scanResults is 1
2022/08/01 11:52:02 Value: ["FANFARE" 15]
2022/08/01 11:52:02 === Multiple Aggr, no group by, no row match ===
2022/08/01 11:52:02 Total Scanresults = 1
2022/08/01 11:52:02 Count of scanResults is 1
2022/08/01 11:52:02 Value: [null null]
2022/08/01 11:52:03 === No Aggr, 1 group by ===
2022/08/01 11:52:03 Total Scanresults = 211
2022/08/01 11:52:03 === Aggr on non-leading key, previous equality filter, no group ===
2022/08/01 11:52:03 Total Scanresults = 1
2022/08/01 11:52:03 Count of scanResults is 1
2022/08/01 11:52:03 Value: [59]
2022/08/01 11:52:03 === Aggr on non-leading key, previous equality filters, no group ===
2022/08/01 11:52:03 Total Scanresults = 1
2022/08/01 11:52:03 Count of scanResults is 1
2022/08/01 11:52:03 Value: [null]
2022/08/01 11:52:03 === Aggr on non-leading key, previous non-equality filters, no group ===
2022/08/01 11:52:03 Total Scanresults = 1
2022/08/01 11:52:03 Count of scanResults is 1
2022/08/01 11:52:03 Value: ["Adam"]
2022/08/01 11:52:03 === MIN on desc, no group ===
2022/08/01 11:52:03 Total Scanresults = 1
2022/08/01 11:52:03 Count of scanResults is 1
2022/08/01 11:52:03 Value: ["FANFARE"]
2022/08/01 11:52:03 === MAX on asc, no group ===
2022/08/01 11:52:03 Total Scanresults = 1
2022/08/01 11:52:03 Count of scanResults is 1
2022/08/01 11:52:03 Value: ["OZEAN"]
2022/08/01 11:52:04 === MAX on desc, no group ===
2022/08/01 11:52:04 Total Scanresults = 1
2022/08/01 11:52:04 Count of scanResults is 1
2022/08/01 11:52:04 Value: ["OZEAN"]
2022/08/01 11:52:04 === COUNT(DISTINCT const_expr, no group ===
2022/08/01 11:52:04 Total Scanresults = 1
2022/08/01 11:52:04 Count of scanResults is 1
2022/08/01 11:52:04 Value: [1]
2022/08/01 11:52:04 === COUNT(DISTINCT const_expr, no group, no row match ===
2022/08/01 11:52:04 Total Scanresults = 1
2022/08/01 11:52:04 Count of scanResults is 1
2022/08/01 11:52:04 Value: [0]
2022/08/01 11:52:04 === COUNT(const_expr, no group ===
2022/08/01 11:52:04 Total Scanresults = 1
2022/08/01 11:52:04 Count of scanResults is 1
2022/08/01 11:52:04 Value: [345]
2022/08/01 11:52:08 Created the secondary index indexMinAggr. Waiting for it become active
2022/08/01 11:52:08 Index is 4565861691410633527 now active
2022/08/01 11:52:08 === Equality filter check: Equality for a, nil filter for b - inclusion 0, no filter for c ===
2022/08/01 11:52:08 Total Scanresults = 1
2022/08/01 11:52:08 Count of scanResults is 1
2022/08/01 11:52:08 Value: [5]
2022/08/01 11:52:08 === Equality filter check: Equality for a, nil filter for b - inclusion 3, no filter for c ===
2022/08/01 11:52:08 Total Scanresults = 1
2022/08/01 11:52:08 Count of scanResults is 1
2022/08/01 11:52:08 Value: [5]
2022/08/01 11:52:09 === Equality filter check: Equality for a, nil filter for b - inclusion 3, nil filter for c ===
2022/08/01 11:52:09 Total Scanresults = 1
2022/08/01 11:52:09 Count of scanResults is 1
2022/08/01 11:52:09 Value: [5]
--- PASS: TestGroupAggr_FirstValidAggrOnly (25.60s)
=== RUN   TestGroupAggrPrimary
2022/08/01 11:52:09 In TestGroupAggrPrimary()
2022/08/01 11:52:09 Total Scanresults = 1
2022/08/01 11:52:09 Total Scanresults = 1
2022/08/01 11:52:09 Total Scanresults = 1
2022/08/01 11:52:09 Total Scanresults = 1002
2022/08/01 11:52:09 Total Scanresults = 1002
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 --- MB-28305 Scenario 1 ---
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Count of scanResults is 1
2022/08/01 11:52:10 Value: [0]
2022/08/01 11:52:10 --- MB-28305 Scenario 2 ---
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Count of scanResults is 1
2022/08/01 11:52:10 Value: [0]
2022/08/01 11:52:10 --- MB-28305 Scenario 3 ---
2022/08/01 11:52:10 Total Scanresults = 1
2022/08/01 11:52:10 Count of scanResults is 1
2022/08/01 11:52:10 Value: [0]
--- PASS: TestGroupAggrPrimary (1.53s)
=== RUN   TestGroupAggrDocumentKey
2022/08/01 11:52:10 In TestGroupAggrDocumentKey()
2022/08/01 11:52:10 Dropping the secondary index documentkey_idx1
2022/08/01 11:52:10 Dropping the secondary index documentkey_idx2
2022/08/01 11:52:10 Populating the default bucket for TestGroupAggrDocumentKey single key index
2022/08/01 11:52:14 Created the secondary index documentkey_idx1. Waiting for it become active
2022/08/01 11:52:14 Index is 1923819984803314074 now active
2022/08/01 11:52:14 Using n1ql client
2022/08/01 11:52:14 Scanresult Row  ["1"] :  
2022/08/01 11:52:14 Scanresult Row  ["2"] :  
2022/08/01 11:52:14 Scanresult Row  ["3"] :  
2022/08/01 11:52:14 Expected and Actual scan responses are the same
2022/08/01 11:52:14 Populating the default bucket for TestGroupAggrDocumentKey composite key index
2022/08/01 11:52:18 Created the secondary index documentkey_idx2. Waiting for it become active
2022/08/01 11:52:18 Index is 15273293345569053615 now active
2022/08/01 11:52:18 Using n1ql client
2022/08/01 11:52:18 Scanresult Row  ["1"] :  
2022/08/01 11:52:18 Scanresult Row  ["2"] :  
2022/08/01 11:52:18 Scanresult Row  ["3"] :  
2022/08/01 11:52:19 Expected and Actual scan responses are the same
--- PASS: TestGroupAggrDocumentKey (8.45s)
=== RUN   TestRebalanceSetupCluster
2022/08/01 11:52:19 set14_rebalance_test.go::TestRebalanceSetupCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index kv] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:52:19 set14_rebalance_test.go::TestRebalanceSetupCluster: 1. Setting up initial cluster configuration
2022/08/01 11:52:19 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/08/01 11:52:24 Rebalance progress: 4.166666666666666
2022/08/01 11:52:29 Rebalance progress: 9.5703125
2022/08/01 11:52:34 Rebalance progress: 15.234375
2022/08/01 11:52:39 Rebalance progress: 21.54947916666666
2022/08/01 11:52:44 Rebalance progress: 27.27864583333334
2022/08/01 11:52:49 Rebalance progress: 33.46354166666666
2022/08/01 11:52:54 Rebalance progress: 39.84375
2022/08/01 11:52:59 Rebalance progress: 47.0703125
2022/08/01 11:53:04 Rebalance progress: 50
2022/08/01 11:53:09 Rebalance progress: 50
2022-08-01T11:53:13.686+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:34854->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T11:53:13.690+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:34852->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 11:53:14 Rebalance progress: 100
2022/08/01 11:53:14 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 11:53:16 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 11:53:26 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 11:53:31 Rebalance progress: 100
2022/08/01 11:53:31 set14_rebalance_test.go::TestRebalanceSetupCluster: 2. Changing indexer.settings.rebalance.redistribute_indexes to true
2022/08/01 11:53:31 Changing config key indexer.settings.rebalance.redistribute_indexes to value true
2022/08/01 11:53:31 set14_rebalance_test.go::TestRebalanceSetupCluster: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceSetupCluster (72.68s)
=== RUN   TestCreateDocsBeforeRebalance
2022/08/01 11:53:31 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:53:31 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 1. Creating 100 documents
2022/08/01 11:53:32 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: 100 documents created
2022/08/01 11:53:32 set14_rebalance_test.go::TestCreateDocsBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateDocsBeforeRebalance (0.18s)
=== RUN   TestCreateIndexesBeforeRebalance
2022/08/01 11:53:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:53:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 1. Creating 17 indexes: non-partitioned, 0-replica, non-deferred
2022/08/01 11:53:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN__id on `default`(_id)
2022/08/01 11:53:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN__id index is now active.
2022/08/01 11:53:35 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_docid on `default`(docid)
2022/08/01 11:53:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_docid index is now active.
2022/08/01 11:53:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_guid on `default`(guid)
2022/08/01 11:53:44 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_guid index is now active.
2022/08/01 11:53:44 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_isActive on `default`(isActive)
2022/08/01 11:53:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_isActive index is now active.
2022/08/01 11:53:48 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_balance on `default`(balance)
2022/08/01 11:53:52 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_balance index is now active.
2022/08/01 11:53:52 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_picture on `default`(picture)
2022/08/01 11:53:56 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_picture index is now active.
2022/08/01 11:53:56 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_age on `default`(age)
2022/08/01 11:53:59 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_age index is now active.
2022/08/01 11:53:59 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_eyeColor on `default`(eyeColor)
2022/08/01 11:54:03 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_eyeColor index is now active.
2022/08/01 11:54:03 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_name on `default`(name)
2022/08/01 11:54:07 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_name index is now active.
2022/08/01 11:54:07 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_gender on `default`(gender)
2022/08/01 11:54:11 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_gender index is now active.
2022/08/01 11:54:11 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_company on `default`(company)
2022/08/01 11:54:15 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_company index is now active.
2022/08/01 11:54:15 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_email on `default`(email)
2022/08/01 11:54:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_email index is now active.
2022/08/01 11:54:19 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_phone on `default`(phone)
2022/08/01 11:54:23 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_phone index is now active.
2022/08/01 11:54:23 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_registered on `default`(registered)
2022/08/01 11:54:27 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_registered index is now active.
2022/08/01 11:54:27 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_latitude on `default`(latitude)
2022/08/01 11:54:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_latitude index is now active.
2022/08/01 11:54:32 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_longitude on `default`(longitude)
2022/08/01 11:54:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_longitude index is now active.
2022/08/01 11:54:36 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_PLAIN_favoriteFruit on `default`(favoriteFruit)
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_PLAIN_favoriteFruit index is now active.
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 2. Creating 17 indexes: non-partitioned, 0-replica, DEFERRED
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED__id_docid on `default`(_id, docid) with {"defer_build":true}
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED__id_docid index is now deferred.
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_docid_guid on `default`(docid, guid) with {"defer_build":true}
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_docid_guid index is now deferred.
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_guid_isActive on `default`(guid, isActive) with {"defer_build":true}
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_guid_isActive index is now deferred.
2022/08/01 11:54:40 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_isActive_balance on `default`(isActive, balance) with {"defer_build":true}
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_isActive_balance index is now deferred.
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_balance_picture on `default`(balance, picture) with {"defer_build":true}
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_balance_picture index is now deferred.
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_picture_age on `default`(picture, age) with {"defer_build":true}
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_picture_age index is now deferred.
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_age_eyeColor on `default`(age, eyeColor) with {"defer_build":true}
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_age_eyeColor index is now deferred.
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_eyeColor_name on `default`(eyeColor, name) with {"defer_build":true}
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_eyeColor_name index is now deferred.
2022/08/01 11:54:41 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_name_gender on `default`(name, gender) with {"defer_build":true}
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_name_gender index is now deferred.
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_gender_company on `default`(gender, company) with {"defer_build":true}
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_gender_company index is now deferred.
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_company_email on `default`(company, email) with {"defer_build":true}
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_company_email index is now deferred.
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_email_phone on `default`(email, phone) with {"defer_build":true}
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_email_phone index is now deferred.
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_phone_registered on `default`(phone, registered) with {"defer_build":true}
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_phone_registered index is now deferred.
2022/08/01 11:54:42 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_registered_latitude on `default`(registered, latitude) with {"defer_build":true}
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_registered_latitude index is now deferred.
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_latitude_longitude on `default`(latitude, longitude) with {"defer_build":true}
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_latitude_longitude index is now deferred.
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_longitude_favoriteFruit on `default`(longitude, favoriteFruit) with {"defer_build":true}
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_longitude_favoriteFruit index is now deferred.
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_DEFERRED_favoriteFruit__id on `default`(favoriteFruit, _id) with {"defer_build":true}
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_DEFERRED_favoriteFruit__id index is now deferred.
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: 3. Creating 3 indexes: 7-PARTITION, 0-replica, non-deferred
2022/08/01 11:54:43 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS__id_guid on `default`(_id, guid) partition by hash(Meta().id) with {"num_partition":7}
2022/08/01 11:54:47 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS__id_guid index is now active.
2022/08/01 11:54:47 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS_docid_isActive on `default`(docid, isActive) partition by hash(Meta().id) with {"num_partition":7}
2022/08/01 11:54:51 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_docid_isActive index is now active.
2022/08/01 11:54:51 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_7PARTITIONS_guid_balance on `default`(guid, balance) partition by hash(Meta().id) with {"num_partition":7}
2022/08/01 11:54:55 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: set14_idx_7PARTITIONS_guid_balance index is now active.
2022/08/01 11:54:55 set14_rebalance_test.go::TestCreateIndexesBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateIndexesBeforeRebalance (83.68s)
=== RUN   TestIndexNodeRebalanceIn
2022/08/01 11:54:55 TestIndexNodeRebalanceIn entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:54:55 TestIndexNodeRebalanceIn: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 11:54:55 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 11:55:02 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/08/01 11:55:02 TestIndexNodeRebalanceIn: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/08/01 11:55:02 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 11:55:10 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/08/01 11:55:10 TestIndexNodeRebalanceIn: 3. Rebalancing
2022/08/01 11:55:15 Rebalance progress: 0
2022/08/01 11:55:20 Rebalance progress: 12.5
2022/08/01 11:55:25 Rebalance progress: 44.64285714285714
2022/08/01 11:55:30 Rebalance progress: 52.67857142857143
2022/08/01 11:55:35 Rebalance progress: 58.03571428571429
2022/08/01 11:55:40 Rebalance progress: 63.39285714285714
2022/08/01 11:55:45 Rebalance progress: 68.75
2022/08/01 11:55:50 Rebalance progress: 68.75
2022/08/01 11:55:55 Rebalance progress: 74.10714285714286
2022/08/01 11:56:00 Rebalance progress: 79.46428571428572
2022/08/01 11:56:05 Rebalance progress: 84.82142857142857
2022/08/01 11:56:10 Rebalance progress: 87.5
2022/08/01 11:56:15 Rebalance progress: 100
2022/08/01 11:56:15 TestIndexNodeRebalanceIn exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestIndexNodeRebalanceIn (82.21s)
=== RUN   TestCreateReplicatedIndexesBeforeRebalance
2022/08/01 11:56:18 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:56:18 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 1. Creating 5 indexes: non-partitioned, 2-REPLICA, non-deferred
2022/08/01 11:56:18 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS__id_isActive on `default`(_id, isActive) with {"num_replica":2}
2022/08/01 11:56:26 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS__id_isActive index is now active.
2022/08/01 11:56:26 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_docid_balance on `default`(docid, balance) with {"num_replica":2}
2022/08/01 11:56:35 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_docid_balance index is now active.
2022/08/01 11:56:35 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_guid_picture on `default`(guid, picture) with {"num_replica":2}
2022/08/01 11:56:46 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_guid_picture index is now active.
2022/08/01 11:56:46 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_isActive_age on `default`(isActive, age) with {"num_replica":2}
2022/08/01 11:56:54 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_isActive_age index is now active.
2022/08/01 11:56:54 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_2REPLICAS_balance_eyeColor on `default`(balance, eyeColor) with {"num_replica":2}
2022/08/01 11:57:02 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_2REPLICAS_balance_eyeColor index is now active.
2022/08/01 11:57:02 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: 2. Creating 2 indexes: 5-PARTITION, 1-REPLICA, non-deferred
2022/08/01 11:57:02 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_5PARTITIONS_1REPLICAS__id_balance on `default`(_id, balance) partition by hash(Meta().id) with {"num_partition":5, "num_replica":1}
2022/08/01 11:57:12 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS__id_balance index is now active.
2022/08/01 11:57:12 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance:: Executing N1QL: create index set14_idx_5PARTITIONS_1REPLICAS_docid_picture on `default`(docid, picture) partition by hash(Meta().id) with {"num_partition":5, "num_replica":1}
2022/08/01 11:57:24 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: set14_idx_5PARTITIONS_1REPLICAS_docid_picture index is now active.
2022/08/01 11:57:25 set14_rebalance_test.go::TestCreateReplicatedIndexesBeforeRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestCreateReplicatedIndexesBeforeRebalance (67.32s)
=== RUN   TestIndexNodeRebalanceOut
2022/08/01 11:57:25 set14_rebalance_test.go::TestIndexNodeRebalanceOut: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:57:25 set14_rebalance_test.go::TestIndexNodeRebalanceOut: 1. Rebalancing index node 127.0.0.1:9001 out of the cluster
2022/08/01 11:57:25 Removing node(s): [127.0.0.1:9001] from the cluster
2022/08/01 11:57:31 Rebalance progress: 12.5
2022/08/01 11:57:36 Rebalance progress: 26.92307692307692
2022/08/01 11:57:41 Rebalance progress: 35.57692307692308
2022/08/01 11:57:46 Rebalance progress: 41.34615384615385
2022/08/01 11:57:51 Rebalance progress: 47.11538461538461
2022/08/01 11:57:56 Rebalance progress: 47.11538461538461
2022/08/01 11:58:01 Rebalance progress: 52.88461538461539
2022/08/01 11:58:06 Rebalance progress: 58.65384615384615
2022/08/01 11:58:11 Rebalance progress: 64.42307692307692
2022/08/01 11:58:16 Rebalance progress: 70.1923076923077
2022/08/01 11:58:21 Rebalance progress: 75.96153846153845
2022/08/01 11:58:26 Rebalance progress: 78.84615384615385
2022/08/01 11:58:31 Rebalance progress: 87.5
2022-08-01T11:58:31.859+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49268->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T11:58:31.861+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49258->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 11:58:36 Rebalance progress: 100
2022/08/01 11:58:36 set14_rebalance_test.go::TestIndexNodeRebalanceOut: exit: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestIndexNodeRebalanceOut (73.01s)
=== RUN   TestFailoverAndRebalance
2022/08/01 11:58:38 set14_rebalance_test.go::TestFailoverAndRebalance: entry: Current cluster configuration: map[127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:58:38 set14_rebalance_test.go::TestFailoverAndRebalance: 1. Failing over index node 127.0.0.1:9002
2022/08/01 11:58:38 Failing over: [127.0.0.1:9002]
2022-08-01T11:58:38.827+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:40814->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T11:58:38.830+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:40824->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 11:58:39 set14_rebalance_test.go::TestFailoverAndRebalance: 2. Rebalancing
2022/08/01 11:58:44 Rebalance progress: 25
2022/08/01 11:58:49 Rebalance progress: 75
2022/08/01 11:58:54 Rebalance progress: 100
2022/08/01 11:58:54 set14_rebalance_test.go::TestFailoverAndRebalance: exit: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestFailoverAndRebalance (18.66s)
=== RUN   TestSwapRebalance
2022/08/01 11:58:56 set14_rebalance_test.go::TestSwapRebalance: entry: Current cluster configuration: map[127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:58:56 set14_rebalance_test.go::TestSwapRebalance: 1. Adding index node 127.0.0.1:9001 to the cluster
2022/08/01 11:58:56 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 11:59:03 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 11:59:03 set14_rebalance_test.go::TestSwapRebalance: 2. Swap rebalancing index node 127.0.0.1:9003 out of the cluster
2022/08/01 11:59:03 Removing node(s): [127.0.0.1:9003] from the cluster
2022/08/01 11:59:09 Rebalance progress: 16.66666666666667
2022/08/01 11:59:14 Rebalance progress: 38.09523809523809
2022/08/01 11:59:19 Rebalance progress: 45.23809523809524
2022/08/01 11:59:25 Rebalance progress: 52.38095238095238
2022/08/01 11:59:29 Rebalance progress: 59.52380952380953
2022/08/01 11:59:34 Rebalance progress: 66.66666666666667
2022/08/01 11:59:39 Rebalance progress: 73.80952380952381
2022/08/01 11:59:44 Rebalance progress: 73.80952380952381
2022/08/01 11:59:49 Rebalance progress: 80.95238095238096
2022-08-01T11:59:51.660+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:48332->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T11:59:51.700+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:48324->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022/08/01 11:59:54 Rebalance progress: 100
2022/08/01 11:59:54 set14_rebalance_test.go::TestSwapRebalance: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestSwapRebalance (59.25s)
=== RUN   TestRebalanceReplicaRepair
2022/08/01 11:59:56 TestRebalanceReplicaRepair entry: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 11:59:56 TestRebalanceReplicaRepair: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 11:59:56 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 12:00:04 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022/08/01 12:00:04 TestRebalanceReplicaRepair: 2. Adding index node 127.0.0.1:9003 to the cluster
2022/08/01 12:00:04 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 12:00:14 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022/08/01 12:00:14 TestRebalanceReplicaRepair: 3. Rebalancing
2022/08/01 12:00:19 Rebalance progress: 12.5
2022/08/01 12:00:24 Rebalance progress: 24.66216216216216
2022/08/01 12:00:29 Rebalance progress: 30.74324324324325
2022/08/01 12:00:34 Rebalance progress: 34.7972972972973
2022/08/01 12:00:39 Rebalance progress: 38.85135135135135
2022/08/01 12:00:44 Rebalance progress: 42.9054054054054
2022/08/01 12:00:49 Rebalance progress: 46.95945945945946
2022/08/01 12:00:54 Rebalance progress: 46.95945945945946
2022/08/01 12:00:59 Rebalance progress: 51.01351351351352
2022/08/01 12:01:04 Rebalance progress: 55.06756756756756
2022/08/01 12:01:09 Rebalance progress: 57.0945945945946
2022/08/01 12:01:14 Rebalance progress: 59.12162162162162
2022/08/01 12:01:19 Rebalance progress: 63.17567567567568
2022/08/01 12:01:24 Rebalance progress: 67.22972972972973
2022/08/01 12:01:29 Rebalance progress: 71.28378378378379
2022/08/01 12:01:34 Rebalance progress: 75.33783783783785
2022/08/01 12:01:39 Rebalance progress: 79.39189189189189
2022/08/01 12:01:44 Rebalance progress: 83.44594594594594
2022/08/01 12:01:49 Rebalance progress: 83.44594594594594
2022/08/01 12:01:54 Rebalance progress: 100
2022/08/01 12:01:54 TestRebalanceReplicaRepair exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceReplicaRepair (120.34s)
=== RUN   TestPauseAndResume
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Before start, calling GetTaskList
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008813c50}, TaskList &{Rev:[0 0 0 0 0 0 0 15] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008813f20}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc009cdbef0}, TaskList &{Rev:[0 0 0 0 0 0 0 23] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling PreparePause
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList(PreparePause)
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008885260}, TaskList &{Rev:[0 0 0 0 0 0 0 15] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008885560}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008885860}, TaskList &{Rev:[0 0 0 0 0 0 0 23] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-pause Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket bucketUuid:fakeBucketUuid]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling CancelTask(PreparePause)
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList()
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008885bf0}, TaskList &{Rev:[0 0 0 0 0 0 0 15] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc000ad7230}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc000ad7b30}, TaskList &{Rev:[0 0 0 0 0 0 0 23] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling PrepareResume
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList(PrepareResume)
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0046606c0}, TaskList &{Rev:[0 0 0 0 0 0 0 15] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc0046609c0}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc004660db0}, TaskList &{Rev:[0 0 0 0 0 0 0 23] Tasks:[{Rev:[0 0 0 0 0 0 0 0] ID:fakeTaskId Type:task-prepare-resume Status:task-running IsCancelable:true Progress:0 DetailedProgress:map[] Description: ErrorMessage: Extra:map[archiveDir:/fakeRemotePath/ archiveType:File bucket:fakeBucket dryRun:true]}]}
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling CancelTask(PrepareResume)
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: Calling GetTaskList()
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc005f4c0c0}, TaskList &{Rev:[0 0 0 0 0 0 0 15] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc005f4c330}, TaskList &{Rev:[0 0 0 0 0 0 0 3] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::getTaskList: getTaskListResponse: {Code:success Error: TaskList:0xc008221440}, TaskList &{Rev:[0 0 0 0 0 0 0 23] Tasks:[]}
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestPauseAndResume (0.34s)
=== RUN   TestFailureAndRebalanceDuringInitialIndexBuild
2022/08/01 12:01:56 set14_rebalance_test.go::TestPauseAndResume: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 12:02:00 Created the secondary index index_0. Waiting for it become active
2022/08/01 12:02:00 Index is 15636864560337765724 now active
2022/08/01 12:02:05 Created the secondary index index_1. Waiting for it become active
2022/08/01 12:02:05 Index is 16658597411431810423 now active
2022/08/01 12:02:09 Created the secondary index index_2. Waiting for it become active
2022/08/01 12:02:09 Index is 8622317423431000120 now active
2022/08/01 12:02:16 Created the secondary index index_3. Waiting for it become active
2022/08/01 12:02:16 Index is 15626404202639944716 now active
2022/08/01 12:02:25 Created the secondary index index_4. Waiting for it become active
2022/08/01 12:02:25 Index is 6979261080571775662 now active
2022/08/01 12:02:30 Created the secondary index index_5. Waiting for it become active
2022/08/01 12:02:30 Index is 10961348933237474175 now active
2022/08/01 12:02:34 Created the secondary index index_6. Waiting for it become active
2022/08/01 12:02:34 Index is 12977309022908612334 now active
2022/08/01 12:02:38 Created the secondary index index_7. Waiting for it become active
2022/08/01 12:02:38 Index is 5953917999656117985 now active
2022/08/01 12:02:43 Created the secondary index index_8. Waiting for it become active
2022/08/01 12:02:43 Index is 2028411944838730131 now active
2022/08/01 12:02:47 Created the secondary index index_9. Waiting for it become active
2022/08/01 12:02:47 Index is 2760439790563056683 now active
2022/08/01 12:03:08 Failing over: [127.0.0.1:9002]
2022-08-01T12:03:08.605+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:53560->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:03:08.606+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:53566->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 12:03:09 Build the deferred index index_11. Waiting for the index to become active
2022/08/01 12:03:09 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:10 TestFailureAndRebalanceDuringInitialIndexBuild: 1. Adding index node 127.0.0.1:9002 to the cluster
2022/08/01 12:03:10 Kicking off failover recovery, type: full
2022/08/01 12:03:10 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:11 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:12 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:13 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:14 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:15 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:16 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:17 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:18 Rebalance progress: 12.5
2022-08-01T12:03:19.749+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.749+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.749+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.749+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.749+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022-08-01T12:03:19.750+05:30 [Fatal] indexer node 54681bd031adffe25409afefdca8edec not available
2022/08/01 12:03:19 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:20 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:21 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:22 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:23 Rebalance progress: 12.5
2022/08/01 12:03:23 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:24 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:25 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:26 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:27 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:28 Rebalance failed. See logs for detailed reason. You can try again.
2022/08/01 12:03:28 set14_rebalance_test.go::TestPauseAndResume: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestFailureAndRebalanceDuringInitialIndexBuild (91.74s)
=== RUN   TestRebalanceResetCluster
2022/08/01 12:03:28 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:28 set14_rebalance_test.go::TestRebalanceResetCluster: entry: Current cluster configuration: map[127.0.0.1:9001:[index] 127.0.0.1:9002:[index] 127.0.0.1:9003:[index] 172.31.5.112:9000:[kv n1ql]]
2022/08/01 12:03:28 set14_rebalance_test.go::TestRebalanceResetCluster: 1. Restoring indexer.settings.rebalance.redistribute_indexes to false
2022/08/01 12:03:28 Changing config key indexer.settings.rebalance.redistribute_indexes to value false
2022/08/01 12:03:28 set14_rebalance_test.go::TestRebalanceResetCluster: 2. Resetting cluster to initial configuration
2022/08/01 12:03:28 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022/08/01 12:03:29 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:30 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:31 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:32 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:33 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:34 Rebalance progress: 12.5
2022/08/01 12:03:34 Waiting for index 4703274357577937111 to go active ...
2022/08/01 12:03:35 Index is 4703274357577937111 now active
2022-08-01T12:03:36.050+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:34358->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:03:36.050+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:60000->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:03:36.050+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:32844->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T12:03:36.059+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:32834->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T12:03:36.059+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:34356->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:03:36.060+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:59996->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022/08/01 12:03:40 Rebalance progress: 100
2022/08/01 12:03:40 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:03:41 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:03:56 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 12:04:01 Rebalance progress: 100
2022/08/01 12:04:01 set14_rebalance_test.go::TestRebalanceResetCluster: exit: Current cluster configuration: map[127.0.0.1:9001:[index] 172.31.5.112:9000:[kv n1ql]]
--- PASS: TestRebalanceResetCluster (35.04s)
=== RUN   TestAlterIndexIncrReplica
2022/08/01 12:04:03 In TestAlterIndexIncrReplica()
2022/08/01 12:04:03 This test creates an index with one replica and then increments replica count to 2
2022/08/01 12:04:03 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T12:04:05.379+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:46608->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:04:05.387+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:46610->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:04:08 Rebalance progress: 100
2022/08/01 12:04:08 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:04:19 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 12:04:24 Rebalance progress: 100
2022/08/01 12:04:24 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 12:04:32 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022-08-01T12:04:34.373+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:34.395+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:34.396+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:34.417+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:04:34.419+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:04:34.449+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 12:04:37 Rebalance progress: 100
2022/08/01 12:04:37 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 12:04:44 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022-08-01T12:04:47.035+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:47.064+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:47.073+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:04:47.079+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:04:47.151+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:04:47.158+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 12:04:49 Rebalance progress: 100
2022/08/01 12:04:49 In DropAllSecondaryIndexes()
2022/08/01 12:05:35 Flushed the bucket default, Response body: 
2022/08/01 12:05:43 Created the secondary index idx_1. Waiting for it become active
2022/08/01 12:05:43 Index is 17710676010251804504 now active
2022/08/01 12:05:43 Executing alter index command: alter index `default`.idx_1 with {"action":"replica_count", "num_replica":2}
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:09 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
2022/08/01 12:06:10 Using n1ql client
--- PASS: TestAlterIndexIncrReplica (126.63s)
=== RUN   TestAlterIndexDecrReplica
2022/08/01 12:06:10 In TestAlterIndexDecrReplica()
2022/08/01 12:06:10 This test creates an index with two replicas and then decrements replica count to 1
2022/08/01 12:06:10 In DropAllSecondaryIndexes()
2022/08/01 12:06:10 Index found:  idx_1
2022/08/01 12:06:10 Dropped index idx_1
2022/08/01 12:06:28 Created the secondary index idx_2. Waiting for it become active
2022/08/01 12:06:28 Index is 14488144900487038657 now active
2022/08/01 12:06:28 Executing alter index command: alter index `default`.idx_2 with {"action":"replica_count", "num_replica":1}
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
2022/08/01 12:06:50 Using n1ql client
--- PASS: TestAlterIndexDecrReplica (40.04s)
=== RUN   TestAlterIndexDropReplica
2022/08/01 12:06:50 In TestAlterIndexDropReplica()
2022/08/01 12:06:50 This test creates an index with two replicas and then drops one replica from cluster
2022/08/01 12:06:50 In DropAllSecondaryIndexes()
2022/08/01 12:06:50 Index found:  idx_2
2022/08/01 12:06:50 Dropped index idx_2
2022/08/01 12:07:05 Created the secondary index idx_3. Waiting for it become active
2022/08/01 12:07:05 Index is 12442626877411408525 now active
2022/08/01 12:07:05 Executing alter index command: alter index `default`.idx_3 with {"action":"drop_replica", "replicaId":0}
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
2022/08/01 12:07:31 Using n1ql client
--- PASS: TestAlterIndexDropReplica (41.55s)
=== RUN   TestResetCluster_1
2022/08/01 12:07:31 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T12:07:35.108+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:47858->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:07:35.108+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:35872->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:07:35.108+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:44074->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T12:07:35.112+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:47860->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:07:35.113+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:35868->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:07:35.114+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:44078->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022/08/01 12:07:37 Rebalance progress: 87.5
2022/08/01 12:07:42 Rebalance progress: 100
2022/08/01 12:07:42 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:07:55 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 12:08:01 Rebalance progress: 100
--- PASS: TestResetCluster_1 (29.43s)
=== RUN   TestPartitionDistributionWithReplica
2022/08/01 12:08:01 In TestPartitionDistributionWithReplica()
2022/08/01 12:08:01 This test will create a paritioned index with replica and checks the parition distribution
2022/08/01 12:08:01 Parititions with same ID beloning to both replica and source index should not be on the same node
2022/08/01 12:08:01 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T12:08:03.528+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:56386->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:08:03.533+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:56388->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:08:06 Rebalance progress: 100
2022/08/01 12:08:06 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:08:17 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 12:08:22 Rebalance progress: 100
2022/08/01 12:08:22 Adding node: https://127.0.0.1:19002 with role: index to the cluster
2022/08/01 12:08:29 AddNode: Successfully added node: 127.0.0.1:9002 (role index), response: {"otpNode":"n_2@127.0.0.1"}
2022-08-01T12:08:32.055+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:08:32.059+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:08:32.063+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:08:32.070+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:08:32.082+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022-08-01T12:08:32.092+05:30 [Error] watcher.refreshServiceMap() Server Config Error : Key = IndexerNodeUUID : FDB_RESULT_KEY_NOT_FOUND
2022/08/01 12:08:35 Rebalance progress: 100
2022/08/01 12:08:35 Adding node: https://127.0.0.1:19003 with role: index to the cluster
2022/08/01 12:08:42 AddNode: Successfully added node: 127.0.0.1:9003 (role index), response: {"otpNode":"n_3@127.0.0.1"}
2022-08-01T12:08:44.918+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9118, error: dial tcp 127.0.0.1:9118: connect: connection refused
2022-08-01T12:08:44.919+05:30 [Error] WatcherServer.runOnce() : tryNum: 1, peer: 127.0.0.1:9118, error: dial tcp 127.0.0.1:9118: connect: connection refused
2022-08-01T12:08:45.897+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022-08-01T12:08:45.898+05:30 [Error] updateIndexerList(): Cannot locate cluster node.
2022/08/01 12:08:48 Rebalance progress: 100
2022/08/01 12:08:48 In DropAllSecondaryIndexes()
2022/08/01 12:09:34 Flushed the bucket default, Response body: 
2022/08/01 12:09:34 Executing create partition index command on: create index `idx_partn` on `default`(age) partition by hash(meta().id) with {"num_partition":8, "num_replica":1}
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
2022/08/01 12:10:02 Using n1ql client
--- PASS: TestPartitionDistributionWithReplica (121.47s)
=== RUN   TestPartitionedPartialIndex
2022/08/01 12:10:03 Executing create index command: CREATE INDEX `idx_regular` ON `default`(partn_name)
2022/08/01 12:10:07 Using n1ql client
2022/08/01 12:10:07 Dropping the secondary index idx_regular
2022/08/01 12:10:07 Index dropped
2022/08/01 12:10:07 Executing create index command: CREATE INDEX `idx_partial` ON `default`(partn_name) WHERE partn_age >= 0
2022/08/01 12:10:12 Using n1ql client
2022/08/01 12:10:12 Using n1ql client
2022/08/01 12:10:12 Using n1ql client
2022/08/01 12:10:12 Dropping the secondary index idx_partial
2022/08/01 12:10:12 Index dropped
2022/08/01 12:10:12 Executing create index command: CREATE INDEX `idx_partitioned` ON `default`(partn_name) PARTITION BY HASH(meta().id) 
2022/08/01 12:10:20 Using n1ql client
2022/08/01 12:10:21 Using n1ql client
2022/08/01 12:10:21 Dropping the secondary index idx_partitioned
2022/08/01 12:10:21 Index dropped
2022/08/01 12:10:21 Executing create index command: CREATE INDEX `idx_partitioned_partial` ON `default`(partn_name) PARTITION BY HASH(meta().id) WHERE partn_age >= 0
2022/08/01 12:10:32 Using n1ql client
2022/08/01 12:10:32 Using n1ql client
2022/08/01 12:10:32 Using n1ql client
2022/08/01 12:10:32 Using n1ql client
2022/08/01 12:10:32 Dropping the secondary index idx_partitioned_partial
2022/08/01 12:10:33 Index dropped
--- PASS: TestPartitionedPartialIndex (40.44s)
=== RUN   TestResetCluster_2
2022/08/01 12:10:43 Removing node(s): [127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003] from the cluster
2022-08-01T12:10:46.833+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57726->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:10:46.833+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:45742->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:10:46.834+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:54084->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T12:10:46.859+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9112.  Error = read tcp 127.0.0.1:45744->127.0.0.1:9112: use of closed network connection. Kill Pipe.
2022-08-01T12:10:46.861+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9118.  Error = read tcp 127.0.0.1:54082->127.0.0.1:9118: use of closed network connection. Kill Pipe.
2022-08-01T12:10:46.863+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:57730->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:10:48 Rebalance progress: 87.5
2022/08/01 12:10:53 Rebalance progress: 100
2022/08/01 12:10:53 Adding node: https://127.0.0.1:19001 with role: index to the cluster
2022/08/01 12:11:08 AddNode: Successfully added node: 127.0.0.1:9001 (role index), response: {"otpNode":"n_1@127.0.0.1"}
2022/08/01 12:11:13 Rebalance progress: 100
--- PASS: TestResetCluster_2 (30.12s)
=== RUN   TestCollectionSetup
2022/08/01 12:11:13 In TestCollectionSetup()
2022/08/01 12:11:13 In DropAllSecondaryIndexes()
2022/08/01 12:12:08 Flushed the bucket default, Response body: 
--- PASS: TestCollectionSetup (56.21s)
=== RUN   TestCollectionDefault
2022/08/01 12:12:09 In TestCollectionDefault()
2022/08/01 12:12:20 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 12:12:20 Index is 15347935361709699763 now active
2022/08/01 12:12:20 Using n1ql client
2022/08/01 12:12:20 Expected and Actual scan responses are the same
2022/08/01 12:12:24 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 12:12:24 Index is 18365935556334639167 now active
2022/08/01 12:12:24 Using n1ql client
2022/08/01 12:12:24 Expected and Actual scan responses are the same
2022/08/01 12:12:24 Dropping the secondary index _default__default_i1
2022/08/01 12:12:24 Index dropped
2022/08/01 12:12:24 Using n1ql client
2022/08/01 12:12:24 Expected and Actual scan responses are the same
2022/08/01 12:12:28 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 12:12:28 Index is 6494362373768430265 now active
2022/08/01 12:12:29 Using n1ql client
2022/08/01 12:12:29 Expected and Actual scan responses are the same
2022/08/01 12:12:29 Dropping the secondary index _default__default_i1
2022/08/01 12:12:29 Index dropped
2022/08/01 12:12:29 Dropping the secondary index _default__default_i2
2022/08/01 12:12:29 Index dropped
2022/08/01 12:12:32 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 12:12:32 Index is 16145499003590098209 now active
2022/08/01 12:12:32 Using n1ql client
2022/08/01 12:12:32 Expected and Actual scan responses are the same
2022/08/01 12:12:37 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 12:12:37 Index is 3145821863561669925 now active
2022/08/01 12:12:37 Using n1ql client
2022/08/01 12:12:37 Expected and Actual scan responses are the same
2022/08/01 12:12:37 Dropping the secondary index _default__default_i1
2022/08/01 12:12:37 Index dropped
2022/08/01 12:12:37 Dropping the secondary index _default__default_i2
2022/08/01 12:12:37 Index dropped
2022/08/01 12:12:37 Build command issued for the deferred indexes [_default__default_i1 _default__default_i2]
2022/08/01 12:12:37 Waiting for the index _default__default_i1 to become active
2022/08/01 12:12:37 Waiting for index 2819812192543243104 to go active ...
2022/08/01 12:12:38 Waiting for index 2819812192543243104 to go active ...
2022/08/01 12:12:39 Waiting for index 2819812192543243104 to go active ...
2022/08/01 12:12:40 Index is 2819812192543243104 now active
2022/08/01 12:12:40 Waiting for the index _default__default_i2 to become active
2022/08/01 12:12:40 Waiting for index 13080753531542024558 to go active ...
2022/08/01 12:12:41 Index is 13080753531542024558 now active
2022/08/01 12:12:48 Using n1ql client
2022/08/01 12:12:48 Expected and Actual scan responses are the same
2022/08/01 12:12:48 Using n1ql client
2022/08/01 12:12:48 Expected and Actual scan responses are the same
2022/08/01 12:12:48 Dropping the secondary index _default__default_i1
2022/08/01 12:12:48 Index dropped
2022/08/01 12:12:53 Using n1ql client
2022/08/01 12:12:54 Expected and Actual scan responses are the same
2022/08/01 12:12:54 Dropping the secondary index _default__default_i2
2022/08/01 12:12:54 Index dropped
--- PASS: TestCollectionDefault (44.58s)
=== RUN   TestCollectionNonDefault
2022/08/01 12:12:54 In TestCollectionNonDefault()
2022/08/01 12:12:54 Creating scope: s1 for bucket: default as it does not exist
2022/08/01 12:12:54 Create scope succeeded for bucket default, scopeName: s1, body: {"uid":"1"} 
2022/08/01 12:12:54 Created collection succeeded for bucket: default, scope: s1, collection: c1, body: {"uid":"2"}
2022/08/01 12:13:09 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:13:09 Index is 291403057070170584 now active
2022/08/01 12:13:09 Using n1ql client
2022-08-01T12:13:09.534+05:30 [Info] Refreshing indexer list due to cluster changes or auto-refresh.
2022-08-01T12:13:09.534+05:30 [Info] Refreshed Indexer List: [127.0.0.1:9106]
2022-08-01T12:13:09.540+05:30 [Info] switched currmeta from 3276 -> 3277 force true 
2022-08-01T12:13:09.727+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:13:09.727+05:30 [Info] GSIC[default/default-s1-c1-1659336189445519274] started ...
2022/08/01 12:13:09 Expected and Actual scan responses are the same
2022/08/01 12:13:16 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 12:13:16 Index is 9583135628600264322 now active
2022/08/01 12:13:16 Using n1ql client
2022/08/01 12:13:17 Expected and Actual scan responses are the same
2022/08/01 12:13:17 Dropping the secondary index s1_c1_i1
2022/08/01 12:13:17 Index dropped
2022/08/01 12:13:17 Using n1ql client
2022/08/01 12:13:17 Expected and Actual scan responses are the same
2022/08/01 12:13:21 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:13:21 Index is 17694751220069466193 now active
2022/08/01 12:13:21 Using n1ql client
2022/08/01 12:13:21 Expected and Actual scan responses are the same
2022/08/01 12:13:21 Dropping the secondary index s1_c1_i1
2022/08/01 12:13:21 Index dropped
2022/08/01 12:13:21 Dropping the secondary index s1_c1_i2
2022/08/01 12:13:21 Index dropped
2022/08/01 12:13:25 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:13:25 Index is 15706510657128261588 now active
2022/08/01 12:13:25 Using n1ql client
2022/08/01 12:13:25 Expected and Actual scan responses are the same
2022/08/01 12:13:31 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 12:13:31 Index is 3830969936717856831 now active
2022/08/01 12:13:31 Using n1ql client
2022/08/01 12:13:32 Expected and Actual scan responses are the same
2022/08/01 12:13:32 Dropping the secondary index s1_c1_i1
2022/08/01 12:13:32 Index dropped
2022/08/01 12:13:32 Dropping the secondary index s1_c1_i2
2022/08/01 12:13:32 Index dropped
2022/08/01 12:13:32 Build command issued for the deferred indexes [s1_c1_i1 s1_c1_i2]
2022/08/01 12:13:32 Waiting for the index s1_c1_i1 to become active
2022/08/01 12:13:32 Waiting for index 1875598431276588753 to go active ...
2022/08/01 12:13:33 Waiting for index 1875598431276588753 to go active ...
2022/08/01 12:13:34 Waiting for index 1875598431276588753 to go active ...
2022/08/01 12:13:35 Waiting for index 1875598431276588753 to go active ...
2022/08/01 12:13:36 Index is 1875598431276588753 now active
2022/08/01 12:13:36 Waiting for the index s1_c1_i2 to become active
2022/08/01 12:13:36 Index is 888536471047593378 now active
2022/08/01 12:13:37 Using n1ql client
2022/08/01 12:13:38 Expected and Actual scan responses are the same
2022/08/01 12:13:38 Using n1ql client
2022/08/01 12:13:38 Expected and Actual scan responses are the same
2022/08/01 12:13:38 Dropping the secondary index s1_c1_i1
2022/08/01 12:13:39 Index dropped
2022/08/01 12:13:40 Using n1ql client
2022/08/01 12:13:40 Expected and Actual scan responses are the same
2022/08/01 12:13:40 Dropping the secondary index s1_c1_i2
2022/08/01 12:13:40 Index dropped
--- PASS: TestCollectionNonDefault (46.13s)
=== RUN   TestCollectionMetaAtSnapEnd
2022/08/01 12:13:40 In TestCollectionMetaAtSnapEnd()
2022/08/01 12:13:40 Creating scope: s2 for bucket: default as it does not exist
2022/08/01 12:13:40 Create scope succeeded for bucket default, scopeName: s2, body: {"uid":"3"} 
2022/08/01 12:13:40 Created collection succeeded for bucket: default, scope: s2, collection: c2, body: {"uid":"4"}
2022/08/01 12:13:53 Created the secondary index s2_c2_i1. Waiting for it become active
2022/08/01 12:13:53 Index is 2312222854681289284 now active
2022/08/01 12:13:53 Using n1ql client
2022-08-01T12:13:53.765+05:30 [Info] metadata provider version changed 3335 -> 3336
2022-08-01T12:13:53.765+05:30 [Info] switched currmeta from 3335 -> 3336 force false 
2022-08-01T12:13:53.765+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:13:53.765+05:30 [Info] GSIC[default/default-s2-c2-1659336233753322450] started ...
2022/08/01 12:13:53 Expected and Actual scan responses are the same
2022/08/01 12:13:56 Using n1ql client
2022/08/01 12:13:56 Expected and Actual scan responses are the same
2022/08/01 12:13:56 Created collection succeeded for bucket: default, scope: s2, collection: c3, body: {"uid":"5"}
2022/08/01 12:14:06 Using n1ql client
2022/08/01 12:14:06 Expected and Actual scan responses are the same
2022/08/01 12:14:11 Created the secondary index s2_c2_i2. Waiting for it become active
2022/08/01 12:14:11 Index is 2860219460657582554 now active
2022/08/01 12:14:11 Using n1ql client
2022/08/01 12:14:11 Expected and Actual scan responses are the same
2022/08/01 12:14:11 Using n1ql client
2022/08/01 12:14:11 Expected and Actual scan responses are the same
2022/08/01 12:14:18 Using n1ql client
2022/08/01 12:14:18 Expected and Actual scan responses are the same
2022/08/01 12:14:18 Using n1ql client
2022/08/01 12:14:18 Expected and Actual scan responses are the same
--- PASS: TestCollectionMetaAtSnapEnd (37.89s)
=== RUN   TestCollectionUpdateSeq
2022/08/01 12:14:18 In TestCollectionUpdateSeq()
2022/08/01 12:14:19 Using n1ql client
2022/08/01 12:14:19 Expected and Actual scan responses are the same
2022/08/01 12:14:19 Using n1ql client
2022/08/01 12:14:19 Expected and Actual scan responses are the same
2022/08/01 12:14:24 Using n1ql client
2022/08/01 12:14:24 Expected and Actual scan responses are the same
2022/08/01 12:14:24 Using n1ql client
2022/08/01 12:14:25 Expected and Actual scan responses are the same
2022/08/01 12:14:25 Dropping the secondary index s2_c2_i1
2022/08/01 12:14:25 Index dropped
2022/08/01 12:14:25 Dropping the secondary index s2_c2_i2
2022/08/01 12:14:25 Index dropped
--- PASS: TestCollectionUpdateSeq (7.04s)
=== RUN   TestCollectionMultiple
2022/08/01 12:14:25 In TestCollectionMultiple()
2022/08/01 12:14:28 Created the secondary index _default__default_i3. Waiting for it become active
2022/08/01 12:14:28 Index is 12838366950279720848 now active
2022/08/01 12:14:28 Using n1ql client
2022/08/01 12:14:28 Expected and Actual scan responses are the same
2022/08/01 12:14:34 Created the secondary index s1_c1_i4. Waiting for it become active
2022/08/01 12:14:34 Index is 621526244688924966 now active
2022/08/01 12:14:34 Using n1ql client
2022/08/01 12:14:34 Expected and Actual scan responses are the same
2022/08/01 12:14:34 Dropping the secondary index _default__default_i3
2022/08/01 12:14:34 Index dropped
2022/08/01 12:14:34 Dropping the secondary index s1_c1_i4
2022/08/01 12:14:34 Index dropped
--- PASS: TestCollectionMultiple (9.46s)
=== RUN   TestCollectionNoDocs
2022/08/01 12:14:34 In TestCollectionNoDocs()
2022/08/01 12:14:39 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:14:39 Index is 7837705355270729710 now active
2022/08/01 12:14:39 Using n1ql client
2022/08/01 12:14:39 Expected and Actual scan responses are the same
2022/08/01 12:14:45 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 12:14:45 Index is 3382263657220041409 now active
2022/08/01 12:14:45 Using n1ql client
2022/08/01 12:14:45 Expected and Actual scan responses are the same
2022/08/01 12:14:45 Dropping the secondary index s1_c1_i1
2022/08/01 12:14:45 Index dropped
2022/08/01 12:14:45 Using n1ql client
2022/08/01 12:14:45 Expected and Actual scan responses are the same
2022/08/01 12:14:49 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:14:49 Index is 419760760021660465 now active
2022/08/01 12:14:49 Using n1ql client
2022/08/01 12:14:49 Expected and Actual scan responses are the same
2022/08/01 12:14:55 Using n1ql client
2022/08/01 12:14:55 Expected and Actual scan responses are the same
2022/08/01 12:14:55 Using n1ql client
2022/08/01 12:14:55 Expected and Actual scan responses are the same
2022/08/01 12:14:55 Dropping the secondary index s1_c1_i1
2022/08/01 12:14:55 Index dropped
2022/08/01 12:14:55 Dropping the secondary index s1_c1_i2
2022/08/01 12:14:55 Index dropped
--- PASS: TestCollectionNoDocs (21.15s)
=== RUN   TestCollectionPrimaryIndex
2022/08/01 12:14:55 In TestCollectionPrimaryIndex()
2022/08/01 12:15:01 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:15:01 Index is 4606329897985156587 now active
2022/08/01 12:15:01 Using n1ql client
2022/08/01 12:15:08 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 12:15:08 Index is 15749071163181015493 now active
2022/08/01 12:15:08 Using n1ql client
2022/08/01 12:15:10 Using n1ql client
2022/08/01 12:15:10 Using n1ql client
2022/08/01 12:15:10 Dropping the secondary index s1_c1_i1
2022/08/01 12:15:10 Index dropped
2022/08/01 12:15:15 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:15:15 Index is 11709111497510844922 now active
2022/08/01 12:15:15 Using n1ql client
2022/08/01 12:15:15 Expected and Actual scan responses are the same
2022/08/01 12:15:17 Using n1ql client
2022/08/01 12:15:17 Expected and Actual scan responses are the same
2022/08/01 12:15:17 Using n1ql client
2022/08/01 12:15:17 Dropping the secondary index s1_c1_i1
2022/08/01 12:15:17 Index dropped
2022/08/01 12:15:17 Dropping the secondary index s1_c1_i2
2022/08/01 12:15:17 Index dropped
--- PASS: TestCollectionPrimaryIndex (21.72s)
=== RUN   TestCollectionMultipleBuilds
2022/08/01 12:15:17 Build command issued for the deferred indexes [17912610275103281188 18095658318179529945]
2022/08/01 12:15:17 Build command issued for the deferred indexes [3278018443743012879 17918219762097292915]
2022/08/01 12:15:17 Waiting for index 17912610275103281188 to go active ...
2022/08/01 12:15:18 Waiting for index 17912610275103281188 to go active ...
2022/08/01 12:15:19 Waiting for index 17912610275103281188 to go active ...
2022/08/01 12:15:20 Waiting for index 17912610275103281188 to go active ...
2022/08/01 12:15:21 Index is 17912610275103281188 now active
2022/08/01 12:15:21 Index is 18095658318179529945 now active
2022/08/01 12:15:21 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:22 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:23 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:24 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:25 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:26 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:27 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:28 Waiting for index 3278018443743012879 to go active ...
2022/08/01 12:15:29 Index is 3278018443743012879 now active
2022/08/01 12:15:29 Index is 17918219762097292915 now active
2022/08/01 12:15:29 Using n1ql client
2022/08/01 12:15:29 Expected and Actual scan responses are the same
2022/08/01 12:15:29 Using n1ql client
2022/08/01 12:15:29 Expected and Actual scan responses are the same
2022/08/01 12:15:29 Using n1ql client
2022/08/01 12:15:30 Expected and Actual scan responses are the same
2022/08/01 12:15:30 Using n1ql client
2022/08/01 12:15:30 Expected and Actual scan responses are the same
2022/08/01 12:15:30 Dropping the secondary index s2_c2_i3
2022/08/01 12:15:30 Index dropped
2022/08/01 12:15:30 Dropping the secondary index s2_c2_i4
2022/08/01 12:15:30 Index dropped
2022/08/01 12:15:30 Dropping the secondary index s1_c1_i1
2022/08/01 12:15:30 Index dropped
2022/08/01 12:15:30 Dropping the secondary index s1_c1_i2
2022/08/01 12:15:30 Index dropped
--- PASS: TestCollectionMultipleBuilds (12.83s)
=== RUN   TestCollectionMultipleBuilds2
2022/08/01 12:15:30 Build command issued for the deferred indexes [11312692260418952920 9085945537834294192 376349654754687862 8097735574136840899 11818060958049212007 18227144775908248196 8733473206523241695 9378647641867412646]
2022/08/01 12:15:30 Waiting for index 11312692260418952920 to go active ...
2022/08/01 12:15:31 Waiting for index 11312692260418952920 to go active ...
2022/08/01 12:15:32 Waiting for index 11312692260418952920 to go active ...
2022/08/01 12:15:33 Waiting for index 11312692260418952920 to go active ...
2022/08/01 12:15:34 Waiting for index 11312692260418952920 to go active ...
2022/08/01 12:15:35 Index is 11312692260418952920 now active
2022/08/01 12:15:35 Index is 9085945537834294192 now active
2022/08/01 12:15:35 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:36 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:37 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:38 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:39 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:40 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:41 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:42 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:43 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:44 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:45 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:46 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:47 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:48 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:49 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:50 Waiting for index 376349654754687862 to go active ...
2022/08/01 12:15:51 Index is 376349654754687862 now active
2022/08/01 12:15:51 Index is 8097735574136840899 now active
2022/08/01 12:15:51 Index is 11818060958049212007 now active
2022/08/01 12:15:51 Index is 18227144775908248196 now active
2022/08/01 12:15:51 Index is 8733473206523241695 now active
2022/08/01 12:15:51 Index is 9378647641867412646 now active
2022/08/01 12:15:51 Using n1ql client
2022/08/01 12:15:51 Expected and Actual scan responses are the same
2022/08/01 12:15:51 Using n1ql client
2022/08/01 12:15:51 Expected and Actual scan responses are the same
2022/08/01 12:15:51 Using n1ql client
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:52 Using n1ql client
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:52 Using n1ql client
2022-08-01T12:15:52.046+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:15:52.046+05:30 [Info] GSIC[default/default-s2-c3-1659336352043810083] started ...
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:52 Using n1ql client
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:52 Using n1ql client
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:52 Using n1ql client
2022/08/01 12:15:52 Expected and Actual scan responses are the same
2022/08/01 12:15:53 Using n1ql client
2022/08/01 12:15:53 Expected and Actual scan responses are the same
2022/08/01 12:15:53 Using n1ql client
2022/08/01 12:15:53 Expected and Actual scan responses are the same
2022/08/01 12:15:53 Dropping the secondary index s1_c1_i1
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index s1_c1_i2
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index s2_c2_i1
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index s2_c2_i2
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index s2_c3_i1
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index s2_c3_i2
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index _default__default_i1
2022/08/01 12:15:53 Index dropped
2022/08/01 12:15:53 Dropping the secondary index _default__default_i2
2022/08/01 12:15:53 Index dropped
--- PASS: TestCollectionMultipleBuilds2 (23.54s)
=== RUN   TestCollectionIndexDropConcurrentBuild
2022/08/01 12:15:53 In TestCollectionIndexDropConcurrentBuild()
2022/08/01 12:15:54 Build command issued for the deferred indexes [162086698463821850 254625893997745387]
2022/08/01 12:15:55 Dropping the secondary index s1_c1_i1
2022/08/01 12:15:56 Index dropped
2022/08/01 12:15:56 Waiting for index 254625893997745387 to go active ...
2022/08/01 12:15:57 Waiting for index 254625893997745387 to go active ...
2022/08/01 12:15:58 Waiting for index 254625893997745387 to go active ...
2022/08/01 12:15:59 Index is 254625893997745387 now active
2022/08/01 12:15:59 Using n1ql client
2022/08/01 12:15:59 Expected and Actual scan responses are the same
2022/08/01 12:15:59 Dropping the secondary index s1_c1_i2
2022/08/01 12:15:59 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild (5.83s)
=== RUN   TestCollectionIndexDropConcurrentBuild2
2022/08/01 12:15:59 In TestCollectionIndexDropConcurrentBuild2()
2022/08/01 12:16:05 Created the secondary index s1_c1_i3. Waiting for it become active
2022/08/01 12:16:05 Index is 13623358267217458201 now active
2022/08/01 12:16:05 Using n1ql client
2022-08-01T12:16:05.335+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.338+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.360+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.381+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.384+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.387+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.390+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022-08-01T12:16:05.393+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(1094174489074425464) response failed `Index not found`
2022/08/01 12:16:05 Expected and Actual scan responses are the same
2022/08/01 12:16:05 Build command issued for the deferred indexes [8501366644723976556 7610876518696415538]
2022/08/01 12:16:06 Dropping the secondary index s1_c1_i3
2022/08/01 12:16:06 Index dropped
2022/08/01 12:16:06 Waiting for index 8501366644723976556 to go active ...
2022/08/01 12:16:07 Waiting for index 8501366644723976556 to go active ...
2022/08/01 12:16:08 Waiting for index 8501366644723976556 to go active ...
2022/08/01 12:16:09 Waiting for index 8501366644723976556 to go active ...
2022/08/01 12:16:10 Waiting for index 8501366644723976556 to go active ...
2022/08/01 12:16:11 Index is 8501366644723976556 now active
2022/08/01 12:16:11 Index is 7610876518696415538 now active
2022/08/01 12:16:11 Using n1ql client
2022/08/01 12:16:11 Expected and Actual scan responses are the same
2022/08/01 12:16:11 Using n1ql client
2022/08/01 12:16:11 Expected and Actual scan responses are the same
2022/08/01 12:16:11 Dropping the secondary index s1_c1_i1
2022/08/01 12:16:11 Index dropped
2022/08/01 12:16:11 Dropping the secondary index s1_c1_i2
2022/08/01 12:16:15 Index dropped
--- PASS: TestCollectionIndexDropConcurrentBuild2 (15.77s)
=== RUN   TestCollectionDrop
2022/08/01 12:16:15 In TestCollectionDrop()
2022/08/01 12:16:20 Created the secondary index s1_c1_i1. Waiting for it become active
2022/08/01 12:16:20 Index is 2806142210087724562 now active
2022/08/01 12:16:27 Created the secondary index s1_c1_i2. Waiting for it become active
2022/08/01 12:16:27 Index is 10780868057820263307 now active
2022/08/01 12:16:32 Created the secondary index s2_c2_i1. Waiting for it become active
2022/08/01 12:16:32 Index is 10908350883614548520 now active
2022/08/01 12:16:36 Created the secondary index s2_c2_i2. Waiting for it become active
2022/08/01 12:16:36 Index is 15267579430319498724 now active
2022/08/01 12:16:41 Created the secondary index s2_c3_i1. Waiting for it become active
2022/08/01 12:16:41 Index is 8778519552569144343 now active
2022/08/01 12:16:45 Created the secondary index s2_c3_i2. Waiting for it become active
2022/08/01 12:16:45 Index is 17601639575697387338 now active
2022/08/01 12:16:50 Created the secondary index _default__default_i1. Waiting for it become active
2022/08/01 12:16:50 Index is 6263891167323115035 now active
2022/08/01 12:16:54 Created the secondary index _default__default_i2. Waiting for it become active
2022/08/01 12:16:54 Index is 14453512487235024362 now active
2022/08/01 12:16:54 Dropped collection c1 for bucket: default, scope: s1, body: {"uid":"6"}
2022/08/01 12:16:59 Using n1ql client
2022/08/01 12:16:59 Scan failed as expected with error: Index Not Found - cause: GSI index s1_c1_i1 not found.
2022/08/01 12:16:59 Dropped scope s2 for bucket: default, body: {"uid":"7"}
2022/08/01 12:17:04 Using n1ql client
2022-08-01T12:17:04.924+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:17:04.924+05:30 [Info] GSIC[default/default-s2-c1-1659336424921822993] started ...
2022/08/01 12:17:04 Scan failed as expected with error: Index Not Found - cause: GSI index s2_c1_i1 not found.
--- PASS: TestCollectionDrop (49.46s)
=== RUN   TestCollectionDDLWithConcurrentSystemEvents
2022/08/01 12:17:04 Creating scope: sc for bucket: default as it does not exist
2022/08/01 12:17:05 Create scope succeeded for bucket default, scopeName: sc, body: {"uid":"8"} 
2022/08/01 12:17:05 Created collection succeeded for bucket: default, scope: sc, collection: cc, body: {"uid":"9"}
2022/08/01 12:17:19 Created the secondary index sc_cc_i1. Waiting for it become active
2022/08/01 12:17:19 Index is 17343791078401254971 now active
2022/08/01 12:17:21 Build command issued for the deferred indexes [sc_cc_i2]
2022/08/01 12:17:21 Waiting for the index sc_cc_i2 to become active
2022/08/01 12:17:21 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:21 Created collection succeeded for bucket: default, scope: sc, collection: cc_0, body: {"uid":"a"}
2022/08/01 12:17:21 Created collection succeeded for bucket: default, scope: sc, collection: cc_1, body: {"uid":"b"}
2022/08/01 12:17:22 Created collection succeeded for bucket: default, scope: sc, collection: cc_2, body: {"uid":"c"}
2022/08/01 12:17:22 Created collection succeeded for bucket: default, scope: sc, collection: cc_3, body: {"uid":"d"}
2022/08/01 12:17:22 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:22 Created collection succeeded for bucket: default, scope: sc, collection: cc_4, body: {"uid":"e"}
2022/08/01 12:17:23 Created collection succeeded for bucket: default, scope: sc, collection: cc_5, body: {"uid":"f"}
2022/08/01 12:17:23 Created collection succeeded for bucket: default, scope: sc, collection: cc_6, body: {"uid":"10"}
2022/08/01 12:17:23 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:23 Created collection succeeded for bucket: default, scope: sc, collection: cc_7, body: {"uid":"11"}
2022/08/01 12:17:24 Created collection succeeded for bucket: default, scope: sc, collection: cc_8, body: {"uid":"12"}
2022/08/01 12:17:24 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:24 Created collection succeeded for bucket: default, scope: sc, collection: cc_9, body: {"uid":"13"}
2022/08/01 12:17:25 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:26 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:27 Waiting for index 7972043236131907166 to go active ...
2022/08/01 12:17:28 Index is 7972043236131907166 now active
2022/08/01 12:17:28 Using n1ql client
2022-08-01T12:17:28.652+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:17:28.653+05:30 [Info] GSIC[default/default-sc-cc-1659336448649395125] started ...
--- PASS: TestCollectionDDLWithConcurrentSystemEvents (23.73s)
=== RUN   TestCollectionDropWithMultipleBuckets
2022/08/01 12:17:28 In TestCollectionWithDropMultipleBuckets()
2022/08/01 12:17:28 This test will create a collection across multiple buckets and 
2022/08/01 12:17:28 drops a collection on one bucket. Indexer should not drop indexes
2022/08/01 12:17:28 with same CollectionID but different buckets
2022/08/01 12:17:28 Creating test_bucket_1
2022/08/01 12:17:28 Created bucket test_bucket_1, responseBody: 
2022/08/01 12:17:38 Creating test_bucket_2
2022/08/01 12:17:38 Created bucket test_bucket_2, responseBody: 
2022/08/01 12:17:48 Creating collection: test for bucket: test_bucket_1
2022/08/01 12:17:48 Created collection succeeded for bucket: test_bucket_1, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 12:17:48 Creating collection: test for bucket: test_bucket_2
2022/08/01 12:17:49 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 12:17:59 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_1
2022/08/01 12:18:02 Created the secondary index idx_1. Waiting for it become active
2022/08/01 12:18:02 Index is 6946160420910526877 now active
2022-08-01T12:18:05.336+05:30 [Error] receiving packet: read tcp 127.0.0.1:58932->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.336+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:58932" response transport failed `read tcp 127.0.0.1:58932->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.339+05:30 [Error] receiving packet: read tcp 127.0.0.1:40928->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.339+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40928" response transport failed `read tcp 127.0.0.1:40928->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.362+05:30 [Error] receiving packet: read tcp 127.0.0.1:40930->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.362+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40930" response transport failed `read tcp 127.0.0.1:40930->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.382+05:30 [Error] receiving packet: read tcp 127.0.0.1:40932->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.382+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40932" response transport failed `read tcp 127.0.0.1:40932->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.385+05:30 [Error] receiving packet: read tcp 127.0.0.1:40934->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.385+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40934" response transport failed `read tcp 127.0.0.1:40934->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.387+05:30 [Error] receiving packet: read tcp 127.0.0.1:40936->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.387+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40936" response transport failed `read tcp 127.0.0.1:40936->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.392+05:30 [Error] receiving packet: read tcp 127.0.0.1:40938->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.392+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40938" response transport failed `read tcp 127.0.0.1:40938->127.0.0.1:9107: i/o timeout`
2022-08-01T12:18:05.394+05:30 [Error] receiving packet: read tcp 127.0.0.1:40940->127.0.0.1:9107: i/o timeout
2022-08-01T12:18:05.394+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(1094174489074425464) connection "127.0.0.1:40940" response transport failed `read tcp 127.0.0.1:40940->127.0.0.1:9107: i/o timeout`
2022/08/01 12:18:07 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/08/01 12:18:10 Created the secondary index idx_1. Waiting for it become active
2022/08/01 12:18:10 Index is 2702761739058324661 now active
2022/08/01 12:18:15 Dropping collection: test for bucket: test_bucket_1
2022/08/01 12:18:16 Dropped collection test for bucket: test_bucket_1, scope: _default, body: {"uid":"2"}
2022/08/01 12:18:18 Scanning index: idx_1, bucket: test_bucket_2
2022/08/01 12:18:18 Using n1ql client
2022-08-01T12:18:18.104+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:18:18.105+05:30 [Info] GSIC[default/test_bucket_2-_default-test-1659336498101774053] started ...
2022/08/01 12:18:18 Deleting bucket: test_bucket_2
2022/08/01 12:18:19 Deleted bucket test_bucket_2, responseBody: 
2022/08/01 12:18:24 Creating test_bucket_2
2022/08/01 12:18:24 Created bucket test_bucket_2, responseBody: 
2022/08/01 12:18:34 Creating collection: test for bucket: test_bucket_2
2022/08/01 12:18:34 Created collection succeeded for bucket: test_bucket_2, scope: _default, collection: test, body: {"uid":"1"}
2022/08/01 12:18:44 Creating Index: idx_1 on scope: _default collection: test for bucket: test_bucket_2
2022/08/01 12:18:50 Build command issued for the deferred indexes [idx_1]
2022/08/01 12:18:50 Waiting for the index idx_1 to become active
2022/08/01 12:18:50 Waiting for index 3438051608399414306 to go active ...
2022/08/01 12:18:51 Waiting for index 3438051608399414306 to go active ...
2022/08/01 12:18:52 Waiting for index 3438051608399414306 to go active ...
2022/08/01 12:18:53 Index is 3438051608399414306 now active
2022/08/01 12:18:53 Scanning index: idx_1, bucket: test_bucket_2
2022/08/01 12:18:53 Using n1ql client
2022/08/01 12:18:55 Deleted bucket test_bucket_1, responseBody: 
2022/08/01 12:18:56 Deleted bucket test_bucket_2, responseBody: 
--- PASS: TestCollectionDropWithMultipleBuckets (93.14s)
=== RUN   TestStringToByteSlice
--- PASS: TestStringToByteSlice (0.00s)
=== RUN   TestStringToByteSlice_Stack
--- PASS: TestStringToByteSlice_Stack (1.37s)
=== RUN   TestByteSliceToString
--- PASS: TestByteSliceToString (0.00s)
=== RUN   TestBytesToString_WithUnusedBytes
--- PASS: TestBytesToString_WithUnusedBytes (0.00s)
=== RUN   TestStringHeadersCompatible
--- PASS: TestStringHeadersCompatible (0.00s)
=== RUN   TestSliceHeadersCompatible
--- PASS: TestSliceHeadersCompatible (0.00s)
=== RUN   TestEphemeralBucketBasic
2022/08/01 12:19:03 In TestEphemeralBuckets()
2022/08/01 12:19:03 In DropAllSecondaryIndexes()
2022/08/01 12:19:03 Index found:  sc_cc_i2
2022/08/01 12:19:03 Dropped index sc_cc_i2
2022/08/01 12:19:03 Index found:  _default__default_i1
2022/08/01 12:19:03 Dropped index _default__default_i1
2022/08/01 12:19:03 Index found:  _default__default_i2
2022/08/01 12:19:03 Dropped index _default__default_i2
2022/08/01 12:19:03 Index found:  sc_cc_i1
2022/08/01 12:19:03 Dropped index sc_cc_i1
2022/08/01 12:19:38 Flushed the bucket default, Response body: 
2022/08/01 12:19:41 Modified parameters of bucket default, responseBody: 
2022/08/01 12:19:42 Created bucket ephemeral1, responseBody: 
2022/08/01 12:19:42 Created bucket ephemeral2, responseBody: 
2022/08/01 12:19:42 Created bucket ephemeral3, responseBody: 
2022/08/01 12:19:57 Generating docs and Populating all the buckets
2022/08/01 12:20:01 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 12:20:01 Index is 8869232826272288427 now active
2022/08/01 12:20:07 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 12:20:07 Index is 9791477937718778521 now active
2022/08/01 12:20:14 Created the secondary index bucket3_gender. Waiting for it become active
2022/08/01 12:20:14 Index is 16854781583417577169 now active
2022/08/01 12:20:21 Created the secondary index bucket4_balance. Waiting for it become active
2022/08/01 12:20:21 Index is 1359678812040152389 now active
2022/08/01 12:20:24 Using n1ql client
2022/08/01 12:20:24 Expected and Actual scan responses are the same
2022/08/01 12:20:24 Using n1ql client
2022-08-01T12:20:24.375+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:20:24.375+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659336624372536517] started ...
2022/08/01 12:20:24 Expected and Actual scan responses are the same
2022/08/01 12:20:24 Using n1ql client
2022-08-01T12:20:24.386+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:20:24.386+05:30 [Info] GSIC[default/ephemeral2-_default-_default-1659336624383120990] started ...
2022/08/01 12:20:24 Expected and Actual scan responses are the same
2022/08/01 12:20:24 Using n1ql client
2022-08-01T12:20:24.402+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:20:24.402+05:30 [Info] GSIC[default/ephemeral3-_default-_default-1659336624399671443] started ...
2022/08/01 12:20:24 Expected and Actual scan responses are the same
2022/08/01 12:20:25 Deleted bucket ephemeral1, responseBody: 
2022/08/01 12:20:26 Deleted bucket ephemeral2, responseBody: 
2022/08/01 12:20:27 Deleted bucket ephemeral3, responseBody: 
2022/08/01 12:20:31 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketBasic (102.94s)
=== RUN   TestEphemeralBucketRecovery
2022/08/01 12:20:46 In TestEphemeralBucketRecovery()
2022/08/01 12:20:46 In DropAllSecondaryIndexes()
2022/08/01 12:20:46 Index found:  bucket1_age
2022/08/01 12:20:46 Dropped index bucket1_age
2022/08/01 12:21:21 Flushed the bucket default, Response body: 
2022/08/01 12:21:24 Modified parameters of bucket default, responseBody: 
2022/08/01 12:21:25 Created bucket ephemeral1, responseBody: 
2022/08/01 12:21:40 Generating docs and Populating all the buckets
2022/08/01 12:21:44 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 12:21:44 Index is 18288462877752196962 now active
2022/08/01 12:21:49 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 12:21:49 Index is 3433960302477243512 now active
Restarting indexer process ...
2022/08/01 12:21:52 []
2022-08-01T12:21:52.740+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:21:52.740+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:21:52.740+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:21:52.740+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:22:12 Using n1ql client
2022-08-01T12:22:12.672+05:30 [Error] transport error between 127.0.0.1:40942->127.0.0.1:9107: write tcp 127.0.0.1:40942->127.0.0.1:9107: write: broken pipe
2022-08-01T12:22:12.672+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -1414912371117306609 request transport failed `write tcp 127.0.0.1:40942->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:22:12.673+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:22:12.673+05:30 [Error] metadataClient:PickRandom: Replicas - [6840386643933973151], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:22:12 Expected and Actual scan responses are the same
2022/08/01 12:22:12 Using n1ql client
2022-08-01T12:22:12.695+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:22:12.695+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659336732692937078] started ...
2022/08/01 12:22:12 Expected and Actual scan responses are the same
2022/08/01 12:22:13 Deleted bucket ephemeral1, responseBody: 
2022/08/01 12:22:17 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketRecovery (105.97s)
=== RUN   TestEphemeralBucketFlush
2022/08/01 12:22:32 In TestEphemeralBucketFlush()
2022/08/01 12:22:32 In DropAllSecondaryIndexes()
2022/08/01 12:22:32 Index found:  bucket1_age
2022/08/01 12:22:32 Dropped index bucket1_age
2022/08/01 12:23:07 Flushed the bucket default, Response body: 
2022/08/01 12:23:10 Modified parameters of bucket default, responseBody: 
2022/08/01 12:23:11 Created bucket ephemeral1, responseBody: 
2022/08/01 12:23:26 Generating docs and Populating all the buckets
2022/08/01 12:23:29 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 12:23:29 Index is 11373828544924536330 now active
2022/08/01 12:23:35 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 12:23:35 Index is 9456632643854630114 now active
2022/08/01 12:24:14 Flushed the bucket default, Response body: 
2022/08/01 12:24:17 Flush Enabled on bucket ephemeral1, responseBody: 
2022/08/01 12:24:50 Flushed the bucket ephemeral1, Response body: 
2022/08/01 12:24:50 Using n1ql client
2022/08/01 12:24:50 Using n1ql client
2022-08-01T12:24:50.315+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:24:50.316+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659336890313196772] started ...
2022/08/01 12:24:50 Deleted bucket ephemeral1, responseBody: 
2022/08/01 12:24:54 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketFlush (157.04s)
=== RUN   TestEphemeralBucketMCDCrash
2022/08/01 12:25:09 In TestEphemeralBucketMCDCrash()
2022/08/01 12:25:09 In DropAllSecondaryIndexes()
2022/08/01 12:25:09 Index found:  bucket1_age
2022/08/01 12:25:09 Dropped index bucket1_age
2022/08/01 12:25:44 Flushed the bucket default, Response body: 
2022/08/01 12:25:47 Modified parameters of bucket default, responseBody: 
2022/08/01 12:25:47 Created bucket ephemeral1, responseBody: 
2022/08/01 12:26:02 Generating docs and Populating all the buckets
2022/08/01 12:26:06 Created the secondary index bucket1_age. Waiting for it become active
2022/08/01 12:26:06 Index is 10438226569712891816 now active
2022/08/01 12:26:11 Created the secondary index bucket2_city. Waiting for it become active
2022/08/01 12:26:11 Index is 10802064193341212057 now active
Restarting memcached process ...
2022/08/01 12:26:14 []
2022/08/01 12:26:34 Using n1ql client
2022/08/01 12:26:34 Expected and Actual scan responses are the same
2022/08/01 12:26:34 Using n1ql client
2022-08-01T12:26:34.947+05:30 [Info] GsiClient::UpdateUsecjson: using collatejson as data format between indexer and GsiClient
2022-08-01T12:26:34.948+05:30 [Info] GSIC[default/ephemeral1-_default-_default-1659336994944744491] started ...
2022/08/01 12:26:36 Deleted bucket ephemeral1, responseBody: 
2022/08/01 12:26:39 Modified parameters of bucket default, responseBody: 
--- PASS: TestEphemeralBucketMCDCrash (105.46s)
=== RUN   TestScheduleIndexBasic
2022/08/01 12:26:54 In TestMultipleDeferredIndexes_BuildTogether()
2022/08/01 12:26:54 In DropAllSecondaryIndexes()
2022/08/01 12:26:54 Index found:  bucket1_age
2022/08/01 12:26:54 Dropped index bucket1_age
2022/08/01 12:27:08 Setting JSON docs in KV
2022/08/01 12:27:24 Changing config key indexer.debug.enableBackgroundIndexCreation to value false
2022/08/01 12:27:24 Creating indexes Asynchronously
2022/08/01 12:27:24 Finding definition IDs for all indexes
2022-08-01T12:27:24.243+05:30 [Error] Encountered error during create index.  Error: Index id_gender will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022-08-01T12:27:24.243+05:30 [Error] Fail to create index: Encountered transient error.  Index creation will be retried in background.  Error: Index id_gender will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 12:27:30 Status of all indexes
2022/08/01 12:27:30 Index id_company is in state INDEX_STATE_SCHEDULED
2022/08/01 12:27:30 Changing config key indexer.debug.enableBackgroundIndexCreation to value true
2022/08/01 12:27:30 Waiting for all indexes to become active
2022/08/01 12:27:30 Waiting for index 7426111214626684561 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:30 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:30 Waiting for index 2499837271442686591 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:30 Waiting for index 1670262545085776865 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:33 Waiting for index 7426111214626684561 in state INDEX_STATE_READY to go active ...
2022/08/01 12:27:33 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:33 Waiting for index 2499837271442686591 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:33 Index 1670262545085776865 is now active
2022-08-01T12:27:34.215+05:30 [Error] Error in waitForScheduledIndex Index id_company will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 12:27:36 Waiting for index 7426111214626684561 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:36 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:36 Waiting for index 2499837271442686591 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:39 Waiting for index 7426111214626684561 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:39 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:39 Waiting for index 2499837271442686591 in state INDEX_STATE_CATCHUP to go active ...
2022-08-01T12:27:39.707+05:30 [Error] Error in waitForScheduledIndex Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
2022/08/01 12:27:39 Error Index id_company will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 12:27:39 Error Index id_age will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 12:27:39 Error Encountered transient error.  Index creation will be retried in background.  Error: Index id_gender will retry building in the background for reason: Build Already In Progress. Keyspace default.
 Observed when creating index
2022/08/01 12:27:39 Error  Observed when creating index
2022/08/01 12:27:42 Waiting for index 7426111214626684561 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:42 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:42 Index 2499837271442686591 is now active
2022/08/01 12:27:45 Waiting for index 7426111214626684561 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:45 Waiting for index 7308023729198200009 in state INDEX_STATE_ERROR to go active ...
2022/08/01 12:27:48 Index 7426111214626684561 is now active
2022/08/01 12:27:48 Waiting for index 7308023729198200009 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:51 Waiting for index 7308023729198200009 in state INDEX_STATE_INITIAL to go active ...
2022/08/01 12:27:54 Waiting for index 7308023729198200009 in state INDEX_STATE_CATCHUP to go active ...
2022/08/01 12:27:57 Index 7308023729198200009 is now active
--- PASS: TestScheduleIndexBasic (62.59s)
=== RUN   TestFlattenArrayIndexTestSetup
2022/08/01 12:27:57 In DropAllSecondaryIndexes()
2022/08/01 12:27:57 Index found:  id_gender
2022/08/01 12:27:57 Dropped index id_gender
2022/08/01 12:27:57 Index found:  id_isActive
2022/08/01 12:27:57 Dropped index id_isActive
2022/08/01 12:27:57 Index found:  id_age
2022/08/01 12:27:57 Dropped index id_age
2022/08/01 12:27:57 Index found:  id_company
2022/08/01 12:27:57 Dropped index id_company
2022/08/01 12:28:33 Flushed the bucket default, Response body: 
--- PASS: TestFlattenArrayIndexTestSetup (40.15s)
=== RUN   TestScanOnFlattenedAraryIndex
2022/08/01 12:28:43 Created the secondary index idx_flatten. Waiting for it become active
2022/08/01 12:28:43 Index is 13340638014793904041 now active
2022/08/01 12:28:43 Using n1ql client
--- PASS: TestScanOnFlattenedAraryIndex (7.35s)
=== RUN   TestGroupAggrFlattenArrayIndex
2022/08/01 12:28:44 In TestGroupAggrArrayIndex()
2022/08/01 12:28:49 Created the secondary index ga_flatten_arr1. Waiting for it become active
2022/08/01 12:28:49 Index is 18416541895704192950 now active
2022/08/01 12:28:53 Created the secondary index ga_flatten_arr2. Waiting for it become active
2022/08/01 12:28:53 Index is 15722689345181811376 now active
2022/08/01 12:28:53 Scenario 1
2022-08-01T12:28:53.464+05:30 [Error] transport error between 127.0.0.1:58926->127.0.0.1:9107: write tcp 127.0.0.1:58926->127.0.0.1:9107: write: broken pipe
2022-08-01T12:28:53.464+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:58926->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:28:53.464+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:28:53.464+05:30 [Error] metadataClient:PickRandom: Replicas - [10694866267415509190], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:28:53 Total Scanresults = 636
2022/08/01 12:28:53 Scenario 2
2022/08/01 12:28:53 Total Scanresults = 2765
2022/08/01 12:28:54 Scenario 3
2022/08/01 12:28:54 Total Scanresults = 1
2022/08/01 12:28:55 Scenario 4
2022/08/01 12:28:55 Total Scanresults = 994
2022/08/01 12:28:55 Scenario 5
2022/08/01 12:28:55 Total Scanresults = 2765
2022/08/01 12:28:56 Scenario 6
2022/08/01 12:28:56 Total Scanresults = 1
2022/08/01 12:28:56 Scenario 7
2022/08/01 12:28:56 Total Scanresults = 2887
2022/08/01 12:29:01 Scenario 8
2022/08/01 12:29:01 Total Scanresults = 2765
2022/08/01 12:29:01 Scenario 9
2022/08/01 12:29:01 Total Scanresults = 1
2022/08/01 12:29:02 Scenario 10
2022/08/01 12:29:02 Total Scanresults = 636
2022/08/01 12:29:02 Scenario 11
2022/08/01 12:29:02 Total Scanresults = 1145
2022/08/01 12:29:03 Scenario 12
2022/08/01 12:29:03 Total Scanresults = 1
2022/08/01 12:29:03 Scenario 13
2022/08/01 12:29:07 Total Scanresults = 1
2022/08/01 12:29:07 Count of scanResults is 1
2022/08/01 12:29:07 Value: [2 126]
--- PASS: TestGroupAggrFlattenArrayIndex (23.52s)
=== RUN   TestNullAndMissingValuesFlattenArrayIndex
2022/08/01 12:29:08 In TestNullAndMissingValuesFlattenArrayIndex
2022/08/01 12:29:08 Scenario-1: Scanning for docsWithNullEntries with array as non-leading key
2022/08/01 12:29:08 Using n1ql client
2022/08/01 12:29:09 Scenario-2: Scanning for docsWithMissingEntries with array as non-leading key
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-3: Scanning for docs with 'missing' entry for first key in array expression with array as non-leading key
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-4: Scanning for docs with valid entry for first key in array expression with array as non-leading key
2022/08/01 12:29:09 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-5: Scanning for docsWithNullEntries with array as leading key
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-6: Scanning for docsWithMissingEntries with array as leading entry
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-7: Scanning for docs with 'missing' entry for first key in array expression
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-9: Scanning for all docs in the index
2022/08/01 12:29:09 Docs in docsWithCompleteMissingLeadingKeyInArrEntry should be present in results
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-9: Scanning for docs with valid entry for first key in array expression
2022/08/01 12:29:09 Add docs in docsWithPartialMissingLeadingKeyInArrEntry should be present in results
2022/08/01 12:29:09 Using n1ql client
--- PASS: TestNullAndMissingValuesFlattenArrayIndex (0.90s)
=== RUN   TestEmptyArrayFlattenArrayIndex
2022/08/01 12:29:09 In TestEmptyArrayFlattenArrayIndex
2022/08/01 12:29:09 Scenario-1: Scanning for docs with missing entry for first key in array expression
2022/08/01 12:29:09 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/08/01 12:29:09 Using n1ql client
2022/08/01 12:29:09 Scenario-1: Scanning for all docs in the index
2022/08/01 12:29:09 The docs in `docsWithEmptyArrayEntry` should not be presnt in scanResults
2022/08/01 12:29:09 Using n1ql client
--- PASS: TestEmptyArrayFlattenArrayIndex (0.74s)
=== RUN   TestOSOSetup
2022/08/01 12:29:09 In TestOSOSetup()
2022/08/01 12:29:09 In DropAllSecondaryIndexes()
2022/08/01 12:29:09 Index found:  ga_flatten_arr2
2022/08/01 12:29:09 Dropped index ga_flatten_arr2
2022/08/01 12:29:09 Index found:  test_oneperprimarykey
2022/08/01 12:29:10 Dropped index test_oneperprimarykey
2022/08/01 12:29:10 Index found:  idx_flatten
2022/08/01 12:29:10 Dropped index idx_flatten
2022/08/01 12:29:10 Index found:  ga_flatten_arr1
2022/08/01 12:29:10 Dropped index ga_flatten_arr1
2022/08/01 12:29:10 Index found:  #primary
2022/08/01 12:29:10 Dropped index #primary
2022/08/01 12:29:44 Flushed the bucket default, Response body: 
2022/08/01 12:29:46 Populating the default bucket
2022/08/01 12:29:50 Changing config key indexer.build.enableOSO to value true
--- PASS: TestOSOSetup (40.21s)
=== RUN   TestOSOInitBuildDeleteMutation
2022/08/01 12:29:50 In TestOSOInitBuildDeleteMutation()
2022/08/01 12:29:53 Created the secondary index index_p1_oso. Waiting for it become active
2022/08/01 12:29:53 Index is 4398245424738409071 now active
2022/08/01 12:30:01 Created the secondary index index_p_oso. Waiting for it become active
2022/08/01 12:30:01 Index is 4196188043711572581 now active
2022/08/01 12:30:01 Expected and Actual scan responses are the same
2022/08/01 12:30:01 CountRange() expected and actual is:  1799 and 1799
2022/08/01 12:30:01 lookupkey for CountLookup() = User899dd631-beb6-4766-a0ca-4cd15aaf6477
2022/08/01 12:30:01 CountLookup() = 1
--- PASS: TestOSOInitBuildDeleteMutation (11.92s)
=== RUN   TestOSOInitBuildIndexerRestart
2022/08/01 12:30:01 In TestOSOInitBuildIndexerRestart()
2022/08/01 12:30:02 Build command issued for the deferred indexes [5283422812690967247]
2022/08/01 12:30:02 []
2022-08-01T12:30:02.363+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:30:02.363+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:30:02.363+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:30:02.364+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:30:07 Waiting for index 5283422812690967247 to go active ...
2022/08/01 12:30:08 Waiting for index 5283422812690967247 to go active ...
2022/08/01 12:30:09 Waiting for index 5283422812690967247 to go active ...
2022/08/01 12:30:10 Waiting for index 5283422812690967247 to go active ...
2022/08/01 12:30:11 Waiting for index 5283422812690967247 to go active ...
2022/08/01 12:30:12 Index is 5283422812690967247 now active
2022-08-01T12:30:12.323+05:30 [Error] transport error between 127.0.0.1:40458->127.0.0.1:9107: write tcp 127.0.0.1:40458->127.0.0.1:9107: write: broken pipe
2022-08-01T12:30:12.324+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"]  request transport failed `write tcp 127.0.0.1:40458->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:30:12.324+05:30 [Warn] scan failed: requestId  queryport 127.0.0.1:9107 inst 9739649755319378260 partition [0]
2022-08-01T12:30:12.324+05:30 [Warn] Scan failed with error for index 5283422812690967247.  Trying scan again with replica, reqId: :  write tcp 127.0.0.1:40458->127.0.0.1:9107: write: broken pipe from [127.0.0.1:9107] ...
2022/08/01 12:30:12 Expected and Actual scan responses are the same
2022/08/01 12:30:12 CountRange() expected and actual is:  1799 and 1799
2022/08/01 12:30:12 lookupkey for CountLookup() = User76c3b392-52d6-4df4-8c75-973600f628b8
2022/08/01 12:30:12 CountLookup() = 1
--- PASS: TestOSOInitBuildIndexerRestart (10.42s)
=== RUN   TestMissingLeadingKeyBasic
2022/08/01 12:30:12 In DropAllSecondaryIndexes()
2022/08/01 12:30:12 Index found:  index_p2_oso
2022/08/01 12:30:12 Dropped index index_p2_oso
2022/08/01 12:30:12 Index found:  index_p1_oso
2022/08/01 12:30:12 Dropped index index_p1_oso
2022/08/01 12:30:12 Index found:  index_p_oso
2022/08/01 12:30:12 Dropped index index_p_oso
2022/08/01 12:30:48 Flushed the bucket default, Response body: 
2022/08/01 12:30:48 Populating the default bucket
--- PASS: TestMissingLeadingKeyBasic (39.91s)
=== RUN   TestMissingLeadingKeyPartitioned
2022/08/01 12:30:52 In DropAllSecondaryIndexes()
2022/08/01 12:30:52 Index found:  idx_vac
2022/08/01 12:30:52 Dropped index idx_vac
--- PASS: TestMissingLeadingKeyPartitioned (6.41s)
=== RUN   TestIdxCorruptBasicSanityMultipleIndices
2022/08/01 12:30:58 In DropAllSecondaryIndexes()
2022/08/01 12:30:58 Index found:  idx_doses_partn
2022/08/01 12:30:58 Dropped index idx_doses_partn
Creating two indices ...
2022/08/01 12:31:11 Created the secondary index corrupt_idx1_age. Waiting for it become active
2022/08/01 12:31:11 Index is 11748086446457660821 now active
2022/08/01 12:31:17 Created the secondary index corrupt_idx2_company. Waiting for it become active
2022/08/01 12:31:17 Index is 3248850058928351285 now active
hosts = [127.0.0.1:9108]
2022/08/01 12:31:17 Corrupting index corrupt_idx1_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_15817620359148424169_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx1_age_15817620359148424169_0.index/snapshot.2022-08-01.123111.413
Restarting indexer process ...
2022/08/01 12:31:22 []
2022-08-01T12:31:22.546+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:31:22.547+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:31:22.547+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:31:22.547+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:31:43 Using n1ql client
2022-08-01T12:31:43.519+05:30 [Error] transport error between 127.0.0.1:54650->127.0.0.1:9107: write tcp 127.0.0.1:54650->127.0.0.1:9107: write: broken pipe
2022-08-01T12:31:43.519+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -6266167664487050743 request transport failed `write tcp 127.0.0.1:54650->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:31:43.519+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:31:43.519+05:30 [Error] metadataClient:PickRandom: Replicas - [7508771634040535674], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:31:43 Using n1ql client
--- PASS: TestIdxCorruptBasicSanityMultipleIndices (44.84s)
=== RUN   TestIdxCorruptPartitionedIndex
Creating partitioned index ...
2022/08/01 12:31:47 Created the secondary index corrupt_idx3_age. Waiting for it become active
2022/08/01 12:31:47 Index is 11866839939484459253 now active
hosts = [127.0.0.1:9108]
indexer.numPartitions = 8
Corrupting partn id 5
Getting slicepath for  1
slicePath for partn 1 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_1.index
Getting slicepath for  2
slicePath for partn 2 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_2.index
Getting slicepath for  3
slicePath for partn 3 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_3.index
Getting slicepath for  4
slicePath for partn 4 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_4.index
Getting slicepath for  5
slicePath for partn 5 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_5.index
Getting slicepath for  6
slicePath for partn 6 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_6.index
Getting slicepath for  7
slicePath for partn 7 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_7.index
Getting slicepath for  8
slicePath for partn 8 = /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_8.index
2022/08/01 12:31:47 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_5.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_5.index/snapshot.2022-08-01.123146.503
Restarting indexer process ...
2022/08/01 12:31:52 []
2022-08-01T12:31:52.925+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:31:52.925+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:31:52.925+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:31:52.925+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:32:12 Using n1ql client
2022-08-01T12:32:12.891+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:32:12.891+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T12:32:12.901+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:32:12.901+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
Verified single partition corruption
Restarting indexer process ...
2022/08/01 12:32:12 []
2022-08-01T12:32:12.943+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:32:12.943+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:32:12.943+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:32:12.943+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:32:32 Using n1ql client
2022-08-01T12:32:32.927+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:32:32.927+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T12:32:32.938+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:32:32.938+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
2022/08/01 12:32:32 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_1.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_1.index/snapshot.2022-08-01.123146.489
2022/08/01 12:32:37 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_2.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_2.index/snapshot.2022-08-01.123146.502
2022/08/01 12:32:42 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_3.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_3.index/snapshot.2022-08-01.123146.488
2022/08/01 12:32:47 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_4.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_4.index/snapshot.2022-08-01.123146.502
Skip corrupting partition 5
2022/08/01 12:32:52 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_6.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_6.index/snapshot.2022-08-01.123146.504
2022/08/01 12:32:57 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_7.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_7.index/snapshot.2022-08-01.123146.489
2022/08/01 12:33:02 Corrupting index corrupt_idx3_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_8.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx3_age_9124675058620199038_8.index/snapshot.2022-08-01.123146.489
Restarting indexer process ...
2022/08/01 12:33:07 []
2022-08-01T12:33:08.000+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:33:08.000+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:33:08.001+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:33:08.001+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:33:27 Using n1ql client
2022-08-01T12:33:27.984+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:33:27.984+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T12:33:27.995+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 8.  Partition with instances 7 
2022-08-01T12:33:27.995+05:30 [Error] metadataClient:PickRandom: Replicas - [9124675058620199038], PrunedReplica - map[], FilteredReplica map[]
Scan error: All indexer replica is down or unavailable or unable to process request - cause: queryport.client.noHost
--- PASS: TestIdxCorruptPartitionedIndex (104.46s)
=== RUN   TestIdxCorruptMOITwoSnapsOneCorrupt
2022/08/01 12:33:28 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/08/01 12:33:42 Created the secondary index corrupt_idx4_age. Waiting for it become active
2022/08/01 12:33:42 Index is 5547379553292054322 now active
hosts = [127.0.0.1:9108]
Populating the default bucket with more docs
Snapshots:  [/opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_7798281676607927791_0.index/snapshot.2022-08-01.123342.350 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_7798281676607927791_0.index/snapshot.2022-08-01.123402.358]
2022/08/01 12:34:09 Corrupting index corrupt_idx4_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_7798281676607927791_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx4_age_7798281676607927791_0.index/snapshot.2022-08-01.123402.358
Restarting indexer process ...
2022/08/01 12:34:09 []
2022-08-01T12:34:09.191+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:34:09.191+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:34:09.191+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:34:09.191+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:34:29 Using n1ql client
2022-08-01T12:34:29.169+05:30 [Error] transport error between 127.0.0.1:47018->127.0.0.1:9107: write tcp 127.0.0.1:47018->127.0.0.1:9107: write: broken pipe
2022-08-01T12:34:29.169+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] -3648577535908210802 request transport failed `write tcp 127.0.0.1:47018->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:34:29.169+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:34:29.169+05:30 [Error] metadataClient:PickRandom: Replicas - [7798281676607927791], PrunedReplica - map[], FilteredReplica map[]
Restarting indexer process ...
2022/08/01 12:34:29 []
2022/08/01 12:34:49 Using n1ql client
2022-08-01T12:34:49.211+05:30 [Error] transport error between 127.0.0.1:53510->127.0.0.1:9107: write tcp 127.0.0.1:53510->127.0.0.1:9107: write: broken pipe
2022-08-01T12:34:49.211+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 7914253842476312616 request transport failed `write tcp 127.0.0.1:53510->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:34:49.211+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:34:49.212+05:30 [Error] metadataClient:PickRandom: Replicas - [7798281676607927791], PrunedReplica - map[], FilteredReplica map[]
--- PASS: TestIdxCorruptMOITwoSnapsOneCorrupt (81.25s)
=== RUN   TestIdxCorruptMOITwoSnapsBothCorrupt
2022/08/01 12:34:49 Changing config key indexer.settings.persisted_snapshot.moi.interval to value 20000
Creating an index ...
2022/08/01 12:34:53 Created the secondary index corrupt_idx5_name. Waiting for it become active
2022/08/01 12:34:53 Index is 7677851618052329666 now active
hosts = [127.0.0.1:9108]
Populating the default bucket with more docs
Snapshots:  [/opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_9496743538110929247_0.index/snapshot.2022-08-01.123452.717 /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_9496743538110929247_0.index/snapshot.2022-08-01.123510.037]
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_9496743538110929247_0.index/snapshot.2022-08-01.123510.037
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx5_name_9496743538110929247_0.index/snapshot.2022-08-01.123452.717
Restarting indexer process ...
2022/08/01 12:35:20 []
2022-08-01T12:35:20.544+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:35:20.544+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:35:20.544+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:35:20.545+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:35:40 Using n1ql client
2022-08-01T12:35:40.515+05:30 [Error] transport error between 127.0.0.1:54332->127.0.0.1:9107: write tcp 127.0.0.1:54332->127.0.0.1:9107: write: broken pipe
2022-08-01T12:35:40.515+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 3233501449817044784 request transport failed `write tcp 127.0.0.1:54332->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:35:40.515+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:35:40.515+05:30 [Error] metadataClient:PickRandom: Replicas - [9496743538110929247], PrunedReplica - map[], FilteredReplica map[]
2022-08-01T12:35:40.529+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] Range(3233501449817044784) response failed `Index not found`
2022-08-01T12:35:40.529+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:35:40.529+05:30 [Error] metadataClient:PickRandom: Replicas - [9496743538110929247], PrunedReplica - map[], FilteredReplica map[]
Scan error:  Index not found from [127.0.0.1:9107] - cause:  Index not found from [127.0.0.1:9107]
--- PASS: TestIdxCorruptMOITwoSnapsBothCorrupt (51.29s)
=== RUN   TestIdxCorruptBackup
2022/08/01 12:35:40 Changing config key indexer.settings.enable_corrupt_index_backup to value true
Creating index ...
2022/08/01 12:35:55 Created the secondary index corrupt_idx6_age. Waiting for it become active
2022/08/01 12:35:55 Index is 4411140817592869459 now active
hosts = [127.0.0.1:9108]
2022/08/01 12:35:55 Corrupting index corrupt_idx6_age slicePath /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_8345518565345435628_0.index
snapshot datapath =  /opt/build/ns_server/data/n_1/data/@2i/default_corrupt_idx6_age_8345518565345435628_0.index/snapshot.2022-08-01.123554.411
Restarting indexer process ...
2022/08/01 12:36:00 []
2022-08-01T12:36:00.712+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] req(3233501449817044784) connection "127.0.0.1:56316" closed `EOF`
2022-08-01T12:36:00.712+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:36:00.712+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:36:00.712+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:36:00.712+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestIdxCorruptBackup (40.15s)
=== RUN   TestStatsPersistence
2022/08/01 12:36:20 In TestStatsPersistence()
2022/08/01 12:36:20 In DropAllSecondaryIndexes()
2022/08/01 12:36:20 Index found:  corrupt_idx4_age
2022/08/01 12:36:30 Dropped index corrupt_idx4_age
2022/08/01 12:36:30 Index found:  corrupt_idx2_company
2022/08/01 12:36:30 Dropped index corrupt_idx2_company
2022/08/01 12:36:35 Created the secondary index index_age. Waiting for it become active
2022/08/01 12:36:35 Index is 13752746116953158815 now active
2022/08/01 12:36:41 Created the secondary index index_gender. Waiting for it become active
2022/08/01 12:36:41 Index is 11248201448857755920 now active
2022/08/01 12:36:47 Created the secondary index index_city. Waiting for it become active
2022/08/01 12:36:47 Index is 4425803103896067614 now active
2022/08/01 12:36:52 Created the secondary index p1. Waiting for it become active
2022/08/01 12:36:52 Index is 16016584457513314114 now active
2022/08/01 12:36:52 === Testing for persistence enabled = true, with interval = 5  ===
2022/08/01 12:36:52 Changing config key indexer.statsPersistenceInterval to value 5
2022/08/01 12:36:52 []
2022-08-01T12:36:52.322+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:36:52.322+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:36:52.323+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:36:52.323+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022/08/01 12:36:57 Using n1ql client
2022/08/01 12:36:57 Using n1ql client
2022/08/01 12:36:57 Using n1ql client
2022/08/01 12:37:04 []
2022/08/01 12:37:09 === Testing for persistence enabled = false, with interval = 0  ===
2022/08/01 12:37:09 Changing config key indexer.statsPersistenceInterval to value 0
2022/08/01 12:37:09 []
2022/08/01 12:37:14 Using n1ql client
2022-08-01T12:37:14.734+05:30 [Error] transport error between 127.0.0.1:59436->127.0.0.1:9107: write tcp 127.0.0.1:59436->127.0.0.1:9107: write: broken pipe
2022-08-01T12:37:14.734+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 1396116044564195024 request transport failed `write tcp 127.0.0.1:59436->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:37:14.735+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:37:14.735+05:30 [Error] metadataClient:PickRandom: Replicas - [11618771605262927697], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:37:14 Using n1ql client
2022/08/01 12:37:14 Using n1ql client
2022/08/01 12:37:16 []
2022/08/01 12:37:22 === Testing for persistence enabled = true, with interval = 10  ===
2022/08/01 12:37:22 Changing config key indexer.statsPersistenceInterval to value 10
2022/08/01 12:37:22 []
2022/08/01 12:37:27 Using n1ql client
2022-08-01T12:37:27.174+05:30 [Error] transport error between 127.0.0.1:60284->127.0.0.1:9107: write tcp 127.0.0.1:60284->127.0.0.1:9107: write: broken pipe
2022-08-01T12:37:27.174+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 6133257694171776545 request transport failed `write tcp 127.0.0.1:60284->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:37:27.174+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:37:27.175+05:30 [Error] metadataClient:PickRandom: Replicas - [11618771605262927697], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:37:27 Using n1ql client
2022/08/01 12:37:27 Using n1ql client
2022/08/01 12:37:39 []
2022/08/01 12:37:44 === Testing for persistence enabled = true, with interval = 5  ===
2022/08/01 12:37:44 Changing config key indexer.statsPersistenceInterval to value 5
2022/08/01 12:37:44 []
2022/08/01 12:37:49 Using n1ql client
2022-08-01T12:37:49.713+05:30 [Error] transport error between 127.0.0.1:60998->127.0.0.1:9107: write tcp 127.0.0.1:60998->127.0.0.1:9107: write: broken pipe
2022-08-01T12:37:49.713+05:30 [Error] [GsiScanClient:"127.0.0.1:9107"] 3275306132991183717 request transport failed `write tcp 127.0.0.1:60998->127.0.0.1:9107: write: broken pipe`
2022-08-01T12:37:49.713+05:30 [Error] metadataClient:PickRandom: Fail to find indexer for all index partitions. Num partition 1.  Partition with instances 0 
2022-08-01T12:37:49.713+05:30 [Error] metadataClient:PickRandom: Replicas - [11618771605262927697], PrunedReplica - map[], FilteredReplica map[]
2022/08/01 12:37:49 Using n1ql client
2022/08/01 12:37:49 Using n1ql client
2022/08/01 12:37:56 []
2022-08-01T12:37:56.959+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:37:56.959+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = EOF. Kill Pipe.
2022-08-01T12:37:56.959+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
2022-08-01T12:37:56.959+05:30 [Error] WatcherServer.runOnce() : Watcher terminated unexpectedly.
--- PASS: TestStatsPersistence (101.32s)
=== RUN   TestStats_StorageStatistics
2022/08/01 12:38:02 In TestStats_StorageStatistics()
2022/08/01 12:38:02 Index found:  index_age
2022/08/01 12:38:02 Stats from Index4 StorageStatistics for index index_age are [map[AVG_ITEM_SIZE:98 NUM_ITEMS:11502 PARTITION_ID:0]]
2022/08/01 12:38:02 Index found:  p1
2022/08/01 12:38:02 Stats from Index4 StorageStatistics for index p1 are [map[AVG_ITEM_SIZE:86 NUM_ITEMS:11502 PARTITION_ID:0]]
--- PASS: TestStats_StorageStatistics (0.20s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/functionaltests	7479.785s
Indexer Go routine dump logged in /opt/build/ns_server/logs/n_1/indexer_functests_pprof.log
curl: /opt/build/install/lib/libcurl.so.4: no version information available (required by curl)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 64782    0 64782    0     0  8641k      0 --:--:-- --:--:-- --:--:-- 9037k
2022/08/01 12:38:04 In TestMain()
2022/08/01 12:38:04 Changing config key indexer.api.enableTestServer to value true
2022/08/01 12:38:04 Using memory_optimized for creating indexes
2022/08/01 12:38:04 Changing config key indexer.settings.storage_mode to value memory_optimized
=== RUN   TestRangeWithConcurrentAddMuts
2022/08/01 12:38:09 In TestRangeWithConcurrentAddMuts()
2022/08/01 12:38:09 In DropAllSecondaryIndexes()
2022/08/01 12:38:09 Index found:  index_gender
2022/08/01 12:38:09 Dropped index index_gender
2022/08/01 12:38:09 Index found:  index_age
2022/08/01 12:38:10 Dropped index index_age
2022/08/01 12:38:10 Index found:  p1
2022/08/01 12:38:10 Dropped index p1
2022/08/01 12:38:10 Index found:  index_city
2022/08/01 12:38:10 Dropped index index_city
2022/08/01 12:38:10 Generating JSON docs
2022/08/01 12:38:10 Setting initial JSON docs in KV
2022/08/01 12:38:10 All indexers are active
2022/08/01 12:38:10 Creating a 2i
2022/08/01 12:38:14 Created the secondary index index_company. Waiting for it become active
2022/08/01 12:38:14 Index is 10388782375900256180 now active
2022/08/01 12:38:14 In Range Scan for Thread 1: 
2022/08/01 12:38:14 CreateDocs:: Creating mutations
2022/08/01 12:38:14 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022-08-01T12:40:14.326+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:41202->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestRangeWithConcurrentAddMuts (124.39s)
=== RUN   TestRangeWithConcurrentDelMuts
2022/08/01 12:40:14 In TestRangeWithConcurrentDelMuts()
2022/08/01 12:40:14 Generating JSON docs
2022/08/01 12:40:15 Setting initial JSON docs in KV
2022/08/01 12:40:31 All indexers are active
2022/08/01 12:40:31 Creating a 2i
2022/08/01 12:40:31 Index found:  index_company
2022/08/01 12:40:31 In Range Scan for Thread 1: 
2022/08/01 12:40:31 CreateDocs:: Delete mutations
2022/08/01 12:40:31 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
--- PASS: TestRangeWithConcurrentDelMuts (137.14s)
2022-08-01T12:42:31.474+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:43678->127.0.0.1:9106: use of closed network connection. Kill Pipe.
=== RUN   TestScanWithConcurrentIndexOps
2022/08/01 12:42:31 In TestScanWithConcurrentIndexOps()
2022/08/01 12:42:31 Generating JSON docs
2022/08/01 12:42:36 Setting initial JSON docs in KV
2022/08/01 12:43:33 All indexers are active
2022/08/01 12:43:33 Creating a 2i
2022/08/01 12:43:33 Index found:  index_company
2022/08/01 12:43:33 In Range Scan for Thread 1: 
2022/08/01 12:43:33 Create and Drop index operations
2022/08/01 12:43:33 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/08/01 12:43:50 Created the secondary index index_age. Waiting for it become active
2022/08/01 12:43:50 Index is 7758510044469413341 now active
2022/08/01 12:44:12 Created the secondary index index_firstname. Waiting for it become active
2022/08/01 12:44:12 Index is 10175847033633153397 now active
2022/08/01 12:44:13 Dropping the secondary index index_age
2022/08/01 12:44:13 Index dropped
2022/08/01 12:44:14 Dropping the secondary index index_firstname
2022/08/01 12:44:14 Index dropped
2022/08/01 12:44:33 Created the secondary index index_age. Waiting for it become active
2022/08/01 12:44:33 Index is 12857524168804132347 now active
2022/08/01 12:44:51 Created the secondary index index_firstname. Waiting for it become active
2022/08/01 12:44:51 Index is 10286348513591611466 now active
2022/08/01 12:44:53 Dropping the secondary index index_age
2022/08/01 12:44:53 Index dropped
2022/08/01 12:44:54 Dropping the secondary index index_firstname
2022/08/01 12:44:54 Index dropped
2022/08/01 12:45:15 Created the secondary index index_age. Waiting for it become active
2022/08/01 12:45:15 Index is 6338341772958336849 now active
2022-08-01T12:45:33.357+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:48110->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:45:33 Created the secondary index index_firstname. Waiting for it become active
2022/08/01 12:45:33 Index is 14670259940681884962 now active
2022/08/01 12:45:35 Dropping the secondary index index_age
2022/08/01 12:45:35 Index dropped
2022/08/01 12:45:36 Dropping the secondary index index_firstname
2022/08/01 12:45:36 Index dropped
--- PASS: TestScanWithConcurrentIndexOps (185.78s)
=== RUN   TestConcurrentScans_SameIndex
2022/08/01 12:45:37 In TestConcurrentScans_SameIndex()
2022/08/01 12:45:37 Generating JSON docs
2022-08-01T12:45:37.253+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:48112->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:45:42 Setting initial JSON docs in KV
2022/08/01 12:46:35 All indexers are active
2022/08/01 12:46:35 Creating a 2i
2022/08/01 12:46:35 Index found:  index_company
2022/08/01 12:46:35 In Range Scan for Thread 6: 
2022/08/01 12:46:35 In Range Scan for Thread 1: 
2022/08/01 12:46:35 In Range Scan for Thread 2: 
2022/08/01 12:46:35 In Range Scan for Thread 3: 
2022/08/01 12:46:35 In Range Scan for Thread 4: 
2022/08/01 12:46:35 In Range Scan for Thread 5: 
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 5: : Index index_company Bucket default
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 4: : Index index_company Bucket default
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 6: : Index index_company Bucket default
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022/08/01 12:46:35 ListAllSecondaryIndexes() for Thread 2: : Index index_company Bucket default
2022-08-01T12:48:36.331+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49626->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:48:37.031+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49632->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:48:37.054+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49636->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:48:37.138+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49638->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:48:37.470+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49634->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_SameIndex (180.27s)
=== RUN   TestConcurrentScans_MultipleIndexes
2022/08/01 12:48:37 In TestConcurrentScans_MultipleIndexes()
2022/08/01 12:48:37 Generating JSON docs
2022-08-01T12:48:37.519+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:49628->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:48:42 Setting initial JSON docs in KV
2022/08/01 12:49:37 All indexers are active
2022/08/01 12:49:37 Creating multiple indexes
2022/08/01 12:49:37 Index found:  index_company
2022/08/01 12:50:01 Created the secondary index index_age. Waiting for it become active
2022/08/01 12:50:01 Index is 15186407791149555163 now active
2022/08/01 12:50:24 Created the secondary index index_firstname. Waiting for it become active
2022/08/01 12:50:24 Index is 2083455089454486750 now active
2022/08/01 12:50:24 In Range Scan for Thread 3: 
2022/08/01 12:50:24 In Range Scan for Thread 1: 
2022/08/01 12:50:24 In Range Scan
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 3: : Index index_company Bucket default
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 3: : Index index_age Bucket default
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 3: : Index index_firstname Bucket default
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 1: : Index index_age Bucket default
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 1: : Index index_firstname Bucket default
2022/08/01 12:50:24 ListAllSecondaryIndexes() for Thread 1: : Index index_company Bucket default
2022-08-01T12:52:24.642+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:51338->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022-08-01T12:52:25.101+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:51336->127.0.0.1:9106: use of closed network connection. Kill Pipe.
--- PASS: TestConcurrentScans_MultipleIndexes (227.80s)
=== RUN   TestMutationsWithMultipleIndexBuilds
2022/08/01 12:52:25 In TestMutationsWithMultipleIndexBuilds()
2022/08/01 12:52:25 In DropAllSecondaryIndexes()
2022-08-01T12:52:25.318+05:30 [Error] PeerPipe.doRecieve() : ecounter error when received mesasage from Peer 127.0.0.1:9106.  Error = read tcp 127.0.0.1:51334->127.0.0.1:9106: use of closed network connection. Kill Pipe.
2022/08/01 12:52:25 Index found:  index_company
2022/08/01 12:52:25 Dropped index index_company
2022/08/01 12:52:25 Index found:  index_age
2022/08/01 12:52:25 Dropped index index_age
2022/08/01 12:52:25 Index found:  index_firstname
2022/08/01 12:52:25 Dropped index index_firstname
2022/08/01 12:52:25 Generating JSON docs
2022/08/01 12:52:30 Setting initial JSON docs in KV
2022/08/01 12:53:30 Created the secondary index index_primary. Waiting for it become active
2022/08/01 12:53:30 Index is 9120380002263292091 now active
2022/08/01 12:53:30 Creating multiple indexes in deferred mode
2022/08/01 12:53:31 Build Indexes and wait for indexes to become active: [index_company index_age index_firstname index_lastname]
2022/08/01 12:53:31 Build command issued for the deferred indexes [index_company index_age index_firstname index_lastname]
2022/08/01 12:53:31 Waiting for the index index_company to become active
2022/08/01 12:53:31 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:32 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:33 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:34 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:35 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:36 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:37 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:38 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:39 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:40 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:41 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:42 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:43 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:44 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:45 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:46 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:47 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:48 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:49 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:50 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:51 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:52 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:53 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:54 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:55 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:56 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:57 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:58 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:53:59 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:00 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:01 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:02 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:03 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:04 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:05 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:06 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:07 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:08 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:09 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:10 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:11 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:12 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:13 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:14 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:15 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:16 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:17 Waiting for index 18207655777863811274 to go active ...
2022/08/01 12:54:18 Index is 18207655777863811274 now active
2022/08/01 12:54:18 Waiting for the index index_age to become active
2022/08/01 12:54:18 Index is 11392556613517767310 now active
2022/08/01 12:54:18 Waiting for the index index_firstname to become active
2022/08/01 12:54:18 Index is 11045472437596081954 now active
2022/08/01 12:54:18 Waiting for the index index_lastname to become active
2022/08/01 12:54:18 Index is 17330657027231673986 now active
--- PASS: TestMutationsWithMultipleIndexBuilds (113.06s)
PASS
ok  	github.com/couchbase/indexing/secondary/tests/largedatatests	973.659s
Indexer Go routine dump logged in /opt/build/ns_server/logs/n_1/indexer_largedata_pprof.log
curl: /opt/build/install/lib/libcurl.so.4: no version information available (required by curl)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 62576    0 62576    0     0  8945k      0 --:--:-- --:--:-- --:--:--  9.9M

Integration tests

Disabled integration tests

Testing Succeeded


Version: versions-01.08.2022-09.30.cfg
Build Log: make-01.08.2022-09.30.log
Server Log: logs-01.08.2022-09.30.tar.gz

Finished