Return code 0 on failed workflow.
Hello again @dbeltran and @bdepaula,
Autosubmit Version
v4.0.76
Summary
We are trying to set up a CI pipeline for the workflow that we are developing for ICON. The issue is that even if the jobs fail autosubmit exits with return code 0 and so the pipeline job is considered successful:
GitlabCI Log
Job rfi001_BUILD_ICON is RUNNING
17 of 18 jobs remaining (14:32)
Checking 1 jobs for platform local
[ERROR] Job rfi001_BUILD_ICON completion check failed. There is no COMPLETED file[eCode=6009]
[ERROR] Job rfi001_BUILD_ICON completion check failed. There is no COMPLETED file[eCode=6009]
No more jobs to run.
Some jobs have failed and reached maximum retrials
SLURM job for stage build_script took 2052s
JobID JobName Partition Account AllocCPUS State ExitCode
------------ ---------- ---------- ---------- ---------- ---------- --------
3827124 slurm_run+ cluster campususer 2 COMPLETED 0:0
3827124.bat+ batch campususer 2 COMPLETED 0:0
3827124.ext+ extern campususer 2 COMPLETED 0:0
SLURM Job returned with error: 0
Uploading artifacts for successful job 02:05
Uploading artifacts...
Runtime platform arch=amd64 os=linux pid=4100443 revision=c6bb62f6 version=14.10.0
autosubmit: found 33334 matching files and directories
WARNING: venv: no matching files
Uploading artifacts as "archive" to coordinator... 201 Created id=38924 responseStatus=201 Created token=64_2LZ9t
Cleaning up project directory and file based variables 00:00
Job succeeded
Did you have this problem before? Do you have a solution/idea?