Skip to content

Instantly share code, notes, and snippets.

@mschoch
Created March 21, 2018 15:54
Show Gist options
  • Save mschoch/2bfa588ff28225aa69da5dd3b4487eed to your computer and use it in GitHub Desktop.
Save mschoch/2bfa588ff28225aa69da5dd3b4487eed to your computer and use it in GitHub Desktop.
➜ testrunner git:(65dfe4bc1) ✗ ./testrunner -i cbft.ini -p cluster=D+F,get-cbcollect-info=True,GROUP=P0 -t fts.stable_topology_fts.StableTopFTS.test_match_consistency_error,update=True,consistency_level=at_plus,consistency_vectors="""{"default_index_1": {"1": 5}}""",GROUP=P0,index_type=scorch
Global Test input params:
{'GROUP': 'P0',
'cluster': 'D+F',
'cluster_name': 'cbft',
'get-cbcollect-info': 'True',
'ini': 'cbft.ini',
'num_nodes': 1}
Only cases in GROUPs 'P0' will be executed
Logs will be stored at /Users/mschoch/Documents/research/cbsource/testrunner/logs/testrunner-18-Mar-21_11-54-30/test_1
./testrunner -i cbft.ini cluster=D+F,get-cbcollect-info=True,GROUP=P0 -t fts.stable_topology_fts.StableTopFTS.test_match_consistency_error,update=True,consistency_level=at_plus,consistency_vectors={default_index_1: {1: 5}},GROUP=P0,index_type=scorch
Test Input params:
{'consistency_level': 'at_plus', 'logs_folder': '/Users/mschoch/Documents/research/cbsource/testrunner/logs/testrunner-18-Mar-21_11-54-30/test_1', 'GROUP': 'P0', 'cluster': 'D+F', 'update': 'True', 'consistency_vectors': '{default_index_1: {1: 5}}', 'num_nodes': 1, 'cluster_name': 'cbft', 'index_type': 'scorch', 'ini': 'cbft.ini', 'case_number': 1, 'get-cbcollect-info': 'True'}
Run before suite setup for fts.stable_topology_fts.StableTopFTS.test_match_consistency_error
test_match_consistency_error (fts.stable_topology_fts.StableTopFTS) ... ERROR
======================================================================
ERROR: test_match_consistency_error (fts.stable_topology_fts.StableTopFTS)
----------------------------------------------------------------------
Traceback (most recent call last):
File "pytests/fts/stable_topology_fts.py", line 17, in setUp
super(StableTopFTS, self).setUp()
File "pytests/fts/fts_base.py", line 2834, in setUp
self.__init_parameters()
File "pytests/fts/fts_base.py", line 3091, in __init_parameters
self.consistency_vectors = eval(self.consistency_vectors)
File "<string>", line 1, in <module>
NameError: name 'default_index_1' is not defined
----------------------------------------------------------------------
Ran 1 test in 0.008s
FAILED (errors=1)
grabbing cbcollect from 127.0.0.1
2018-03-21 11:54:30 | INFO | MainProcess | MainThread | [remote_util.__init__] connecting to 127.0.0.1 with username:root password:couchbase ssh_key:
2018-03-21 11:54:30 | INFO | MainProcess | MainThread | [remote_util.__init__] Connected to 127.0.0.1
2018-03-21 11:54:30 | INFO | MainProcess | MainThread | [remote_util.execute_command_raw] running command.raw on 127.0.0.1: /sbin/sysctl -n machdep.cpu.brand_string
2018-03-21 11:54:30 | INFO | MainProcess | MainThread | [remote_util.execute_command_raw] command executed successfully
Collecting logs from 127.0.0.1
2018-03-21 11:54:30 | INFO | MainProcess | MainThread | [remote_util.execute_command_raw] running command.raw on 127.0.0.1: /Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/cbcollect_info 127.0.0.1-20180321-1154-diag.zip
NOT POSSIBLE TO GRAB CBCOLLECT FROM 127.0.0.1: 'NoneType' object has no attribute 'open_session'
summary so far suite fts.stable_topology_fts.StableTopFTS , pass 0 , fail 1
failures so far...
fts.stable_topology_fts.StableTopFTS.test_match_consistency_error
testrunner logs, diags and results are available under /Users/mschoch/Documents/research/cbsource/testrunner/logs/testrunner-18-Mar-21_11-54-30/test_1
Run after suite setup for fts.stable_topology_fts.StableTopFTS.test_match_consistency_error
Thread Cluster_Thread was not properly terminated, will be terminated now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment