Skip to content

Testcases related to stomp is failing #24

Description

@salamani

Hi,
I have installed stong-mq on ppc64le machine, I have rabbitmq running enabled stomp plugin.
The plugin list on rabbitmq is as follow :
$ rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@pts00449-vm19
|/
[E ] amqp_client 0.0.0
[E ] cowboy 1.0.3-rmq0.0.0-gitb8e4115
[E ] cowlib 1.0.1-rmq0.0.0-git7d8a571
[e ] mochiweb 2.7.0-rmq0.0.0-git680dba8
[E ] rabbit_common 0.0.0
[E ] rabbitmq_management 0.0.0
[e ] rabbitmq_management_agent 0.0.0
[E ] rabbitmq_stomp 0.0.0
[E ] rabbitmq_test 0.0.0
[e ] rabbitmq_web_dispatch 0.0.0
[E ] rabbitmq_web_stomp 0.0.0
[E ] ranch 1.1.0-rmq0.0.0-git741bfb7
[E ] sockjs 0.3.4-rmq0.0.0-git99fd953
[e ] webmachine 1.10.3-rmq0.0.0-gite9359c7

Testing is failing as follow :
$npm test

strong-mq@1.0.0 test /root/strongloop/strong-mq
mocha --reporter spec

(node) child_process: options.customFds option is deprecated. Use options.stdio instead.

open with amqp
- should error on a connect failure

clusters
with native
â should send all messages
â should send messages to all processes
â should filter work queues by name
â should support PushQueue first or PullQueue first
â should filter topic queues by name
â should filter subscriptions by topic
with amqp
events.js:141
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at exports._errnoException (util.js:837:11)
at TCP.onread (net.js:544:26)
â should send all messages
â should send messages to all processes
â should filter work queues by name
â should support PushQueue first or PullQueue first
â should filter topic queues by name
â should filter subscriptions by topic

regardless of provider
create
â should create native with no options
â should throw if options has no provider
â shold throw if options has unknown provider
â shold throw if url has unknown provider

stomp provider
with options object
â should have a provider property
1) should open and close
2) should open and close a push queue
3) should open and close a pull queue
4) should open and double close a push queue
5) should open and double close a pull queue
6) should open and double close a pub queue
7) should open and double close a sub queue
8) should allow subscribe before publish
when open and close are misused
- should throw or ignore multiple open
- should throw or ignore close when never opened
- should throw on close after closed
on work queue push then pull
9) should deliver strings
10) "after each" hook

â 10 of 163 tests failed:

  1. stomp provider with options object should open and close:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  2. stomp provider with options object should open and close a push queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  3. stomp provider with options object should open and close a pull queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  4. stomp provider with options object should open and double close a push queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  5. stomp provider with options object should open and double close a pull queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  6. stomp provider with options object should open and double close a pub queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  7. stomp provider with options object should open and double close a sub queue:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  8. stomp provider with options object should allow subscribe before publish:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  9. stomp provider with options object on work queue push then pull should deliver strings:
    Error: connect ECONNREFUSED 127.0.0.1:61613
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at TCPConnectWrap.afterConnect as oncomplete

  10. stomp provider with options object on work queue push then pull "after each" hook:
    Error: timeout of 2000ms exceeded
    at null. (/root/strongloop/strong-mq/node_modules/mocha/lib/runnable.js:167:14)
    at Timer.listOnTimeout (timers.js:89:15)

npm ERR! Test failed. See above for more details.
I have run all testcases in rabbitmq and related to plugins which are all passing.
Can you please let me know how can I contribute to this issue.

Regards,
Salamani

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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