PBM-1474 - Swap AWS s3 v1 with v2 #1252
54 tests run, 6 passed, 4 skipped, 44 failed.
Annotations
Check failure on line 57 in psmdb-testing/pbm-functional/pytest/test_PBM-1043.py
github-actions / JUnit Test Report
test_PBM-1043.test_logical_PBM_T255
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183ff7090>
@pytest.mark.timeout(600,func_only=True)
def test_logical_PBM_T255(start_cluster,cluster):
def insert_docs():
client=pymongo.MongoClient(cluster.connection)
for i in range(200):
client['test']['test'].insert_one({"doc":i})
time.sleep(1)
> cluster.check_pbm_status()
test_PBM-1043.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183ff7090>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 53 in psmdb-testing/pbm-functional/pytest/test_PBM-1114.py
github-actions / JUnit Test Report
test_PBM-1114.test_logical_PBM_T266
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f018545dd50>
@pytest.mark.timeout(300, func_only=True)
def test_logical_PBM_T266(start_cluster, cluster):
> cluster.check_pbm_status()
test_PBM-1114.py:53:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f018545dd50>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 55 in psmdb-testing/pbm-functional/pytest/test_PBM-1211.py
github-actions / JUnit Test Report
test_PBM-1211.test_pitr_PBM_T268[logical]
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183d32050>
backup_type = 'logical'
@pytest.mark.timeout(900,func_only=True)
@pytest.mark.parametrize('backup_type',['logical','physical'])
def test_pitr_PBM_T268(start_cluster,cluster,backup_type):
def insert_docs():
client=pymongo.MongoClient(cluster.connection)
for i in range(1500):
client['test']['test'].insert_one({"doc":i})
time.sleep(0.1)
> cluster.check_pbm_status()
test_PBM-1211.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183d32050>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 60 in psmdb-testing/pbm-functional/pytest/test_PBM-1223.py
github-actions / JUnit Test Report
test_PBM-1223.test_logical_PBM_T249
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0184030450>
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T249(start_cluster,cluster):
> cluster.check_pbm_status()
test_PBM-1223.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184030450>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 55 in psmdb-testing/pbm-functional/pytest/test_PBM-1228.py
github-actions / JUnit Test Report
test_PBM-1228.test_pitr_PBM_T256[base-logical]
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f01850c2090>
backup_type = 'logical', base_snapshot = 'base'
@pytest.mark.timeout(900,func_only=True)
@pytest.mark.parametrize('backup_type',['logical','physical'])
@pytest.mark.parametrize('base_snapshot',['base','profile'])
def test_pitr_PBM_T256(start_cluster,cluster,backup_type,base_snapshot):
def insert_docs():
client=pymongo.MongoClient(cluster.connection)
for i in range(1500):
client['test']['test'].insert_one({"doc":i})
time.sleep(0.1)
> cluster.check_pbm_status()
test_PBM-1228.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f01850c2090>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 55 in psmdb-testing/pbm-functional/pytest/test_PBM-1228.py
github-actions / JUnit Test Report
test_PBM-1228.test_pitr_PBM_T256[profile-logical]
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f01850c2090>
backup_type = 'logical', base_snapshot = 'profile'
@pytest.mark.timeout(900,func_only=True)
@pytest.mark.parametrize('backup_type',['logical','physical'])
@pytest.mark.parametrize('base_snapshot',['base','profile'])
def test_pitr_PBM_T256(start_cluster,cluster,backup_type,base_snapshot):
def insert_docs():
client=pymongo.MongoClient(cluster.connection)
for i in range(1500):
client['test']['test'].insert_one({"doc":i})
time.sleep(0.1)
> cluster.check_pbm_status()
test_PBM-1228.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f01850c2090>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 64 in psmdb-testing/pbm-functional/pytest/test_PBM-1297.py
github-actions / JUnit Test Report
test_PBM-1297.test_logical_pitr_PBM_T253
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183be0c90>
newcluster = <cluster.Cluster object at 0x7f0183be2890>
@pytest.mark.timeout(600, func_only=True)
def test_logical_pitr_PBM_T253(start_cluster,cluster,newcluster):
> cluster.check_pbm_status()
test_PBM-1297.py:64:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183be0c90>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 60 in psmdb-testing/pbm-functional/pytest/test_PBM-1297.py
github-actions / JUnit Test Report
test_PBM-1297.test_logical_pitr_PBM_T253
failed on teardown with "AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f0183b43050>, exit_status=1, command=b'pbm config --set pitr.enabled=false --out json', _stdout=b'', _stderr=b'Error response from daemon: No such container: newrscfg01\n')
assert 1 == 0
+ where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f0183b43050>, exit_status=1, command=b'pbm ...et pitr.enabled=false --out json', _stdout=b'', _stderr=b'Error response from daemon: No such container: newrscfg01\n').rc"
Raw output
cluster = <cluster.Cluster object at 0x7f0183be0c90>
newcluster = <cluster.Cluster object at 0x7f0183be2890>
request = <SubRequest 'start_cluster' for <Function test_logical_pitr_PBM_T253>>
@pytest.fixture(scope="function")
def start_cluster(cluster,newcluster,request):
try:
cluster.destroy()
os.chmod("/backups",0o777)
os.system("rm -rf /backups/*")
cluster.create()
cluster.setup_pbm()
yield True
finally:
if request.config.getoption("--verbose"):
cluster.get_logs()
cluster.destroy()
> newcluster.destroy(cleanup_backups=True)
test_PBM-1297.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cluster.py:497: in destroy
self.disable_pitr()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183be2890>, time_param = None
def disable_pitr(self, time_param=None):
n = testinfra.get_host("docker://" + self.pbm_cli)
if time_param:
target_time = int(datetime.fromisoformat(time_param).timestamp())
pitr_end = 0
while pitr_end < target_time:
result = n.check_output("pbm s -s backups -o json")
backups = json.loads(result)
if 'backups' in backups and 'pitrChunks' in backups['backups'] and 'pitrChunks' in backups['backups']['pitrChunks']:
pitr_end_cur = backups['backups']['pitrChunks']['pitrChunks'][0].get('range', {}).get('end', None)
if pitr_end_cur is not None:
pitr_end = pitr_end_cur
if pitr_end < target_time:
time.sleep(1)
> result = n.check_output(
"pbm config --set pitr.enabled=false --out json")
E AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f0183b43050>, exit_status=1, command=b'pbm config --set pitr.enabled=false --out json', _stdout=b'', _stderr=b'Error response from daemon: No such container: newrscfg01\n')
E assert 1 == 0
E + where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f0183b43050>, exit_status=1, command=b'pbm ...et pitr.enabled=false --out json', _stdout=b'', _stderr=b'Error response from daemon: No such container: newrscfg01\n').rc
cluster.py:587: AssertionError
Check failure on line 86 in psmdb-testing/pbm-functional/pytest/test_PBM-1344.py
github-actions / JUnit Test Report
test_PBM-1344.test_logical_PBM_T280
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b0df50>
@pytest.mark.timeout(300, func_only=True)
def test_logical_PBM_T280(start_cluster, cluster):
> cluster.check_pbm_status()
test_PBM-1344.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b0df50>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 56 in psmdb-testing/pbm-functional/pytest/test_PBM-773.py
github-actions / JUnit Test Report
test_PBM-773.test_logical_PBM_T221
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f01840109d0>
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T221(start_cluster,cluster):
> cluster.check_pbm_status()
test_PBM-773.py:56:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f01840109d0>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 49 in psmdb-testing/pbm-functional/pytest/test_PBM-799.py
github-actions / JUnit Test Report
test_PBM-799.test_logical_PBM_T254
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b0d710>
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T254(start_cluster,cluster):
> cluster.check_pbm_status()
test_PBM-799.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b0d710>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 67 in psmdb-testing/pbm-functional/pytest/test_PBM-979.py
github-actions / JUnit Test Report
test_PBM-979.test_logical_PBM_T233
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b31e90>
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T233(start_cluster,cluster):
time.sleep(5) # wait for delayed node
> cluster.check_pbm_status()
test_PBM-979.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b31e90>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 85 in psmdb-testing/pbm-functional/pytest/test_PBM-979.py
github-actions / JUnit Test Report
test_PBM-979.test_logical_pitr_PBM_T263
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b31e90>
@pytest.mark.timeout(600,func_only=True)
def test_logical_pitr_PBM_T263(start_cluster,cluster):
time.sleep(5) # wait for delayed node
> cluster.check_pbm_status()
test_PBM-979.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b31e90>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 67 in psmdb-testing/pbm-functional/pytest/test_azurite.py
github-actions / JUnit Test Report
test_azurite.test_logical
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b27c90>
@pytest.mark.timeout(300, func_only=True)
def test_logical(start_cluster, cluster):
> cluster.check_pbm_status()
test_azurite.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b27c90>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 79 in psmdb-testing/pbm-functional/pytest/test_azurite.py
github-actions / JUnit Test Report
test_azurite.test_logical_pitr
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183b27c90>
@pytest.mark.timeout(500, func_only=True)
def test_logical_pitr(start_cluster,cluster):
> cluster.check_pbm_status()
test_azurite.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183b27c90>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 70 in psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py
github-actions / JUnit Test Report
test_fresh_sharded.test_logical_PBM_T208
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183bb6890>
newcluster = <cluster.Cluster object at 0x7f0183bb4810>
@pytest.mark.timeout(600,func_only=True)
def test_logical_PBM_T208(start_cluster,cluster,newcluster):
> cluster.check_pbm_status()
test_fresh_sharded.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183bb6890>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[collation]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'collation'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[sparse]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'sparse'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[unique]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'unique'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[partialFilterExpression]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'partialFilterExpression'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[expireAfterSeconds]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'expireAfterSeconds'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[min]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'min'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[max]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'max'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_indexes.py
github-actions / JUnit Test Report
test_indexes.test_logical_PBM_T288[wildcardProjection]
AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f0184010c10>
index_option = 'wildcardProjection'
@pytest.mark.parametrize("index_option", ["collation","sparse","unique","partialFilterExpression","expireAfterSeconds","min","max","wildcardProjection"])
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T288(start_cluster,cluster,index_option):
> cluster.check_pbm_status()
test_indexes.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0184010c10>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError
Check failure on line 67 in psmdb-testing/pbm-functional/pytest/test_kerberos.py
github-actions / JUnit Test Report
test_kerberos.test_logical_PBM_T202
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f0183d4ddd0>
@pytest.mark.timeout(300,func_only=True)
def test_logical_PBM_T202(start_cluster,cluster):
> cluster.check_pbm_status()
test_kerberos.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f0183d4ddd0>
def check_pbm_status(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
result = n.check_output('pbm status --out=json')
parsed_result = json.loads(result)
Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
#Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
hosts = []
for replicaset in parsed_result['cluster']:
for host in replicaset['nodes']:
if host['role'] != "A":
hosts.append(host)
> assert host['ok'] == True
E AssertionError
cluster.py:762: AssertionError