[bitbake-devel] [PATCH] server/process: Add missing exception raise

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 5 21:40:32 UTC 2019


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 28b8eb9b86..80a7875ad9 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)
 
-- 
2.20.1



More information about the bitbake-devel mailing list