-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: None
-
None
-
Needed
-
Summary
Update Evergreen config to delete Azure resources on task failure for the integration test added in DRIVERS-2411.
Motivation
DRIVERS-2411 added an integration test for Azure. If the test setup fails, it may result in resources not being deleted in Azure. This may result in test failures when limits are reached:
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/10b880db-9bca-464f-aec4-2b9a1c96572c/resourceGroups/DRIVERS-2411/providers/Microsoft.Resources/deployments/vm_deploy_LcBmS1IG7IaE1BUhNil8GVEbo5mIMYno","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"PublicIPCountLimitReached","message":"Cannot create more than 20 public IP addresses for this subscription in this region.","details":[]}]}}
Who is the affected end user?
DBX Engineers
How does this affect the end user?
Azure KMS test fails
How likely is it that this problem or use case will occur?
Likely. It has happened several times, and requires manually deleting Azure resources.
If the problem does occur, what are the consequences and how severe are they?
Test failures.
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
Acceptance Criteria
Azure resources are deleted on task failure.
- has to be finished together with
-
DRIVERS-2411 Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials
- Closed
- is depended on by
-
DRIVERS-2416 OIDC: Automatic token acquisition for Azure Identity Provider
- Implementing
- split to
-
RUST-1626 Clean up Azure resources on task failure
- Closed
-
CDRIVER-4608 Clean up Azure resources on task failure
- Closed
-
CSHARP-4605 Clean up Azure resources on task failure
- Closed
-
CXX-2669 Clean up Azure resources on task failure
- Closed
-
GODRIVER-2803 Clean up Azure resources on task failure
- Closed
-
JAVA-4926 Clean up Azure resources on task failure
- Closed
-
MOTOR-1113 Clean up Azure resources on task failure
- Closed
-
NODE-5183 Clean up Azure resources on task failure
- Closed
-
PHPLIB-1104 Clean up Azure resources on task failure
- Closed
-
PYTHON-3658 Clean up Azure resources on task failure
- Closed
-
RUBY-3236 Clean up Azure resources on task failure
- Closed