runqueue: convert deferral messages from bb.note to bb.debug
Steve,
FYI, sorry I missed copying you initially...
Quoted 47 lines · Denys Dmytriyenko
Using multiconfig to target baremetal pieces of the system and building corresponding toolchains for them results in hundreds and hundreds of "Deferring %s after %s" and "Deferred task %s now buildable".
To clean up the output and to reduce risk of missing important warnings, convert these notice messages to debug messages.
Signed-off-by Denys Dmytriyenko <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit 64bc00a46d1aacc23fe7e8d9a46a126f3a4bc318)Signed-off-by Denys Dmytriyenko <[email protected]>--- lib/bb/runqueue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)lib/bb/runqueue.py +3
-3@@ -1980,12 +1980,12 @@ class RunQueueExecute: # Allow the next deferred task to run. Any other deferred tasks should be deferred after that task. # We shouldn't allow all to run at once as it is prone to races. if not found: - bb.note("Deferred task %s now buildable" % t) + bb.debug(1, "Deferred task %s now buildable" % t) del self.sq_deferred[t] update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False) found = t else: - bb.note("Deferring %s after %s" % (t, found)) + bb.debug(1, "Deferring %s after %s" % (t, found)) self.sq_deferred[t] = found def task_complete(self, task):@@ -2892,7 +2892,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq): sqdata.hashes[h] = tid else: sqrq.sq_deferred[tid] = sqdata.hashes[h] - bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h])) + bb.debug(1, "Deferring %s after %s" % (tid, sqdata.hashes[h])) update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True)Signature · 1 line
2.25.1
Quoted 4 lines · Denys Dmytriyenko
Steve,
FYI, sorry I missed copying you initially...
I've got it now, thanks!
Steve
Quoted 48 lines · Denys Dmytriyenko
Quoted 47 lines
Using multiconfig to target baremetal pieces of the system and building corresponding toolchains for them results in hundreds and hundreds of "Deferring %s after %s" and "Deferred task %s now buildable".
To clean up the output and to reduce risk of missing important warnings, convert these notice messages to debug messages.
Signed-off-by Denys Dmytriyenko <[email protected]>Signed-off-by Denys Dmytriyenko <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit 64bc00a46d1aacc23fe7e8d9a46a126f3a4bc318)Signed-off-by Denys Dmytriyenko <[email protected]>--- lib/bb/runqueue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)lib/bb/runqueue.py +3
-4@@ -1980,12 +1980,12 @@ class RunQueueExecute: # Allow the next deferred task to run. Any other deferred tasks should be deferred after that task. # We shouldn't allow all to run at once as it is prone to races. if not found: - bb.note("Deferred task %s now buildable" % t) + bb.debug(1, "Deferred task %s now buildable" % t) del self.sq_deferred[t] update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False) found = t else: - bb.note("Deferring %s after %s" % (t, found)) + bb.debug(1, "Deferring %s after %s" % (t, found)) self.sq_deferred[t] = found def task_complete(self, task):@@ -2892,7 +2892,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq): sqdata.hashes[h] = tid else: sqrq.sq_deferred[tid] = sqdata.hashes[h] - bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h])) + bb.debug(1, "Deferring %s after %s" % (tid, sqdata.hashes[h])) update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True) --2.25.1