ci/lava: Add a simple Structural Logger into submitter
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Thu, 6 Apr 2023 04:31:04 +0000 (01:31 -0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Apr 2023 14:36:37 +0000 (14:36 +0000)
commit0ac3824922283d2604e87773dc2579b2b73f3a25
treeea31405c3330fe9c8b58958157438e3ffd76b595
parent41f29c5333372a9aa5e0d6e05476ed529326afa5
ci/lava: Add a simple Structural Logger into submitter

Refactor some pieces of the submitter to improve the clarity of the
functions and create a simple dictionary with aggregated data from the
submitter execution which will be dumped to a file when the script
exits.

Add support for the AutoSaveDict based structured logger as well, which
will come in a follow-up commit.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
.gitlab-ci/lava/lava-submit.sh
.gitlab-ci/lava/lava_job_submitter.py
.gitlab-ci/tests/conftest.py
.gitlab-ci/tests/test_lava_job_submitter.py