Skip to content
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

fre pp wrapper fails due to 'fre pp trigger' failing because the Cylc scheduler takes 30 seconds to start up #317

Open
ceblanton opened this issue Jan 8, 2025 · 0 comments

Comments

@ceblanton
Copy link
Collaborator

Describe the bug
Tests have shown that the Bronx-23 pp.started FRE 2025 workflows have a repeatable problem.

fre pp wrapper runs the fre pp tools in order: checkout, configure-yaml, install, run, trigger

When the Cylc scheduler is not yet started, the run step starts it. The run step is essentially cylc play, which exits 0 before the Cylc scheduler is up and ready to respond to cylc trigger.

To Reproduce
Any fre pp wrapper usage where the Cylc scheduler is not yet running will cause it.

Expected behavior
fre pp run itself should wait until the Cylc scheduler is actually up before exiting with success.

Additional context
Add any other context about the problem here.

ceblanton pushed a commit that referenced this issue Jan 8, 2025
…cheduler

- check to see if the scheduler is already up; if so exit right away with success
- otherwise, sleep 30 seconds, then confirm the scheduler is actually up
- if not, error
30 seconds was chosen based on hand-testing and might have to be adjusted later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant