From 38654e836cbbe4f6a27c12930274770607be4ac3 Mon Sep 17 00:00:00 2001 From: Piotr Konopka Date: Tue, 5 Aug 2025 14:02:07 +0200 Subject: [PATCH] Call ODC.EnsureStop in case that we go to ERROR This commit needs a corresponding change in AliECS which adds a check for "RUNNING" state in Odc.EnsureStop before actually calling, so it is not done when inappropriate. Fixes OCTRL-1036 --- workflows/readout-dataflow.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index 26a35374a..ddc8d7c3c 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -1294,6 +1294,7 @@ defaults: odc_configure_timeout: "60s" odc_start_timeout: "60s" odc_stop_timeout: "60s" + odc_goerror_timeout: "60s" odc_reset_timeout: "60s" odc_partitionterminate_timeout: "60s" odc_cleanup_timeout: "60s" @@ -1928,6 +1929,13 @@ roles: await: after_STOP_ACTIVITY-50 timeout: "{{ odc_stop_timeout }}" critical: true + - name: go-error + call: + func: odc.EnsureStop() + trigger: before_GO_ERROR + await: after_GO_ERROR-1 + timeout: "{{ odc_goerror_timeout }}" + critical: true - name: reset call: func: odc.Reset()