ci/lava: Stop printing after the result line
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Thu, 30 Jun 2022 22:46:40 +0000 (19:46 -0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Jul 2022 00:28:53 +0000 (00:28 +0000)
commit24f368d652d93abec3b0e3ddcf1ea83f1214f199
tree3560b0d4a65cdcf7bae2c8faa9a9025f202a11b6
parentf09aab08e9420cacd749f327faffab6af4301117
ci/lava: Stop printing after the result line

There are some leftovers in the jobs logs after the result log line.
Only print until the init-stage2.sh output, to raise the chance to check
for the test script results at the first glance in the Gitlab logs.

Extra changes:
- Add `hung` status for jobs considered hanging in the Gitlab
- print them after the retry loop

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