[Pkg-puppet-devel] Bug#1042314: puppetserver: FTBFS: actual: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
Lucas Nussbaum
lucas at debian.org
Wed Jul 26 21:26:06 BST 2023
Source: puppetserver
Version: 7.9.5-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # make hiera, facter and puppet gems available to the testsuite
> # upstream uses git submodules here, but we can use Debian sources instead
> for component in hiera facter puppet resource_api; do \
> mkdir -p ruby/${component}/lib; \
> if [ "$component" = "puppet" ]; then package=puppet-agent ; \
> elif [ "$component" = "resource_api" ]; then package=ruby-puppet-resource-api ; \
> else package=$component; fi; \
> dpkg -L $package | grep -Po "^/usr/lib/ruby/vendor_ruby/\K.*" | \
> while read file; do \
> if [ -d /usr/lib/ruby/vendor_ruby/$file ]; then \
> mkdir -p ruby/${component}/lib/$file; \
> else \
> ln -sf /usr/lib/ruby/vendor_ruby/$file ruby/${component}/lib/$file; \
> fi; \
> done; \
> done
> # testsuite looks for gems in this directory
> cd target && ln -sf vendored-jruby-gems jruby-gem-home
> # run unit and integration tests
> PUPPETSERVER_HEAP_SIZE=6G lein test
> 19:19:17,448 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/<<PKGBUILDDIR>>/dev-resources/logback-test.xml]
> 19:19:17,449 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs multiple times on the classpath.
> 19:19:17,450 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [jar:file:/usr/share/java/trapperkeeper-metrics-1.5.0.jar!/logback-test.xml]
> 19:19:17,450 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [jar:file:/usr/share/java/trapperkeeper-metrics-test-1.5.0.jar!/logback-test.xml]
> 19:19:17,450 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback-test.xml] occurs at [file:/<<PKGBUILDDIR>>/dev-resources/logback-test.xml]
> 19:19:17,563 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
> 19:19:17,569 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
> 19:19:17,572 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
> 19:19:17,577 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
> 19:19:17,625 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty] to WARN
> 19:19:17,625 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.http] to WARN
> 19:19:17,625 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
> 19:19:17,625 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
> 19:19:17,626 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
> 19:19:17,627 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator at 4dc52559 - Registering current configuration as safe fallback point
>
>
> lein test puppetlabs.general-puppet.general-puppet-int-test
> 2023-07-26 19:19:46,028 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:19:46,028 ERROR [async-dispatch-2] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/test-complicated-external-command-execution
>
> ERROR in (test-complicated-external-command-execution) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:19:46,482 ERROR [clojure-agent-send-pool-1] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:19:46,482 ERROR [async-dispatch-4] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/test-config-version-execution
>
> ERROR in (test-config-version-execution) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:19:46,882 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:19:46,882 ERROR [async-dispatch-6] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/test-simple-external-command-execution
>
> ERROR in (test-simple-external-command-execution) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:19:47,202 ERROR [clojure-agent-send-pool-3] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:19:47,203 ERROR [async-dispatch-8] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/test-external-command-execution
>
> ERROR in (test-external-command-execution) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:19:52,014 ERROR [clojure-agent-send-pool-6] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:19:52,014 ERROR [async-dispatch-18] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/code-id-request-test-post-catalog
>
> ERROR in (code-id-request-test-post-catalog) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:20:01,969 ERROR [clojure-agent-send-pool-9] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:01,969 ERROR [async-dispatch-28] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/code-id-request-test-get-catalog
>
> ERROR in (code-id-request-test-get-catalog) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:20:02,453 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:02,454 ERROR [async-dispatch-30] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.general-puppet.general-puppet-int-test/custom-trusted-oid-mapping-test
>
> ERROR in (custom-trusted-oid-mapping-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.puppetserver.auth-conf-test
>
> lein test :only puppetlabs.puppetserver.auth-conf-test/request-with-x-client-headers-handled-via-tk-auth
>
> ERROR in (request-with-x-client-headers-handled-via-tk-auth) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.puppetserver.auth-conf-test/request-with-ssl-cert-handled-via-tk-auth
>
> ERROR in (request-with-ssl-cert-handled-via-tk-auth) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.puppetserver.bootstrap-int-test
>
> lein test puppetlabs.puppetserver.certificate-authority-test
>
> lein test puppetlabs.puppetserver.error-handling-int-test
>
> lein test puppetlabs.puppetserver.ringutils-test
>
> lein test puppetlabs.puppetserver.ruby.http-client-test
>
> lein test :only puppetlabs.puppetserver.ruby.http-client-test/puppetlabs.puppetserver.ruby.http-client-test
>
> ERROR in (puppetlabs.puppetserver.ruby.http-client-test) (jruby_internal.clj:313)
> Uncaught exception in test fixture
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25654$borrow_from_pool__25659$fn__25660.invoke (jruby_internal.clj:334)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25654$borrow_from_pool__25659.invoke (jruby_internal.clj:329)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28298.invoke (instance_pool.clj:43)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26559$G__26528__26564.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27069$borrow_from_pool__27074$fn__27075.invoke (jruby_core.clj:203)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27069$borrow_from_pool__27074.invoke (jruby_core.clj:195)
> puppetlabs.puppetserver.ruby.http_client_test$create_scripting_container.invokeStatic (http_client_test.clj:106)
> puppetlabs.puppetserver.ruby.http_client_test$create_scripting_container.invoke (http_client_test.clj:98)
> puppetlabs.puppetserver.ruby.http_client_test$http_client_scripting_container_fixture.invokeStatic (http_client_test.clj:167)
> puppetlabs.puppetserver.ruby.http_client_test$http_client_scripting_container_fixture.invoke (http_client_test.clj:165)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.analytics.analytics-service-test
>
> lein test puppetlabs.services.ca.certificate-authority-core-test
> 2023-07-26 19:20:23,909 WARN [main] [p.p.certificate-authority] No certificate request for revoked-agent at expected path /tmp/null1690399223710-2348962846/ca/requests/revoked-agent.pem
>
> lein test puppetlabs.services.ca.certificate-authority-disabled-test
>
> lein test puppetlabs.services.certificate-authority.certificate-authority-int-test
> 2023-07-26 19:20:28,738 ERROR [clojure-agent-send-pool-4] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:28,738 ERROR [async-dispatch-26] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.certificate-authority.certificate-authority-int-test/crl-reloaded-without-server-restart
>
> ERROR in (crl-reloaded-without-server-restart) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:20:29,436 WARN [async-dispatch-28] [p.p.certificate-authority] The private CA key at './dev-resources/puppetlabs/services/certificate_authority/certificate_authority_int_test/ca_true_test/master/conf/ca/ca_key.pem' was found to have the wrong permissions set as 'rw-r--r--'. This has been corrected to 'rw-r-----'.
> 2023-07-26 19:20:35,969 ERROR [async-dispatch-6] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.certificate-authority.certificate-authority-int-test/csr-api-test
> 2023-07-26 19:20:35,970 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> ERROR in (csr-api-test) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.config.puppet-server-config-core-test
> 2023-07-26 19:20:38,366 ERROR [clojure-agent-send-pool-6] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:38,371 ERROR [async-dispatch-21] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:38,795 ERROR [main] [p.t.internal] Error during app shutdown!
>
> lein test :only puppetlabs.services.config.puppet-server-config-core-test/test-puppet-config-values
>
> ERROR in (test-puppet-config-values) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.config.puppet_server_config_core_test$fn__52352$fn__52359.invoke (puppet_server_config_core_test.clj:20)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.config.puppet_server_config_core_test$fn__52352.invokeStatic (puppet_server_config_core_test.clj:20)
> puppetlabs.services.config.puppet_server_config_core_test/fn (puppet_server_config_core_test.clj:16)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test puppetlabs.services.config.puppet-server-config-service-test
> 2023-07-26 19:20:40,835 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:40,835 ERROR [async-dispatch-36] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.config.puppet-server-config-service-test/config-service-functions
>
> ERROR in (config-service-functions) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.jruby.class-info-test
> 2023-07-26 19:20:41,041 ERROR [clojure-agent-send-pool-1] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:41,042 ERROR [async-dispatch-39] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:41,403 ERROR [main] [p.t.internal] Error during app shutdown!
>
> lein test :only puppetlabs.services.jruby.class-info-test/class-info-test
>
> ERROR in (class-info-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.class_info_test$fn__52779$fn__52782.invoke (class_info_test.clj:100)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.class_info_test$fn__52779.invokeStatic (class_info_test.clj:100)
> puppetlabs.services.jruby.class_info_test/fn (class_info_test.clj:91)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test puppetlabs.services.jruby.jruby-metrics-service-test
>
> lein test puppetlabs.services.jruby.jruby-puppet-core-test
>
> lein test puppetlabs.services.jruby.jruby-puppet-pool-int-test
> 2023-07-26 19:20:53,312 ERROR [clojure-agent-send-pool-4] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:53,323 ERROR [async-dispatch-49] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:53,632 ERROR [main] [p.t.internal] Error during app shutdown!
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/create-jruby-instance-test
>
> ERROR in (create-jruby-instance-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56764$fn__56765$fn__56768.invoke (jruby_puppet_pool_int_test.clj:521)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56764$fn__56765.invoke (jruby_puppet_pool_int_test.clj:521)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56764.invokeStatic (jruby_puppet_pool_int_test.clj:519)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:518)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:32023-07-26 19:20:53,907 ERROR [clojure-agent-send-pool-5] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:53,911 ERROR [async-dispatch-8] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:58)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:54,287 ERROR [main] [p.t.internal] Error during app shutdown!
> 1)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/http-client-metrics-test
>
> ERROR in (http-client-metrics-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 58]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56697$fn__56702.invoke (jruby_puppet_pool_int_test.clj:454)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56697.invokeStatic (jruby_puppet_pool_int_test.clj:454)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:450)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.s2023-07-26 19:20:54,513 ERROR [clojure-agent-send-pool-6] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:54,515 ERROR [async-dispatch-32] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:54,927 ERROR [main] [p.t.internal] Error during app shutdown!
> val (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/http-client-metrics-enabled-test
>
> ERROR in (http-client-metrics-enabled-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56635$fn__56636$fn__56639.invoke (jruby_puppet_pool_int_test.clj:412)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56635$fn__56636.invoke (jruby_puppet_pool_int_test.clj:412)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56635.invokeStatic (jruby_puppet_pool_int_test.clj:411)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:409)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:32023-07-26 19:20:55,996 ERROR [clojure-agent-send-pool-8] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:55,997 ERROR [async-dispatch-29] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 1)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/admin-api-flush-jruby-pool-test
>
> ERROR in (admin-api-flush-jruby-pool-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/master-termination-test
>
> ERROR in (master-termination-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818$fn__56819$fn__56823$fn__56826$fn__56827$fn__56830$fn__56833.invoke (jruby_puppet_pool_int_test.clj:612)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818$fn__56819$fn__56823$fn__56826$fn__56827$fn__56830.invoke (jruby_puppet_pool_int_test.clj:612)
> puppetlabs.trapperkeeper.testutils.logging$call_with_additional_log_appenders.invokeStatic (logging.clj:120)
> puppetlabs.trapperkeeper.testutils.logging$call_with_additional_log_appenders.invoke (logging.clj:112)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_appenders.invokeStatic (logging.clj:142)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_appenders.invoke (logging.clj:132)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313.invoke (logging.clj:185)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313$fn__44318$fn__44319.invoke (logging.clj:189)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313$fn__44318.invoke (logging.clj:187)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invokeStatic (logging.clj:50)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invoke (logging.clj:48)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invokeStatic (logging.clj:53)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invoke (logging.clj:48)
> clojure.lang.Var.invoke (Var.java:388)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313.invoke (logging.clj:187)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners.invokeStatic (logging.clj:190)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners.invoke (logging.clj:177)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818$fn__56819$fn__56823$fn__56826$fn__56827.invoke (jruby_puppet_pool_int_test.clj:611)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_level.invokeStatic (logging.clj:85)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_level.invoke (logging.clj:74)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818$fn__56819$fn__56823$fn__56826.invoke (jruby_puppet_pool_int_test.clj:611)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818$fn__56819$fn__56823.invoke (jruby_puppet_pool_int_test.clj:611)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$f2023-07-26 19:20:58,040 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:20:58,044 ERROR [async-dispatch-13] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:20:58,480 ERROR [main] [p.t.internal] Error during app shutdown!
> n__56818$fn__56819.invoke (jruby_puppet_pool_int_test.clj:607)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56818.invokeStatic (jruby_puppet_pool_int_test.clj:606)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:605)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/jruby-environment-vars-test
>
> ERROR in (jruby-environment-vars-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56805$fn__56808.invoke (jruby_puppet_pool_int_test.clj:570)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56805.invokeStatic (jruby_puppet_pool_int_test.clj:570)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:568)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test :only puppetlabs.services.jruby.jruby-puppet-pool-int-test/settings-plumbed-into-jruby-container
>
> ERROR in (settings-plumbed-into-jruby-container) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56591$fn__56594$fn__56595$fn__56598$fn__56601.invoke (jruby_puppet_pool_int_test.clj:372)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56591$fn__56594$fn__56595$fn__56598.invoke (jruby_puppet_pool_int_test.clj:372)
> puppetlabs.trapperkeeper.testutils.logging$call_with_additional_log_appenders.invokeStatic (logging.clj:120)
> puppetlabs.trapperkeeper.testutils.logging$call_with_additional_log_appenders.invoke (logging.clj:112)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_appenders.invokeStatic (logging.clj:142)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_appenders.invoke (logging.clj:132)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313.invoke (logging.clj:185)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313$fn__44318$fn__44319.invoke (logging.clj:189)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313$fn__44318.invoke (logging.clj:187)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invokeStatic (logging.clj:50)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invoke (logging.clj:48)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invokeStatic (logging.clj:53)
> puppetlabs.trapperkeeper.testutils.logging$call_with_started.invoke (logging.clj:48)
> clojure.lang.Var.invoke (Var.java:388)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners$set_up__44313.invoke (logging.clj:187)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners.invokeStatic (logging.clj:190)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_event_listeners.invoke (logging.clj:177)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56591$fn__56594$fn__56595.invoke (jruby_puppet_pool_int_test.clj:371)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_level.invokeStatic (logging.clj:85)
> puppetlabs.trapperkeeper.testutils.logging$call_with_log_level.invoke (logging.clj:74)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56591$fn__56594.invoke (jruby_puppet_pool_int_test.clj:371)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test$fn__56591.invokeStatic (jruby_puppet_pool_int_test.clj:371)
> puppetlabs.services.jruby.jruby_puppet_pool_int_test/fn (jruby_puppet_pool_int_test.clj:357)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> puppetlabs.puppetserver.testutils$eval44092$with_puppet_conf_fixture__44101$fn__44104$fn__44105.invoke (testutils.clj:366)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test puppetlabs.services.jruby.jruby-puppet-service-test
>
> lein test puppetlabs.services.jruby.module-info-test
>
> lein test :only puppetlabs.services.jruby.module-info-test/module-info-test
>
> ERROR in (module-info-test) (internal.clj:627)
> Uncaught exception, not in assertion.
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.module_info_test$fn__57035$fn__57038.invoke (module_info_test.clj:47)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.module_info_test$fn__57035.invokeStatic (module_info_test.clj:47)
> puppetlabs.services.jruby.module_info_test/fn (module_info_test.clj:38)
> clojure.test$test_var$fn__9856.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__9882$fn__9887.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__9882.invoke (test.clj:735)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test puppetlabs.services.jruby.puppet-environments-int-test
> 2023-07-26 19:21:01,999 ERROR [clojure-agent-send-pool-8] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:01,999 ERROR [async-dispatch-45] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.jruby.puppet-environments-int-test/single-environment-flush-integration-test
>
> ERROR in (single-environment-flush-integration-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:02,327 ERROR [clojure-agent-send-pool-9] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:02,327 ERROR [async-dispatch-49] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.jruby.puppet-environments-int-test/environment-flush-integration-test
>
> ERROR in (environment-flush-integration-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.jruby.puppet-environments-test
>
> lein test puppetlabs.services.jruby.request-handler-test
> 2023-07-26 19:21:02,591 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:02,591 ERROR [async-dispatch-14] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.jruby.request-handler-test/file-bucket-test
>
> ERROR in (file-bucket-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.jruby.service-macros-test
>
> lein test puppetlabs.services.jruby.tasks-test
> 2023-07-26 19:21:03,401 ERROR [async-dispatch-32] [p.t.internal] Encountered error during shutdown sequence
> 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)
> at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
> at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972.invoke(jruby_agents.clj:128)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971.invoke(jruby_agents.clj:127)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970.invoke(jruby_agents.clj:119)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057.invoke(jruby_agents.clj:190)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054.invoke(jruby_agents.clj:172)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092.invoke(jruby_agents.clj:211)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091.invoke(jruby_agents.clj:199)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306.invoke(instance_pool.clj:20)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178.invoke(jruby_core.clj:250)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177.invoke(jruby_core.clj:245)
> at puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696.stop(jruby_puppet_service.clj:50)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217.invoke(internal.clj:464)
> at clojure.core$keep$fn__8649.invoke(core.clj:7409)
> at clojure.lang.LazySeq.sval(LazySeq.java:42)
> at clojure.lang.LazySeq.seq(LazySeq.java:51)
> at clojure.lang.RT.seq(RT.java:535)
> at clojure.core$seq__5467.invokeStatic(core.clj:139)
> at clojure.core$dorun.invokeStatic(core.clj:3134)
> at clojure.core$doall.invokeStatic(core.clj:3149)
> at clojure.core$doall.invoke(core.clj:3149)
> at puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215.invoke(internal.clj:460)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917.invoke(internal.clj:274)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:258)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7775.invoke(channels.clj:139)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 2023-07-26 19:21:03,404 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:03,788 ERROR [main] [p.t.internal] Error during app shutdown!
>
> lein test :only puppetlabs.services.jruby.tasks-test/puppetlabs.services.jruby.tasks-test
>
> ERROR in (puppetlabs.services.jruby.tasks-test) (internal.clj:627)
> Uncaught exception in test fixture
> expected: nil
> actual: clojure.lang.ExceptionInfo: Error during app shutdown!
> {:errors (#error {
> :cause "Lock can't be granted because a pill has been inserted"
> :via
> [{:type java.lang.InterruptedException
> :message "Lock can't be granted because a pill has been inserted"
> :at [com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]}]
> :trace
> [[com.puppetlabs.jruby_utils.pool.JRubyPool lockWithTimeout "JRubyPool.java" 368]
> [jdk.internal.reflect.GeneratedMethodAccessor102 invoke nil -1]
> [jdk.internal.reflect.DelegatingMethodAccessorImpl invoke "DelegatingMethodAccessorImpl.java" 43]
> [java.lang.reflect.Method invoke "Method.java" 568]
> [clojure.lang.Reflector invokeMatchingMethod "Reflector.java" 167]
> [clojure.lang.Reflector invokeInstanceMethod "Reflector.java" 102]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971$fn__25972 invoke "jruby_agents.clj" 128]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970$fn__25971 invoke "jruby_agents.clj" 127]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25965$borrow_all_jrubies__25970 invoke "jruby_agents.clj" 119]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054$fn__26057 invoke "jruby_agents.clj" 190]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26045$drain_and_refill_pool_BANG___26054 invoke "jruby_agents.clj" 172]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091$fn__26092 invoke "jruby_agents.clj" 211]
> [puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval26086$flush_pool_for_shutdown_BANG___26091 invoke "jruby_agents.clj" 199]
> [puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28306 invoke "instance_pool.clj" 20]
> [puppetlabs.services.protocols.jruby_pool$eval26547$fn__26657$G__26536__26662 invoke "jruby_pool.clj" 3]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177$fn__27178 invoke "jruby_core.clj" 250]
> [puppetlabs.services.jruby_pool_manager.jruby_core$eval27172$flush_pool_for_shutdown_BANG___27177 invoke "jruby_core.clj" 245]
> [puppetlabs.services.jruby.jruby_puppet_service$reify__37682$service_fnk__6298__auto___positional$reify__37696 stop "jruby_puppet_service.clj" 50]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6088__6113 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.services$eval6096$fn__6110$G__6087__6117 invoke "services.clj" 9]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626 invoke "internal.clj" 196]
> [puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625 invoke "internal.clj" 179]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215$fn__17217 invoke "internal.clj" 464]
> [clojure.core$keep$fn__8649 invoke "core.clj" 7409]
> [clojure.lang.LazySeq sval "LazySeq.java" 42]
> [clojure.lang.LazySeq seq "LazySeq.java" 51]
> [clojure.lang.RT seq "RT.java" 535]
> [clojure.core$seq__5467 invokeStatic "core.clj" 139]
> [clojure.core$dorun invokeStatic "core.clj" 3134]
> [clojure.core$doall invokeStatic "core.clj" 3149]
> [clojure.core$doall invoke "core.clj" 3149]
> [puppetlabs.trapperkeeper.internal$eval17207$shutdown_BANG___17212$fn__17213$shutdown_fn__17215 invoke "internal.clj" 460]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895$fn__16917 invoke "internal.clj" 274]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895 invoke "internal.clj" 258]
> [puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892 invoke "internal.clj" 249]
> [clojure.core.async.impl.ioc_macros$run_state_machine invokeStatic "ioc_macros.clj" 978]
> [clojure.core.async.impl.ioc_macros$run_state_machine invoke "ioc_macros.clj" 977]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invokeStatic "ioc_macros.clj" 982]
> [clojure.core.async.impl.ioc_macros$run_state_machine_wrapped invoke "ioc_macros.clj" 980]
> [clojure.core.async$ioc_alts_BANG_$fn__14101 invoke "async.clj" 421]
> [clojure.core.async$do_alts$fn__14032$fn__14035 invoke "async.clj" 288]
> [clojure.core.async.impl.channels.ManyToManyChannel$fn__7775 invoke "channels.clj" 139]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.util.concurrent.ThreadPoolExecutor runWorker "ThreadPoolExecutor.java" 1136]
> [java.util.concurrent.ThreadPoolExecutor$Worker run "ThreadPoolExecutor.java" 635]
> [clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629 invoke "concurrent.clj" 29]
> [clojure.lang.AFn run "AFn.java" 22]
> [java.lang.Thread run "Thread.java" 833]]})}
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.stop (internal.clj:627)
> puppetlabs.services.jruby.tasks_test$with_running_server$fn__59255.invoke (tasks_test.clj:39)
> clojure.core$with_redefs_fn.invokeStatic (core.clj:7582)
> clojure.core$with_redefs_fn.invoke (core.clj:7566)
> puppetlabs.services.jruby.tasks_test$with_running_server.invokeStatic (tasks_test.clj:39)
> puppetlabs.services.jruby.tasks_test$with_running_server.invoke (tasks_test.clj:34)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars$fn__9882.invoke (test.clj:735)
> schema.test$validate_schemas$fn44953__44962$fn__44963.invoke (test.cljc:12)
> schema.test$validate_schemas$fn44953__44962.invoke (test.cljc:12)
> clojure.lang.AFn.applyToHelper (AFn.java:152)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:397)
> schema.test$validate_schemas.invokeStatic (test.cljc:12)
> schema.test$validate_schemas.invoke (test.cljc:7)
> clojure.test$compose_fixtures$fn__9850$fn__9851.invoke (test.clj:694)
> clojure.test$default_fixture.invokeStatic (test.clj:687)
> clojure.test$default_fixture.invoke (test.clj:683)
> clojure.test$compose_fixtures$fn__9850.invoke (test.clj:694)
> clojure.test$test_vars.invokeStatic (test.clj:731)
> clojure.test$test_all_vars.invokeStatic (test.clj:737)
> clojure.test$test_ns.invokeStatic (test.clj:758)
> clojure.test$test_ns.invoke (test.clj:743)
> user$eval227$fn__290.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.AFn.applyToHelper (AFn.java:156)
> clojure.lang.AFn.applyTo (AFn.java:144)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$compose_hooks$fn__154.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> leiningen.core.injected$run_hooks.invokeStatic (form-init12463276973535833862.clj:1)
> leiningen.core.injected$run_hooks.invoke (form-init12463276973535833862.clj:1)
> leiningen.core.injected$prepare_for_hooks$fn__159$fn__160.doInvoke (form-init12463276973535833862.clj:1)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
> clojure.lang.RestFn.invoke (RestFn.java:408)
> clojure.core$map$fn__5935.invoke (core.clj:2772)
> clojure.lang.LazySeq.sval (LazySeq.java:42)
> clojure.lang.LazySeq.seq (LazySeq.java:51)
> clojure.lang.Cons.next (Cons.java:39)
> clojure.lang.RT.next (RT.java:713)
> clojure.core$next__5451.invokeStatic (core.clj:64)
> clojure.core$reduce1.invokeStatic (core.clj:946)
> clojure.core$reduce1.invokeStatic (core.clj:936)
> clojure.core$merge_with.invokeStatic (core.clj:3076)
> clojure.core$merge_with.doInvoke (core.clj:3068)
> clojure.lang.RestFn.applyTo (RestFn.java:139)
> clojure.core$apply.invokeStatic (core.clj:669)
> clojure.test$run_tests.invokeStatic (test.clj:768)
> clojure.test$run_tests.doInvoke (test.clj:768)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.core$apply.invokeStatic (core.clj:667)
> clojure.core$apply.invoke (core.clj:662)
> user$eval227$fn__300$fn__333.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300$fn__301.invoke (form-init12463276973535833862.clj:1)
> user$eval227$fn__300.invoke (form-init12463276973535833862.clj:1)
> user$eval227.invokeStatic (form-init12463276973535833862.clj:1)
> user$eval227.invoke (form-init12463276973535833862.clj:1)
> clojure.lang.Compiler.eval (Compiler.java:7194)
> clojure.lang.Compiler.eval (Compiler.java:7184)
> clojure.lang.Compiler.load (Compiler.java:7653)
> clojure.lang.Compiler.loadFile (Compiler.java:7591)
> clojure.main$load_script.invokeStatic (main.clj:475)
> clojure.main$init_opt.invokeStatic (main.clj:477)
> clojure.main$init_opt.invoke (main.clj:477)
> clojure.main$initialize.invokeStatic (main.clj:508)
> clojure.main$null_opt.invokeStatic (main.clj:542)
> clojure.main$null_opt.invoke (main.clj:539)
> clojure.main$main.invokeStatic (main.clj:664)
> clojure.main$main.doInvoke (main.clj:616)
> clojure.lang.RestFn.applyTo (RestFn.java:137)
> clojure.lang.Var.applyTo (Var.java:705)
> clojure.main.main (main.java:40)
>
> lein test puppetlabs.services.master.environment-classes-int-test
> 2023-07-26 19:21:04,005 ERROR [clojure-agent-send-pool-3] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:04,005 ERROR [async-dispatch-18] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-classes-int-test/environment-classes-integration-cache-disabled-test
>
> ERROR in (environment-classes-integration-cache-disabled-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-classes-int-test/environment-classes-are-cached-after-eviction
>
> ERROR in (environment-classes-are-cached-after-eviction) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-classes-int-test/environment-classes-integration-cache-enabled-test
>
> ERROR in (environment-classes-integration-cache-enabled-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.master.environment-modules-int-test
> 2023-07-26 19:21:05,732 ERROR [clojure-agent-send-pool-7] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:05,732 ERROR [async-dispatch-40] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-modules-int-test/environment-modules-integration-cache-disabled-test
>
> ERROR in (environment-modules-integration-cache-disabled-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.master.environment-transports-int-test
> 2023-07-26 19:21:06,047 ERROR [clojure-agent-send-pool-8] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:06,047 ERROR [async-dispatch-37] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-transports-int-test/environment-transports-integration-cache-enabled-test2
>
> ERROR in (environment-transports-integration-cache-enabled-test2) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:06,278 ERROR [clojure-agent-send-pool-9] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:06,278 ERROR [async-dispatch-10] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-transports-int-test/environment-transports-integration-cache-enabled-test1
>
> ERROR in (environment-transports-integration-cache-enabled-test1) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:06,436 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:06,436 ERROR [async-dispatch-43] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-transports-int-test/environment-transports-integration-cache-disabled-test
>
> ERROR in (environment-transports-integration-cache-disabled-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:07,332 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:07,333 ERROR [async-dispatch-20] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.environment-transports-int-test/environment-transports-integration-cache-enabled-test3
>
> ERROR in (environment-transports-integration-cache-enabled-test3) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.master.file-serving-test
>
> lein test puppetlabs.services.master.master-core-test
> 2023-07-26 19:21:07,545 ERROR [main] [p.p.jruby-request] Error 400 on SERVER at /v4/catalog: Invalid input: {"environment" (not (puppetlabs.services.master.master-core/valid-env-name? ""))}
>
> lein test puppetlabs.services.master.master-service-test
> 2023-07-26 19:21:07,892 ERROR [clojure-agent-send-pool-3] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:07,893 ERROR [async-dispatch-16] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/http-report-processor-client-metrics-test
>
> ERROR in (http-report-processor-client-metrics-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:08,100 ERROR [clojure-agent-send-pool-4] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:08,101 ERROR [async-dispatch-22] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/master-service-http-metrics
>
> ERROR in (master-service-http-metrics) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:08,268 ERROR [clojure-agent-send-pool-5] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:08,268 ERROR [async-dispatch-36] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/add-metric-ids-to-http-client-metrics-list-test
>
> ERROR in (add-metric-ids-to-http-client-metrics-list-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:08,489 ERROR [clojure-agent-send-pool-6] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:08,489 ERROR [async-dispatch-46] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/v4-queue-limit
>
> ERROR in (v4-queue-limit) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:08,663 ERROR [clojure-agent-send-pool-7] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:08,664 ERROR [async-dispatch-11] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/jvm-metrics-sent-to-graphite-test
>
> ERROR in (jvm-metrics-sent-to-graphite-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:08,851 ERROR [clojure-agent-send-pool-8] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:08,851 ERROR [async-dispatch-15] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/master-service-http-client-metrics
>
> ERROR in (master-service-http-client-metrics) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/ca-files-test
>
> ERROR in (ca-files-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:09,263 ERROR [async-dispatch-49] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:09,263 ERROR [clojure-agent-send-pool-0] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/project-file-content
>
> ERROR in (project-file-content) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:09,498 ERROR [clojure-agent-send-pool-1] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:09,498 ERROR [async-dispatch-14] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/facts-upload-api
>
> ERROR in (facts-upload-api) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:09,756 ERROR [clojure-agent-send-pool-2] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:09,756 ERROR [async-dispatch-48] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/master-service-jruby-metrics
>
> ERROR in (master-service-jruby-metrics) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/graphite-filtering-works
>
> ERROR in (graphite-filtering-works) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:10,310 ERROR [async-dispatch-24] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:10,311 ERROR [clojure-agent-send-pool-4] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.master-service-test/encoded-spaces-test
>
> ERROR in (encoded-spaces-test) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.master.plans-int-test
> 2023-07-26 19:21:10,514 ERROR [clojure-agent-send-pool-5] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:10,514 ERROR [async-dispatch-9] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.plans-int-test/plan-details
>
> ERROR in (plan-details) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:10,732 ERROR [clojure-agent-send-pool-6] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:10,732 ERROR [async-dispatch-18] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.plans-int-test/all-plans-with-env
>
> ERROR in (all-plans-with-env) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.master.tasks-int-test
> 2023-07-26 19:21:10,896 ERROR [clojure-agent-send-pool-7] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:10,899 ERROR [async-dispatch-31] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.tasks-int-test/all-tasks-with-env
>
> ERROR in (all-tasks-with-env) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> 2023-07-26 19:21:11,126 ERROR [clojure-agent-send-pool-8] [p.t.internal] shutdown-on-error triggered because of exception!
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke(jruby_agents.clj:58)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke(jruby_agents.clj:47)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke(jruby_agents.clj:76)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke(jruby_agents.clj:61)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke(instance_pool.clj:16)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
> at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
> at puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error(internal.clj:448)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke(internal.clj:411)
> at puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke(internal.clj:411)
> at clojure.core$partial$fn__5908.invoke(core.clj:2642)
> at clojure.core$partial$fn__5908.invoke(core.clj:2641)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke(jruby_agents.clj:41)
> at clojure.core$binding_conveyor_fn$fn__5823.invoke(core.clj:2050)
> at clojure.lang.AFn.applyToHelper(AFn.java:154)
> at clojure.lang.RestFn.applyTo(RestFn.java:132)
> at clojure.lang.Agent$Action.doRun(Agent.java:114)
> at clojure.lang.Agent$Action.run(Agent.java:163)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> 2023-07-26 19:21:11,126 ERROR [async-dispatch-39] [p.t.internal] Error during service init!!!
> java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke(jruby_internal.clj:313)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke(jruby_internal.clj:300)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke(jruby_internal.clj:348)
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke(jruby_internal.clj:337)
> at puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke(instance_pool.clj:48)
> at puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke(jruby_pool.clj:3)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke(jruby_core.clj:222)
> at puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke(jruby_core.clj:209)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke(puppet_server_config_core.clj:107)
> at puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke(puppet_server_config_core.clj:102)
> at puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init(puppet_server_config_service.clj:25)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke(services.clj:9)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke(internal.clj:196)
> at puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke(internal.clj:179)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke(internal.clj:229)
> at puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke(internal.clj:206)
> at puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init(internal.clj:614)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke(internal.clj:648)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke(internal.clj:647)
> at puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke(internal.clj:641)
> at clojure.core$partial$fn__5910.invoke(core.clj:2647)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke(internal.clj:249)
> at puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke(internal.clj:249)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:978)
> at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:977)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:982)
> at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:980)
> at clojure.core.async$ioc_alts_BANG_$fn__14101.invoke(async.clj:421)
> at clojure.core.async$do_alts$fn__14032$fn__14035.invoke(async.clj:288)
> at clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke(channels.clj:99)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke(concurrent.clj:29)
> at clojure.lang.AFn.run(AFn.java:22)
> at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main>(/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
> at RUBY.<main>(uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1052)
> at RUBY.<main>(file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.master.tasks-int-test/task-details
>
> ERROR in (task-details) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.puppet-admin.puppet-admin-int-test
> 2023-07-26 19:21:13,450 DEBUG [34cfae45-82a0-485d-82ae-b322e4ce1193_QuartzSchedulerThread] [o.q.c.QuartzSchedulerThread] batch acquisition of 0 triggers
>
> lein test :only puppetlabs.services.puppet-admin.puppet-admin-int-test/admin-api-pool-timeout-test
>
> ERROR in (admin-api-pool-timeout-test) (jruby_agents.clj:58)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
> at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862$fn__25866.invoke (jruby_agents.clj:58)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25857$add_instance__25862.invoke (jruby_agents.clj:47)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889$fn__25893.invoke (jruby_agents.clj:76)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25884$prime_pool_BANG___25889.invoke (jruby_agents.clj:61)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28290$fn__28291.invoke (instance_pool.clj:16)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:403)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic (internal.clj:388)
> puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke (internal.clj:378)
> puppetlabs.trapperkeeper.internal$eval17150$shutdown_service__17155$fn$reify__17157$service_fnk__6298__auto___positional$reify__17162.shutdown_on_error (internal.clj:448)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17066__17100.invoke (internal.clj:411)
> puppetlabs.trapperkeeper.internal$eval17074$fn__17092$G__17065__17109.invoke (internal.clj:411)
> clojure.core$partial$fn__5908.invoke (core.clj:2642)
> clojure.core$partial$fn__5908.invoke (core.clj:2641)
> puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval25831$send_agent__25836$fn__25837$agent_fn__25838.invoke (jruby_agents.clj:41)
> clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2050)
> clojure.lang.AFn.applyToHelper (AFn.java:154)
> clojure.lang.RestFn.applyTo (RestFn.java:132)
> clojure.lang.Agent$Action.doRun (Agent.java:114)
> clojure.lang.Agent$Action.run (Agent.java:163)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test :only puppetlabs.services.puppet-admin.puppet-admin-int-test/admin-api-jruby-thread-dump-test
>
> ERROR in (admin-api-jruby-thread-dump-test) (jruby_internal.clj:313)
> Uncaught exception, not in assertion.
> expected: nil
> actual: java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
> at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636$fn__25637.invoke (jruby_internal.clj:313)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25631$borrow_from_pool_BANG__STAR___25636.invoke (jruby_internal.clj:300)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683$fn__25684.invoke (jruby_internal.clj:348)
> puppetlabs.services.jruby_pool_manager.impl.jruby_internal$eval25678$borrow_from_pool_with_timeout__25683.invoke (jruby_internal.clj:337)
> puppetlabs.services.jruby_pool_manager.impl.instance_pool$eval28281$fn__28294.invoke (instance_pool.clj:48)
> puppetlabs.services.protocols.jruby_pool$eval26547$fn__26581$G__26524__26588.invoke (jruby_pool.clj:3)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102$fn__27103.invoke (jruby_core.clj:222)
> puppetlabs.services.jruby_pool_manager.jruby_core$eval27097$borrow_from_pool_with_timeout__27102.invoke (jruby_core.clj:209)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319$fn__52320.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318$fn__52319.invoke (puppet_server_config_core.clj:107)
> puppetlabs.services.config.puppet_server_config_core$eval52313$get_puppet_config__52318.invoke (puppet_server_config_core.clj:102)
> puppetlabs.services.config.puppet_server_config_service$reify__52540$service_fnk__6298__auto___positional$reify__52551.init (puppet_server_config_service.clj:25)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6084__6100.invoke (services.clj:9)
> puppetlabs.trapperkeeper.services$eval6096$fn__6097$G__6083__6104.invoke (services.clj:9)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625$fn__16626.invoke (internal.clj:196)
> puppetlabs.trapperkeeper.internal$eval16618$run_lifecycle_fn_BANG___16625.invoke (internal.clj:179)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652$fn__16653.invoke (internal.clj:229)
> puppetlabs.trapperkeeper.internal$eval16647$run_lifecycle_fns__16652.invoke (internal.clj:206)
> puppetlabs.trapperkeeper.internal$eval17287$build_app_STAR___17296$fn$reify__17308.init (internal.clj:614)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345$fn__17347.invoke (internal.clj:648)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344$fn__17345.invoke (internal.clj:647)
> puppetlabs.trapperkeeper.internal$eval17337$boot_services_for_app_STAR__STAR___17344.invoke (internal.clj:641)
> clojure.core$partial$fn__5910.invoke (core.clj:2647)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892$fn__16895.invoke (internal.clj:249)
> puppetlabs.trapperkeeper.internal$eval16692$initialize_lifecycle_worker__16703$fn__16704$fn__16867$state_machine__13854__auto____16892.invoke (internal.clj:249)
> clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic (ioc_macros.clj:978)
> clojure.core.async.impl.ioc_macros$run_state_machine.invoke (ioc_macros.clj:977)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic (ioc_macros.clj:982)
> clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke (ioc_macros.clj:980)
> clojure.core.async$ioc_alts_BANG_$fn__14101.invoke (async.clj:421)
> clojure.core.async$do_alts$fn__14032$fn__14035.invoke (async.clj:288)
> clojure.core.async.impl.channels.ManyToManyChannel$fn__7759$fn__7760.invoke (channels.clj:99)
> clojure.lang.AFn.run (AFn.java:22)
> java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
> java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
> clojure.core.async.impl.concurrent$counted_thread_factory$reify__7628$fn__7629.invoke (concurrent.clj:29)
> clojure.lang.AFn.run (AFn.java:22)
> java.lang.Thread.run (Thread.java:833)
> Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.puppet-profiler.puppet-profiler-core-test
>
> lein test :only puppetlabs.services.puppet-profiler.puppet-profiler-core-test/test-profiler-via-ruby
>
> ERROR in (test-profiler-via-ruby) (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> Uncaught exception, not in assertion.
> expected: nil
> actual: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `load_defaults' for Gem::Specification:Class
> at RUBY.<main> (/usr/share/jruby/lib/ruby/stdlib/rubygems.rb:1338)
> org.jruby.RubyKernel.require (org/jruby/RubyKernel.java:1017)
> RUBY.<main> (uri:classloader:/jruby/kernel/gem_prelude.rb:3)
> org.jruby.RubyKernel.load (org/jruby/RubyKernel.java:1052)
> RUBY.<main> (file:/usr/share/java/jruby-base.jar!/jruby/preludes.rb:4)
>
> lein test puppetlabs.services.puppet-profiler.puppet-profiler-service-test
>
> lein test puppetlabs.services.request-handler.request-handler-core-test
>
> lein test puppetlabs.services.versioned-code-service.versioned-code-core-test
>
> lein test puppetlabs.services.versioned-code-service.versioned-code-service-test
>
> lein test puppetlabs.testutils.task-coordinator-test
>
> Ran 187 tests containing 2102 assertions.
> 0 failures, 54 errors.
> Tests failed.
> make[1]: *** [debian/rules:76: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/26/puppetserver_7.9.5-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-puppet-devel
mailing list