Skip to contentSkip to conversation

runqueue: Fix runall option handling

PATCH In review Richard Purdie 2 participants 2 messages Nov 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqueue: Fix runall option handling

The previous fix for runall option handling had a small but in it, it didn't clear the originally processed task list which meant it was running too many tasks. Fix this so the list is reset and rebuild correctly.

---
 lib/bb/runqueue.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/runqueue.py +1 -0
index 7d4cbed775..957c2d1806 100644
@@ -933,6 +933,7 @@ class RunQueueData:
             for tid in list(self.runtaskentries.keys()):
                 if tid not in runq_build:
                    reduced_tasklist.remove(tid)
+            runq_build = {}
 
             for task in self.cooker.configuration.runall:
                 if not task.startswith("do_"):
Signature · 1 line
2.32.0
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie
Sent: den 8 november 2021 17:28
To: [email protected]
Subject: [bitbake-devel] [PATCH] runqueue: Fix runall option handling

The previous fix for runall option handling had a small but in it, it

Typo: but -> bug

//Peter

Quoted 22 lines

didn't clear the originally processed task list which meant it was running too many tasks. Fix this so the list is reset and rebuild correctly.

---
 lib/bb/runqueue.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/runqueue.py +1 -1
index 7d4cbed775..957c2d1806 100644
@@ -933,6 +933,7 @@ class RunQueueData:
             for tid in list(self.runtaskentries.keys()):
                 if tid not in runq_build:
                    reduced_tasklist.remove(tid)
+            runq_build = {}
 
             for task in self.cooker.configuration.runall:
                 if not task.startswith("do_"):
--

2.32.0