Repository navigation
Investigate flaky test-http-client-timeout-option-with-agent #22041
Copy link
Copy link
Closed
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Description
Activity
- addedtestIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.
on Jul 31, 2018 The main cause of failure here is almost certainly that it's a debug build, which makes everything run slooooowwwwer.....
- added a commit that references this issue
on Aug 15, 2018 Alas, still flaky.
00:15:46 not ok 2230 sequential/test-http-client-timeout-option-with-agent 00:15:46 --- 00:15:46 duration_ms: 5.26 00:15:46 severity: fail 00:15:46 exitcode: 1 00:15:46 stack: |- 00:15:46 assert.js:84 00:15:46 throw new AssertionError(obj); 00:15:46 ^ 00:15:46 00:15:46 AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal: 00:15:46 00:15:46 4 !== 3 00:15:46 00:15:46 at ClientRequest.req.on.common.mustCall (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_shared_x64/test/sequential/test-http-client-timeout-option-with-agent.js:46:12) 00:15:46 at ClientRequest.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_shared_x64/test/common/index.js:460:15) 00:15:46 at ClientRequest.emit (events.js:182:13) 00:15:46 at Socket.emitRequestTimeout (_http_client.js:670:40) 00:15:46 at Object.onceWrapper (events.js:273:13) 00:15:46 at Socket.emit (events.js:182:13) 00:15:46 at Socket._onTimeout (net.js:449:8) 00:15:46 at ontimeout (timers.js:454:11) 00:15:46 at tryOnTimeout (timers.js:326:5) 00:15:46 at listOnTimeout (timers.js:300:5) 00:15:46 ...
- changed the title
[-]test: possible flaky test-http-client-timeout-option-with-agent[/-][+]Investigate flaky test-http-client-timeout-option-with-agent[/+]on Aug 19, 2018 - added a commit that references this issue
on Aug 19, 2018 Proposed fix in #22403
- added a commit that references this issue
on Aug 21, 2018 - added a commit that references this issue
on Aug 21, 2018 - added a commit that references this issue
on Sep 3, 2018 - added a commit that references this issue
on Apr 16, 2025 - added a commit that references this issue
on Jul 27, 2026
Metadata
Metadata
Assignees
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
https://ci.nodejs.org/job/node-test-commit-linux-containered/5882/nodes=ubuntu1604_sharedlibs_debug_x64/console
This test asserts the elapsed time of
timeoutin second units. But the actualtimeoutmay be longer in some situations.It seems that other related tests avoid measuring the elapsed time. I would like to modify this test to make it less likely fail and keep the consistency of these tests.