Mailinglist Archive: opensuse-buildservice (96 mails)

< Previous Next >
Re: [opensuse-buildservice] RFC: provide reason why job may hang in state scheduled
On 10/24/2016 09:30 AM, Adrian Schröter wrote:
On Donnerstag, 20. Oktober 2016, 15:23:13 CEST wrote Marco Strigl:

I have implemented a feature that can show if a job hangs in state scheduled
because there are no workers
with the capabilities to build the job (constraints not fulfilled).

We have two cases:

1. No worker at all can fulfill the constraints. Then the following detailed
string is displayed:
"no worker provides the capabilities to comply with the constraints
(constraint missmatch hint: hardware) (constraint missmatch hint: sandbox)"

It is quite long IMHO. Imagine how this looks when you do an "osc r -v" on
your terminal.
On the other side, it is self explaining :)

Mhm. We can shorten it a little bit:

"no possible workers (constrains missmatch hints: hardware / sandbox)"

This would match the suggestion below with the "xyz possible workers".

2. There is no idle worker, but a worker that is building, away or down can
build this job later.

At the moment the detailed string for case 2 that is displayed in osc r -v
and on the mouse-over-event at build.o.o is not very
significant. It just shows how many out of all workers (that are not in idle
state) could build this job.

See [1]

# osc r -v Application:Geo sfcgal -r openSUSE_Factory_ARM
openSUSE_Factory_ARM aarch64 scheduled: 159/627 building
openSUSE_Factory_ARM armv7l scheduled

Which means: 159 out of 627 workers in state building could build this job
if they change to idle. You see. Not very self-explanatory.

I would change the string in something like this:
"no idle workers found for constraints: (3 in state building) (1 in state

Would be too long IMHO. But pointing to workers and constraints is important

Maybe just "159 possible workers" ?

In the first step this information is ok.
Perhaps we need some kind of detail level?
Or an option to query the constraint violation details?

But i am not sure and don't want to change the string every time we deploy.

Any suggestions?

Thanks and regards,


Thanks for your comments :-)

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >