From f7d1d0a90e68b681a500ccdb5232bf5bc09b5e8d Mon Sep 17 00:00:00 2001 From: Lukasz Mrugala Date: Thu, 27 Jun 2024 13:35:43 +0000 Subject: [PATCH] DEBUG LOGS Signed-off-by: Lukasz Mrugala --- scripts/pylib/twister/twisterlib/runner.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/pylib/twister/twisterlib/runner.py b/scripts/pylib/twister/twisterlib/runner.py index 567f125cd8caf0b..17035014950ebf0 100644 --- a/scripts/pylib/twister/twisterlib/runner.py +++ b/scripts/pylib/twister/twisterlib/runner.py @@ -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: