Skip to content

fix: fix expectations for export accuracy tests (#466) #1603

fix: fix expectations for export accuracy tests (#466)

fix: fix expectations for export accuracy tests (#466) #1603

Triggered via push August 21, 2025 10:11
Status Failure
Total duration 6m 10s
Artifacts 4

code_health.yaml

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

Annotations

5 errors, 18 warnings, and 3 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/unit/common/exportsManager.test.ts > ExportsManager unit test > #cleanupExpiredExports > should cleanup expired exports: tests/unit/common/exportsManager.test.ts#L556
AssertionError: expected [] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "exportName": "foo.bar.68a6f124cee665b15965bc2d.json", "exportURI": "exported-data://foo.bar.68a6f124cee665b15965bc2d.json", } + Received: [] ❯ tests/unit/common/exportsManager.test.ts:556:46
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/orgs.test.ts > atlas > orgs > atlas-list-orgs > returns org names: tests/integration/tools/atlas/orgs.test.ts#L21
AssertionError: expected [ { …(1) }, { …(1) } ] to have a length of 1 but got 2 - Expected + Received - 1 + 2 ❯ tests/integration/tools/atlas/orgs.test.ts:21:26
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)
No ALTQ support in kernel ALTQ related functions disabled 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.
Run MongoDB tests (macos-latest)
YES (0)
Run MongoDB tests (macos-latest)
2025-08-21 10:11:42.834 sysadminctl[2266:12178] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-08-21 10:11:42.769 sysadminctl[2266:12178] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-08-21 10:11:42.634 sysadminctl[2266:12178] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-08-21 10:11:41.881 sysadminctl[2266:12178] ---------------------------- 2025-08-21 10:11:41.881 sysadminctl[2266:12178] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-08-21 10:11:41.881 sysadminctl[2266:12178] ----------------------------
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 (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-b788cc31a6b26c2ff83cbc6295ec0f2c
140 Bytes
sha256:267192dce4e808fcbf750133eb61ca64d2b2cde5cfabde65569757846dfa06aa
run-tests-permissions-0f88739c09025c10d033115c8c2ec309
140 Bytes
sha256:7b38bf759d9941095b8001b9674f2ff447b5697a431fc8078b48a59bfcbe8dc5
run-tests-permissions-37604390c66d0146c2a9112cee6f6fe9
140 Bytes
sha256:8ee9076033635673a1a1964f0cb20177b61eee62bbfa39c3e8ee950e97f21d39
test-results
17.9 KB
sha256:1eae15206ba4b9d86381b75096e0a2756c4b2bbcf2d2b8798b7200124abbe648