diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-30 17:57:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-30 17:58:47 +0100 |
commit | 4bb1f0e236d27df861299c5fa689c18968690e88 (patch) | |
tree | a5acbec4aa68600bf0e6ab8b329cb373836f827e /bitbake/lib/bb | |
parent | 326c854035e623236a971c3c8ff47a278df2b755 (diff) | |
download | poky-4bb1f0e236d27df861299c5fa689c18968690e88.tar.gz |
bitbake: server/process: Show command in timeout message
To learn more about the server timeout issues, be clear in the error
message about which command is showing the timeout. It is currently
unclear if this is the original command or a ping to the server.
(Bitbake rev: ac3cd866274f67b29eff89e393132bdabf76dbfd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 7616ef53c8..4d4fa6d1be 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -502,7 +502,7 @@ class ServerCommunicator(): | |||
502 | def runCommand(self, command): | 502 | def runCommand(self, command): |
503 | self.connection.send(command) | 503 | self.connection.send(command) |
504 | if not self.recv.poll(30): | 504 | if not self.recv.poll(30): |
505 | logger.info("No reply from server in 30s") | 505 | logger.info("No reply from server in 30s (for command %s)" % command[0]) |
506 | if not self.recv.poll(30): | 506 | if not self.recv.poll(30): |
507 | raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") | 507 | raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") |
508 | ret, exc = self.recv.get() | 508 | ret, exc = self.recv.get() |