| 1 |
# This workflow spawns instances of c (as partially satsified prerequisites) |
| 2 |
# out to the runahead limit before the suicide trigger gets activated. If the |
| 3 |
# suicide trigger cleans up all c instances the scheduler can shut down |
| 4 |
# cleanly. Otherwise it will abort on stall with unsatisfied prerequisites. |
| 5 |
|
| 6 |
[scheduler] |
| 7 |
[[events]] |
| 8 |
stall timeout = PT0S |
| 9 |
abort on stall timeout = True |
| 10 |
expected task failures = 1/a |
| 11 |
|
| 12 |
[scheduling] |
| 13 |
cycling mode = integer |
| 14 |
initial cycle point = 1 |
| 15 |
final cycle point = 5 |
| 16 |
runahead limit = P4 |
| 17 |
[[graph]] |
| 18 |
R1 = "a?" |
| 19 |
P1 = """ |
| 20 |
a[^]? => c & !x |
| 21 |
a[^]:fail? => x & !c |
| 22 |
b => c & x |
| 23 |
""" |
| 24 |
[runtime] |
| 25 |
[[b,c,x]] |
| 26 |
[[a]] |
| 27 |
# Fail after c is spawned out to the runahead limit. |
| 28 |
script = """ |
| 29 |
cylc__job__poll_grep_workflow_log "spawned 5/c" |
| 30 |
false |
| 31 |
""" |