nodejs / nodejs/node

flaky: test_http2_debug

Open
#58,353 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

flaky-test s390x
Dominant language
JavaScript
Stars
122k
Forks
37.3k
Avg merge
4d 2h
Merged PRs (30d)
283

Description

Test

test-http2-debug

Platform

Linux s390x

Console output
---
duration_ms: 974.032
exitcode: 1
severity: fail
stack: |-
  node:internal/assert/utils:281
      throw err;
      ^

  AssertionError [ERR_ASSERTION]: HTTP2 1782639: Http2Session client: created
  (node:1782639) Warning: Setting the NODE_DEBUG environment variable to 'http2' can expose sensitive data (such as passwords, tokens and authentication headers) in the resulting log.
  (Use `node --trace-warnings ...` to show where the warning was created)
  HTTP2 1782639: Http2Session server: received a connection
  HTTP2 1782639: Http2Session server: setting up session handle
  Http2Session server (14) session created
  Http2Session server (14) i/o stream consumed
  HTTP2 1782639: Http2Session server: sending settings
  HTTP2 1782639: Http2Session server: submitting settings
  Http2Session server (14) scheduling write
  HTTP2 1782639: Http2Session server: created
  HTTP2 1782639: Http2Session client: setting up session handle
  Http2Session client (18) session created
  Http2Session client (18) i/o stream consumed
  HTTP2 1782639: Http2Session client: sending settings
  HTTP2 1782639: Http2Session client: submitting settings
  Http2Session client (18) scheduling write
  HTTP2 1782639: Http2Session client: initiating request
  HTTP2 1782639: Http2Session client: connected, initializing request
  Http2Session client (18) request submitted
  Http2Priority: parent: 0, weight: 16, exclusive: no
  Http2Session client (18) submitting request
  HttpStream 1 (25) [Http2Session client (18)] writable side shutdown
  Http2Session client (18) Adding stream: 1
  Http2Session client (18) request submitted, new stream id 1
  HTTP2 1782639: Http2Stream 1 [Http2Session client]: shutting down writable on _final
  HttpStream 1 (25) [Http2Session client (18)] writable side shutdown
  HttpStream 1 (25) [Http2Session client (18)] reading starting
  Http2Session server (14) sending pending data
  Http2Session server (14) nghttp2 has 9 bytes to send
  Http2Session server (14) wants read? 1
  Http2Session client (18) sending pending data
  Http2Session client (18) nghttp2 has 24 bytes to send
  Http2Session client (18) nghttp2 has 9 bytes to send
  Http2Session client (18) nghttp2 has 17 bytes to send
  Http2Session client (18) nghttp2 has 17 bytes to send
  Http2Session client (18) nghttp2 has 25 bytes to send
  Http2Session client (18) wants read? 1
  Http2Session client (18) receiving 9 bytes, offset 0
  Http2Session client (18) receiving 9 bytes [wants data? 1]
  Http2Session client (18) complete frame received: type: 4
  Http2Session client (18) handling settings frame
  Http2Session client (18) sending pending data
  Http2Session client (18) nghttp2 has 9 bytes to send
  Http2Session client (18) wants read? 1
  Http2Session client (18) wants read? 1
  Http2Session server (14) receiving 101 bytes, offset 0
  Http2Session server (14) receiving 101 bytes [wants data? 1]
  Http2Session server (14) complete frame received: type: 4
  Http2Session server (14) handling settings frame
  Http2Session server (14) complete frame received: type: 6
  Http2Session server (14) complete frame received: type: 6
  Http2Session server (14) beginning headers for stream 1
  Http2Session server (14) Adding stream: 1
  Http2Session server (14) handling header key/pair for stream 1
  Http2Session server (14) handling header key/pair for stream 1
  Http2Session server (14) handling header key/pair for stream 1
  Http2Session server (14) handling header key/pair for stream 1
  Http2Session server (14) complete frame received: type: 1
  Http2Session server (14) handle headers frame for stream 1
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: headers received
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: initiating response
  HttpStream 1 (28) [Http2Session server (14)] submitting response
  HttpStream 1 (28) [Http2Session server (14)] response submitted
  Http2Session server (14) complete frame received: type: 4
  Http2Session server (14) handling settings frame
  HTTP2 1782639: Http2Session server: settings received
  Http2Session server (14) settings refreshed for session
  Http2Session server (14) sending pending data
  Http2Session server (14) nghttp2 has 9 bytes to send
  Http2Session server (14) nghttp2 has 17 bytes to send
  Http2Session server (14) nghttp2 has 17 bytes to send
  Http2Session server (14) nghttp2 has 17 bytes to send
  Http2Session server (14) nghttp2 has 34 bytes to send
  Http2Session server (14) reading outbound data for stream 1
  Http2Session server (14) deferring stream 1
  Http2Session server (14) wants read? 1
  Http2Session server (14) wants read? 1
  Http2Session client (18) receiving 94 bytes, offset 0
  Http2Session client (18) receiving 94 bytes [wants data? 1]
  Http2Session client (18) complete frame received: type: 4
  Http2Session client (18) handling settings frame
  HTTP2 1782639: Http2Session client: settings received
  Http2Session client (18) settings refreshed for session
  Http2Session client (18) complete frame received: type: 6
  Http2Session client (18) complete frame received: type: 6
  Http2Session client (18) complete frame received: type: 6
  Http2Session client (18) beginning headers for stream 1
  HttpStream 1 (25) [Http2Session client (18)] starting headers, category: true
  Http2Session client (18) handling header key/pair for stream 1
  Http2Session client (18) handling header key/pair for stream 1
  Http2Session client (18) complete frame received: type: 1
  Http2Session client (18) handle headers frame for stream 1
  HTTP2 1782639: Http2Stream 1 [Http2Session client]: headers received
  HTTP2 1782639: Http2Stream 1 [Http2Session client]: emitting stream 'response' event
  Http2Session client (18) sending pending data
  Http2Session client (18) nghttp2 has 17 bytes to send
  Http2Session client (18) wants read? 1
  Http2Session client (18) wants read? 1
  Http2Session server (14) receiving 17 bytes, offset 0
  Http2Session server (14) receiving 17 bytes [wants data? 1]
  Http2Session server (14) complete frame received: type: 6
  HttpStream 1 (28) [Http2Session server (14)] queuing 1 buffers to send
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: shutting down writable on last write
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: closed with code 0, closed false, readable true
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: shutting down writable on _final
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: shutdownWritable() already called
  HTTP2 1782639: Http2Stream 1 [Http2Session server]: destroying stream
  HTTP2 1782639: Http2Session client: marking session closed
  HTTP2 1782639: Http2Session client: submitting goaway
  HTTP2 1782639: Http2Session server: marking session closed
  HTTP2 1782639: Http2Session server: submitting goaway
  HTTP2 1782639: Http2Stream 1 [Http2Session client]: closed with code 0, closed false, readable false
  HTTP2 1782639: Http2Stream 1 [Http2Session client]: destroying stream
  HTTP2 1782639: Http2Session client: destroying
  HTTP2 1782639: Http2Session client: start closing/destroying null
  HTTP2 1782639: Http2Session client: finishSessionClose
  HTTP2 1782639: Http2Session client: finishSessionClose socket end null null
  HTTP2 1782639: Http2Session server: destroying
  HTTP2 1782639: Http2Session server: start closing/destroying null
  HTTP2 1782639: Http2Session server: finishSessionClose
  HTTP2 1782639: Http2Session server: finishSessionClose socket end null null
  Http2Session server (14) freeing nghttp2 session
  Http2Session client (18) freeing nghttp2 session

      at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linuxone/test/parallel/test-http2-debug.js:17:1)
      at Module._compile (node:internal/modules/cjs/loader:1734:14)
      at Object..js (node:internal/modules/cjs/loader:1899:10)
      at Module.load (node:internal/modules/cjs/loader:1469:32)
      at Module._load (node:internal/modules/cjs/loader:1286:12)
      at TracingChannel.traceSync (node:diagnostics_channel:322:14)
      at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
      at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:152:5)
      at node:internal/main/run_main_module:33:47 {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: null,
    expected: true,
    operator: '=='
  }

  Node.js v25.0.0-pre
...
Build links
Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with test/parallel/test-http2-debug.js, especially the assertion reported at line 17, and reproduce test-http2-debug on Linux s390x using the linked build report as context. Trace which expected debug condition is absent in the captured output. Done means the test reliably validates the intended HTTP/2 debug behavior without intermittent failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.