Skip to content

Random end-to-end test failures #9

@ericallam

Description

@ericallam

On multiple runs of the end-to-end tests, I am getting random errors. Here is a sample of some of the test runs:

$ make end-to-end-test
`npm bin`/jasmine-node spec/end-to-end/
......
timers.js:96
            if (!process.listeners('uncaughtException').length) throw e;
                                                                      ^
TypeError: Socket is closed
    at Socket._ioevents (/Users/eric/CodePath/engine.js/node_modules/zmq/lib/index.js:146:22)
    at Socket._flush (/Users/eric/CodePath/engine.js/node_modules/zmq/lib/index.js:277:23)
    at Socket.send (/Users/eric/CodePath/engine.js/node_modules/zmq/lib/index.js:255:42)
    at [object Object].<anonymous> (/Users/eric/CodePath/engine.js/lib/engine/cylinder.js:75:37)
    at [object Object].emit (events.js:64:17)
    at Object._onTimeout (/Users/eric/CodePath/engine.js/lib/engine/cylinder/execution_watcher.js:19:18)
    at Timer.ontimeout (timers.js:94:19)
make: *** [end-to-end-test] Error 1
$ make end-to-end-test
`npm bin`/jasmine-node spec/end-to-end/
.........................

Finished in 6.452 seconds
25 tests, 33 assertions, 0 failures

$ make end-to-end-test
`npm bin`/jasmine-node spec/end-to-end/
.........
/Users/eric/CodePath/engine.js/lib/engine/intake.js:27
        if (err) throw err;
                       ^
Error: Address already in use
make: *** [end-to-end-test] Error 1
$ make end-to-end-test
`npm bin`/jasmine-node spec/end-to-end/
.........F...............

Failures:

  1) outputs console messages
   Message:
     timeout: timed out after 5000 msec waiting for something to happen
   Stacktrace:
     undefined

Finished in 11.866 seconds
25 tests, 33 assertions, 1 failure

^Cmake: *** [end-to-end-test] Error 1

Have you seen any of these during test runs? Should I isolate each one and create an issue for each?

Here is my system details:

  • Mac OS X 10.7.3
  • node 0.6.14
  • zeromq 2.1.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions