Skip to content

PBM-1474 - Swap AWS s3 v1 with v2 #1252

PBM-1474 - Swap AWS s3 v1 with v2

PBM-1474 - Swap AWS s3 v1 with v2 #1252

GitHub Actions / JUnit Test Report failed Feb 5, 2025 in 0s

54 tests run, 6 passed, 0 skipped, 48 failed.

Annotations

Check failure on line 57 in psmdb-testing/pbm-functional/pytest/test_PBM-1043.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1043.test_logical_PBM_T255

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dd3be8d0>

    @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 0x7f77dd3be8d0>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1114.test_logical_PBM_T266

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dc2f63d0>

    @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 0x7f77dc2f63d0>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1211.test_pitr_PBM_T268[logical]

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dc2dd490>
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 0x7f77dc2dd490>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1223.test_logical_PBM_T249

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dc2dde10>

    @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 0x7f77dc2dde10>

    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

See this annotation in the file changed.

@github-actions 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 0x7f77dbda4e10>
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 0x7f77dbda4e10>

    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

See this annotation in the file changed.

@github-actions 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 0x7f77dbda4e10>
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 0x7f77dbda4e10>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1297.test_logical_pitr_PBM_T253

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbd8dfd0>
newcluster = <cluster.Cluster object at 0x7f77dbd8cf10>

    @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 0x7f77dbd8dfd0>

    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

See this annotation in the file changed.

@github-actions 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 0x7f77dbe3fed0>, 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 0x7f77dbe3fed0>, 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 0x7f77dbd8dfd0>
newcluster = <cluster.Cluster object at 0x7f77dbd8cf10>
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 0x7f77dbd8cf10>, 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 0x7f77dbe3fed0>, 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 0x7f77dbe3fed0>, 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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1344.test_logical_PBM_T280

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbfcb0d0>

    @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 0x7f77dbfcb0d0>

    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 78 in psmdb-testing/pbm-functional/pytest/test_PBM-1355.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1355.test_general_PBM_T257[base-logical]

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbd0bc10>
backup_type = 'logical', restore_type = 'base'

    @pytest.mark.timeout(900,func_only=True)
    @pytest.mark.parametrize('backup_type',['logical','physical'])
    @pytest.mark.parametrize('restore_type',['base','pitr'])
    def test_general_PBM_T257(start_cluster,cluster,backup_type,restore_type):
>       cluster.check_pbm_status()

test_PBM-1355.py:78: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cluster.Cluster object at 0x7f77dbd0bc10>

    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 78 in psmdb-testing/pbm-functional/pytest/test_PBM-1355.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1355.test_general_PBM_T257[pitr-logical]

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbd0bc10>
backup_type = 'logical', restore_type = 'pitr'

    @pytest.mark.timeout(900,func_only=True)
    @pytest.mark.parametrize('backup_type',['logical','physical'])
    @pytest.mark.parametrize('restore_type',['base','pitr'])
    def test_general_PBM_T257(start_cluster,cluster,backup_type,restore_type):
>       cluster.check_pbm_status()

test_PBM-1355.py:78: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cluster.Cluster object at 0x7f77dbd0bc10>

    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 108 in psmdb-testing/pbm-functional/pytest/test_PBM-1355.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1355.test_remap_PBM_T265[logical]

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbd0bc10>
newcluster = <cluster.Cluster object at 0x7f77dbd09dd0>, backup_type = 'logical'

    @pytest.mark.timeout(900,func_only=True)
    @pytest.mark.parametrize('backup_type',['logical','physical'])
    def test_remap_PBM_T265(start_cluster,cluster,newcluster,backup_type):
>       cluster.check_pbm_status()

test_PBM-1355.py:108: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cluster.Cluster object at 0x7f77dbd0bc10>

    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 61 in psmdb-testing/pbm-functional/pytest/test_PBM-1389.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1389.test_logical_selective_PBM_T267

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dc2b0790>

    @pytest.mark.timeout(300,func_only=True)
    def test_logical_selective_PBM_T267(start_cluster,cluster):
>       cluster.check_pbm_status()

test_PBM-1389.py:61: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cluster.Cluster object at 0x7f77dc2b0790>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-773.test_logical_PBM_T221

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dc2de050>

    @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 0x7f77dc2de050>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-799.test_logical_PBM_T254

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbd51a90>

    @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 0x7f77dbd51a90>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-979.test_logical_PBM_T233

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbe9b1d0>

    @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 0x7f77dbe9b1d0>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-979.test_logical_pitr_PBM_T263

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbe9b1d0>

    @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 0x7f77dbe9b1d0>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_azurite.test_logical

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbfbf850>

    @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 0x7f77dbfbf850>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_azurite.test_logical_pitr

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbfbf850>

    @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 0x7f77dbfbf850>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_fresh_sharded.test_logical_PBM_T208

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f77dbfbc710>
newcluster = <cluster.Cluster object at 0x7f77dbfbf490>

    @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 0x7f77dbfbc710>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_indexes.test_logical_PBM_T288[collation]

AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f77dbd37c90>
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 0x7f77dbd37c90>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_indexes.test_logical_PBM_T288[sparse]

AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f77dbd37c90>
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 0x7f77dbd37c90>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_indexes.test_logical_PBM_T288[unique]

AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f77dbd37c90>
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 0x7f77dbd37c90>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_indexes.test_logical_PBM_T288[partialFilterExpression]

AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f77dbd37c90>
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 0x7f77dbd37c90>

    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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_indexes.test_logical_PBM_T288[expireAfterSeconds]

AssertionError
Raw output
start_cluster = None, cluster = <cluster.Cluster object at 0x7f77dbd37c90>
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 0x7f77dbd37c90>

    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