Skip to content

http2: emit ERR_HTTP2_INVALID_SESSION async instead of throwing synchronously #7078

http2: emit ERR_HTTP2_INVALID_SESSION async instead of throwing synchronously

http2: emit ERR_HTTP2_INVALID_SESSION async instead of throwing synchronously #7078

Re-run triggered May 24, 2026 10:04
Status Failure
Total duration 34m 22s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 16s
Build slim tarball
aarch64-linux: Cache V8 build
24s
aarch64-linux: Cache V8 build
Matrix: build
Matrix: build-openssl
Fit to window
Zoom out
Zoom in

Annotations

18 errors
aarch64-linux: with shared openssl-1.1.1w
Process completed with exit code 2.
aarch64-linux: with shared openssl-1.1.1w: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-linux: with shared openssl-3.5.5
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.5.5: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-linux: with shared openssl-4.0.0
Process completed with exit code 2.
aarch64-linux: with shared openssl-4.0.0: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-linux: with shared openssl-3.6.1
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.6.1: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-linux: with shared boringssl-0.20260413.0
Process completed with exit code 2.
aarch64-linux: with shared boringssl-0.20260413.0: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-linux: with shared openssl-3.0.19
Process completed with exit code 2.
aarch64-linux: with shared openssl-3.0.19: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-http2-client-destroy.js#L84
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception (Error). at Http2Server.<anonymous> (/Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js:84:12) at Http2Server.<anonymous> (/Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/common/index.js:510:15) at Object.onceWrapper (node:events:630:28) at Http2Server.emit (node:events:509:20) at emitListeningNT (node:net:2051:10) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { name: 'Error', code: 'ERR_HTTP2_INVALID_SESSION', message: 'The session has been destroyed' }, operator: 'throws', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node --expose-internals /Users/runner/work/_temp/node-v27.0.0-nightly2026-05-2486b3e6a5de-slim/test/parallel/test-http2-client-destroy.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
46.2 MB
sha256:4ce35c973b865bdfc176d42531cba7949b4e938f1e45de1710dec69ce95e913d