Skip to content

fix: prevent double teardown on test environment error #14933

fix: prevent double teardown on test environment error

fix: prevent double teardown on test environment error #14933

Triggered via pull request July 9, 2025 06:42
Status Cancelled
Total duration 11m 19s
Artifacts

nodejs.yml

on: pull_request
prepare-yarn-cache-ubuntu  /  Prepare yarn cache for ubuntu-latest
27s
prepare-yarn-cache-ubuntu / Prepare yarn cache for ubuntu-latest
prepare-yarn-cache-macos  /  Prepare yarn cache for macos-latest
30s
prepare-yarn-cache-macos / Prepare yarn cache for macos-latest
prepare-yarn-cache-windows  /  Prepare yarn cache for windows-latest
1m 11s
prepare-yarn-cache-windows / Prepare yarn cache for windows-latest
TypeScript Compatibility
5m 37s
TypeScript Compatibility
Typecheck Examples and Tests
4m 11s
Typecheck Examples and Tests
Lint
1m 50s
Lint
Validate Yarn dependencies and constraints
38s
Validate Yarn dependencies and constraints
Node LTS on Ubuntu with leak detection
58s
Node LTS on Ubuntu with leak detection
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 5 warnings
Lint
Process completed with exit code 1.
handles a bad revision for "changedSince": e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
can press "u" to update snapshots: e2e/__tests__/watchModeUpdateSnapshot.test.ts#L50
expect(received).toMatchSnapshot(hint) Snapshot name: `can press "u" to update snapshots: test results 1` - Snapshot - 0 + Received + 1 @@ -14,7 +14,8 @@ | ^ at Object.toMatchSnapshot (__tests__/bar.spec.js:1:35) › 1 snapshot failed. + A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Snapshot Summary › 1 snapshot failed from 1 test suite. Inspect your code changes or press `u` to update them." at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
notify › does not report --notify flag: e2e/__tests__/detectOpenHandles.ts#L111
expect(received).toBe(expected) // Object.is equality Expected: "" Received: "Jest did not exit one second after the test run has completed.· 'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue." at Object.toBe (e2e/__tests__/detectOpenHandles.ts:111:27)
macOS with shard 1/3 / Node v20.x
The operation was canceled.
macOS with shard 1/3 / Node v20.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 2/4 / Node v24.x
The operation was canceled.
monitors only root paths for hg: e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
monitors only root paths for hg: e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
gets changed files for hg: e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
gets changed files for hg: e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
handles a bad revision for "changedSince": e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:62:24)
handles a bad revision for "changedSince": e2e/Utils.ts#L107
EPERM, Permission denied: \\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\jest-changed-files-test-dir' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/jestChangedFiles.test.ts:61:25)
Windows with shard 2/4 / Node v24.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 4/4 / Node v22.x
The operation was canceled.
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 4/4 / Node LTS using jest-jasmine2
The operation was canceled.
Windows with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
macOS with shard 1/3 / Node v24.x
The operation was canceled.
macOS with shard 1/3 / Node v24.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 4/4 / Node v24.x
The operation was canceled.
Windows with shard 4/4 / Node v24.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 4/4 / Node v18.x
The operation was canceled.
Windows with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Windows with shard 4/4 / Node v20.x
The operation was canceled.
Windows with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
macOS with shard 2/3 / Node v20.x
The operation was canceled.
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
macOS with shard 2/3 / Node v18.x
The operation was canceled.
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Node CI
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Node CI
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Node CI
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Node CI
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
Node CI
Canceling since a higher priority waiting request for Node CI-fix/teardown-concealed-error exists
macOS with shard 2/3 / Node v24.x
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 1/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
macOS with shard 2/3 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
Windows with shard 2/4 / Node v24.x
Attempt 1 failed. Reason: Child_process exited with error code 1