Mailinglist Archive: opensuse-buildservice (96 mails)

< Previous Next >
Re: [opensuse-buildservice] RFC: provide reason why job may hang in state scheduled
  • From: Brüns, Stefan <Stefan.Bruens@xxxxxxxxxxxxxx>
  • Date: Mon, 24 Oct 2016 15:35:54 +0000
  • Message-id: <1551700.vNQAXqTInh@sbruens-linux>
On Montag, 24. Oktober 2016 09:30:07 CEST Adrian Schröter wrote:
On Donnerstag, 20. Oktober 2016, 15:23:13 CEST wrote Marco Strigl:
Hi,

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 :)

"No worker compliant with constraints. Mismatches: [hardware, sandbox]"

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
away)"
Would be too long IMHO. But pointing to workers and constraints is important
IMHO.

Maybe just "159 possible workers" ?

capable, compatible, compliant?

This additional output is a very welcome addition, thanks for working on it!

Kind regards,

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

< Previous Next >
Follow Ups