From 63082cf70951262a632bbcdc35838243ea1bd4b8 Mon Sep 17 00:00:00 2001 From: Guilherme Gallo Date: Wed, 20 Jul 2022 20:00:08 -0300 Subject: [PATCH] ci/lava: Add timeout header info for LAVA GL Sections Signed-off-by: Guilherme Gallo Part-of: --- .gitlab-ci/lava/utils/log_section.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/lava/utils/log_section.py b/.gitlab-ci/lava/utils/log_section.py index 7df9be9a3f1..b4072667eca 100644 --- a/.gitlab-ci/lava/utils/log_section.py +++ b/.gitlab-ci/lava/utils/log_section.py @@ -65,9 +65,10 @@ class LogSection: if match := re.search(self.regex, lava_log_line["msg"]): section_id = self.section_id.format(*match.groups()) section_header = self.section_header.format(*match.groups()) + timeout = DEFAULT_GITLAB_SECTION_TIMEOUTS[self.section_type] return GitlabSection( id=section_id, - header=section_header, + header=f"{section_header} - Timeout: {timeout}", type=self.section_type, start_collapsed=self.collapsed, )