ci/ci_run_n_monitor: keep monitoring if a job is still running
authorHelen Koike <helen.koike@collabora.com>
Fri, 20 Oct 2023 11:52:12 +0000 (08:52 -0300)
committerMarge Bot <emma+marge@anholt.net>
Sun, 22 Oct 2023 09:30:56 +0000 (09:30 +0000)
commit9f4f52f4f3466ba4570f163c869fc1c04b21e5c9
tree48dcd1ca3c31999ed47b41a3f2cbdfcc83f6031b
parent59ee87b6065255375d8fb1f5ec4fb93202e93018
ci/ci_run_n_monitor: keep monitoring if a job is still running

When running multiple targets, the script was returning if any of the
targets failed.
But sometimes some of the targets are still running and we want to
monitor it until it finishes, even if some of the targets failed.

So check if any targeted jobs are in pending or running before deciding
to finish.

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25826>
bin/ci/ci_run_n_monitor.py