nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
105.24k stars 28.51k forks source link

investigate flaky parallel/test-http-server-request-timeout-keepalive #36867

Open Trott opened 3 years ago

Trott commented 3 years ago
Trott commented 3 years ago

Still going on.

https://ci.nodejs.org/job/node-test-commit-linux/nodes=ubuntu1804-64/40003/testReport/junit/(root)/test/parallel_test_http_server_request_timeout_keepalive/

not ok 1250 parallel/test-http-server-request-timeout-keepalive
  ---
  duration_ms: 1.436
  severity: fail
  exitcode: 1
  stack: |-
    performRequestWithDelay 50 500
    node:assert:122
      throw new AssertionError(obj);
      ^

    AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
    + actual - expected

    + 'HTTP/1.1 408 Request Timeout'
    - 'HTTP/1.1 200 OK'
                ^
        at Socket.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/ubuntu1804-64/test/parallel/test-http-server-request-timeout-keepalive.js:56:14)
        at Socket.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/ubuntu1804-64/test/common/index.js:376:15)
        at Socket.emit (node:events:378:20)
        at addChunk (node:internal/streams/readable:321:12)
        at readableAddChunk (node:internal/streams/readable:296:9)
        at Socket.Readable.push (node:internal/streams/readable:235:10)
        at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: 'HTTP/1.1 408 Request Timeout',
      expected: 'HTTP/1.1 200 OK',
      operator: 'strictEqual'
    }
  ...