Debian Codegraph @

tests/functional/cylc-trigger/04-filter-names/flow.cylc

raw
1 [scheduler]
2 [[events]]
3 expected task failures = 1/fixable-1a, 1/fixable-1b, 1/fixable-2a, 1/fixable-2b, 1/fixable-3, 1/loser
4 [scheduling]
5 [[graph]]
6 R1 = """
7 # Unhandled failures stay around for retriggering by "fixer"
8 fixer
9 FIXABLES:succeed-all & loser:fail => Z
10 """
11 [runtime]
12 [[FIXABLES]]
13 script = test "${CYLC_TASK_SUBMIT_NUMBER}" -eq 2
14 [[FIXABLE-1, FIXABLE-2, FIXABLE-3]]
15 inherit = FIXABLES
16 [[fixable-1a, fixable-1b]]
17 inherit = FIXABLE-1
18 [[fixable-2a, fixable-2b]]
19 inherit = FIXABLE-2
20 [[fixable-3]]
21 inherit = FIXABLE-3
22 [[fixer]]
23 script = """
24 cylc__job__wait_cylc_message_started
25 cylc__job__poll_grep_workflow_log -E '1/fixable-1a/01.* failed'
26 cylc__job__poll_grep_workflow_log -E '1/fixable-1b/01.* failed'
27 cylc__job__poll_grep_workflow_log -E '1/fixable-2a/01.* failed'
28 cylc__job__poll_grep_workflow_log -E '1/fixable-2b/01.* failed'
29 cylc__job__poll_grep_workflow_log -E '1/fixable-3/01.* failed'
30 cylc trigger "${CYLC_WORKFLOW_ID}//" \
31 '//1/FIXABLE-1' '//1/fixable-2*' '//1/fixable-3'
32 """
33 [[loser]]
34 script = false
35 [[Z]]
36 script = true
37 [[z1, z2]]
38 inherit = Z