[oe-commits] [bitbake] 04/15: server/process: print a message when no logfile

git at git.openembedded.org git at git.openembedded.org
Mon Feb 25 22:28:25 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch 1.38
in repository bitbake.

commit cc32e703a8e68107353702edb230296503f5dad0
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed Nov 14 17:46:40 2018 +0800

    server/process: print a message when no logfile
    [YOCTO #12898]
    There might be no bitbake-cookerdaemon.log, print a message for debugging.
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 lib/bb/server/process.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index a9302c5..8da4e71 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -424,7 +424,11 @@ class BitBakeServer(object):
                         bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:])))
                         bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
+            else:
+                bb.error("%s doesn't exist" % logfile)
             raise SystemExit(1)

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list