Skip to content

TrigValSteering: add support for CA jobs and flags

Frank Winklmeier requested to merge fwinkl/athena:trigvaltools_ca2 into main

This is a repeat of !63501 (merged) which had to be reverted due to ATR-27722. Hopefully this time it works better. Trying this first in main but will then be cherry-picked into 23.0.

Add support for ComponentAccumulator jobs to TrigValSteering. Instead of running them as type='other' they should be run as their usual type (athena, athenaHLT, etc.). For athena and transforms the --CA command line arg should be added.

In addition, ConfigFlags should now be set via the new flags member. The framework takes care of forming the proper command line for both legacy and CA jobs.

Migrate the relevant tests from TriggerTest to the new syntax (others will follow in separate MR). Also adapt to the name change of the main CA module from !63464 (merged).

A typical legacy job with flags looks like this:

ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.flags = ['Trigger.MyFlag="foo"']

and a CA job:

ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.args = '--CA'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.flags = ['Trigger.MyFlag="foo"']

Merge request reports