Skip to content

feat: Atlas get performance advisor integration tests #2151

feat: Atlas get performance advisor integration tests

feat: Atlas get performance advisor integration tests #2151

Triggered via pull request September 30, 2025 14:36
Status Failure
Total duration 31m 43s
Artifacts 3

code_health.yaml

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

Annotations

6 errors and 7 warnings
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: tests/integration/tools/mongodb/mongodbHelpers.ts#L113
Error: Hook timed out in 120000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:113:5 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:70:32
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/performanceAdvisor.test.ts > performanceAdvisor > with project: tests/integration/tools/atlas/performanceAdvisor.test.ts#L13
Error: Hook timed out in 1200000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ tests/integration/tools/atlas/performanceAdvisor.test.ts:13:9 ❯ tests/integration/tools/atlas/atlasHelpers.ts:83:9
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 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...

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-90df5847341db32b2ea1f57ef2dd6118
140 Bytes
sha256:10cf09872b3b5ffe25f6ccdd5c26091b30cef6747a5154cd1f64085b1c2c286e
run-tests-permissions-a5233f6812a01c9d8d421d7a9ede3568
140 Bytes
sha256:05cee4b06643d5eab4ab1f46b760f54a5573ec7680ef99dcb5f3c621c16a6ff6
test-results
22.5 KB
sha256:5c44e9bfd8bf95a43c6b7ed0be5e5100bac5a0b4e7c6c05051a6fbf4bb51cec3