[buildd-tools-devel] Bug#826942: sbuild: buildd-uploader hangs if a stale lockfile is present
Johannes Schauer
josch at debian.org
Wed Oct 12 13:39:05 UTC 2016
Hi,
On Fri, 10 Jun 2016 11:32:02 +0200 John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> wrote:
> I just ran into a minor annoyance with buildd-uploader after one of our
> sparc64 buildds crashed. buildd-uploader got stuck consuming lots of CPU time
> after being invoked by the cronjob after the machine was recovered after the
> crash.
>
> Looking into the daemon.log file, there was also no output from the uploader
> script to be seen. Since buildd-uploader worked fine for the other instances
> of the buildd on the same machine, I assumed it was some issue specific to
> this particular buildd user.
>
> Turns out, the lockfile was still there and keeping the buildd-uploader busy.
> After deleting the lockfile, the uploader works as expected again:
>
> root at atlantis:~# su - buildd
> buildd at atlantis:~$ touch buildd-uploader.lock
> buildd at atlantis:~$ /usr/bin/buildd-uploader
> ^C # stuck here
> buildd at atlantis:~$ rm buildd-uploader.lock
> buildd at atlantis:~$ /usr/bin/buildd-uploader
> buildd at atlantis:~$
>
> I guess buildd-uploader should be modified to check for stale lockfiles and
> remove them.
could this be the same problem as #577421?
Thanks!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20161012/21c8da32/attachment.sig>
More information about the Buildd-tools-devel
mailing list