public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>
Subject: Re: bitbake hangs forever when PR serv is enabled
Date: Thu, 17 Jan 2013 12:32:39 +0100	[thread overview]
Message-ID: <20130117113239.GC3067@jama> (raw)
In-Reply-To: <20130111152856.GC3781@jama.palm1.palmone.com>

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

On Fri, Jan 11, 2013 at 04:28:56PM +0100, Martin Jansa wrote:
> When building world which takes long time to finish I 
> sometimes see bitbake hanging forever. It didn't happen
> until I've enabled PR Service. But maybe it's not caused 
> by PR Service and it's just coincidence.
> 
> I've to kill python processes manually and this traceback shown:
> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.7/threading.py", line 504, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/home/jenkins/oe/shr-core-branches/shr-core/bitbake/lib/prserv/serv.py", line 173, in _work
>     self.prserv.work_forever()
>   File "/home/jenkins/oe/shr-core-branches/shr-core/bitbake/lib/prserv/serv.py", line 93, in work_forever
>     self.handle_request()
>   File "/usr/lib/python2.7/SocketServer.py", line 265, in handle_request
>     fd_sets = select.select([self], [], [], timeout)
> error: (4, 'Interrupted system call')
> 
> When this happens, there is only one python process doing something 
> for very long time:
> 29299 jenkins    20   0     0     0     0 Z  0.0  0.0 26:13.66 |  |           |        `- python
> 
> and when I've tried to connect to it with strace it was looping
> between 2 pipes both returning EAGAIN.
> 
> Usually last cooker output is rm_work_all in gimp, but I don't see 
> anything special in gimp recipe and it could be some other thread 
> in background.
> 
> NOTE: Running task 22874 of 23570 (ID: 996, /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb, do_rm_work_all)
> NOTE: recipe gimp-2.8.2-r0: task do_rm_work_all: Started
> NOTE: recipe gimp-2.8.2-r0: task do_rm_work_all: Succeeded
> Exception in thread Thread-1:
> .. traceback from above
> 
> Anyone seen this too? Any hints?

More info in https://bugzilla.yoctoproject.org/show_bug.cgi?id=3742

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2013-01-17 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 15:28 bitbake hangs forever when PR serv is enabled Martin Jansa
2013-01-17 11:32 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130117113239.GC3067@jama \
    --to=martin.jansa@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox