<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">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</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&#39;t checked what leads to this error, but with latest oe-core and bitbake<br>
I&#39;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 &quot;/usr/lib/python2.7/multiprocessing/process.py&quot;, line 258, in _bootstrap<br>
    self.run()<br>
  File &quot;/OE/bitbake/lib/bb/server/process.py&quot;, line 104, in run<br>
    bb.cooker.server_main(self.cooker, self.main)<br>
  File &quot;/OE/bitbake/lib/bb/cooker.py&quot;, line 1692, in server_main<br>
    cooker.post_serve()<br>
  File &quot;/OE/bitbake/lib/bb/cooker.py&quot;, line 1627, in post_serve<br>
    procs = subprocess.check_output([&quot;lsof&quot;, &#39;-w&#39;, lockfile], stderr=subprocess.STDOUT)<br>
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 573, in check_output<br>
    raise CalledProcessError(retcode, cmd, output=output)<br>
CalledProcessError: Command &#39;[&#39;lsof&#39;, &#39;-w&#39;, &#39;/OE/bitbake.lock&#39;]&#39; 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&#39;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>