All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] server/process: Add missing exception raise
@ 2019-02-05 21:40 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2019-02-05 21:40 UTC (permalink / raw)
  To: bitbake-devel

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@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-05 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-05 21:40 [PATCH] server/process: Add missing exception raise Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.