mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
bitbake: runqueue: Add further debug for sstate reuse issues
Even after enabling all our debugging, we had a reproducible test case where sstate wasn't being reused and it was unclear from the logs why. This patch adds debugging on the possible codepaths that were breaking and allowed the issue to be debugged and fixed. (Bitbake rev: 9233ad685b9b5e9eeb775fc71761712aaf0e876c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2555,6 +2555,7 @@ class RunQueueExecute:
|
||||
if tid in self.sqdata.valid and not origvalid:
|
||||
hashequiv_logger.verbose("Setscene task %s became valid" % tid)
|
||||
if harddepfail:
|
||||
logger.debug2("%s has an unavailable hard dependency so skipping" % (tid))
|
||||
self.sq_task_failoutright(tid)
|
||||
|
||||
if changed:
|
||||
@@ -2954,11 +2955,13 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
|
||||
if noexec:
|
||||
sqdata.noexec.add(tid)
|
||||
sqrq.sq_task_skip(tid)
|
||||
logger.debug2("%s is noexec so skipping setscene" % (tid))
|
||||
continue
|
||||
|
||||
if stamppresent:
|
||||
sqdata.stamppresent.add(tid)
|
||||
sqrq.sq_task_skip(tid)
|
||||
logger.debug2("%s has a valid stamp, skipping" % (tid))
|
||||
continue
|
||||
|
||||
tocheck.add(tid)
|
||||
@@ -2979,6 +2982,7 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
|
||||
if tid in sqrq.sq_deferred:
|
||||
continue
|
||||
sqdata.outrightfail.add(tid)
|
||||
logger.debug2("%s already handled (fallthrough), skipping" % (tid))
|
||||
|
||||
class TaskFailure(Exception):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user