mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
framework: Add bail_on_init_failure run configuration
This maintains the default behaviour of bailing out immediately if any workload fails in initialize(), but adds a setting, bail_on_init_failure, to change this behaviour optionally. This can be useful where WA is being used more as a batch processor.
This commit is contained in:
@@ -779,6 +779,19 @@ class RunConfiguration(Configuration):
|
||||
.. note:: this number does not include the original attempt
|
||||
''',
|
||||
),
|
||||
ConfigurationPoint(
|
||||
'bail_on_init_failure',
|
||||
kind=bool,
|
||||
default=True,
|
||||
description='''
|
||||
When jobs fail during their main setup and run phases, WA will
|
||||
continue attempting to run the remaining jobs. However, by default,
|
||||
if they fail during their early initialization phase, the entire run
|
||||
will end without continuing to run jobs. Setting this to ``False``
|
||||
means that WA will instead skip all the jobs from the job spec that
|
||||
failed, but continue attempting to run others.
|
||||
'''
|
||||
),
|
||||
ConfigurationPoint(
|
||||
'result_processors',
|
||||
kind=toggle_set,
|
||||
|
Reference in New Issue
Block a user