[oe-commits] [bitbake] 01/03: runqueue: Add further debug information
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 14 16:36:28 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository bitbake.
commit 83c4370b25c3a14cc946965c5c5f83ea28f488a1
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Aug 14 15:56:35 2019 +0100
runqueue: Add further debug information
Further testing shows we should test some extra datastructures to help pinpoint logic
errors more precisely. This adds some further data structure sanity checks.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index b571dde..ff19564 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1918,6 +1918,17 @@ class RunQueueExecute:
logger.error("Scenequeue had holdoff tasks: %s" % pprint.pformat(self.holdoff_tasks))
err = True
+ for tid in self.rqdata.runq_setscene_tids:
+ if tid not in self.scenequeue_covered and tid not in self.scenequeue_notcovered:
+ err = True
+ logger.error("Setscene Task %s was never marked as covered or not covered" % tid)
+ if tid not in self.sq_buildable:
+ err = True
+ logger.error("Setscene Task %s was never marked as buildable" % tid)
+ if tid not in self.sq_running:
+ err = True
+ logger.error("Setscene Task %s was never marked as running" % tid)
+
for x in self.rqdata.runtaskentries:
if x not in self.tasks_covered and x not in self.tasks_notcovered:
logger.error("Task %s was never moved from the setscene queue" % x)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list