-
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
cylc stop doesn't work when reg ends with slash #4010
Comments
I'm unable to replicate this, did you give |
Confirmed by mixing use of trailing slash with $ cylc run --hold g1/
$ cylc run --hold g2
$ cylc stop g1; echo $?
0
$ cylc stop g2; echo $?
0
$ cylc cat-log g1
# ...
2020-12-22T13:48:07Z INFO - Final point: None
2020-12-22T13:48:07Z INFO - (foo.20191209T1200Z) spawned foo.20191210T0000Z flow(w)
2020-12-22T13:48:07Z INFO - (foot.20191209T1200Z) spawned foot.20191210T0000Z flow(w)
2020-12-22T13:48:07Z INFO - (fool.20191209T1200Z) spawned fool.20191210T0000Z flow(w)
2020-12-22T13:48:17Z INFO - [client-command] graphql osanders@vld601:cylc
$ cylc cat-log g2
# ...
2020-12-22T13:48:11Z INFO - Final point: None
2020-12-22T13:48:11Z INFO - (foo.20191209T1200Z) spawned foo.20191210T0000Z flow(y)
2020-12-22T13:48:11Z INFO - (foot.20191209T1200Z) spawned foot.20191210T0000Z flow(y)
2020-12-22T13:48:11Z INFO - (fool.20191209T1200Z) spawned fool.20191210T0000Z flow(y)
2020-12-22T13:48:23Z INFO - [client-command] graphql osanders@vld601:cylc
2020-12-22T13:48:23Z INFO - Command succeeded: stop(mode=StopMode.REQUEST_CLEAN)
2020-12-22T13:48:23Z INFO - Processing 1 queued command(s)
+ stop(mode=StopMode.REQUEST_CLEAN)
2020-12-22T13:48:23Z INFO - Suite shutting down - REQUEST(CLEAN)
2020-12-22T13:48:23Z WARNING - Some partially satisfied prerequisites left over:
foo.20191210T0000Z is waiting on:
* foo_start.20191209T0900Z succeeded
* cycle_end.20191209T1200Z succeeded
foot.20191210T0000Z is waiting on:
* foo_start.20191209T0900Z succeeded
* cycle_end.20191209T1200Z succeeded
fool.20191210T0000Z is waiting on:
* foo_start.20191209T0900Z succeeded
* cycle_end.20191209T1200Z succeeded
2020-12-22T13:48:24Z INFO - DONE |
Have checked, this does not effect Cylc7. |
In the not too distant future the universal id will strip away trailing slashes from all input workflow IDs, however, it would still be good to know this can't resurface. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR
When you do
cylc run
, if you have a slash at the end of the workflow name, e.g.cylc run foo/
, thencylc stop foo
won't work, onlycylc stop foo/
will work. And vice versa.Release version(s) and/or repository branch(es) affected?
Cylc 8.0a3.dev master
Steps to reproduce the bug
Expected behavior
Workflow stops and contact file removed.
Additional context
Often when I'm in the cylc-run dir, I use tab autocompletion to run workflows, stop them etc. But because the workflows are directories, that adds a
/
to the end of the reg (workflow name).Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read
CONTRIBUTING.md
before starting any work though).The text was updated successfully, but these errors were encountered: