[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977567: jruby-utils-clojure blocked by jruby bugs



block 977567 by 895837
block 977567 by 977979
thanks

My work on this package can be found at:

https://salsa.debian.org/clojure-team/jruby-utils-clojure

Sadly, the testsuite currently fails pretty badly. I believe it's in
part because of the jruby version in Debian being too old, but I could
be wrong.

#977979 is certainly making things complex to debug too :(

FWIW, the testsuite failure starts with:

------------------------------------------------------------------------------
lein test puppetlabs.services.jruby-pool-manager.jruby-agents-test
LoadError: no such file to load -- jar-dependencies
  require at org/jruby/RubyKernel.java:956
   <main> at <script>:1

lein test :only
puppetlabs.services.jruby-pool-manager.jruby-agents-test/collect-all-jrubies-test

ERROR in (collect-all-jrubies-test) (JRubyPool.java:368)
Uncaught exception, not in assertion.
expected: nil
LoadError: no such file to load -- jar-dependencies
  require at org/jruby/RubyKernel.java:956
   <main> at <script>:1
  actual: java.lang.InterruptedException: Lock can't be granted because
a pill has been inserted
 at com.puppetlabs.jruby_utils.pool.JRubyPool.lockWithTimeout
(JRubyPool.java:368)
    jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
(NativeMethodAccessorImpl.java:-2)
    jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke (Method.java:566)
    clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:167)
    clojure.lang.Reflector.invokeInstanceMethod (Reflector.java:102)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7648$borrow_all_jrubies__7653$fn__7654$fn__7655.invoke
(jruby_agents.clj:128)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7648$borrow_all_jrubies__7653$fn__7654.invoke
(jruby_agents.clj:127)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7648$borrow_all_jrubies__7653.invoke
(jruby_agents.clj:119)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7728$drain_and_refill_pool_BANG___7737$fn__7740.invoke
(jruby_agents.clj:190)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7728$drain_and_refill_pool_BANG___7737.invoke
(jruby_agents.clj:172)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7769$flush_pool_for_shutdown_BANG___7774$fn__7775.invoke
(jruby_agents.clj:211)

puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval7769$flush_pool_for_shutdown_BANG___7774.invoke
(jruby_agents.clj:199)

puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval23122$fn__23147.invoke
(instance_pool.clj:20)

puppetlabs.services.protocols.jruby_pool$eval8230$fn__8264$G__8219__8269.invoke
(jruby_pool.clj:3)

puppetlabs.services.jruby_pool_manager.jruby_core$eval8855$flush_pool_for_shutdown_BANG___8860$fn__8861.invoke
(jruby_core.clj:250)

puppetlabs.services.jruby_pool_manager.jruby_core$eval8855$flush_pool_for_shutdown_BANG___8860.invoke
(jruby_core.clj:245)

puppetlabs.services.jruby_pool_manager.jruby_agents_test$fn__24737$fn__24740.invoke
(jruby_agents_test.clj:39)
    clojure.core$with_redefs_fn.invokeStatic (core.clj:7514)
    clojure.core$with_redefs_fn.invoke (core.clj:7498)

puppetlabs.services.jruby_pool_manager.jruby_agents_test$fn__24737.invokeStatic
(jruby_agents_test.clj:39)
    puppetlabs.services.jruby_pool_manager.jruby_agents_test/fn
(jruby_agents_test.clj:37)
    clojure.test$test_var$fn__9737.invoke (test.clj:717)
    clojure.test$test_var.invokeStatic (test.clj:717)
    clojure.test$test_var.invoke (test.clj:708)
    clojure.test$test_vars$fn__9763$fn__9768.invoke (test.clj:735)
    clojure.test$default_fixture.invokeStatic (test.clj:687)
    clojure.test$default_fixture.invoke (test.clj:683)
    clojure.test$test_vars$fn__9763.invoke (test.clj:735)
    schema.test$validate_schemas$fn24673__24682$fn__24683.invoke
(test.clj:11)
    schema.test$validate_schemas$fn24673__24682.invoke (test.clj:11)
    clojure.lang.AFn.applyToHelper (AFn.java:152)
    clojure.lang.AFn.applyTo (AFn.java:144)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
------------------------------------------------------------------------------

It might also be related to the GEM_PATH and GEM_HOME variables used by
upstream not matching the right thing.

Anyway, no point in going further with this until jruby's back in shape.

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: