Skip to content

Cleanup stale Atlas test environments #23

Cleanup stale Atlas test environments

Cleanup stale Atlas test environments #23

Triggered via schedule October 20, 2025 11:04
Status Failure
Total duration 1m 46s
Artifacts 1

cleanup-atlas-env.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
cleanup-envs
Process completed with exit code 1.
scripts/cleanupAtlasTestLeftovers.test.ts > Cleanup Atlas Test Leftovers > should clean up stale test projects: scripts/cleanupAtlasTestLeftovers.test.ts#L123
Error: Cleanup completed with 2 error(s): 1. Failed to delete cluster ClusterTest-68f5df4e5621bde8e9ae6933 in project 68f5df4fde46041f5665ac91: ApiClientError: [400 Bad Request] error calling Atlas API: Bad Request; The cluster ClusterTest-68f5df4e5621bde8e9ae6933 has already been requested for deletion. 2. Failed to delete project testProj-68f5df4e5621bde8e9ae6933 (68f5df4fde46041f5665ac91): ApiClientError: [409 Conflict] error calling Atlas API: Conflict; Cannot close group while it has active clusters; please terminate all clusters. ❯ main scripts/cleanupAtlasTestLeftovers.test.ts:123:15 ❯ scripts/cleanupAtlasTestLeftovers.test.ts:131:9
cleanup-envs
1 added, 0 removed; done.
cleanup-envs
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
cleanup-envs
Updating certificates in /etc/ssl/certs...

Artifacts

Produced during runtime
Name Size Digest
cleanup-envs-permissions-7e09ac415fb58065b0827d8d4f24581e
140 Bytes
sha256:b39a66cd8a0468fc19dca21e783f8338ec78f75fd91e41285536721641b94f62