-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate how execution timeout is set #4859
Comments
Execution time limit is a "feature" of the "job runner handler", it may or may not be implemented (though in practice it is). For example here's the implementation for the "background" handler: cylc-flow/cylc/flow/job_runner_handlers/background.py Lines 60 to 64 in 3af1836
And here's the PBS implementation: cylc-flow/cylc/flow/job_runner_handlers/pbs.py Lines 105 to 107 in 3af1836
|
Tested with this workflow:
Relevant log entries:
Both fine.
Undocumented behaviour. cylc-flow/cylc/flow/task_events_mgr.py Line 1513 in 3af1836
This doesn't make much sense, especially given that the last interval gets used repeatedly so the sum of the intervals doesn't really mean anything.
As above but in this case the configured timeout is being ignored which I think is a bug. I propose we just remove the line shown above. Execution timeout will then only be set if configured and won't be affected by whether |
😨
Yeah, that makes sense, but why was it there in the first place?! |
git blames Matt for that, March 2018. Maybe this was the logic: |
Regardless of the original motivation, this behaviour was never documented. |
As noted in #3706, execution timeout gets set if you define
execution time limit
but this doesn't appear to be documented and the way it is done probably doesn't make much sense.The text was updated successfully, but these errors were encountered: