diff options
author | Guilherme Gallo <guilherme.gallo@collabora.com> | 2022-06-30 18:43:05 -0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-07-07 00:28:53 +0000 |
commit | 868daded22de6ba96dbb898613fdcf2720ff4b11 (patch) | |
tree | fef03669910555b3b94fa2a3ef32fc414968107a /.gitlab-ci | |
parent | 29af4212726bbab8464fa06ad549129382f05c5e (diff) | |
download | mesa-868daded22de6ba96dbb898613fdcf2720ff4b11.tar.gz |
ci/lava: Highlight kernel messages in bold
This will serve to warn the user that those messages are processed
differently, e.g. the kmsgs does not trigger heartbeats and maybe
eventual targets of hint to retry the job immediately.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16323>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/lava/utils/lava_log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/lava/utils/lava_log.py b/.gitlab-ci/lava/utils/lava_log.py index eeb3d4d3a43..090c9658cd7 100644 --- a/.gitlab-ci/lava/utils/lava_log.py +++ b/.gitlab-ci/lava/utils/lava_log.py @@ -264,7 +264,7 @@ class LogFollower: # we have a line, check if it is a kernel message if re.search(r"\[[\d\s]{5}\.[\d\s]{6}\] +\S{2,}", line["msg"]): - print_log(f"{line['msg']}") + print_log(f"{CONSOLE_LOG['BOLD']}{line['msg']}{CONSOLE_LOG['RESET']}") return True return False |