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

git at git.openembedded.org git at git.openembedded.org
Tue Jan 8 20:19:47 UTC 2019


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

rpurdie pushed a commit to branch 1.40
in repository bitbake.

commit 9c3c965b9d90617e8aa2cf439019534a35a7bcb1
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 7cb08d5..6208c18 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -430,7 +430,11 @@ class BitBakeServer(object):
                         bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:])))
                     else:
                         bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
+            else:
+                bb.error("%s doesn't exist" % logfile)
+
             raise SystemExit(1)
+
         ready.close()
 
     def _startServer(self):

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


More information about the Openembedded-commits mailing list