Debian Codegraph @

tests/functional/cylc-remove/04-kill/flow.cylc

raw
1 [scheduler]
2 allow implicit tasks = True
3 [[events]]
4 expected task failures = 1/a, 1/b
5 stall timeout = PT0S
6 abort on stall timeout = True
7 [scheduling]
8 [[graph]]
9 R1 = """
10 a:started => remover
11 a:failed => u
12
13 b:submitted? => remover
14 b:submit-failed? => v
15 """
16
17 [runtime]
18 [[a, b]]
19 script = sleep 40
20 [[[events]]]
21 submitted handlers = echo %(event)s
22 failed handlers = echo %(event)s
23 submission failed handlers = echo %(event)s
24 [[b]]
25 platform = old_street
26 [[remover]]
27 script = """
28 cylc remove "$CYLC_WORKFLOW_ID//1/a" "$CYLC_WORKFLOW_ID//1/b"
29
30 # Task proxies become "transient" on removal (it means, not in the
31 # task pool), after which the job kill will be logged but the
32 # state change to "failed" or "sumbit-failed" will not (we don't
33 # care about the state of removed tasks).
34 cylc__job__poll_grep_workflow_log -E '1\/a.* job killed'
35 cylc__job__poll_grep_workflow_log -E '1\/b.* job killed'
36 """