New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] rabbitmq test fails with "rabbitmq-server: unrecognized service" #160

Open
mbsimonovic opened this Issue Dec 23, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@mbsimonovic

mbsimonovic commented Dec 23, 2016

from jepsen-control docker container:

$ cd rabbitmq && lein test :only jepsen.rabbitmq-test


lein test jepsen.rabbitmq-test
INFO  jepsen.os.debian - :n5 setting up debian
INFO  jepsen.os.debian - :n2 setting up debian
INFO  jepsen.os.debian - :n1 setting up debian
INFO  jepsen.os.debian - :n4 setting up debian
INFO  jepsen.os.debian - :n3 setting up debian
INFO  jepsen.os.debian - Installing #{man}
INFO  jepsen.os.debian - Installing #{man}
INFO  jepsen.os.debian - Installing #{man}
INFO  jepsen.os.debian - Installing #{man}
INFO  jepsen.os.debian - Installing #{man}
INFO  jepsen.rabbitmq - :n2 Nuking rabbit
INFO  jepsen.rabbitmq - :n4 Nuking rabbit
INFO  jepsen.rabbitmq - :n5 Nuking rabbit
INFO  jepsen.rabbitmq - :n3 Nuking rabbit
INFO  jepsen.rabbitmq - :n1 Nuking rabbit
INFO  jepsen.rabbitmq - Fetching deb package
INFO  jepsen.rabbitmq - Fetching deb package
INFO  jepsen.rabbitmq - Fetching deb package
INFO  jepsen.rabbitmq - Installing rabbitmq
INFO  jepsen.rabbitmq - Installing rabbitmq
INFO  jepsen.rabbitmq - Installing rabbitmq
INFO  jepsen.rabbitmq - :n2 Nuking rabbit
INFO  jepsen.rabbitmq - :n1 Nuking rabbit
INFO  jepsen.rabbitmq - :n3 Nuking rabbit
INFO  jepsen.rabbitmq - :n4 Nuking rabbit
INFO  jepsen.rabbitmq - :n5 Nuking rabbit
INFO  jepsen.rabbitmq - :n3 Rabbit dead
INFO  jepsen.rabbitmq - :n1 Rabbit dead

lein test :only jepsen.rabbitmq-test/rabbit-test

ERROR in (rabbit-test) (FutureTask.java:122)
Uncaught exception, not in assertion.
expected: nil
  actual: java.util.concurrent.ExecutionException: java.lang.RuntimeException: rabbitmq-server: unrecognized service


...

Caused by: java.lang.RuntimeException: rabbitmq-server: unrecognized service
 at jepsen.control$throw_on_nonzero_exit.invoke (control.clj:105)
    jepsen.control$exec_STAR_.doInvoke (control.clj:121)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invoke (core.clj:624)
    jepsen.control$exec.doInvoke (control.clj:135)
    clojure.lang.RestFn.invoke (RestFn.java:436)
    jepsen.rabbitmq$reify__8631.teardown_BANG_ (rabbitmq.clj:97)
    jepsen.db$eval5744$fn__5745$G__5734__5749.invoke (db.clj:4)
    jepsen.db$eval5744$fn__5745$G__5733__5754.invoke (db.clj:4)
    clojure.lang.AFn.applyToHelper (AFn.java:160)
    clojure.lang.AFn.applyTo (AFn.java:144)
    clojure.core$apply.invoke (core.clj:626)
    clojure.core$partial$fn__4228.doInvoke (core.clj:2468)
    clojure.lang.RestFn.invoke (RestFn.java:421)
    jepsen.core$on_nodes$fn__7547.invoke (core.clj:85)
    clojure.core$pmap$fn__6328$fn__6329.invoke (core.clj:6466)
    clojure.core$binding_conveyor_fn$fn__4145.invoke (core.clj:1910)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:266)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
    java.lang.Thread.run (Thread.java:745)

hm, rabbitmq is installed only on n1,n2 and n3, but isn't it supposed to be install on all 5 nodes?

@mbsimonovic

This comment has been minimized.

Show comment
Hide comment
@mbsimonovic

mbsimonovic Dec 24, 2016

adding :nodes [:n1 :n2 :n3 :n4 :n5] to rabbitmq-test makes it try to start rabbitmq on 4 nodes?! btw how can I enable DEBUG logging level?

mbsimonovic commented Dec 24, 2016

adding :nodes [:n1 :n2 :n3 :n4 :n5] to rabbitmq-test makes it try to start rabbitmq on 4 nodes?! btw how can I enable DEBUG logging level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment