chore: add more information when there is a failure connecting MCP-92 #1685
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 13s
Report Coverage
40s
Annotations
3 errors, 9 warnings, and 2 notices
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
|
Report Coverage
Unable to download artifact(s): Artifact not found for name: atlas-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 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 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 (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
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-3a194e6980e9f1f01a05204ce414b92e
|
140 Bytes |
sha256:6d09461b45800f3b093ec7e7c1f03e7fc74132dfb9fdeb382ef8536e02db53f4
|
|
run-tests-permissions-bb7973d30d7403e5218f33ee4020fd51
|
140 Bytes |
sha256:1a4381be83e6d38a5caf0c0a363744e7a2322b585206db2f21cec3ca1d36ce90
|
|
test-results
|
18.8 KB |
sha256:c277ab5355e470f8820852c01962fbcad617daeb99796673b367894810d9fc70
|
|