I added a 'wait for jobs' method to the openQA client library,
so we could share this between fedora-openqa-schedule and check-
compose. This simplifies the code here nicely. It's a small
behaviour change in that this doesn't wait indefinitely (it'll
give up after 6 hours), but I think that's better than leaving
zombies lying around (I've seen some very old processes lying
around on BOS that were probably still waiting for jobs that
never completed or something).
openQA-python commit is:
https://github.com/os-autoinst/openQA-python-client/commit/9155b6a8
Although I don't think that we are going to hit this ceiling soon, I would rather see waittime configurable :-)