Skip to content

investigate flaky sequential/test-child-process-pass-fd on SmartoSΒ #8209

@Trott

Description

@Trott

Looks like it's the result of side effects from other test runs. Could possibly be solved by removing the reliance on common.PORT. /cc @nodejs/testing

https://ci.nodejs.org/job/node-test-commit-smartos/3836/nodes=smartos14-32/console:

not ok 1189 sequential/test-child-process-pass-fd
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12408
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12409
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12410
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12411
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12412
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12413
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# events.js:160
#       throw er; // Unhandled 'error' event
#       ^
# 
# Error: listen EADDRINUSE 127.0.0.1:12414
#     at Object.exports._errnoException (util.js:1026:11)
#     at exports._exceptionWithHostPort (util.js:1049:20)
#     at Server._listen2 (net.js:1253:14)
#     at listen (net.js:1289:10)
#     at net.js:1399:9
#     at _combinedTickCallback (internal/process/next_tick.js:77:11)
#     at process._tickCallback (internal/process/next_tick.js:98:9)
#     at Module.runMain (module.js:592:11)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
# Mismatched <anonymous> function calls. Expected 1, actual 0.
#     at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-smartos/nodes/smartos14-32/test/sequential/test-child-process-pass-fd.js:18:35)
#     at Module._compile (module.js:556:32)
#     at Object.Module._extensions..js (module.js:565:10)
#     at Module.load (module.js:473:32)
#     at tryModuleLoad (module.js:432:12)
#     at Function.Module._load (module.js:424:3)
#     at Module.runMain (module.js:590:10)
#     at run (bootstrap_node.js:382:7)
#     at startup (bootstrap_node.js:137:9)
  ---
  duration_ms: 10.307

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.smartosIssues and PRs related to the SmartOS platform.testIssues and PRs related to the tests.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions