diff mbox series

cooker: Log when parsing starts in server log

Message ID 20230630170517.2764827-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit a5c145f436d68f090b113cfb9b82857adc95b546
Headers show
Series cooker: Log when parsing starts in server log | expand

Commit Message

Richard Purdie June 30, 2023, 5:05 p.m. UTC
It is unclear from the server logs when parsing starts. We know that timeouts
sometimes happen when parsing but it is unclear where in the code the delays
are from. Adding this debug message to the server log should help narrow
that down.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 0a21f1c2f8..11c9fa2c40 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1666,6 +1666,7 @@  class BBCooker:
             self.updateCacheSync()
 
         if self.state != state.parsing and not self.parsecache_valid:
+            bb.server.process.serverlog("Parsing started")
             self.setupParserWatcher()
 
             bb.parse.siggen.reset(self.data)