From 3da1114f83209dd25b2821d2eb3f9024c66ca506 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Feb 2019 21:34:37 +0000 Subject: bitbake: 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. (Bitbake rev: d89358c7b8aa69f12b8c384c4fdb493782633494) (From poky rev: 1d987b98ed9ee95239f966ce990c119531e95d88) Change-Id: I78540176a395b5051a8661e5a069dfba7041a6f8 Signed-off-by: Richard Purdie Signed-off-by: Brad Bishop --- poky/bitbake/lib/bb/server/process.py | 1 + 1 file changed, 1 insertion(+) (limited to 'poky/bitbake') diff --git a/poky/bitbake/lib/bb/server/process.py b/poky/bitbake/lib/bb/server/process.py index 28b8eb9b8..80a7875ad 100644 --- a/poky/bitbake/lib/bb/server/process.py +++ b/poky/bitbake/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) -- cgit v1.2.3