[oe-commits] [bitbake] branch master-next updated: server/process: Add missing exception raise

git at git.openembedded.org git at git.openembedded.org
Tue Feb 5 22:20:54 UTC 2019


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

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new d73dbc3  server/process: Add missing exception raise
d73dbc3 is described below

commit d73dbc3580faa1225d95ae4cefac4879ca3c1b2f
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Feb 5 21:34:37 2019 +0000

    server/process: Add missing exception raise
    
    The intent of the code was to catch one kind of error, it was actually swallowing
    all exceptions and looping indefinitely. Fix it to work as intended.
    
    This explains some mystery hangs we've been seeing.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/server/process.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 28b8eb9..80a7875 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -499,6 +499,7 @@ def connectProcessServer(sockname, featureset):
                 except IOError as e:
                     if e.errno == errno.EWOULDBLOCK:
                         pass
+                    raise
         finally:
             os.chdir(cwd)
 

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


More information about the Openembedded-commits mailing list