Skip to content

Rearrange the cleanup handling#101

Merged
genebean merged 1 commit intovoxpupuli:masterfrom
trevor-vaughan:cleanup_failed_provisioning
Feb 25, 2021
Merged

Rearrange the cleanup handling#101
genebean merged 1 commit intovoxpupuli:masterfrom
trevor-vaughan:cleanup_failed_provisioning

Conversation

@trevor-vaughan
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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