chore(deps): update dependency @types/node to v22 #14225
Triggered via pull request
November 19, 2024 17:47
Status
Failure
Total duration
15m 46s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
52s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
1m 6s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
1m 33s
TypeScript Compatibility
2m 20s
Typecheck Examples and Tests
2m 5s
Lint
1m 46s
Validate Yarn dependencies and constraints
12s
Node LTS on Ubuntu with leak detection
50s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
30 errors and 9 warnings
Typecheck Examples and Tests:
packages/jest-worker/src/index.ts#L9
Unused '@ts-expect-error' directive.
|
Typecheck Examples and Tests
Process completed with exit code 1.
|
TypeScript Compatibility:
packages/jest-worker/src/index.ts#L9
Unused '@ts-expect-error' directive.
|
TypeScript Compatibility
Process completed with exit code 1.
|
can press "t" to filter by test name:
e2e/__tests__/watchModePatterns.test.ts#L68
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 0
Received array: []
at Object.toHaveLength (e2e/__tests__/watchModePatterns.test.ts:68:19)
|
can press "t" to filter by test name:
e2e/__tests__/watchModePatterns.test.ts#L67
expect(received).toMatchSnapshot()
Snapshot name: `can press "t" to filter by test name 1`
- Snapshot - 25
+ Received + 0
- <hideCursor>
- <clearTerminal>
- Pattern Mode Usage
- › Press Esc to exit pattern mode.
- › Press Enter to filter by a tests regex pattern.
-
- <showCursor>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern ›
- <saveCursorPosition>
- <moveCursorToRow6Column12>
- <restoreCursorPosition>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern › 2
- <saveCursorPosition>
- <moveCursorToRow6Column13>
- <restoreCursorPosition>
-
- <moveCursorDownBy1Row>
- <eraseScreenDown>
-
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:67:18)
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L51
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "p" to filter by file name: test results 2`
- Snapshot - 0
+ Received + 2
PASS __tests__/bar.spec.js
✓ bar 1
✓ bar 2
+
+ 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.
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:51:18)
|
Option randomize › --randomize changes report to output seed:
node:internal/child_process#L511
Could not find test summary in the output.
OUTPUT:
node:events:496
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:511:26)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:511:12)
[... lines matching original stack trace ...]
at process.processTimers (node:internal/timers:529:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v22.11.0
at extractSummary (e2e/Utils.ts:245:11)
at Object.<anonymous> (e2e/__tests__/showSeed.test.ts:21:37)
|
Windows with shard 1/4 / Node v22.x
Final attempt failed. Child_process exited with error code 1
|
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)
|
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:61:25)
|
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)
|
--findRelatedTests flag › coverage configuration is applied correctly:
node:internal/child_process#L511
Could not find test summary in the output.
OUTPUT:
PASS __tests__/a.test.js
✓ a (4 ms)
node:events:496
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:511:26)
at listOnTimeout (node:internal/timers:594:17)
at processTimers (node:internal/timers:529:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:511:12)
[... lines matching original stack trace ...]
at processTimers (node:internal/timers:529:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v22.11.0
at extractSummary (e2e/Utils.ts:245:11)
at Object.<anonymous> (e2e/__tests__/findRelatedFiles.test.ts:244:43)
|
supports js-type-module preset:
e2e/__tests__/presets.test.ts#L24
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at toBe (e2e/__tests__/presets.test.ts:24:27)
|
can press "p" to filter by file name:
e2e/__tests__/watchModePatterns.test.ts#L48
expect(received).toMatchSnapshot()
Snapshot name: `can press "p" to filter by file name 1`
- Snapshot - 39
+ Received + 0
- <hideCursor>
- <clearTerminal>
- Pattern Mode Usage
- › Press Esc to exit pattern mode.
- › Press Enter to filter by a filenames regex pattern.
-
- <showCursor>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern ›
- <saveCursorPosition>
- <moveCursorToRow6Column12>
- <restoreCursorPosition>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern › b
- <saveCursorPosition>
- <moveCursorToRow6Column13>
- <restoreCursorPosition>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern › ba
- <saveCursorPosition>
- <moveCursorToRow6Column14>
- <restoreCursorPosition>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern › bar
- <saveCursorPosition>
- <moveCursorToRow6Column15>
- <restoreCursorPosition>
-
- <moveCursorDownBy1Row>
- <eraseScreenDown>
-
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:48:18)
|
can press "t" to filter by test name:
e2e/__tests__/watchModePatterns.test.ts#L70
expect(received).toMatchSnapshot(hint)
Snapshot name: `can press "t" to filter by test name: test results 1`
- Snapshot - 0
+ Received + 1
PASS __tests__/bar.spec.js
PASS __tests__/foo.spec.js
+ 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.
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:70:18)
|
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 2`
- Snapshot - 0
+ Received + 1
PASS __tests__/bar.spec.js
✓ bar
› 1 snapshot updated.
+ 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 updated from 1 test suite.
at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
|
can press "u" to update snapshots:
e2e/__tests__/watchModeUpdateSnapshot.test.ts#L48
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 1
Received array: [{"rest": "FAIL __tests__/bar.spec.js
✕ bar·
● bar·
expect(received).toMatchSnapshot()·
Snapshot name: `bar 1`·
Snapshot: \"foo\"
Received: \"bar\"·
> 1 | test('bar', () => { expect('bar').toMatchSnapshot(); });
| ^·
at Object.toMatchSnapshot (__tests__/bar.spec.js:1:35)·
› 1 snapshot failed.
Snapshot Summary
› 1 snapshot failed from 1 test suite. Inspect your code changes or press `u` to update them.", "summary": "Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 1 failed, 1 total
Time: <<REPLACED>>
Ran all test suites."}]
at Object.toHaveLength (e2e/__tests__/watchModeUpdateSnapshot.test.ts:48:19)
|
can press "t" to filter by test name:
e2e/__tests__/watchModePatterns.test.ts#L67
expect(received).toMatchSnapshot()
Snapshot name: `can press "t" to filter by test name 1`
- Snapshot - 25
+ Received + 0
- <hideCursor>
- <clearTerminal>
- Pattern Mode Usage
- › Press Esc to exit pattern mode.
- › Press Enter to filter by a tests regex pattern.
-
- <showCursor>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern ›
- <saveCursorPosition>
- <moveCursorToRow6Column12>
- <restoreCursorPosition>
- <eraseLine>
- <moveCursorToColumn1>
- <eraseScreenDown>
- pattern › 2
- <saveCursorPosition>
- <moveCursorToRow6Column13>
- <restoreCursorPosition>
-
- <moveCursorDownBy1Row>
- <eraseScreenDown>
-
at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:67:18)
|
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 2`
- Snapshot - 0
+ Received + 1
PASS __tests__/bar.spec.js
✓ bar
› 1 snapshot updated.
+ 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 updated from 1 test suite.
at Object.toMatchSnapshot (e2e/__tests__/watchModeUpdateSnapshot.test.ts:50:18)
|
Option randomize › --randomize changes report to output seed:
node:internal/child_process#L511
Could not find test summary in the output.
OUTPUT:
node:events:496
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:511:26)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:511:12)
[... lines matching original stack trace ...]
at process.processTimers (node:internal/timers:529:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v22.11.0
at extractSummary (e2e/Utils.ts:245:11)
at Object.<anonymous> (e2e/__tests__/showSeed.test.ts:21:37)
|
collects coverage only from multiple specified files:
e2e/__tests__/coverageReport.test.ts#L66
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from multiple specified files 1`
- Snapshot - 7
+ Received + 0
- --------------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- --------------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- otherFile.js | 100 | 100 | 100 | 100 |
- --------------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:66:18)
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
processChild › handles circular inequality properly:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles circular inequality properly:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\bigint-inequality-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/nonSerializableStructuresInequality.test.ts:48:10)
|
processChild › handles `Map`:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited
at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9)
at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:56:35)
|
processChild › handles `Symbol`:
undefined#L1
Timed out
at timeoutKill (node_modules/execa/lib/kill.js:65:23)
|
processChild › handles `Symbol`:
e2e/Utils.ts#L107
EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\bigint-inequality-test'
at rmSync (e2e/Utils.ts:107:8)
at Object.<anonymous> (e2e/__tests__/nonSerializableStructuresInequality.test.ts:48:10)
|
processChild › handles functions:
e2e/__tests__/nonSerializableStructuresInequality.test.ts#L36
Process exited
at waitUntil (e2e/__tests__/nonSerializableStructuresInequality.test.ts:36:9)
at Object.testIn2Workers (e2e/__tests__/nonSerializableStructuresInequality.test.ts:98:35)
|
setupFilesAfterEnv › requires multiple setup files before each file in the suite:
node:internal/child_process#L511
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: PASS __tests__/test1.test.js
node:events:496
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:511:26)
at listOnTimeout (node:internal/timers:594:17)
at processTimers (node:internal/timers:529:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:511:12)
[... lines matching original stack trace ...]
at processTimers (node:internal/timers:529:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v22.11.0
at json (e2e/runJest.ts:157:11)
at Object.<anonymous> (e2e/__tests__/setupFilesAfterEnvConfig.test.ts:36:31)
|
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.x
Attempt 2 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 v18.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 LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|