Skip to content

stream: fix timing relative to promises #46784

stream: fix timing relative to promises

stream: fix timing relative to promises #46784

Triggered via pull request December 10, 2023 20:35
Status Failure
Total duration 1h 12m 48s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test-macOS: test/parallel/test-fs-read-stream-patch-open.js#L1
--- stderr --- (node:68640) [DEP0135] DeprecationWarning: ReadStream.prototype.open() is deprecated (Use `node --trace-deprecation ...` to show where the warning was created) --- stdout --- Mismatched noop function calls. Expected exactly 1, actual 2. at Proxy.mustCall (/Users/runner/work/node/node/test/common/index.js:434:10) at /Users/runner/work/node/node/test/parallel/test-fs-read-stream-patch-open.js:15:41 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-fs-read-stream-patch-open.js
test-macOS: test/parallel/test-fs-write-stream-patch-open.js#L18
--- stderr --- (node:68838) [DEP0135] DeprecationWarning: WriteStream.prototype.open() is deprecated (Use `node --trace-deprecation ...` to show where the warning was created) node:assert:126 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 1 !== 0 at ChildProcess.<anonymous> (/Users/runner/work/node/node/test/parallel/test-fs-write-stream-patch-open.js:18:12) at ChildProcess.<anonymous> (/Users/runner/work/node/node/test/common/index.js:476:15) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 1, expected: 0, operator: 'strictEqual' } Node.js v22.0.0-pre --- stdout --- Mismatched noop function calls. Expected exactly 1, actual 2. at Proxy.mustCall (/Users/runner/work/node/node/test/common/index.js:434:10) at /Users/runner/work/node/node/test/parallel/test-fs-write-stream-patch-open.js:34:42 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-fs-write-stream-patch-open.js
test-macOS: test/parallel/test-http2-server-stream-session-destroy.js#L51
--- stdout --- Mismatched noop function calls. Expected exactly 1, actual 0. at Proxy.mustCall (/Users/runner/work/node/node/test/common/index.js:434:10) at Http2Server.<anonymous> (/Users/runner/work/node/node/test/parallel/test-http2-server-stream-session-destroy.js:51:24) at Http2Server.<anonymous> (/Users/runner/work/node/node/test/common/index.js:476:15) at Object.onceWrapper (node:events:633:28) at Http2Server.emit (node:events:519:28) at emitListeningNT (node:net:1906:10) at process.processTicksAndRejections (node:internal/process/task_queues:81:21) Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-http2-server-stream-session-destroy.js
test-macOS: test/parallel/test-net-connect-abort-controller.js#L26
--- stderr --- node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'AssertionError' - 'AbortError' at assertAbort (/Users/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js:26:14) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async testConstructorPostTick (/Users/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js:81:5) at async Server.<anonymous> (/Users/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js:89:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'AssertionError', expected: 'AbortError', operator: 'strictEqual' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js
test-macOS: test/parallel/test-runner-reporters.js#L142
--- stdout --- β–Ά node:test reporters βœ” should default to outputing TAP to stdout (4283.871941ms) βœ” should default destination to stdout when passing a single reporter (3827.140396ms) βœ” should throw when passing reporters without a destination (2859.792615ms) βœ” should throw when passing a destination without a reporter (2801.375644ms) βœ” should support stdout as a destination (2743.058079ms) ::debug::starting to run node:test reporters ::debug::starting to run should default to outputing TAP to stdout ::debug::completed running should default to outputing TAP to stdout ::debug::starting to run should default destination to stdout when passing a single reporter ::debug::completed running should default destination to stdout when passing a single reporter ::debug::starting to run should throw when passing reporters without a destination ::debug::completed running should throw when passing reporters without a destination ::debug::starting to run should throw when passing a destination without a reporter ::debug::completed running should throw when passing a destination without a reporter ::debug::starting to run should support stdout as a destination ::debug::completed running should support stdout as a destination ::debug::starting to run should support stderr as a destination βœ” should support stderr as a destination (1987.538876ms) βœ” should support a file as a destination (1563.889754ms) βœ” should disallow using v8-serializer as reporter (1288.21043ms) βœ” should support multiple reporters (1224.089299ms) βœ” should support a 'js' file as a custom reporter (1074.629936ms) βœ” should support a 'cjs' file as a custom reporter (905.733254ms) βœ” should support a 'mjs' file as a custom reporter (742.847498ms) βœ” should support a custom reporter from node_modules (596.896304ms) ::debug::completed running should support stderr as a destination ::debug::starting to run should support a file as a destination ::debug::completed running should support a file as a destination ::debug::starting to run should disallow using v8-serializer as reporter ::debug::completed running should disallow using v8-serializer as reporter ::debug::starting to run should support multiple reporters ::debug::completed running should support multiple reporters ::debug::starting to run should support a 'js' file as a custom reporter ::debug::completed running should support a 'js' file as a custom reporter ::debug::starting to run should support a 'cjs' file as a custom reporter ::debug::completed running should support a 'cjs' file as a custom reporter ::debug::starting to run should support a 'mjs' file as a custom reporter ::debug::completed running should support a 'mjs' file as a custom reporter ::debug::starting to run should support a custom reporter from node_modules ::debug::completed running should support a custom reporter from node_modules ::debug::starting to run should support a custom ESM reporter from node_modules βœ” should support a custom ESM reporter from node_modules (454.410152ms) βœ” should throw when reporter setup throws asynchronously (303.230267ms) βœ– should throw when reporter errors (230.886578ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 1 !== 7 at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-runner-reporters.js:142:12) at Test.runInAsyncScope (node:async_hooks:206:9) at Test.run (node:internal/test_runner/test:631:25) at Test.start (node:internal/test_runner/test:542:17) at node:internal/test_runner/test:946:71 at node:internal/per_context/primordials:488:82 at new Promise (<anonymous>) at new SafePromise (node:internal/per_context/primordials:456:29) at node:internal/per_context/primordials:488:9 at Array.map (<anonymous>) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 1, expected: 7, operator: 'strictEqual' } βœ– should throw when reporter errors asynchronously (84.850043ms) AssertionError [ERR_ASSERTION]: Th
test-macOS: test/parallel/test-stream-destroy.js#L125
--- stderr --- node:internal/process/task_queues:95 runMicrotasks(); ^ Error: asd at /Users/runner/work/node/node/test/parallel/test-stream-destroy.js:127:16 at new Promise (<anonymous>) at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-stream-destroy.js:125:3) at Module._compile (node:internal/modules/cjs/loader:1375:14) at Module._extensions..js (node:internal/modules/cjs/loader:1434:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) at node:internal/main/run_main_module:28:49 Emitted 'error' event on Readable instance at: at emitErrorNT (node:internal/streams/destroy:174:8) at emitErrorCloseNT (node:internal/streams/destroy:133:3) at node:internal/streams/destroy:117:9 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:206:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-stream-destroy.js
test-macOS: test/parallel/test-stream-duplex-destroy.js#L1
--- stderr --- node:assert:173 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/test/parallel/test-stream-duplex-destroy.js:127 at Duplex.mustNotCall (/Users/runner/work/node/node/test/common/index.js:554:12) at Duplex.emit (node:events:519:28) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-stream-duplex-destroy.js
test-macOS: test/parallel/test-stream-pipeline.js#L1
--- stderr --- node:assert:126 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'The operation was aborted' - 'kaboom' at /Users/runner/work/node/node/test/parallel/test-stream-pipeline.js:792:12 at /Users/runner/work/node/node/test/common/index.js:476:15 at node:internal/util:522:12 at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'The operation was aborted', expected: 'kaboom', operator: 'strictEqual' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-stream-pipeline.js
test-macOS: test/parallel/test-stream-readable-destroy.js#L1
--- stderr --- node:assert:173 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/test/parallel/test-stream-readable-destroy.js:118 at Readable.mustNotCall (/Users/runner/work/node/node/test/common/index.js:554:12) at Readable.emit (node:events:519:28) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-stream-readable-destroy.js
test-macOS: test/parallel/test-stream2-writable.js#L1
--- stderr --- node:assert:126 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: false !== true at /Users/runner/work/node/node/test/parallel/test-stream2-writable.js:319:12 at /Users/runner/work/node/node/test/common/index.js:476:15 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { generatedMessage: true, code: 'ERR_ASSERTION', actual: false, expected: true, operator: 'strictEqual' } Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-stream2-writable.js