Closed VMois closed 2 years ago
the limit/validation errors are not visible from the UI
Validation errors are visible in workflow engine logs, but, you are right, not in job logs. If we want to include error logs into the job we will need to update r-job-controller
, I guess. Unless we want to show workflow engine logs in UI.
Bumping priority of reanahub/reana-ui#166 as the limit/validation errors are not visible from the UI. Should we include this in 0.8.1? cc/ @tiborsimko
Considering that we won't work on the Live-Logs sprint in the near future, I agree.. I moved this to 0.8.x kanban board backlog, so that we can take it for 0.8.2 for example.
closes reanahub/reana-job-controller#343
How to test:
This PR is part of a bigger group of PRs. Please refer to the addressed issue to see all of them.
kubernetes_job_timeout=20
(in seconds) andsleeptime=1
(1 second so workflow will definitely run longer than 20 seconds):workflow/snakemake/inputs.yaml
workflow/snakemake/Snakemake
Start workflow
reana-client run -w snake-timeout -f reana-snakemake.yaml
After 30 seconds, check using
reana-client list
if workflow failed.Using
reana-client logs -w snakemake-timeout
check if the reason isJob was killed due to timeout.
at the end.Try to input string or object instead of integer for
kubernetes_job_timeout
, the workflow should fail and have logs indicating that. This will not work right now due to this issue. It will be fixed after this PR.