Poudriere Timeout

Cy Schubert Cy.Schubert at komquats.com
Wed Jan 21 04:29:48 UTC 2015


In message <54BCAF05.1090305 at FreeBSD.org>, Matthew Seaman writes:
> On 2015/01/19 01:45, Cy Schubert wrote:
> > Hi,
> > 
> > 
> > Has anyone seen this before? 
> > 
> > print/texlive-texmf texlive-texmf-20140525_4 package/timeout runaway_proces
> s
> > 
> > 
> > /usr/bin/touch /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/
> s
> > hare
> > /texmf-dist/doc/.keep_me
> > /bin/mkdir -p /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/s
> h
> > are/
> > texmf-dist/source
> > /usr/bin/touch /wrkdirs/usr/ports/print/texlive-texmf/work/stage/usr/local/
> s
> > hare
> > /texmf-dist/source/.keep_me
> > ====> Compressing man pages (compress-man)
> > ===========================================================================
> > =======================<phase: package        >============================
> > ===>  Building package for texlive-texmf-20140525_4
> > ====>> Killing timed out build after 3600 seconds
> > ====>> Cleaning up wrkdir
> > ===>  Cleaning for texlive-texmf-20140525_4
> > build of print/texlive-texmf ended at Fri Jan 16 23:49:09 PST 2015
> > build time: 02:41:43
> > !!! build failure encountered !!!
> > 
> > Building the port by hand, make package, took just over 19 minutes (1150 
> > seconds). Would increasing the timeout from 3600 to something larger (like 
> > 7200 -- I know this will require hacking the code) address the issue?
> 
> Yeah.  I've been seeing that exact problem.  Seems that 'pkg create' is
> taking an inordinately long time.  truss shows that it is still
> processing files, but very slowly.  Not sure why it hits this port
> specifically -- possibly just the number of files included in the
> package.  Printing something occasionally while processing the files in
> the package would probably allow the process to complete instead of
> poudriere killing it because it had apparently hung up, but doesn't
> address the underlying reason for why it is so slow in the first place.

Depending on the server it does. I've been building custom packages on a 
couple of machines in my basement, an AMD X2 5000+ system with 8 GB and an 
X2 4600+ system with 5.5 GB. The 5000+ builds amd64 packages while the 
4600+ system builds my i386 packages. The problem does not exhibit itself 
on the 5000+ but does on the 4600+. Increasing the package build timeout in 
common.sh from 3600 to 7200 resolved the issue -- the package builds takes 
approximately an hour and 20 minutes. Maybe a poudriere knob to allow the 
timeouts to be tuned may address this.


-- 
Cheers,
Cy Schubert <Cy.Schubert at komquats.com> or <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the freebsd-ports mailing list