nodejs / nodejs/node

flaky: test_http2_debug

Đang mở
#58,353 13 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

flaky-test s390x
Ngôn ngữ chính
JavaScript
Star
122k
Fork
37.3k
Merge trung bình
4 ngày 2 giờ
Pull request đã merge (30 ngày)
283

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với test/parallel/test-http2-debug.js, đặc biệt là assertion được báo cáo ở dòng 17, và tái hiện test-http2-debug trên Linux s390x bằng cách sử dụng build report được liên kết làm ngữ cảnh. Truy tìm điều kiện debug dự kiến nào không xuất hiện trong đầu ra đã thu thập. Công việc được xem là hoàn tất khi test xác thực đáng tin cậy hành vi debug HTTP/2 dự kiến mà không xảy ra lỗi không liên tục.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, node.js
Lĩnh vực
networking, testing-qa
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
64/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.