summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-14 15:56:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-14 17:28:23 +0100
commit0993752e067d704bfbb9f0b85018048979b4d13f (patch)
tree723aa9a97369b471cc7af7e0fc2a5ac123397144 /bitbake/lib/bb/runqueue.py
parent0d73901c982c8f57364ef39f3a033e0522a87200 (diff)
downloadpoky-0993752e067d704bfbb9f0b85018048979b4d13f.tar.gz
bitbake: 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. (Bitbake rev: 83c4370b25c3a14cc946965c5c5f83ea28f488a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index b571dde4bf..ff19564a8c 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1918,6 +1918,17 @@ class RunQueueExecute:
1918 logger.error("Scenequeue had holdoff tasks: %s" % pprint.pformat(self.holdoff_tasks)) 1918 logger.error("Scenequeue had holdoff tasks: %s" % pprint.pformat(self.holdoff_tasks))
1919 err = True 1919 err = True
1920 1920
1921 for tid in self.rqdata.runq_setscene_tids:
1922 if tid not in self.scenequeue_covered and tid not in self.scenequeue_notcovered:
1923 err = True
1924 logger.error("Setscene Task %s was never marked as covered or not covered" % tid)
1925 if tid not in self.sq_buildable:
1926 err = True
1927 logger.error("Setscene Task %s was never marked as buildable" % tid)
1928 if tid not in self.sq_running:
1929 err = True
1930 logger.error("Setscene Task %s was never marked as running" % tid)
1931
1921 for x in self.rqdata.runtaskentries: 1932 for x in self.rqdata.runtaskentries:
1922 if x not in self.tasks_covered and x not in self.tasks_notcovered: 1933 if x not in self.tasks_covered and x not in self.tasks_notcovered:
1923 logger.error("Task %s was never moved from the setscene queue" % x) 1934 logger.error("Task %s was never moved from the setscene queue" % x)