From: Richard Purdie Date: Tue, 5 Feb 2019 21:34:37 +0000 (+0000) Subject: bitbake: server/process: Add missing exception raise X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a7662c5b83d56b7baff5cc4ee79051c3ced18c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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: d73dbc3580faa1225d95ae4cefac4879ca3c1b2f) Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 28b8eb9b864..80a7875ad98 100644 --- a/bitbake/lib/bb/server/process.py +++ b/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)