-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Some testcases are not stable, like:
And Service "corosync-qnetd" is "started" on "qnetd-node" # ../../opt/crmsh/test/features/steps/step_implementation.py:242
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/behave/model.py", line 1991, in run
match.run(runner.context)
~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/behave/matchers.py", line 105, in run
self.func(context, *args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "../../opt/crmsh/test/features/steps/step_implementation.py", line 244, in step_impl
assert check_service_state(context, name, state, addr) is True
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/crmsh/test/features/steps/utils.py", line 127, in check_service_state
rc, _, _ = behave_agent.call(addr, 1122, f'systemctl is-active {service_name}', 'root')
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/crmsh/test/features/steps/behave_agent.py", line 69, in call
s.connect(sockaddr)
~~~~~~~~~^^^^^^^^^^
PermissionError: [Errno 13] Permission denied
It can't be reproduced each time
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels