[bitbake-devel] [PATCH 10/26] runqueue: Fix counter/task updating glitch

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 10 23:54:04 UTC 2019

Some tasks were not being marked as covered/notcovered since internal
calls were being made without using the external call points.

Fix the accounting issues by using the correct external call points.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 9ec2f7d2d4..54dce83737 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2044,7 +2044,7 @@ class RunQueueExecute:
         for dep in self.sqdata.sq_deps[task]:
             if fail and task in self.sqdata.sq_harddeps and dep in self.sqdata.sq_harddeps[task]:
                 logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep))
-                self.scenequeue_updatecounters(dep, fail)
+                self.sq_task_failoutright(dep)
             if task not in self.sqdata.sq_revdeps2[dep]:
                 # May already have been removed by the fail case above

More information about the bitbake-devel mailing list