Valentine Burley
61d9c47944
ci/lava: Use CI_JOB_TIMEOUT instead of separate variable
...
The CI_JOB_TIMEOUT variable is the GitLab-defined job timeout in
seconds.
Use this variable in LAVA instead of the separate JOB_TIMEOUT,
which was intended to represent the test phase timeout (job timeout
minus 5 minutes), but was often overlooked.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32609 >
2024-12-18 09:23:27 +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
2b4d468421
ci/lava: Hide more boot details into sections
...
Make sure we keep as much of the boot as we can behind sections, so
by default people only see the actual test run.
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
964b979131
ci/lava: Add section for device wait
...
This way it's easier to see how long it took.
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
2cee21ffa5
ci/lava: Distinguish test suites in DUT vs Docker
...
Test suite in the dut is just running SSH server and waiting for the
docker container to start the SSH session. So it can take all the test
cases accumulated duration, not just the init-stage1.sh part anymore.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22870 >
2023-05-19 14:45:17 +00:00
Guilherme Gallo
63082cf709
ci/lava: Add timeout header info for LAVA GL Sections
...
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17703 >
2022-08-03 21:50:34 +00:00
Guilherme Gallo
69400a0762
ci/lava: Customise sections timeouts via envvars
...
Refer to environment variables before falling back to the default
timeouts for each Gitlab section.
This makes more explicit in the job definition that there is a
particular case where the job may obey different timeouts.
Closes : #6908
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17703 >
2022-08-03 21:50:34 +00:00
Guilherme Gallo
28880818ee
ci/lava: Increase boot timeout
...
Empirically, a successful LAVA boot time should take less than 3
minutes.
LAVA itself is configured to attempt thrice to boot the device,
summing up to 9 minutes.
It is better to retry the boot than cancel the job and re-submit to
avoid the enqueue delay.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17646 >
2022-07-21 02:24:20 +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