Skip to content

feat(atlas-local): Accuracy tests for Atlas Local #1992

feat(atlas-local): Accuracy tests for Atlas Local

feat(atlas-local): Accuracy tests for Atlas Local #1992

Triggered via pull request September 12, 2025 16:35
Status Failure
Total duration 7m 37s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 33s
Run Atlas tests
Report Coverage
40s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 10 warnings, and 1 notice
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/orgs.test.ts > orgs > atlas-list-orgs > returns org names: tests/integration/tools/atlas/orgs.test.ts#L16
AssertionError: expected 'Unable to authenticate with MongoDB A…' to contain 'Found 1 organizations' - Expected + Received - Found 1 organizations + Unable to authenticate with MongoDB Atlas, API error: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource. + + Hint: Your API credentials may be invalid, expired or lack permissions. + Please check your Atlas API credentials and ensure they have the appropriate permissions. + For more information on setting up API keys, visit: https://www.mongodb.com/docs/atlas/configure-api-access/ ❯ tests/integration/tools/atlas/orgs.test.ts:16:39
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/atlas-local/deleteDeployment.test.ts > atlas-local-delete-deployment > should delete a deployment when calling the tool: tests/integration/tools/atlas-local/deleteDeployment.test.ts#L84
AssertionError: expected '' to contain 'test-deployment-1757695318715' - Expected + Received - test-deployment-1757695318715 ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:84:47
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when name is not provided: tests/integration/helpers.ts#L273
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:273:17 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:166:9
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment with the correct name: tests/integration/tools/atlas-local/createDeployment.test.ts#L136
AssertionError: expected 'Error running atlas-local-create-depl…' to contain 'test-deployment-1757695303456' - Expected + Received - test-deployment-1757695303456 + Error running atlas-local-create-deployment: create deployment + + Caused by: + 0: Failed to pull image: Docker stream error: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries + 1: Docker stream error: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:136:41
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should return an error when creating a deployment that already exists: tests/integration/tools/atlas-local/createDeployment.test.ts#L118
AssertionError: expected 'Error running atlas-local-create-depl…' to contain 'Container already exists: test-deploy…' - Expected + Received - Container already exists: test-deployment-1757695301595 + Error running atlas-local-create-deployment: create deployment + + Caused by: + 0: Failed to pull image: Docker stream error: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries + 1: Docker stream error: no matching manifest for windows/amd64 10.0.20348 in the manifest list entries ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:118:39
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when calling the tool: tests/integration/tools/atlas-local/createDeployment.test.ts#L95
AssertionError: expected '' to contain 'test-deployment-1757695299753' - Expected + Received - test-deployment-1757695299753 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:95:46
Report Coverage
Unable to download artifact(s): Artifact not found for name: test-results Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run Atlas tests
1 added, 0 removed; done.
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas tests
Updating certificates in /etc/ssl/certs...
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run MongoDB tests (ubuntu-latest)
1 added, 0 removed; done.
Run MongoDB tests (ubuntu-latest)
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-71b04c56bc0306d0e96f1bdb48e74081
140 Bytes
sha256:75e76418df09e17c6aa020476c821ab1ced3c13b97fe9b53d2d00b2191bc809c
run-tests-permissions-00f1eaa6fb614751d76519577d802c3f
140 Bytes
sha256:75e76418df09e17c6aa020476c821ab1ced3c13b97fe9b53d2d00b2191bc809c