ci/lava: Only parse result within testcase section
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Mon, 25 Jul 2022 20:56:51 +0000 (17:56 -0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 1 Aug 2022 23:08:37 +0000 (23:08 +0000)
commit2cb71ac530cb3668c804ab72fc73cde4c1dc9ba2
tree42a32ac72de2da5afc63e6e10d68a52f5d5f030d
parent25dcb8d201a226bdf4794281005c99fd8024cde0
ci/lava: Only parse result within testcase section

This commit fixes an issue related to leftover between jobs in the same
device under test in LAVA.

There is a possibility of having the resulting output being dumped just
after the boot, such as this job:
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/25674303#L155

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