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

Rearrange the cleanup handling #101

Merged

Conversation

trevor-vaughan
Copy link
Contributor

This patch moves the INT trap above the system provisioning as well as
wrapping the call to provision in a rescue block that will avoid
further execution.

This should fix the issue where container and local VM tests continue to
try and run the provision stage in the background even if the user
wants to cancel all jobs.

Cloud providers may need to address the issue in their cleanup method
specifically.

@trevor-vaughan trevor-vaughan force-pushed the cleanup_failed_provisioning branch from 2b97314 to 5861669 Compare February 4, 2021 16:02
This patch moves the INT trap above the system provisioning as well as
wrapping the call to `provision` in a rescue block that will avoid
further execution.

This should fix the issue where container and local VM tests continue to
try and run the `provision` stage in the background even if the user
wants to cancel all jobs.

Cloud providers may need to address the issue in their `cleanup` method
specifically.
@trevor-vaughan trevor-vaughan force-pushed the cleanup_failed_provisioning branch from 5861669 to fe5e4f7 Compare February 4, 2021 16:05
@trevor-vaughan
Copy link
Contributor Author

@genebean As far as I know this is good to go. Can you let me know what Jenkins is yelling about?

@genebean
Copy link
Contributor

@trevor-vaughan it says two of the requested server types are not available when they are. I am checking on this...

@genebean genebean closed this Feb 25, 2021
@genebean genebean reopened this Feb 25, 2021
@genebean genebean merged commit c879918 into voxpupuli:master Feb 25, 2021
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

Successfully merging this pull request may close these issues.

2 participants