lock problem with contemporary poudriere-devel

Dmitry Morozovsky marck at rinet.ru
Sun Apr 10 10:24:44 UTC 2016


On Sun, 10 Apr 2016, Michael Grimm wrote:

> Dmitry Morozovsky <marck at 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 at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-pkg mailing list