CI: test_simple_counter_info failure at setup
https://gitlab.esrf.fr/bliss/bliss/-/jobs/728582
__________________ ERROR at setup of test_simple_counter_info __________________
beacon = <bliss.config.static.Config object at 0x7ff365a80e50>
@pytest.fixture
def sim_ct_gauss_service(beacon):
proc = subprocess.Popen(SERVICE + ["sim_ct_gauss_service"], stdout=subprocess.PIPE)
> process_utils.wait_for(proc.stdout, "Starting service sim_ct_gauss_service")
tests/comm/test_service.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
stream = <FileObjectPosix at 0x7ff366405460 _fobj=<_io.BufferedReader name=177>>
target = b'Starting service sim_ct_gauss_service', timeout = None
def wait_for(stream, target: bytes, timeout=None):
"""Wait for a specific bytes sequence from a stream.
Arguments:
stream: The stream to read
target: The sequence to wait for
"""
data = b""
target = target.encode()
while target not in data:
char = stream.read(1)
if not char:
> raise RuntimeError(
"Target {!r} not found in the following stream:\n{}".format(
target, data.decode()
)
)
E RuntimeError: Target b'Starting service sim_ct_gauss_service' not found in the following stream:
/opt/conda/envs/default_env/lib/python3.9/site-packages/bliss/testutils/process_utils.py:25: RuntimeError