joyent/node — Issue #2716: [0.6.10] Tests fail
Author: jcayzac
Created: 2012-02-08 12:03:49+00:00
State: open

I just built node on a fresh 64-bit Amazon Linux AMI, and several tests fail.

```
$ sudo yum update
...
$ sudo yum install openssl-devel gcc-c++ make
...
$ wget https://github.com/joyent/node/zipball/v0.6.10
...
$ unzip v0.6.10
...
$ cd joyent-node-7319d04
...
$ ./configure && make && make test
...
Waf: Entering directory `/home/ec2-user/joyent-node-7319d04/out'
DEST_OS: linux
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
Waf: Leaving directory `/home/ec2-user/joyent-node-7319d04/out'
'build' finished successfully (0.111s)
-rwxrwxr-x 1 ec2-user ec2-user 11M Feb 8 11:50 out/Release/node
python tools/test.py --mode=release simple message
=== release test-cluster-kill-workers ===
Path: simple/test-cluster-kill-workers
starting master...
master pid = 20922
got message from master: { workerPID: 20924 }
worker pid = 20924
Exception in cluster master process: kill master
Error: kill master
at Object. (/home/ec2-user/joyent-node-7319d04/test/simple/test-cluster-kill-workers.js:77:11)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)

assert.js:104
throw new assert.AssertionError({
^
AssertionError: false == true
at EventEmitter. (/home/ec2-user/joyent-node-7319d04/test/simple/test-cluster-kill-workers.js:69:5)
at EventEmitter.emit (events.js:88:20)
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-cluster-kill-workers.js
=== release test-regress-GH-1697 ===
Path: simple/test-regress-GH-1697
Server running.

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: listen EADDRINUSE
at errnoException (net.js:642:11)
at Array.0 (net.js:743:26)
at EventEmitter._tickCallback (node.js:192:40)
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: write EPIPE
at errnoException (net.js:642:11)
at Object.afterWrite [as oncomplete] (net.js:480:18)
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-regress-GH-1697.js
=== release test-debugger-repl ===
Path: simple/test-debugger-repl
Error: Timeout. Expected: /break in .*:1/
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-debugger-repl.js
=== release test-child-process-fork2 ===
Path: simple/test-child-process-fork2
PARENT send child server handle
CHILD got message: { hello: 'world' }
PARENT got message: { gotHandle: true }
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
CLIENT connected
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
PARENT got connection
CLIENT closed 1
CLIENT closed 2
CLIENT closed 3
CLIENT closed 4
CLIENT closed 5
CLIENT closed 6
CLIENT closed 7
CLIENT closed 8
CLIENT closed 9
CLIENT closed 10
assert.js:104
throw new assert.AssertionError({
^
AssertionError: false == true
at EventEmitter. (/home/ec2-user/joyent-node-7319d04/test/simple/test-child-process-fork2.js:74:10)
at EventEmitter.emit (events.js:88:20)
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-child-process-fork2.js
=== release test-debugger-repl-utf8 ===
Path: simple/test-debugger-repl-utf8
Error: Timeout. Expected: /connecting... ok/
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-debugger-repl-utf8.js
=== release test-next-tick-starvation ===
Path: simple/test-next-tick-starvation
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: The timer is starving
at Array.spin [as 0] (/home/ec2-user/joyent-node-7319d04/test/simple/test-next-tick-starvation.js:33:11)
at EventEmitter._tickCallback (node.js:192:40)
Command: out/Release/node /home/ec2-user/joyent-node-7319d04/test/simple/test-next-tick-starvation.js
[04:46|% 100|+ 323|- 6]: Done
make: *** [test] Error 1
```