* bitbake hangs forever when PR serv is enabled
@ 2013-01-11 15:28 Martin Jansa
2013-01-17 11:32 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2013-01-11 15:28 UTC (permalink / raw)
To: openembedded-core; +Cc: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]
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?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: bitbake hangs forever when PR serv is enabled
2013-01-11 15:28 bitbake hangs forever when PR serv is enabled Martin Jansa
@ 2013-01-17 11:32 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2013-01-17 11:32 UTC (permalink / raw)
To: openembedded-core; +Cc: bitbake-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-17 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 15:28 bitbake hangs forever when PR serv is enabled Martin Jansa
2013-01-17 11:32 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox