Skip to content

test: improve zlib tests #57943

test: improve zlib tests

test: improve zlib tests #57943

Triggered via pull request November 4, 2024 12:53
Status Failure
Total duration 1h 0m 3s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 notice
test-macOS: test/parallel/test-zlib-object-write.js#L1
--- stdout --- ✖ zlib object write (1.886209ms) 'Promise resolution is still pending but the event loop has already resolved' ℹ tests 1 ℹ suites 0 ℹ pass 0 ℹ fail 0 ℹ cancelled 1 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 55.429292 ✖ failing tests: test at test/parallel/test-zlib-object-write.js:9:1 ✖ zlib object write (1.886209ms) 'Promise resolution is still pending but the event loop has already resolved' ::debug::starting to run zlib object write ::error title=zlib object write,file=test/parallel/test-zlib-object-write.js,line=9,col=1::Error [ERR_TEST_FAILURE]: Promise resolution is still pending but the event loop has already resolved at process.emit (node:events:507:28) { code: 'ERR_TEST_FAILURE', failureType: 'cancelledByParent', cause: 'Promise resolution is still pending but the event loop has already resolved' } ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::tests 1 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::suites 0 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::pass 0 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::fail 0 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::cancelled 1 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::skipped 0 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::todo 0 ::notice file=test/parallel/test-zlib-object-write.js,line=1,col=1::duration_ms 55.429292 ::group::Test results (0 passed, 1 failed) ::notice:: ::endgroup:: 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-zlib-object-write.js
test-macOS: test/parallel/test-zlib-premature-end.js#L41
--- stdout --- ✖ zlib should handle premature end (1.069875ms) TypeError: endCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-premature-end.js:41:19) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) ::debug::starting to run zlib should handle premature end ::error title=zlib should handle premature end,file=test/parallel/test-zlib-premature-end.js,line=41,col=19::[Error [ERR_TEST_FAILURE]: endCallback.mockImplementation is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError: endCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-premature-end.js:41:19) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) } ℹ tests 1 ℹ suites 0 ℹ pass 0 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 106.970916 ✖ failing tests: test at test/parallel/test-zlib-premature-end.js:9:1 ✖ zlib should handle premature end (1.069875ms) TypeError: endCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-premature-end.js:41:19) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::tests 1 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::suites 0 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::pass 0 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::fail 1 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::cancelled 0 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::skipped 0 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::todo 0 ::notice file=test/parallel/test-zlib-premature-end.js,line=1,col=1::duration_ms 106.970916 ::group::Test results (0 passed, 1 failed) ::notice:: ::endgroup:: 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-zlib-premature-end.js
test-macOS: test/parallel/test-zlib-random-byte-pipes.js#L158
--- stdout --- ✖ random byte pipes (1.303834ms) TypeError: onDataCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-random-byte-pipes.js:158:20) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) ::debug::starting to run random byte pipes ::error title=random byte pipes,file=test/parallel/test-zlib-random-byte-pipes.js,line=158,col=20::[Error [ERR_TEST_FAILURE]: onDataCallback.mockImplementation is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError: onDataCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-random-byte-pipes.js:158:20) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) } ℹ tests 1 ℹ suites 0 ℹ pass 0 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 108.167583 ✖ failing tests: test at test/parallel/test-zlib-random-byte-pipes.js:144:1 ✖ random byte pipes (1.303834ms) TypeError: onDataCallback.mockImplementation is not a function at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-zlib-random-byte-pipes.js:158:20) at Test.runInAsyncScope (node:async_hooks:211:14) at Test.run (node:internal/test_runner/test:934:25) at Test.start (node:internal/test_runner/test:833:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:297:17) ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::tests 1 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::suites 0 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::pass 0 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::fail 1 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::cancelled 0 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::skipped 0 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::todo 0 ::notice file=test/parallel/test-zlib-random-byte-pipes.js,line=1,col=1::duration_ms 108.167583 ::group::Test results (0 passed, 1 failed) ::notice:: ::endgroup:: 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-zlib-random-byte-pipes.js
test-macOS
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors