fix(jest-circus) correct concurrent event ordering #14223
Triggered via pull request
November 15, 2024 23:21
Status
Failure
Total duration
14m 59s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
13s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
18s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
43s
TypeScript Compatibility
5m 13s
Typecheck Examples and Tests
3m 44s
Lint
1m 46s
Validate Yarn dependencies and constraints
16s
Node LTS on Ubuntu with leak detection
53s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
15 errors and 10 warnings
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)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -62,16 +62,16 @@
[[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test nine end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23: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)
|
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)
|
gets changed files for hg:
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)
|
gets changed files for hg:
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)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,21 +57,21 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,21 +57,21 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
Should throw if watchman used with haste.enableSymlinks:
e2e/Utils.ts#L158
EEXIST: file already exists, symlink 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test\symlinked-files\test.js' -> 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test\test-files\test.js'
at symlinkSync (e2e/Utils.ts:158:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:30:16)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 3
+ Received + 3
@@ -57,21 +57,21 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test nine end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,21 +57,21 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,21 +57,21 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test five end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test five end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[afterAll]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,16 +57,16 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test nine end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test five end]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
Windows with shard 3/4 / Node v16.x
Final attempt failed. Child_process exited with error code 1
|
Windows with shard 1/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
macOS with shard 2/3 / 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 v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v20.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v18.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 4/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v22.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Windows with shard 3/4 / Node v16.x
Attempt 2 failed. Reason: Child_process exited with error code 1
|