Debian Codegraph @

tests/flakyfunctional/job-submission/19-chatty/flow.cylc

raw
1 #!Jinja2
2
3 [scheduler]
4 [[events]]
5 abort on stall timeout = True
6 stall timeout = PT20S
7
8 [scheduling]
9 [[graph]]
10 # The "starter" task sleeps 5 seconds between start and complete.
11 # NOHOPE family should start first, so we'll have a "cylc jobs-submit"
12 # starting to run the talkingnonsense command (which sleeps and talks
13 # nonsense!) in serial.
14 # While the above "cylc jobs-submit" is still on going, we start
15 # another "cylc jobs-submit" command doing normal job submissions of
16 # HOPEFUL tasks.
17 # The first job submission command should never finish before getting
18 # killed (see global configuration in ".t" file causing the NOHOPE
19 # family to go into submission failure and triggering the stopper task.
20 # The idea is that the NOHOPE job submission nonsense should not block
21 # the HOPEFUL tasks from launching normally.
22 R1 = "starter:start => NOHOPE"
23 R1 = "starter => HOPEFUL"
24 R1 = HOPEFUL:succeed-all
25 R1 = "NOHOPE:submit-fail-all? => stopper"
26
27 [runtime]
28 [[starter]]
29 script = cylc__job__wait_cylc_message_started; sleep 5
30 [[HOPEFUL]]
31 script = true
32 [[NOHOPE]]
33 platform = {{ environ['CYLC_TEST_PLATFORM'] }}
34 [[nh0, nh1, nh2, nh3, nh4, nh5, nh6, nh7, nh8, nh9]]
35 inherit = NOHOPE
36 [[h0, h1, h2, h3, h4, h5, h6, h7, h8, h9]]
37 inherit = HOPEFUL
38 [[stopper]]
39 script = cylc stop "${CYLC_WORKFLOW_ID}"