[PBM-1179] Warn about unsupported MongoDB version #490
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / JUnit Test Report
failed
Sep 18, 2023 in 0s
13 tests run, 11 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 55 in psmdb-testing/pbm-functional/pytest/test_PBM-979.py
github-actions / JUnit Test Report
test_PBM-979.test_incremental
failed on setup with "AssertionError: Unexpected exit code 7 for CommandResult(command=b'supervisorctl stop pbm-agent', exit_status=7, stdout=b'unix:///run/supervisor/supervisor.sock no such file\n', stderr=None)
assert 7 == 0
+ where 7 = CommandResult(command=b'supervisorctl stop pbm-agent', exit_status=7, stdout=b'unix:///run/supervisor/supervisor.sock no such file\n', stderr=None).rc"
Raw output
cluster = <cluster.Cluster object at 0x7f7771b28710>
request = <SubRequest 'start_cluster' for <Function test_incremental>>
@pytest.fixture(scope="function")
def start_cluster(cluster,request):
try:
cluster.destroy()
> cluster.create()
test_PBM-979.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cluster.py:271: in create
self.__delete_pbm(host['host'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f7771b28710>, host = 'rs105'
def __delete_pbm(self, host):
n = testinfra.get_host("docker://" + host)
> n.check_output("supervisorctl stop pbm-agent")
E AssertionError: Unexpected exit code 7 for CommandResult(command=b'supervisorctl stop pbm-agent', exit_status=7, stdout=b'unix:///run/supervisor/supervisor.sock no such file\n', stderr=None)
E assert 7 == 0
E + where 7 = CommandResult(command=b'supervisorctl stop pbm-agent', exit_status=7, stdout=b'unix:///run/supervisor/supervisor.sock no such file\n', stderr=None).rc
cluster.py:675: AssertionError
Check failure on line 54 in psmdb-testing/pbm-functional/pytest/test_kmip.py
github-actions / JUnit Test Report
test_kmip.test_incremental
AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f7771bbf010>
@pytest.mark.testcase(test_case_key="T201", test_step_key=1)
@pytest.mark.timeout(300,func_only=True)
def test_incremental(start_cluster,cluster):
cluster.check_pbm_status()
> cluster.make_backup("incremental --base")
test_kmip.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f7771bbf010>, type = 'incremental --base'
def make_backup(self, type):
n = testinfra.get_host("docker://" + self.pbm_cli)
timeout = time.time() + 120
while True:
running = self.get_status()['running']
Cluster.log("Current operation: " + str(running))
if not running:
if type:
start = n.check_output(
'pbm backup --out=json --type=' + type)
else:
start = n.check_output('pbm backup --out=json')
name = json.loads(start)['name']
Cluster.log("Backup started")
break
if time.time() > timeout:
> assert False
E AssertionError
cluster.py:389: AssertionError
Loading