Fix(ci): prevent delete-env failure due to busy persistent disk on te…#3800
Open
prkalle wants to merge 1 commit into
Open
Fix(ci): prevent delete-env failure due to busy persistent disk on te…#3800prkalle wants to merge 1 commit into
prkalle wants to merge 1 commit into
Conversation
…ardown Add bosh delete-deployment before bbl down in delete-bosh-lite.yml so that CF warden containers release their bind mounts on the director's persistent disk prior to bosh delete-env attempting to unmount it. Without this, umount fails with "target is busy" (exit status 32). Also align tool versions with repo variables (BBL_CLI_VERSION, BOSH_CLI_VERSION) instead of hardcoded values, and remove the redundant --gcp-service-account-key flag since BBL reads BBL_GCP_SERVICE_ACCOUNT_KEY from the environment automatically. Signed-off-by: Prem Kumar Kalle <prem.kalle@broadcom.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the Change
This PR fixes the transient delete-env CI failure caused by busy persistent disk during BOSH Lite teardown
Why Is This PR Valuable?
This PR ensures BOSH Lite environments are reliably torn down after integration tests complete. Previously, the
delete-envjob intermittently failed, leaving orphaned GCP resources (director VM, persistent disk) and dangling GCS state that required manual cleanup. It also caused the CI run to report a job failure even when all integration tests had passed.Applicable Issues
List any applicable GitHub Issues here
How Urgent Is The Change?
Fairly urgent
Other Relevant Parties
Who else is affected by the change?