Repository navigation
test-https-set-timeout-server on freebsd #10130
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.
on Dec 5, 2016 Looking at history don't see any recent changes to the test.
- addedfreebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.httpsIssues and PRs related to the https subsystem.Issues and PRs related to the https subsystem.timersIssues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().
on Dec 5, 2016 Giving it a quick look, moving to sequential will probably make it more reliable. /cc @nodejs/testing
Failed again today. https://ci.nodejs.org/job/node-test-commit-freebsd/8596/nodes=freebsd10-64/console
not ok 664 parallel/test-https-set-timeout-server --- duration_ms: 1.263 severity: fail stack: |- # serverTimeout # serverRequestTimeout # serverResponseTimeout # serverRequestNotTimeoutAfterEnd # serverResponseTimeoutWithPipeline # idleTimeout ok Mismatched <anonymous> function calls. Expected 1, actual 0. at idleTimeout (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd10-64/test/parallel/test-https-set-timeout-server.js:170:44) at run (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd10-64/test/parallel/test-https-set-timeout-server.js:52:5) at Server.<anonymous> (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd10-64/test/parallel/test-https-set-timeout-server.js:152:5) at emitOne (events.js:115:13) at Server.emit (events.js:210:7) at TLSSocket.socketOnTimeout (_http_server.js:385:35) at emitNone (events.js:105:13) at TLSSocket.emit (events.js:207:7) at TLSSocket.Socket._onTimeout (net.js:374:8)
I'm going to run some stress tests on it in parallel vs. sequential and see what happens.
CI stress test on freebsd10-64 with -j 4 --repeat=4:
https://ci.nodejs.org/job/node-stress-single-test/1175/nodes=freebsd10-64/console
Ci stress test on freebsd10-64 with -j 8 --repeat=8:
https://ci.nodejs.org/job/node-stress-single-test/1176/nodes=freebsd10-64/console
8 seems to be enough to cause failures identical to what we're seeing in CI from time to time, so that's good. But the errors are infrequent. (I got 1 in 500 runs.) Trying 16 to see if we can get failures to happen with greater frequency:
https://ci.nodejs.org/job/node-stress-single-test/1177/nodes=freebsd10-64/console
That gives me 92 failures out of 100 runs. Cool. Solution is certainly to move it to
sequentialbut I'll run a stress test on that anyway.Actually, I wonder if moving the setting of the server timeout to the callback might be the solution...
- added a commit that references this issue
on May 15, 2017 - added a commit that references this issue
on Jul 19, 2017
Failure seen when running test against a PR changing a different test:
https://ci.nodejs.org/job/node-test-commit-freebsd/5673/nodes=freebsd10-64/