Add too many open files to logs analyzer

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2022-12-28 16:24:02 +03:00 committed by Julia Kovshova
parent 6367e5e8ed
commit a2d272eaee

View file

@ -268,7 +268,7 @@ def default_wallet(client_shell: Shell, temp_directory: str, cluster: Cluster):
@allure.title("Check logs for OOM and PANIC entries in {logs_dir}") @allure.title("Check logs for OOM and PANIC entries in {logs_dir}")
def check_logs(logs_dir: str): def check_logs(logs_dir: str):
problem_pattern = r"\Wpanic\W|\Woom\W" problem_pattern = r"\Wpanic\W|\Woom\W|\Wtoo many open files\W"
log_file_paths = [] log_file_paths = []
for directory_path, _, file_names in os.walk(logs_dir): for directory_path, _, file_names in os.walk(logs_dir):