Hydra does not cope well with offline build machines

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal

Debbugs page

Andreas Enge wrote 11 years ago
(address . bug-guix@gnu.org)
20140721183450.GA27090@debian
For instance here:

There are lines
lsh: Connect failed, (errno = 0)
guix offload: error: failed to register GC root for '/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' on '#<<build-machine> name: "enge.fr" port: 2222 system: "mips64el-linux" user: "hydra" private-key: "/home/hydra/.lsh/identity" parallel-builds: 2 speed: 0.5 features: ()>' (status: 256)
builder for `/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' failed with exit code 1
@ hook-failed /gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv - 256 builder for `/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' failed with exit code 1
cannot build derivation `/gnu/store/i7xzs82ja6pwa641hdagq32z3m0g6c9y-gd-2.0.33.drv': 1 dependencies couldn't be built

It is normal that there is no connection to enge.fr:2222 because the machine
is offline. But hydra should notice the lack of response and build on another
machine instead.

Andreas
Ludovic Courtès wrote 11 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 18070-done@debbugs.gnu.org)
87bnr3foxm.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (10 lines)
> lsh: Connect failed, (errno = 0)
> guix offload: error: failed to register GC root for '/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' on '#<<build-machine> name: "enge.fr" port: 2222 system: "mips64el-linux" user: "hydra" private-key: "/home/hydra/.lsh/identity" parallel-builds: 2 speed: 0.5 features: ()>' (status: 256)
> builder for `/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' failed with exit code 1
> @ hook-failed /gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv - 256 builder for `/gnu/store/8nklnmzj317ahk6ynz7k5748lhma8cgn-GD_2_0_33.tar.xz.drv' failed with exit code 1
> cannot build derivation `/gnu/store/i7xzs82ja6pwa641hdagq32z3m0g6c9y-gd-2.0.33.drv': 1 dependencies couldn't be built
>
> It is normal that there is no connection to enge.fr:2222 because the machine
> is offline. But hydra should notice the lack of response and build on another
> machine instead.

I believe this is now fixed. The change just makes ‘machine-load’
return +∞ when the connection fails; the effect is to ignore any such
machine.

I’ll deploy it on hydra.gnu.org ASAP.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 18070@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 18070
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help