[bug] Weak dependencies not working?
Hello @dbeltran,
Autosubmit Version
Tested
master
v4.0.103
`suaq
Expid affected(If applicable)
NA
Which task has issues? Where is the log(If applicable)
NA
Summary
I created the example below following our documentation, https://autosubmit.readthedocs.io/en/master/userguide/defining_workflows/index.html#example-3-weak-dependencies
JOBS:
JOB1:
FILE: ok.sh
RUNNING: once
JOB2:
FILE: nok.sh
RUNNING: once
DEPENDENCIES: JOB1
JOB3:
FILE: ok.sh
RUNNING: once
DEPENDENCIES: JOB2?
I expected JOB3
to be triggered but on master
and 4.0.103 only JOB2
is launched. In !395 (merged) 's branch it crashes with an exception (will report it there).
Steps to reproduce
Configure the experiment, autosubmit create
and autosubmit run
. Then autosubmit monitor
and JOB3
is never executed.
What is the current bug behavior?
What is the expected correct behavior?
JOB3 was supposed to be triggered as its dependency on JOB2?
is weak/optional.
Relevant logs and/or screenshots(if applicable)
Creating jobs...
Loading JobList
Adding dependencies...
Removing redundant dependencies...
Using existing valid structure.
Looking for edgeless jobs...
Checking scripts...
1 of 3 checked
2 of 3 checked
3 of 3 checked
Scripts OK
Autosubmit is running with v4.0.103
Checking the connection to all platforms in use
[local] Correct user privileges for host localhost
[local] Connection successful to host localhost
3 of 3 jobs remaining (13:40)
No jobs to check for platform local
a002_JOB1 submitted
Call from a002_JOB1 with status SUBMITTED
3 of 3 jobs remaining (13:40)
Checking 1 jobs for platform local
Job a002_JOB1 is COMPLETED
a002_JOB2 submitted
Call from a002_JOB2 with status SUBMITTED
2 of 3 jobs remaining (13:40)
Checking 1 jobs for platform local
[ERROR] Job a002_JOB2 completion check failed. There is no COMPLETED file[eCode=6009]
[ERROR] Job a002_JOB2 completion check failed. There is no COMPLETED file[eCode=6009]
No more jobs to run.
Some jobs have failed and reached maximum retrials
Any other relevant information(if applicable)
()