Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 13:24:27 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Michael Grimm <trashcan@ellael.org>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: lock problem with contemporary poudriere-devel
Message-ID:  <alpine.BSF.2.00.1604101322060.69832@woozle.rinet.ru>
In-Reply-To: <EDA00B73-70DC-42DC-AFDA-0AC8DEF034AC@ellael.org>
References:  <alpine.BSF.2.00.1604100338530.69832@woozle.rinet.ru> <EDA00B73-70DC-42DC-AFDA-0AC8DEF034AC@ellael.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Apr 2016, Michael Grimm wrote:

> Dmitry Morozovsky <marck@rinet.ru> wrote:
> 
> > after some unspecified set of things[tm] I now have problems with one of the 
> > poudriere sets: consistent
> > 
> > ====>> Warning: Failed to acquire update_stats lock
> > 
> > ckearing /tmp content does not help; defensive reboot does not either.
> > 
> > I tried to track this via source, but failed.  Packages seem to be built well, 
> > only post-processing are locked.
> > 
> > Any hints?  Thanks!
> 
> Sorry, no hints. But I am seeing the same with poudriere bulk builds (poudriere-devel-3.1.99.20160216).
> 
> After running a bulk build of 280 ports by ?
> 
> 	poudriere bulk -f /usr/local/etc/poudriere.d/pkglist -j stable -J 20 -c
> 
> ? poudriere will hang after having successfully built all 280 ports with:
> 
> 	mike> ps -Af | egrep '(locked_mkdir|poudriere)' 
> 	  728  1  SN       0:00.00 locked_mkdir 30 /tmp/.poudriere-lock-62843-stable-default-update_stats
> 	62843  1  IN       0:02.24 sh -e /usr/local/share/poudriere/bulk.sh -f /usr/local/etc/poudriere.d/pkglist -j stable -J 20 -c
> 	62997  1  SN       0:06.41 sh -e /usr/local/share/poudriere/bulk.sh -f /usr/local/etc/poudriere.d/pkglist -j stable -J 20 -c
> 	63002  1  IN       0:00.82 sh -e /usr/local/share/poudriere/bulk.sh -f /usr/local/etc/poudriere.d/pkglist -j stable -J 20 -c
> 
> I have to kill all bulk.sh in order to stop the poudriere run. All ports have been build correctly, though.

Yes, exactly the same.

What puzzles me most is that there are 4 jails and one package set. In my case, 
building script does

apply "poudriere bulk -z server -j %1 -f ${HOME}/poudriere/poudriere-server-list" {10,9}{amd64,i386}

-- and only with 10amd64 jail it has such lock.

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1604101322060.69832>