Skip to content

ci/lava: Make job submitter parse the job result

Guilherme Gallo requested to merge gallo/mesa:ci-lava-result-parsing into main

Currently, the LAVA job submitter fetches the job results from the LAVA XMLRPC call, but that is not necessary, as the job result is easily found in the logs. E.g. the bare-metal and poe jobs uses that log to set the final job status of their runs.

Another reason for the change is that the LAVA signals are not reliable in some devices with one serial port, which was causing some troubles in a618 recently. So, if one signal fails to be sent/received, the job will ultimately fail even when the hwci script has been successful.

One special case

This job and this one presented the same issue reported in #6435 (closed). In the first job, at line 1508 the LAVA signal from /dev/kmsg was interleaved with the stdout.

But with this MR, the job is still successful since what matters is the HWCI script result.

The log coloring problem is related to #5503 (closed).

Edited by Guilherme Gallo

Merge request reports