Skip to content

chore: Improve access list and connect experienece [MCP-5] #1213

chore: Improve access list and connect experienece [MCP-5]

chore: Improve access list and connect experienece [MCP-5] #1213

Triggered via pull request July 15, 2025 12:54
@blvablva
synchronize #372
MCP-5
Status Failure
Total duration 6m 8s
Artifacts 4

code_health.yaml

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

Annotations

8 errors, 18 warnings, and 2 notices
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-connect-cluster: src/common/atlas/apiClientError.ts#L31
ApiClientError: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-68765008d21f2dc5bfd7589e exists in group 68765009115de670563f13ab. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.getCluster src/common/atlas/apiClient.ts:312:34 ❯ waitCluster tests/integration/tools/atlas/clusters.test.ts:45:25 ❯ tests/integration/tools/atlas/clusters.test.ts:161:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/68765009115de670563f13ab/clusters/ClusterTest-68765008d21f2dc5bfd7589e', redirected: false, status: 404, ok: false, statusText: 'Not Found', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'No cluster named ClusterTest-68765008d21f2dc5bfd7589e exists in group 68765009115de670563f13ab.', error: 404, errorCode: 'CLUSTER_NOT_FOUND', parameters: [ 'ClusterTest-68765008d21f2dc5bfd7589e', '68765009115de670563f13ab' ], reason: 'Not Found' } }
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-list-clusters > returns clusters by project: tests/integration/tools/atlas/clusters.test.ts#L154
AssertionError: expected 'Cluster Name | Cluster Type | Tier | …' to contain 'ClusterTest-68765008d21f2dc5bfd7589e …' - Expected + Received - ClusterTest-68765008d21f2dc5bfd7589e | + Cluster Name | Cluster Type | Tier | State | MongoDB Version | Connection String + ----------------|----------------|----------------|----------------|----------------|---------------- + ClusterTest-68765008d21f2dc5bfd7589e-iptest | FREE | N/A | CREATING | 8.0.11 | N/A ❯ tests/integration/tools/atlas/clusters.test.ts:154:51
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-inspect-cluster > returns cluster data: tests/integration/tools/atlas/clusters.test.ts#L132
AssertionError: expected 'Error running atlas-inspect-cluster: …' to contain 'ClusterTest-68765008d21f2dc5bfd7589e …' Expected: "ClusterTest-68765008d21f2dc5bfd7589e | " Received: "Error running atlas-inspect-cluster: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-68765008d21f2dc5bfd7589e exists in group 68765009115de670563f13ab." ❯ tests/integration/tools/atlas/clusters.test.ts:132:51
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project: src/common/atlas/apiClientError.ts#L31
ApiClientError: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-68765008d21f2dc5bfd7589e exists in group 68765009115de670563f13ab. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.deleteCluster src/common/atlas/apiClient.ts:301:34 ❯ deleteAndWaitCluster tests/integration/tools/atlas/clusters.test.ts:13:5 ❯ tests/integration/tools/atlas/clusters.test.ts:69:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/68765009115de670563f13ab/clusters/ClusterTest-68765008d21f2dc5bfd7589e', redirected: false, status: 404, ok: false, statusText: 'Not Found', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'No cluster named ClusterTest-68765008d21f2dc5bfd7589e exists in group 68765009115de670563f13ab.', error: 404, errorCode: 'CLUSTER_NOT_FOUND', parameters: [ 'ClusterTest-68765008d21f2dc5bfd7589e', '68765009115de670563f13ab' ], reason: 'Not Found' } }
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project: src/common/atlas/apiClientError.ts#L31
ApiClientError: [409 Conflict] error calling Atlas API: Conflict; Cannot close group while it has active clusters; please terminate all clusters. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:233:34 ❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/68765009115de670563f13ab', redirected: false, status: 409, ok: false, statusText: 'Conflict', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'Cannot close group while it has active clusters; please terminate all clusters.', error: 409, errorCode: 'CANNOT_CLOSE_GROUP_ACTIVE_ATLAS_CLUSTERS', parameters: [], reason: 'Conflict' } }
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 (macos-latest)
pf enabled
Run MongoDB tests (macos-latest)
No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules present in the main ruleset added by the system at startup. See /etc/pf.conf for further details. No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
YES (0)
Run MongoDB tests (macos-latest)
2025-07-15 12:55:05.536 sysadminctl[1246:7506] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-15 12:55:05.485 sysadminctl[1246:7506] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-15 12:55:05.342 sysadminctl[1246:7506] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-15 12:55:04.921 sysadminctl[1246:7506] ---------------------------- 2025-07-15 12:55:04.922 sysadminctl[1246:7506] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-15 12:55:04.922 sysadminctl[1246:7506] ----------------------------
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)
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 (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 (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

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-a34beec77a8511d20d78fb48d8840f33 Expired
140 Bytes
sha256:c48221e91bee8f485d9fed985643f61dd71bbebb2743055eab3bf9c2388245c7
run-tests-permissions-93ce807529858196b8cb902405da7aea Expired
140 Bytes
sha256:02b9b4fd3d0121bdc2abfeb4512c5210cdb694146ecac60c261a49bbbb4720ea
run-tests-permissions-e0215a6de72e192f4b955993026226b2 Expired
140 Bytes
sha256:9434e430a8a17ddd8866a37fda8dfa6905f40c181f9c79d48337da55babd8cd5
test-results Expired
11.2 KB
sha256:cdb6a96679e1314edbfcb0c977e86519a3b236d0c6ce51bd8542f309aa77c54c