Skip to content

stream: fix timing relative to promises #42856

stream: fix timing relative to promises

stream: fix timing relative to promises #42856

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

test-asan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test-asan: test/parallel/test-fs-read-stream-patch-open.js#L1
--- stderr --- (node:111981) [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 (/home/runner/work/node/node/test/common/index.js:434:10) at /home/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 /home/runner/work/node/node/test/parallel/test-fs-read-stream-patch-open.js
test-asan: test/parallel/test-fs-write-stream-patch-open.js#L18
--- stderr --- (node:114002) [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> (/home/runner/work/node/node/test/parallel/test-fs-write-stream-patch-open.js:18:12) at ChildProcess.<anonymous> (/home/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 (/home/runner/work/node/node/test/common/index.js:434:10) at /home/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 /home/runner/work/node/node/test/parallel/test-fs-write-stream-patch-open.js
test-asan: 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 (/home/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 (/home/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js:81:5) at async Server.<anonymous> (/home/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 /home/runner/work/node/node/test/parallel/test-net-connect-abort-controller.js
test-asan: test/parallel/test-runner-reporters.js#L142
--- stdout --- β–Ά node:test reporters βœ” should default to outputing TAP to stdout (16057.079005ms) βœ” should default destination to stdout when passing a single reporter (12663.441502ms) βœ” should throw when passing reporters without a destination (10515.202513ms) βœ” should throw when passing a destination without a reporter (9347.201773ms) βœ” should support stdout as a destination (8463.584609ms) ::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 (6813.145448ms) βœ” should support a file as a destination (6210.902032ms) βœ” should disallow using v8-serializer as reporter (5741.52345ms) βœ” should support multiple reporters (5566.58054ms) βœ” should support a 'js' file as a custom reporter (5034.51412ms) βœ” should support a 'cjs' file as a custom reporter (4187.062806ms) βœ” should support a 'mjs' file as a custom reporter (3645.909225ms) βœ” should support a custom reporter from node_modules (2959.723755ms) ::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 (2247.524901ms) βœ” should throw when reporter setup throws asynchronously (1588.100373ms) βœ– should throw when reporter errors (1288.165197ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 1 !== 7 at TestContext.<anonymous> (/home/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 (451.752374ms) AssertionError [ERR_ASSERTI
test-asan: test/parallel/test-stream-destroy.js#L125
--- stderr --- node:internal/process/task_queues:95 runMicrotasks(); ^ Error: asd at /home/runner/work/node/node/test/parallel/test-stream-destroy.js:127:16 at new Promise (<anonymous>) at Object.<anonymous> (/home/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 /home/runner/work/node/node/test/parallel/test-stream-destroy.js
test-asan: test/parallel/test-stream-duplex-destroy.js#L1
--- stderr --- node:assert:173 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/node/node/test/parallel/test-stream-duplex-destroy.js:127 at Duplex.mustNotCall (/home/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 /home/runner/work/node/node/test/parallel/test-stream-duplex-destroy.js
test-asan: 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 /home/runner/work/node/node/test/parallel/test-stream-pipeline.js:792:12 at /home/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 /home/runner/work/node/node/test/parallel/test-stream-pipeline.js
test-asan: test/parallel/test-stream-readable-destroy.js#L1
--- stderr --- node:assert:173 throw err; ^ AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/node/node/test/parallel/test-stream-readable-destroy.js:118 at Readable.mustNotCall (/home/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 /home/runner/work/node/node/test/parallel/test-stream-readable-destroy.js
test-asan: 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 /home/runner/work/node/node/test/parallel/test-stream2-writable.js:319:12 at /home/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 /home/runner/work/node/node/test/parallel/test-stream2-writable.js
test-asan: test/parallel/test-whatwg-webstreams-adapters-to-writablestream.js#L1
--- stderr --- node:internal/webstreams/adapters:204 controller.error(new AbortError()); ^ TypeError: Cannot read properties of undefined (reading 'error') at TestWritable.<anonymous> (node:internal/webstreams/adapters:204:16) at TestWritable.<anonymous> (node:internal/util:522:12) at TestWritable.onclose (node:internal/streams/end-of-stream:162:14) at TestWritable.emit (node:events:519:28) at emitCloseNT (node:internal/streams/destroy:152:10) at node:internal/streams/destroy:121: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 --no-warnings --expose-internals --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node/node/test/parallel/test-whatwg-webstreams-adapters-to-writablestream.js