<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 8:31 AM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id=":1wi" class="">I haven't checked what leads to this error, but with latest oe-core and bitbake<br>
I've noticed ugly python exception after successful build with bitbake:<br>
<br>
<br>
Summary: There were 35 WARNING messages shown.<br>
Process ProcessServer-1:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap<br>
self.run()<br>
File "/OE/bitbake/lib/bb/server/process.py", line 104, in run<br>
bb.cooker.server_main(self.cooker, self.main)<br>
File "/OE/bitbake/lib/bb/cooker.py", line 1692, in server_main<br>
cooker.post_serve()<br>
File "/OE/bitbake/lib/bb/cooker.py", line 1627, in post_serve<br>
procs = subprocess.check_output(["lsof", '-w', lockfile], stderr=subprocess.STDOUT)<br>
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output<br>
raise CalledProcessError(retcode, cmd, output=output)<br>
CalledProcessError: Command '['lsof', '-w', '/OE/bitbake.lock']' returned non-zero exit status 1<br>
/OE/$ lsof -w /OE/bitbake.lock<br>
/OE/$ echo $?<br>
1<br>
/OE/$ ls -lah bitbake.lock<br>
-rw-rw-r-- 1 mjansa mjansa 0 May 5 13:19 bitbake.lock</div></blockquote></div><br>I'd suggest catching that exception at 1627 of cooker.py and at least printing exc.output, so we can see if lsof showed any errors.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>