Closed VMois closed 2 years ago
Merging #159 (458faea) into master (ebb8214) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #159 +/- ##
=======================================
Coverage 27.46% 27.46%
=======================================
Files 5 5
Lines 142 142
=======================================
Hits 39 39
Misses 103 103
Impacted Files | Coverage Δ | |
---|---|---|
reana_workflow_engine_serial/tasks.py | 0.00% <ø> (ø) |
|
reana_workflow_engine_serial/utils.py | 35.61% <ø> (ø) |
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=2
(2 seconds so the workflow will definitely run longer than 20 seconds):reana.yml
Start workflow
reana-client run -w serial-timeout -f reana.yaml
After 25-30 seconds, check using
reana-client list
if workflow failed. It should.Using
reana-client logs
check if the reason isJob was killed due to timeout.
Try to input string or object instead of integer for
kubernetes_job_timeout
, the workflow should fail with an error message like:Check it using
reana-client logs
.Note: You will see an error message above, but you will not see engine logs in the
reana-client logs
output. This is due to this issue. It will be fixed after this PR.