[PBM-1171] support mixed env in pre-check validation #471
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / JUnit Test Report
failed
Sep 11, 2023 in 0s
13 tests run, 12 passed, 0 skipped, 1 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 0x7fd18e518550>
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 0x7fd18e518550>, 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
Loading