1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00
workload-automation/wa/framework
Sergei Trofimov 9689420cff fw/execution: fix Exception on abort
Hitting CTRL-C will abort execution of the current job, but will still
trigger run finalization, and possibly, post-processing and teardown of
the current job. If an exception is raised during this
post-process/teardown, the previous exception state (for the
KeybardInterrupt) will be clobbered. That means that, after the new
exception has been handled, WA would attempt to execute the next job,
rather than go to finalization of the run.

To avoid this, set a flag in the context upon catching KeybardInterrupt,
and check this flag before attempting to execute the next job in the
queue.
2018-03-08 11:18:12 +00:00
..
configuration config/plugin_cache: Add specific error for global and config entries 2018-02-16 15:32:41 +00:00
target fw/target/descriptor: add usability functions 2018-03-08 11:18:12 +00:00
uiauto wa: Rename results_processors to output_processors 2018-01-15 10:24:03 +00:00
__init__.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
command.py framework/command: Fix help string for --config cmdline argument 2017-11-06 16:41:01 +00:00
entrypoint.py fw: fix error logging 2018-03-08 11:18:12 +00:00
exception.py framework/exception: add ExecutionError 2018-03-08 11:18:12 +00:00
execution.py fw/execution: fix Exception on abort 2018-03-08 11:18:12 +00:00
getters.py framework/getters: Fix missing return in Filer Getter 2018-01-12 17:28:56 +00:00
host.py framework/host: Generate default config.yaml upon first init 2018-02-14 09:13:04 +00:00
instrument.py fw/execution: Handle unresponsive targets 2018-03-08 11:18:12 +00:00
job.py fw/execution: Handle unresponsive targets 2018-03-08 11:18:12 +00:00
output_processor.py framework: move instruments -> instrument 2018-02-22 08:41:04 +00:00
output.py framework/output: output fixes 2018-03-08 11:18:12 +00:00
plugin.py framework/plugin: Fix clearing of loaded plugin 2018-01-12 17:28:56 +00:00
pluginloader.py New target description + moving target stuff under "framework" 2017-03-06 11:10:25 +00:00
resource.py Run autoflake to remove unused imports & variables 2017-12-07 15:37:49 +00:00
run.py framework/run: Calm pylint 2017-12-07 15:37:49 +00:00
signal.py fw: fix error logging 2018-03-08 11:18:12 +00:00
version.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
workload.py framework/workload: fix "no matching package" error 2018-02-12 11:45:03 +00:00