Skip to content

Instantly share code, notes, and snippets.

@tjfontaine tjfontaine/few-runs.txt
Last active Dec 14, 2015

Embed
What would you like to do?
test-cluster-disconnect.js race
for i in $(seq 1 20) ; do echo $i && ./node test/simple/test-cluster-disconnect.js ; done
1
2
3
events.js:69
throw arguments[1]; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at errnoException (net.js:846:11)
at Object.afterConnect [as oncomplete] (net.js:837:19)
4
events.js:69
throw arguments[1]; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at errnoException (net.js:846:11)
at Object.afterConnect [as oncomplete] (net.js:837:19)
5
events.js:69
throw arguments[1]; // Unhandled 'error' event
^
Error: read ECONNRESET
at errnoException (net.js:846:11)
at TCP.onread (net.js:508:19)
6
7
8
9
10
11
12
13
14
15
events.js:69
throw arguments[1]; // Unhandled 'error' event
^
Error: read ECONNRESET
at errnoException (net.js:846:11)
at TCP.onread (net.js:508:19)
16
17
18
19
20
events.js:69
throw arguments[1]; // Unhandled 'error' event
^
Error: connect ECONNREFUSED
at errnoException (net.js:846:11)
at Object.afterConnect [as oncomplete] (net.js:837:19)
NODE_DEBUG=net ./node test/simple/test-cluster-disconnect.js
NET: 95372 bind to 127.0.0.1
NET: 95372 bind to 127.0.0.1
NET: 95374 listen2 127.0.0.1 12346 4 false
NET: 95374 _listen2: have a handle already { fd: 12, writeQueueSize: 0 }
NET: 95374 listen2 127.0.0.1 12347 4 false
NET: 95374 _listen2: have a handle already { fd: 13, writeQueueSize: 0 }
NET: 95372 connect: find host 127.0.0.1
NET: 95372 connect: find host 127.0.0.1
NET: 95372 afterConnect
NET: 95374 onconnection
NET: 95374 _read
NET: 95374 Socket._read readStart
NET: 95372 _read
NET: 95372 Socket._read readStart
NET: 95374 onSocketFinish
NET: 95374 oSF: not ended, call shutdown()
NET: 95372 afterConnect
NET: 95372 _read
NET: 95372 Socket._read readStart
NET: 95374 afterWrite 0 { domain: null, bytes: 4, oncomplete: [Function: afterWrite] }
NET: 95374 afterWrite call cb
NET: 95372 onread undefined 480 4 484
NET: 95372 got data
NET: 95374 afterShutdown destroyed=false { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 _read
NET: 95372 readStart already has been called.
NET: 95374 onconnection
NET: 95374 _read
NET: 95374 Socket._read readStart
NET: 95374 onSocketFinish
NET: 95374 oSF: not ended, call shutdown()
NET: 95372 onread undefined 496 4 500
NET: 95372 got data
NET: 95374 afterWrite 0 { domain: null, bytes: 4, oncomplete: [Function: afterWrite] }
NET: 95372 _read
NET: 95374 afterWrite call cb
NET: 95372 readStart already has been called.
NET: 95372 onread EOF undefined undefined NaN
NET: 95372 EOF
NET: 95374 afterShutdown destroyed=false { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 onSocketFinish
NET: 95372 oSF: ended, destroy { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 close
NET: 95372 close handle
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 already destroyed, fire error callbacks
NET: 95374 onread EOF undefined undefined NaN
NET: 95374 EOF
NET: 95372 emit close
NET: 95372 onread EOF undefined undefined NaN
NET: 95372 EOF
NET: 95374 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95374 destroy undefined
NET: 95374 destroy
NET: 95374 close
NET: 95374 close handle
NET: 95372 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 onSocketFinish
NET: 95374 has server
NET: 95374 SERVER _emitCloseIfDrained
NET: 95374 SERVER handle? true connections? 0
NET: 95374 destroy undefined
NET: 95374 destroy
NET: 95372 oSF: ended, destroy { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95374 already destroyed, fire error callbacks
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 close
NET: 95372 close handle
NET: 95374 emit close
NET: 95372 destroy undefined
NET: 95374 onread EOF undefined undefined NaN
NET: 95372 destroy
NET: 95374 EOF
NET: 95372 already destroyed, fire error callbacks
NET: 95372 emit close
NET: 95374 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95374 destroy undefined
NET: 95374 destroy
NET: 95374 close
NET: 95374 close handle
NET: 95374 has server
NET: 95374 SERVER _emitCloseIfDrained
NET: 95374 SERVER handle? true connections? 0
NET: 95374 destroy undefined
NET: 95374 destroy
NET: 95374 already destroyed, fire error callbacks
NET: 95374 emit close
NET: 95374 SERVER _emitCloseIfDrained
NET: 95374 SERVER _emitCloseIfDrained
NET: 95374 SERVER: emit close
NET: 95374 SERVER: emit close
NET: 95373 listen2 127.0.0.1 12346 4 false
NET: 95373 _listen2: have a handle already { fd: 12, writeQueueSize: 0 }
NET: 95373 listen2 127.0.0.1 12347 4 false
NET: 95373 _listen2: have a handle already { fd: 13, writeQueueSize: 0 }
NET: 95373 SERVER _emitCloseIfDrained
NET: 95373 SERVER _emitCloseIfDrained
NET: 95373 SERVER: emit close
NET: 95373 SERVER: emit close
NET: 95372 bind to 127.0.0.1
NET: 95372 bind to 127.0.0.1
NET: 95376 listen2 127.0.0.1 12346 4 false
NET: 95376 _listen2: have a handle already { fd: 12, writeQueueSize: 0 }
NET: 95376 listen2 127.0.0.1 12347 4 false
NET: 95376 _listen2: have a handle already { fd: 13, writeQueueSize: 0 }
NET: 95372 connect: find host 127.0.0.1
NET: 95372 connect: find host 127.0.0.1
NET: 95372 afterConnect
NET: 95376 onconnection
NET: 95372 _read
NET: 95372 Socket._read readStart
NET: 95372 afterConnect
NET: 95372 _read
NET: 95372 Socket._read readStart
NET: 95376 _read
NET: 95376 Socket._read readStart
NET: 95372 onread EOF 1536 4 1540
NET: 95372 got data
NET: 95376 onSocketFinish
NET: 95376 oSF: not ended, call shutdown()
NET: 95372 _read
NET: 95372 readStart already has been called.
NET: 95376 afterWrite 0 { domain: null, bytes: 4, oncomplete: [Function: afterWrite] }
NET: 95376 afterWrite call cb
NET: 95372 onread EOF undefined undefined NaN
NET: 95372 EOF
NET: 95376 afterShutdown destroyed=false { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95376 onconnection
NET: 95376 _read
NET: 95376 Socket._read readStart
NET: 95376 onSocketFinish
NET: 95376 oSF: not ended, call shutdown()
NET: 95372 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 onSocketFinish
NET: 95376 afterWrite 0 { domain: null, bytes: 4, oncomplete: [Function: afterWrite] }
NET: 95376 afterWrite call cb
NET: 95376 afterShutdown destroyed=false { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: false,
endEmitted: false,
reading: true,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 oSF: ended, destroy { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 close
NET: 95372 close handle
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 already destroyed, fire error callbacks
NET: 95376 onread EOF undefined undefined NaN
NET: 95376 EOF
NET: 95372 emit close
NET: 95372 onread EOF 1552 4 1556
NET: 95372 got data
NET: 95372 _read
NET: 95372 readStart already has been called.
NET: 95372 onread EOF undefined undefined NaN
NET: 95372 EOF
NET: 95376 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95376 destroy undefined
NET: 95376 destroy
NET: 95376 close
NET: 95376 close handle
NET: 95376 has server
NET: 95376 SERVER _emitCloseIfDrained
NET: 95376 SERVER handle? true connections? 0
NET: 95376 destroy undefined
NET: 95376 destroy
NET: 95376 already destroyed, fire error callbacks
NET: 95376 emit close
NET: 95372 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 onSocketFinish
NET: 95372 oSF: ended, destroy { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95372 destroy undefined
NET: 95372 destroy
NET: 95372 close
NET: 95372 close handle
NET: 95372 destroy undefined
NET: 95376 onread EOF undefined undefined NaN
NET: 95372 destroy
NET: 95376 EOF
NET: 95372 already destroyed, fire error callbacks
NET: 95372 emit close
NET: 95376 onSocketEnd { bufferSize: 16384,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: false,
onread: [Function],
needReadable: true,
emittedReadable: false,
objectMode: false,
ranOut: false,
awaitDrain: 0,
pipeChunkSize: null,
decoder: null }
NET: 95376 destroy undefined
NET: 95376 destroy
NET: 95376 close
NET: 95376 close handle
NET: 95376 has server
NET: 95376 SERVER _emitCloseIfDrained
NET: 95376 SERVER handle? true connections? 0
NET: 95376 destroy undefined
NET: 95376 destroy
NET: 95376 already destroyed, fire error callbacks
NET: 95376 emit close
NET: 95376 SERVER _emitCloseIfDrained
NET: 95376 SERVER _emitCloseIfDrained
NET: 95376 SERVER: emit close
NET: 95376 SERVER: emit close
NET: 95375 listen2 127.0.0.1 12346 4 false
NET: 95375 _listen2: have a handle already { fd: 12, writeQueueSize: 0 }
NET: 95375 listen2 127.0.0.1 12347 4 false
NET: 95375 _listen2: have a handle already { fd: 13, writeQueueSize: 0 }
NET: 95375 SERVER _emitCloseIfDrained
NET: 95375 SERVER _emitCloseIfDrained
cluster.js:566
port: tcpSelf.address().port || port,
^
TypeError: Cannot read property 'port' of null
at Server.<anonymous> (cluster.js:566:30)
at Server.g (events.js:192:14)
at Server.EventEmitter.emit (events.js:91:17)
at net.js:1004:10
at process._tickCallback (node.js:407:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.