fix atvm watcher-backed run launch sequence
Execute the template step before starting watcher-backed ATVM runs. - run --template-command synchronously in start-atvm-run.sh - write template output to /tmp/<build>.launch.log - stop before watcher/runner startup if template generation fails - document the corrected wrapper behavior in watcher-service docs - record the stale specPattern failure mode in automation run learnings
This commit is contained in:
@@ -183,11 +183,13 @@ python3 /opt/atvm-watcher-service/atvm_run_watcher.py --help
|
||||
|
||||
Once installed, the intended workflow is:
|
||||
|
||||
1. Start the watcher for that build name.
|
||||
1. Run the approved `cmc-templates.py` command for that build name.
|
||||
- when using `start-atvm-run.sh`, the wrapper should execute `--template-command` synchronously and stop immediately if that step fails
|
||||
2. Start the watcher for that build name.
|
||||
- the start helper must clear any stale watcher state for that same requested build name before starting the new watcher instance
|
||||
2. Start the runner service for that build name.
|
||||
3. Let the runner and watcher run on the controller.
|
||||
4. The watcher exits on terminal state.
|
||||
3. Start the runner service for that build name.
|
||||
4. Let the runner and watcher run on the controller.
|
||||
5. The watcher exits on terminal state.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user