aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-14 12:54:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-15 09:39:42 +0000
commit608b9f821539de813bfbd9e65950dbc56a274bc2 (patch)
treeb4c4be35d42f74710e77e79de482254e84cd4cb9
parentc9c68d898985cf0bec6fc95f54c151cc50255cac (diff)
downloadbitbake-608b9f821539de813bfbd9e65950dbc56a274bc2.tar.gz
runqueue: Fix task mismatch failures from incorrect logic
The "no dependencies" task case was not being correctly considered in this code and seemed to be the cause of occasionaly task hash mismatch errors that were being seen as the dependencies were never accounted for properly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index a45b27ce5..b3648ddb5 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2286,7 +2286,7 @@ class RunQueueExecute:
current = next.copy()
next = set()
for tid in current:
- if not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
+ if len(self.rqdata.runtaskentries[p].depends) and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
procdep = []
for dep in self.rqdata.runtaskentries[tid].depends: