Guilherme Gallo
8fcc52b8d7
ci/lava: Don't print empty lines when changing sections
...
Make `print_log` section-aware to stop printing newlines whenever a
section changes.
This also caught a bug: the `handle_exception` was sending an exception
type to the `print_log`, now it is fixed.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33906 >
2025-03-10 05:44:25 +00:00
Daniel Stone
9be46b29f0
ci/lava: Print relative timestamps in sections
...
Follow what the shell executor does and print the time since the job
started in the section header.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
8ee6241a8c
ci/hw: Wrap pre-test setup in collapsed section
...
Most people don't care about environment variables and starting Weston.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
970f37be09
ci/lava: Change default section colour to cyan
...
This matches the sections from the shell prints, which are quite nice.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
3c7b53e27c
ci/lava: Be a little less enthusiastic with bold
...
Some things can just fade away into the background.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
65f05f2231
ci/lava: Explicitly pass UTC timezone
...
Rather than putting it into the environment, just pass it explicitly
every time we need a timestamp.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
586abb1e10
ci/lava: Break section-header print into separate function
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Guilherme Gallo
41f29c5333
ci/lava: Update LogFollower for better section handling and history
...
Update the LogFollower class to improve section handling and provide a
history of sections encountered during log processing:
1. Add section_history attribute to store the history of encountered
GitlabSections.
2. Make LAVA job submitter use the section history feature to improve
structural logging.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500 >
2023-04-19 14:36:37 +00:00
Guilherme Gallo
45a4b01427
ci/lava: Split lava_log into modules
...
This script is getting too big, it been hard to extend it.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17389 >
2022-07-08 12:26:05 +00:00