Skip to content

flaky: test_http2_debug #58353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mhdawson opened this issue May 16, 2025 · 10 comments
Open

flaky: test_http2_debug #58353

mhdawson opened this issue May 16, 2025 · 10 comments
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. s390 Issues and PRs related to the s390 architecture.

Comments

@mhdawson
Copy link
Member

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

@mhdawson mhdawson added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label May 16, 2025
@github-actions github-actions bot added the s390 Issues and PRs related to the s390 architecture. label May 16, 2025
@johnsonomotunde
Copy link

Tried testing on windows?

@tniessen
Copy link
Member

tniessen commented May 18, 2025

@joyeecheung
Copy link
Member

This has failed 20 PRs (!!) out of last 100 runs https://github.com/nodejs/reliability/blob/main/reports/2025-05-19.md

@joyeecheung
Copy link
Member

It seems this started from #58124

@richardlau
Copy link
Member

It seems this started from #58124

Possibly related to #58124 (comment) / libuv/libuv#4768?

@joyeecheung
Copy link
Member

This appears to be linuxone only cc @nodejs/platform-s390

@joyeecheung
Copy link
Member

Possibly related to #58124 (comment) / libuv/libuv#4768?

The test in question isn't actively calling process.exit(), so at least the parent should've been blocked until all the writes are written to stderr, though from the CI it's unclear what exactly was written because the test uses assert(stderr.match(...)) which gives no information other than it's false, not true. Opened #58391 to at least log something useful upon failure.

nodejs-github-bot pushed a commit that referenced this issue May 20, 2025
Use spawnSyncAndAssert() so that the stderr is logged when it
doesn't match expectations.

PR-URL: #58391
Refs: #58353
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@joyeecheung
Copy link
Member

joyeecheung commented May 21, 2025

Difference between the two logs:

Failed output from the CI
HTTP2 1882563: Http2Session client: created
  (node:1882563) 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 1882563: Http2Session server: received a connection
  HTTP2 1882563: Http2Session server: setting up session handle
  Http2Session server (14) session created
  Http2Session server (14) i/o stream consumed
  HTTP2 1882563: Http2Session server: sending settings
  HTTP2 1882563: Http2Session server: submitting settings
  Http2Session server (14) scheduling write
  HTTP2 1882563: Http2Session server: created
  HTTP2 1882563: Http2Session client: setting up session handle
  Http2Session client (18) session created
  Http2Session client (18) i/o stream consumed
  HTTP2 1882563: Http2Session client: sending settings
  HTTP2 1882563: Http2Session client: submitting settings
  Http2Session client (18) scheduling write
  HTTP2 1882563: Http2Session client: initiating request
  HTTP2 1882563: 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 1882563: 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 1882563: Http2Stream 1 [Http2Session server]: headers received
  HTTP2 1882563: 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 1882563: 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 1882563: 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 1882563: Http2Stream 1 [Http2Session client]: headers received
  HTTP2 1882563: 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 1882563: Http2Stream 1 [Http2Session server]: shutting down writable on last write
  HttpStream 1 (28) [Http2Session server (14)] writable side shutdown
  Http2Session server (14) sending pending data
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: closed with code 0, closed false, readable true
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: shutting down writable on _final
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: shutdownWritable() already called
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: destroying stream
  HTTP2 1882563: Http2Session client: marking session closed
  HTTP2 1882563: Http2Session client: submitting goaway
  HTTP2 1882563: Http2Session server: marking session closed
  HTTP2 1882563: Http2Session server: submitting goaway
  HTTP2 1882563: Http2Stream 1 [Http2Session client]: closed with code 0, closed false, readable false
  HTTP2 1882563: Http2Stream 1 [Http2Session client]: destroying stream
  HTTP2 1882563: Http2Session client: destroying
  HTTP2 1882563: Http2Session client: start closing/destroying null
  HTTP2 1882563: Http2Session client: finishSessionClose
  HTTP2 1882563: Http2Session client: finishSessionClose socket end null null
  HTTP2 1882563: Http2Session server: destroying
  HTTP2 1882563: Http2Session server: start closing/destroying null
  HTTP2 1882563: Http2Session server: finishSessionClose
  HTTP2 1882563: Http2Session server: finishSessionClose socket end null null
  Http2Session server (14) freeing nghttp2 session
  Http2Session client (18) freeing nghttp2 session
Successful local output
HTTP2 1882563: Http2Session client: created
  (node:1882563) 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 1882563: Http2Session server: received a connection
  HTTP2 1882563: Http2Session server: setting up session handle
  Http2Session server (14) session created
  Http2Session server (14) i/o stream consumed
  HTTP2 1882563: Http2Session server: sending settings
  HTTP2 1882563: Http2Session server: submitting settings
  Http2Session server (14) scheduling write
  HTTP2 1882563: Http2Session server: created
  HTTP2 1882563: Http2Session client: setting up session handle
  Http2Session client (18) session created
  Http2Session client (18) i/o stream consumed
  HTTP2 1882563: Http2Session client: sending settings
  HTTP2 1882563: Http2Session client: submitting settings
  Http2Session client (18) scheduling write
  HTTP2 1882563: Http2Session client: initiating request
  HTTP2 1882563: 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 1882563: 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 1882563: Http2Stream 1 [Http2Session server]: headers received
  HTTP2 1882563: 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 1882563: 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 1882563: 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 1882563: Http2Stream 1 [Http2Session client]: headers received
  HTTP2 1882563: 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 1882563: Http2Stream 1 [Http2Session server]: shutting down writable on last write
  HttpStream 1 (28) [Http2Session server (14)] writable side shutdown
  Http2Session server (14) sending pending data
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: closed with code 0, closed false, readable true
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: shutting down writable on _final
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: shutdownWritable() already called
  HTTP2 1882563: Http2Stream 1 [Http2Session server]: destroying stream
  HTTP2 1882563: Http2Session client: marking session closed
  HTTP2 1882563: Http2Session client: submitting goaway
  HTTP2 1882563: Http2Session server: marking session closed
  HTTP2 1882563: Http2Session server: submitting goaway
  HTTP2 1882563: Http2Stream 1 [Http2Session client]: closed with code 0, closed false, readable false
  HTTP2 1882563: Http2Stream 1 [Http2Session client]: destroying stream
  HTTP2 1882563: Http2Session client: destroying
  HTTP2 1882563: Http2Session client: start closing/destroying null
  HTTP2 1882563: Http2Session client: finishSessionClose
  HTTP2 1882563: Http2Session client: finishSessionClose socket end null null
  HTTP2 1882563: Http2Session server: destroying
  HTTP2 1882563: Http2Session server: start closing/destroying null
  HTTP2 1882563: Http2Session server: finishSessionClose
  HTTP2 1882563: Http2Session server: finishSessionClose socket end null null
  Http2Session server (14) freeing nghttp2 session
  Http2Session client (18) freeing nghttp2 session

The test is complaining that it's not able to find the logs indicating a complete data frame is received on the client side. It seems in the CI on s390x somehow the server is going away too quickly and the client is not getting the complete data frame. Which very much looks like a test robustness issue. I am not sure if anyone from @nodejs/http2 (@jasnell or @trivikr ?) wants to fix it. If nobody responds I am inclined to just mark it as flaky for now.

On a side note test-http2-ping.js looks like yet another test that's squeezing too many test cases into one file. Trying to check the debug log out of a test like this doesn't seem to be a good idea. But I don't feel too comfortable trying to split it due to the complexity and lack of comments in that test to understand what is safe to split.

@richardlau
Copy link
Member

I've opened #58494 to mark this test as flaky on LinuxONE for now.

jasnell pushed a commit that referenced this issue May 28, 2025
PR-URL: #58494
Refs: #58353
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Dario Piotrowicz <[email protected]>
@richardlau
Copy link
Member

It seems this started from #58124

The libuv update landed on v22.x-staging yesterday (#57316) and the test failed in today's v22.x-staging daily build: https://ci.nodejs.org/job/node-daily-v22.x-staging/219/

richardlau added a commit that referenced this issue May 29, 2025
PR-URL: #58494
Refs: #58353
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Dario Piotrowicz <[email protected]>
targos pushed a commit that referenced this issue May 31, 2025
Use spawnSyncAndAssert() so that the stderr is logged when it
doesn't match expectations.

PR-URL: #58391
Refs: #58353
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
targos pushed a commit that referenced this issue May 31, 2025
PR-URL: #58494
Refs: #58353
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Dario Piotrowicz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. s390 Issues and PRs related to the s390 architecture.
Projects
None yet
Development

No branches or pull requests

5 participants