Module: Mesa
Branch: main
Commit: 63082cf70951262a632bbcdc35838243ea1bd4b8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=63082cf70951262a632bbcdc35838243ea1bd4b8

Author: Guilherme Gallo <[email protected]>
Date:   Wed Jul 20 20:00:08 2022 -0300

ci/lava: Add timeout header info for LAVA GL Sections

Signed-off-by: Guilherme Gallo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17703>

---

 .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,
             )

Reply via email to