test-debug-port-cluster or test-debug-signal-cluster hanging in background on freebsdΒ #6989
Copy link
Copy link
Closed
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.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
found ~550 (not a typo) instances of test/fixtures/clustered-server/app.js running on one of the freebsd CI machines, this is used by both test-debug-port-cluster and test-debug-signal-cluster and I'm not sure which one was parent. Typical entries look like:
iojs 11971 0.0 0.2 620776 3556 - I 16May16 0:00.09 /usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd10-64/out/Release/node --debug=13683 /usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd10-64/test/fixtures/clustered-server/app.js
@nodejs/testing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Activity
Trott commentedon May 26, 2016
Not sure I have a fully coherentl explanation as to how this could plausibly cause the issue but the
+1000in this line seems like a code smell to me. Ought to just becommon.PORT. Will submit a PR momentarily...test: remove modifcation to common.PORT
cjihrig commentedon May 26, 2016
Could we build something into the CI or test runner to 1) detect tests that leave orphans running. 2) log that information somewhere. 3) kill the orphans.
Trott commentedon May 26, 2016
@cjihrig I imagine the main challenge would be distinguishing between orphans and other tests that are running in parallel.
cjihrig commentedon May 26, 2016
From a little Googling, it seems like identifying orphans is possible. I just don't know that we could associate that back to individual tests.
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT
cjihrig commentedon Jun 2, 2016
@Trott can this be closed?
Trott commentedon Jun 2, 2016
Yes. Closing.
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT
test: remove modifcation to common.PORT