bug#24496: offloading should fall back to local build after n tries

2021-12-21 Thread Ludovic Courtès
Hi, Maxim Cournoyer skribis: > I just reviewed this commit, and don't see anywhere where the behavior > would have changed. The discarding happens here: > > - (if (and node (< load 2.) (>= space %minimum-disk-space)) > + (if (and node > + (or (not threshold) (<

bug#24496: offloading should fall back to local build after n tries

2021-12-17 Thread zimoun
Hi, I have not checked all the details, since the code of “guix offload” is run by root, IIUC and so it is not as friendly as usual to debug. :-) On Fri, 17 Dec 2021 at 16:57, Maxim Cournoyer wrote: >> However, I think this behavior was unintentionally lost in >> efbf5fdd01817ea75de369e3dd2761a

bug#24496: offloading should fall back to local build after n tries

2021-12-17 Thread Maxim Cournoyer
Hello Ludovic, Ludovic Courtès writes: > Hi! > > zimoun skribis: > >> I am just hitting this old bug#24496 [1]. >> >> On Mon, 26 Sep 2016 at 18:20, l...@gnu.org (Ludovic Courtès) wrote: >>> ng0 skribis: >>> When I forgot that my build machine is offline and I did not pass --no-build-

bug#24496: offloading should fall back to local build after n tries

2021-12-17 Thread Ludovic Courtès
Hi! zimoun skribis: > I am just hitting this old bug#24496 [1]. > > On Mon, 26 Sep 2016 at 18:20, l...@gnu.org (Ludovic Courtès) wrote: >> ng0 skribis: >> >>> When I forgot that my build machine is offline and I did not pass >>> --no-build-hook, the offloading keeps trying forever until I had t

bug#24496: offloading should fall back to local build after n tries

2021-12-16 Thread zimoun
Hi, I am just hitting this old bug#24496 [1]. On Mon, 26 Sep 2016 at 18:20, l...@gnu.org (Ludovic Courtès) wrote: > ng0 skribis: > >> When I forgot that my build machine is offline and I did not pass >> --no-build-hook, the offloading keeps trying forever until I had to >> cancel the build, boot

bug#24496: offloading should fall back to local build after n tries

2016-10-05 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès writes: [...] >> Like you say, on Hydra-style setup this could be a problem: the >> front-end machine may have --max-jobs=0, meaning that it cannot perform >> builds on its own. >> >> So I guess we would need a command-line option to select a different >> behavio

bug#24496: offloading should fall back to local build after n tries

2016-10-04 Thread ng0
Ludovic Courtès writes: > Hello! > > ng0 skribis: > >> When I forgot that my build machine is offline and I did not pass >> --no-build-hook, the offloading keeps trying forever until I had to >> cancel the build, boot the build-machine and started the build again. >> >> A solution could be a con

bug#24496: offloading should fall back to local build after n tries

2016-09-26 Thread Ludovic Courtès
Hello! ng0 skribis: > When I forgot that my build machine is offline and I did not pass > --no-build-hook, the offloading keeps trying forever until I had to > cancel the build, boot the build-machine and started the build again. > > A solution could be a config option or default behavior which

bug#24496: offloading should fall back to local build after n tries

2016-09-21 Thread ng0
When I forgot that my build machine is offline and I did not pass --no-build-hook, the offloading keeps trying forever until I had to cancel the build, boot the build-machine and started the build again. A solution could be a config option or default behavior which after failing to offload for n t