You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a flacky test in test/integration/log/test_log.py::test_log_dir_removed_after_follow.
See the error log
tt_cmd = PosixPath('/tmp/pytest-of-runner/pytest-0/tt_build0/tt')
mock_env_dir = PosixPath('/tmp/pytest-of-runner/pytest-0/test_log_dir_removed_after_fol0')
def test_log_dir_removed_after_follow(tt_cmd, mock_env_dir):
cmd = [tt_cmd, 'log', '-f']
process = subprocess.Popen(
cmd,
cwd=mock_env_dir,
stderr=subprocess.STDOUT,
stdout=subprocess.PIPE,
text=True,
)
wait_for_lines_in_output(process.stdout,
['app0:inst0: line 19', 'app1:inst2: line 19',
'app0:inst1: line 19', 'app1:inst1: line 19'])
var_dir = os.path.join(mock_env_dir, 'ie')
assert os.path.exists(var_dir)
shutil.rmtree(var_dir)
assert process.wait(2) == 0
> assert "Failed to detect creation of" in process.stdout.read()
E AssertionError: assert 'Failed to detect creation of' in ' ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n'
E + where ' ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n' = <built-in method read of _io.TextIOWrapper object at 0x7faca5077030>()
E + where <built-in method read of _io.TextIOWrapper object at 0x7faca5077030> = <_io.TextIOWrapper name=12 encoding='UTF-8'>.read
E + where <_io.TextIOWrapper name=12 encoding='UTF-8'> = <Popen: returncode: 0 args: [PosixPath('/tmp/pytest-of-runner/pytest-0/tt_bu...>.stdout
test/integration/log/test_log.py:278: AssertionError
=========================== short test summary info ============================
FAILED test/integration/log/test_log.py::test_log_dir_removed_after_follow - AssertionError: assert 'Failed to detect creation of' in ' ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n'
+ where ' ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n ⨯ no such file or directory\n' = <built-in method read of _io.TextIOWrapper object at 0x7faca5077030>()
+ where <built-in method read of _io.TextIOWrapper object at 0x7faca5077030> = <_io.TextIOWrapper name=12 encoding='UTF-8'>.read
+ where <_io.TextIOWrapper name=12 encoding='UTF-8'> = <Popen: returncode: 0 args: [PosixPath('/tmp/pytest-of-runner/pytest-0/tt_bu...>.stdout
==== 1 failed, 535 passed, 159 skipped, 10 deselected in 3973.75s (1:06:13) ====
The text was updated successfully, but these errors were encountered:
There is a flacky test in
test/integration/log/test_log.py::test_log_dir_removed_after_follow
.See the error log
The text was updated successfully, but these errors were encountered: