-
Notifications
You must be signed in to change notification settings - Fork 54
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
Test that Cylc Rose workflow config retrieval respect compat mode #2779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that this test fails (without the cylc-flow & cylc-rose changes) with the following string appearing in the job.err
file:
Output hello-make:succeeded can't be both required and optional
But passes in combination with the associated cylc-flow & cylc-rose branches 👍.
program hello | ||
write(*, '(a)') 'Hello World!' | ||
end program hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this Fortran? My first exposure to it..!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. (honestly, I wouldn't know where to start writing it, but it always seems pretty readable).
This is copied from another test.
Re-tested against PRs merged into master branches, all good. |
Small problem, although this test works as expected locally, the CI tests have passed before the upstream PRs were merged. Presumably these tests are skipped in CI? ... Yes:
|
Yes - they rely on having a remote platform setup. |
I don't think that's right, |
Yes, I've fixed the test. The problem was caused by my installing a PoC Yaml Config plugin which recent api changes in Cylc have broken. |
(tests should pass once upstream PRs are merged) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't get the tests to pass locally; I don't think I am set up for FCM correctly
program hello | ||
write(*, '(a)') 'Hello World!' | ||
end program hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this Fortran? My first exposure to it..!
What error are you getting (check the job.err file)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least I'm not getting the failure that the issue is about with cylc/cylc-rose#322 and cylc/cylc-flow#6097 checked out
Upstream PRs are in, so I would expect the tests to pass, but they have failed again, @wxtim could you take a look. |
2829221
to
7b5e839
Compare
664a477
to
44af171
Compare
FCM make is local, but apparently needs to be convinced that make 2 is not, even if make 2 is never called: As it was the fcm make 1 task was failing either side of the change. Can demo that this works locally be commenting and uncommenting |
[runtime] | ||
[[fcm_make]] | ||
script = rose task-run --app-key=fcm_make --new | ||
[[fcm_make2]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Despite the fcm_make2
not being in the graph, its config is what the fcm_make
task is using Cylc Rose to carry out the lookup on, so it needs defined.
prune further crud out of copied test
947265c
to
3340e72
Compare
I've changed this test: It now checks that the error logged by the I've pruned away some deadwood caused by the test being a modified copy of The code which was broken was the code where an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test now passes for me. And still fails if using prior commit of cylc-rose without the fix
Mac OS failures unrelated (latest run on master) |
Tests for the combined effect of cylc/cylc-rose#322 and cylc/cylc-flow#6097 in closing cylc/cylc-rose#319.