We had this in CI, once, commit a0748d44c2a0d4f592a2d02203c103c6fdb1ffd8:
=================================== FAILURES ===================================
________________________________ test_logfiles _________________________________
tmp_path = PosixPath('/tmp/pytest-of-runner/pytest-0/test_logfiles0')
client = <galp._client.Client object at 0x7f3f81bf7f50>
async def test_logfiles(tmp_path, client):
"""
Log files are created per task for forensics
"""
task = gts.echo(
to_stdout='This goes to stdout',
to_stderr='And that goes to stderr'
)
async with timeout(3):
ret, = await client.collect(task)
assert ret is None
with open(os.path.join(
tmp_path, 'logs', f'{task.name.hex()}.out'
), 'r', encoding='utf8') as log_out:
> assert log_out.read() == 'This goes to stdout\n'
E AssertionError: assert '' == 'This goes to stdout\n'
E
E - This goes to stdout
tests/test_21_failures.py:315: AssertionError
=========================== short test summary info ============================
FAILED tests/test_21_failures.py::test_logfiles - AssertionError: assert '' =...
================== 1 failed, 110 passed, 11 skipped in 36.97s ==================
We had this in CI, once, commit a0748d44c2a0d4f592a2d02203c103c6fdb1ffd8: