summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-10 13:38:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-10 13:40:02 +0100
commit6c9a516e7617e3f82de4540515c57b33508454fc (patch)
treecb86f455c2c7c33c575984c1b71e91501bdf4319 /bitbake/lib/bb/server
parent5f249a407f6abbf72804be2660d618c45b02932e (diff)
downloadpoky-6c9a516e7617e3f82de4540515c57b33508454fc.tar.gz
bitbake: server/process: Avoid tracebacks at exit
In theory this should have been worked around but is still occurring. Add it to the list of things to ignore when bitbake is shutting down. Traceback (most recent call last): File "/usr/lib64/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/server/process.py", line 698, in startCallbackHandler event = self.reader.get() File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/server/process.py", line 722, in get res = self.reader.recv_bytes() File "/usr/lib64/python3.9/multiprocessing/connection.py", line 221, in recv_bytes buf = self._recv_bytes(maxlength) File "/usr/lib64/python3.9/multiprocessing/connection.py", line 426, in _recv_bytes return self._recv(size) File "/usr/lib64/python3.9/multiprocessing/connection.py", line 384, in _recv chunk = read(handle, remaining) TypeError: an integer is required (got type NoneType)' (Bitbake rev: 7a28ac4fe478bee1e52e84412da9626495f9c6c7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 02bef3506f..43790b6631 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -697,7 +697,7 @@ class BBUIEventQueue:
697 if ready: 697 if ready:
698 event = self.reader.get() 698 event = self.reader.get()
699 self.queue_event(event) 699 self.queue_event(event)
700 except (EOFError, OSError): 700 except (EOFError, OSError, TypeError):
701 # Easiest way to exit is to close the file descriptor to cause an exit 701 # Easiest way to exit is to close the file descriptor to cause an exit
702 break 702 break
703 703