Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2071

nimbus-test test-leadership failing with Exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.0.1
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.3
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      Mac os X

      Description

      When running unit tests on my Mac, I get repeated failures in test-leadership.

      ~~~~
      73752 [main] INFO o.a.s.l.ThriftAccessLogger - Request ID: 1 access from: null principal: null operation: deactivate
      ]]> </system-out>
      <error message="Uncaught exception, not in assertion.">Uncaught exception, not in assertion.
      expected: nil
      actual: java.lang.RuntimeException: No transition for event: :inactivate, status: {:type :rebalancing} storm-id: t1-1-1472598899
      at org.apache.storm.daemon.nimbus$transition_BANG_$get_event__4879.invoke (nimbus.clj:365)
      org.apache.storm.daemon.nimbus$transition_BANG_.invoke (nimbus.clj:373)
      clojure.lang.AFn.applyToHelper (AFn.java:165)
      clojure.lang.AFn.applyTo (AFn.java:144)
      clojure.core$apply.invoke (core.clj:636)
      org.apache.storm.daemon.nimbus$transition_name_BANG_.doInvoke (nimbus.clj:391)
      clojure.lang.RestFn.invoke (RestFn.java:467)
      org.apache.storm.daemon.nimbus$mk_reified_nimbus$reify__5850.deactivate (nimbus.clj:1773)
      sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
      sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke (Method.java:497)
      clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)
      clojure.lang.Reflector.invokeInstanceMethod (Reflector.java:28)
      org.apache.storm.nimbus_test$fn_1203$fn_1209.invoke (nimbus_test.clj:1222)
      org.apache.storm.nimbus_test/fn (nimbus_test.clj:1210)
      clojure.test$test_var$fn__7670.invoke (test.clj:704)
      clojure.test$test_var.invoke (test.clj:704)
      clojure.test$test_vars$fn_7692$fn_7697.invoke (test.clj:722)
      clojure.test$default_fixture.invoke (test.clj:674)
      clojure.test$test_vars$fn__7692.invoke (test.clj:722)
      clojure.test$default_fixture.invoke (test.clj:674)
      clojure.test$test_vars.invoke (test.clj:718)
      clojure.test$test_all_vars.invoke (test.clj:728)
      (test.clj:747)
      clojure.core$map$fn__4553.invoke (core.clj:2624)
      clojure.lang.LazySeq.sval (LazySeq.java:40)
      clojure.lang.LazySeq.seq (LazySeq.java:49)
      clojure.lang.Cons.next (Cons.java:39)
      clojure.lang.RT.boundedLength (RT.java:1735)
      clojure.lang.RestFn.applyTo (RestFn.java:130)
      clojure.core$apply.invoke (core.clj:632)
      clojure.test$run_tests.doInvoke (test.clj:762)
      clojure.lang.RestFn.invoke (RestFn.java:408)
      org.apache.storm.testrunner$eval8358$iter_83598363$fn8364$fn8365$fn_8366.invoke (test_runner.clj:107)
      org.apache.storm.testrunner$eval8358$iter_83598363$fn8364$fn_8365.invoke (test_runner.clj:53)
      org.apache.storm.testrunner$eval8358$iter_83598363$fn_8364.invoke (test_runner.clj:52)
      clojure.lang.LazySeq.sval (LazySeq.java:40)
      clojure.lang.LazySeq.seq (LazySeq.java:49)
      clojure.lang.RT.seq (RT.java:507)
      clojure.core/seq (core.clj:137)
      clojure.core$dorun.invoke (core.clj:3009)
      org.apache.storm.testrunner$eval8358.invoke (test_runner.clj:52)
      clojure.lang.Compiler.eval (Compiler.java:6782)
      clojure.lang.Compiler.load (Compiler.java:7227)
      clojure.lang.Compiler.loadFile (Compiler.java:7165)
      clojure.main$load_script.invoke (main.clj:275)
      clojure.main$script_opt.invoke (main.clj:337)
      clojure.main$main.doInvoke (main.clj:421)
      clojure.lang.RestFn.invoke (RestFn.java:421)
      clojure.lang.Var.invoke (Var.java:383)
      clojure.lang.AFn.applyToHelper (AFn.java:156)
      clojure.lang.Var.applyTo (Var.java:700)
      clojure.main.main (main.java:37)
      ~~~~

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                revans2 Robert Joseph Evans
                Reporter:
                ppoulosk Paul Poulosky
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m