Mailinglist Archive: opensuse-buildservice (136 mails)

< Previous Next >
Re: [opensuse-buildservice] "discarded" workers
  • From: Andrew Davidoff <davidoff@xxxxxxxxx>
  • Date: Thu, 20 Aug 2015 16:09:22 -0600
  • Message-id: <CAJLXCZQsCH5Wj4uDXQg_Ud8eOB+ZwD=0j2eTXDb7ycTjb6Ws9g@mail.gmail.com>
Thanks for the information. I'll dig into this a bit.

Regarding restarting a single worker that has become discarded, is
there a way to do this?

Thanks.
Andy

On Thu, Aug 20, 2015 at 4:48 AM, Michael Schroeder <mls@xxxxxxx> wrote:
On Wed, Aug 19, 2015 at 12:16:02PM -0400, Andrew Davidoff wrote:
[ 144s] qemu: terminating on signal 15 from pid 81153
[ 144s] No buildstatus set, either the base system is broken
(glibc/bash/perl)
[ 144s] or the build host has a kernel or hardware problem...

2015-08-19 09:59:26: build finished '%PACKAGENAME%-%PACKAGEVER%' for
project 'home:%USERNAME%:%PROJECTNAME%' repository
'common_xUbuntu_14.04' arch 'x86_64'

build discarded...
umount: /var/cache/obs/worker/root_1: not mounted
umount tmpfs failed: No such file or directory
could not kill build in /var/cache/obs/worker/root_1/root

That's because there's a 'die("umount tmpfs failed")' statement in
cleanup_job(). Because of the die, the state is never set to 'idle'
again.

I think the correct fix is to not call umount if tmpfs is not
mounted anymore/yet.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups