-
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
Check symlink target. #4890
Check symlink target. #4890
Conversation
Confirmed: this fix also covers job platform init, at run time: Tested with a fresh swarm build using this branch, to get a remote host with independent FS:
|
I'll add or tweak tests tomorrow, before undrafting this. |
@hjoliver Want anyone to take over this PR, if it would help? |
Thanks @MetRonnie - if you wouldn't mind. I'm currently a bit swamped with local setup stuff, for Cylc 8 on NIWA and NeSI HPC platforms. |
(We should get this in for 8.0, because it's a likely mode of confusing errors for users). |
Ah, do you want me to create a functional test that does this? |
I suppose that would be good. I can't think of an easier (unit or integration) test for this. |
a1e8696
to
fd004af
Compare
I've added a functional test. However I've noticed the workflow only stalls instead of shutting down after the remote init failure. Is that how it should be? |
Remote init happens when the first task on an install target tries to submit to a platform on that install target. If the remote init fails then the task goes into the submit-failed state (as remote-init is kinda like the first stage of job submission). Tasks for platforms on other install targets might still be able to submit. |
These changes close #4888 - abort
cylc install
if symlink dirs target already exists.Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.