1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-01 10:52:33 +01:00

framework: Re-enable instruments before finalizing run

Ensure all instruments are re-enabled prior to run finalization
so their `finalize()` methods are invoked. This fixes an issue
where instruments not enabled during the last job skipped finalization.

Fixes: #1295
This commit is contained in:
Marc Bonnici
2025-08-06 12:00:25 -05:00
parent 89a5dce78e
commit 836c743c50

View File

@@ -532,6 +532,7 @@ class Runner(object):
job.finalize(self.context)
self.logger.info('Finalizing run')
self.context.end_run()
instrumentation.enable_all()
self.pm.enable_all()
with signal.wrap('RUN_OUTPUT_PROCESSED', self):
self.pm.process_run_output(self.context)