Skip to content

Commit

Permalink
DEBUG LOGS
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
  • Loading branch information
LukaszMrugala committed Jun 27, 2024
1 parent c4cc343 commit f7d1d0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/pylib/twister/twisterlib/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,14 +1329,21 @@ def pipeline_mgr(self, pipeline, done_queue, lock, results):
with self.jobserver.get_job():
while True:
try:
logger.debug("Trying to get from pipeline")
task = pipeline.get_nowait()
logger.debug(f"Got {task} from pipeline")
except queue.Empty:
break
else:
logger.debug(f"Starting else with {task['test']}")
instance = task['test']
logger.debug(f"Instance {instance} created")
pb = ProjectBuilder(instance, self.env, self.jobserver)
logger.debug(f"ProjectBuilder {pb} instantiated")
pb.duts = self.duts
logger.debug(f"duts {pb.duts} assigned")
pb.process(pipeline, done_queue, task, lock, results)
logger.debug("Ending else, processed")

return True
else:
Expand Down

0 comments on commit f7d1d0a

Please sign in to comment.