* Need to increase 20-hour build timeout for NSS on MIPS
@ 2015-05-21 18:30 Mark H Weaver
2015-05-21 22:03 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2015-05-21 18:30 UTC (permalink / raw
To: guix-devel
NSS consistently fails to build on MIPS because it hits the 20 hour
timeout specified in 'package->alist' in build-aux/hydra/gnu-system.scm.
As a one-time hack, I modified the database on Hydra to increase the
timeout for <http://hydra.gnu.org/build/442531> to 40 hours, and found
that the build succeeded after about 28.25 hours.
The overwhelming majority of that time is spent in the test suite -- the
build phase takes only about 10 minutes on MIPS -- but I'm reluctant to
disable the test suite for a library as security-critical as NSS.
So, we either need a way to set the timeout on a per-package basis, or
we need to increase the default timeout in gnu-system.scm. I still
don't know how much to increase it, because in this case there were no
other builds happening on the machine for much of the time, whereas
typically there will be two builds assigned to each MIPS build slave.
Suggestions?
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need to increase 20-hour build timeout for NSS on MIPS
2015-05-21 18:30 Need to increase 20-hour build timeout for NSS on MIPS Mark H Weaver
@ 2015-05-21 22:03 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-05-21 22:03 UTC (permalink / raw
To: Mark H Weaver; +Cc: guix-devel
Mark H Weaver <mhw@netris.org> skribis:
> So, we either need a way to set the timeout on a per-package basis, or
> we need to increase the default timeout in gnu-system.scm. I still
> don't know how much to increase it, because in this case there were no
> other builds happening on the machine for much of the time, whereas
> typically there will be two builds assigned to each MIPS build slave.
>
> Suggestions?
What about using the ‘properties’ field of the package:
(define-public nss
(package
;; ...
(properties `((timeout . ,(* 40 3600))))))
and then have gnu-system.scm honor it when present?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-21 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 18:30 Need to increase 20-hour build timeout for NSS on MIPS Mark H Weaver
2015-05-21 22:03 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.