Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2023 20:28:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269060] sysutils/puppetserver7: failed to start: java.lang.IllegalStateException: There was a problem adding a JRubyInstance to the pool.
Message-ID:  <bug-269060-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269060

            Bug ID: 269060
           Summary: sysutils/puppetserver7: failed to start:
                    java.lang.IllegalStateException: There was a problem
                    adding a JRubyInstance to the pool.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet@FreeBSD.org
          Reporter: olevole@olevole.ru
          Assignee: puppet@FreeBSD.org
             Flags: maintainer-feedback?(puppet@FreeBSD.org)

Fresh puppetserver 7.9.3 failed to start. How to repeat:
--
# pkg -y install puppet7 puppetserver7

# puppetserver -v
puppetserver version: 7.9.3

# mount | grep -E 'proc|fd'
fdescfs on /dev/fd (fdescfs)
procfs on /proc (procfs, local)

# pkg info |grep openjdk
openjdk8-8.352.08.1_1          Java Development Kit 8

# service puppetserver enable
# service puppetserver start
--

/var/log/puppetserver/puppetserver.log content
--
2023-01-19T23:19:08.374+03:00 INFO  [main] [o.e.j.u.log] Logging initialized
@29735ms to org.eclipse.jetty.util.log.Slf4jLog
2023-01-19T23:19:15.694+03:00 INFO  [async-dispatch-2]
[p.t.s.s.scheduler-service] Initializing Scheduler Service
2023-01-19T23:19:15.910+03:00 INFO  [async-dispatch-2]
[o.q.i.StdSchedulerFactory] Using default implementation for ThreadExecutor
2023-01-19T23:19:15.972+03:00 INFO  [async-dispatch-2]
[o.q.c.SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class
org.quartz.core.SchedulerSignalerImpl
2023-01-19T23:19:15.972+03:00 INFO  [async-dispatch-2] [o.q.c.QuartzSchedul=
er]
Quartz Scheduler v.2.3.2 created.
2023-01-19T23:19:15.976+03:00 INFO  [async-dispatch-2] [o.q.s.RAMJobStore]
RAMJobStore initialized.
2023-01-19T23:19:15.979+03:00 INFO  [async-dispatch-2] [o.q.c.QuartzSchedul=
er]
Scheduler meta-data: Quartz Scheduler (v2.3.2)
'e2fdd464-140e-495f-9d4a-1e379442d0ea' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
persistence. and is not clustered.

2023-01-19T23:19:15.979+03:00 INFO  [async-dispatch-2]
[o.q.i.StdSchedulerFactory] Quartz scheduler
'e2fdd464-140e-495f-9d4a-1e379442d0ea' initialized from an externally provi=
ded
properties instance.
2023-01-19T23:19:15.979+03:00 INFO  [async-dispatch-2]
[o.q.i.StdSchedulerFactory] Quartz scheduler version: 2.3.2
2023-01-19T23:19:15.980+03:00 INFO  [async-dispatch-2] [o.q.c.QuartzSchedul=
er]
Scheduler e2fdd464-140e-495f-9d4a-1e379442d0ea_$_NON_CLUSTERED started.
2023-01-19T23:19:15.984+03:00 INFO  [async-dispatch-2] [p.t.s.w.jetty9-serv=
ice]
Initializing web server(s).
2023-01-19T23:19:16.077+03:00 INFO  [async-dispatch-2] [p.t.s.s.status-serv=
ice]
Registering status callback function for service 'puppet-profiler', version
7.9.3
2023-01-19T23:19:16.084+03:00 INFO  [async-dispatch-2]
[p.s.j.jruby-puppet-service] Initializing the JRuby service
2023-01-19T23:19:16.160+03:00 INFO  [async-dispatch-2]
[p.s.j.jruby-pool-manager-service] Initializing the JRuby service
2023-01-19T23:19:16.296+03:00 INFO  [async-dispatch-2]
[p.s.j.jruby-puppet-service] JRuby version info: jruby 9.3.9.0 (2.6.8)
2022-10-24 537cd1f8bc OpenJDK 64-Bit Server VM 25.352-b08 on 1.8.0_352-b08 =
+jit
[x86_64-freebsd]
2023-01-19T23:19:16.346+03:00 INFO  [clojure-agent-send-pool-0]
[p.s.j.i.jruby-internal] Creating JRubyInstance with id 1.
2023-01-19T23:19:16.520+03:00 INFO  [async-dispatch-2] [p.t.s.s.status-serv=
ice]
Registering status callback function for service 'jruby-metrics', version 7=
.9.3
2023-01-19T23:19:16.523+03:00 INFO  [async-dispatch-2]
[p.s.v.versioned-code-service] No code-id-command set for
versioned-code-service. Code-id will be nil.
2023-01-19T23:19:16.523+03:00 INFO  [async-dispatch-2]
[p.s.v.versioned-code-service] No code-content-command set for
versioned-code-service. Attempting to fetch code content will fail.
2023-01-19T23:19:16.563+03:00 INFO  [async-dispatch-2] [p.t.s.m.jolokia]
Metrics access control using trapperkeeper-authorization is enabled.
2023-01-19T23:19:39.020+03:00 ERROR [clojure-agent-send-pool-0] [p.t.intern=
al]
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$fn__34563$add_inst=
ance__34568$fn__34572.invoke(jruby_agents.clj:58)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34563$add_inst=
ance__34568.invoke(jruby_agents.clj:47)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34590$prime_po=
ol_BANG___34595$fn__34599.invoke(jruby_agents.clj:76)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34590$prime_po=
ol_BANG___34595.invoke(jruby_agents.clj:61)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35152$fn__351=
53.invoke(instance_pool.clj:16)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(inte=
rnal.clj:403)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.c=
lj:378)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(inte=
rnal.clj:388)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.c=
lj:378)
        at
puppetlabs.trapperkeeper.internal$fn__15134$shutdown_service__15139$fn$reif=
y__15141$service_fnk__5324__auto___positional$reify__15146.shutdown_on_erro=
r(internal.clj:448)
        at
puppetlabs.trapperkeeper.internal$fn__15081$G__15060__15089.invoke(internal=
.clj:411)
        at
puppetlabs.trapperkeeper.internal$fn__15081$G__15059__15098.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$fn__34537$send_age=
nt__34542$fn__34543$agent_fn__34544.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.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1=
149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:=
624)
        at java.lang.Thread.run(Thread.java:750)
Caused by: org.jruby.embed.InvokeFailedException:
org.jruby.exceptions.NameError: (NameError) uninitialized constant
#<Class:Facter::Options>::OptionStore
        at
org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.doInvokeMethod(EmbedRub=
yObjectAdapterImpl.java:253)
        at
org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObj=
ectAdapterImpl.java:162)
        at
org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:1464)
        at
com.puppetlabs.jruby_utils.jruby.InternalScriptingContainer.callMethodWithA=
rgArray(InternalScriptingContainer.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6=
2)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp=
l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
        at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
        at
puppetlabs.services.jruby.jruby_puppet_core$fn__36371$get_initialize_pool_i=
nstance_fn__36376$fn__36377$fn__36378.invoke(jruby_puppet_core.clj:138)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34145$create=
_pool_instance_BANG___34154$fn__34157.invoke(jruby_internal.clj:256)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34145$create=
_pool_instance_BANG___34154.invoke(jruby_internal.clj:225)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34563$add_inst=
ance__34568$fn__34572.invoke(jruby_agents.clj:52)
        ... 22 common frames omitted
Caused by: org.jruby.exceptions.NameError: (NameError) uninitialized consta=
nt
#<Class:Facter::Options>::OptionStore
        at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:394=
7)
        at
RUBY.[]=3D(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/frame=
work/core/options.rb:19)
        at
RUBY.setup_default_ext_facts_dirs(/usr/local/lib/ruby/gems/3.0/gems/facter-=
4.2.14/lib/facter/custom_facts/util/config.rb:55)
        at
RUBY.<module:Config>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/fa=
cter/custom_facts/util/config.rb:67)
        at
RUBY.<module:Util>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/fact=
er/custom_facts/util/config.rb:9)
        at
RUBY.<module:LegacyFacter>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/=
lib/facter/custom_facts/util/config.rb:8)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/util/config.rb:7)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/core/file_loader.rb:14)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/core/legacy_facter.rb:21)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/fram=
ework/core/file_loader.rb:59)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter.rb:7)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:1=
60)
        at
RUBY.initialize(/usr/local/lib/ruby/site_ruby/3.0/puppet/facter_impl.rb:11)
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:883)
        at
RUBY.initialize(/usr/local/lib/ruby/site_ruby/3.0/puppet/runtime.rb:21)
        at RUBY.[](/usr/local/lib/ruby/site_ruby/3.0/puppet/runtime.rb:44)
        at
RUBY.hostname_fact(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:82)
        at
RUBY.default_certname(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:=
71)
        at
RUBY.initialize_default_settings!(/usr/local/lib/ruby/site_ruby/3.0/puppet/=
defaults.rb:809)
        at
RUBY.default(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings/base_setting=
.rb:136)
        at
RUBY.lookup(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:1438)
        at
RUBY.lookup_and_convert(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.r=
b:1470)
        at
RUBY.interpolate(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:1453)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.puppet.settings.value_sym(/usr/local/=
lib/ruby/site_ruby/3.0/puppet/settings.rb:1209)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.puppet.settings.value(/usr/local/lib/=
ruby/site_ruby/3.0/puppet/settings.rb:1181)
        at
RUBY.call_hooks_deferred_to_application_initialization(/usr/local/lib/ruby/=
site_ruby/3.0/puppet/settings.rb:417)
        at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1865)
        at
RUBY.call_hooks_deferred_to_application_initialization(/usr/local/lib/ruby/=
site_ruby/3.0/puppet/settings.rb:415)
        at
RUBY.initialize_app_defaults(/usr/local/lib/ruby/site_ruby/3.0/puppet/setti=
ngs.rb:390)
        at
RUBY.do_initialize_settings_for_run_mode(/usr/local/lib/ruby/site_ruby/3.0/=
puppet.rb:176)
        at
RUBY.initialize_settings(/usr/local/lib/ruby/site_ruby/3.0/puppet.rb:149)
        at
RUBY.initialize_puppet_settings(uri:classloader:/puppetserver-lib/puppet/se=
rver/puppet_config.rb:36)
        at
RUBY.initialize_puppet(uri:classloader:/puppetserver-lib/puppet/server/pupp=
et_config.rb:71)
        at
RUBY.initialize(uri:classloader:/puppetserver-lib/puppet/server/master.rb:3=
9)
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:911)
2023-01-19T23:19:39.020+03:00 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$fn__34345$borrow=
_from_pool_BANG__STAR___34350$fn__34351.invoke(jruby_internal.clj:313)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34345$borrow=
_from_pool_BANG__STAR___34350.invoke(jruby_internal.clj:300)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34392$borrow=
_from_pool_with_timeout__34397$fn__34398.invoke(jruby_internal.clj:348)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34392$borrow=
_from_pool_with_timeout__34397.invoke(jruby_internal.clj:337)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35156.invokeS=
tatic(instance_pool.clj:48)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35156.invoke(=
instance_pool.clj:10)
        at
puppetlabs.services.protocols.jruby_pool$fn__34946$G__34894__34953.invoke(j=
ruby_pool.clj:3)
        at
puppetlabs.services.jruby_pool_manager.jruby_core$fn__36070$borrow_from_poo=
l_with_timeout__36075$fn__36076.invoke(jruby_core.clj:222)
        at
puppetlabs.services.jruby_pool_manager.jruby_core$fn__36070$borrow_from_poo=
l_with_timeout__36075.invoke(jruby_core.clj:209)
        at
puppetlabs.services.config.puppet_server_config_core$fn__44216$get_puppet_c=
onfig__44221$fn__44222$fn__44223.invoke(puppet_server_config_core.clj:107)
        at
puppetlabs.services.config.puppet_server_config_core$fn__44216$get_puppet_c=
onfig__44221$fn__44222.invoke(puppet_server_config_core.clj:107)
        at
puppetlabs.services.config.puppet_server_config_core$fn__44216$get_puppet_c=
onfig__44221.invoke(puppet_server_config_core.clj:102)
        at
puppetlabs.services.config.puppet_server_config_service$reify__44251$servic=
e_fnk__5324__auto___positional$reify__44262.init(puppet_server_config_servi=
ce.clj:25)
        at
puppetlabs.trapperkeeper.services$fn__5148$G__5140__5151.invoke(services.cl=
j:9)
        at
puppetlabs.trapperkeeper.services$fn__5148$G__5139__5155.invoke(services.cl=
j:9)
        at
puppetlabs.trapperkeeper.internal$fn__14616$run_lifecycle_fn_BANG___14623$f=
n__14624.invoke(internal.clj:196)
        at
puppetlabs.trapperkeeper.internal$fn__14616$run_lifecycle_fn_BANG___14623.i=
nvoke(internal.clj:179)
        at
puppetlabs.trapperkeeper.internal$fn__14645$run_lifecycle_fns__14650$fn__14=
651.invoke(internal.clj:229)
        at
puppetlabs.trapperkeeper.internal$fn__14645$run_lifecycle_fns__14650.invoke=
(internal.clj:206)
        at
puppetlabs.trapperkeeper.internal$fn__15283$build_app_STAR___15292$fn$reify=
__15304.init(internal.clj:602)
        at
puppetlabs.trapperkeeper.internal$fn__15331$boot_services_for_app_STAR__STA=
R___15338$fn__15339$fn__15341.invoke(internal.clj:630)
        at
puppetlabs.trapperkeeper.internal$fn__15331$boot_services_for_app_STAR__STA=
R___15338$fn__15339.invoke(internal.clj:629)
        at
puppetlabs.trapperkeeper.internal$fn__15331$boot_services_for_app_STAR__STA=
R___15338.invoke(internal.clj:623)
        at clojure.core$partial$fn__5910.invoke(core.clj:2647)
        at
puppetlabs.trapperkeeper.internal$fn__14690$initialize_lifecycle_worker__14=
701$fn__14702$fn__14865$state_machine__11925__auto____14890$fn__14893.invok=
e(internal.clj:249)
        at
puppetlabs.trapperkeeper.internal$fn__14690$initialize_lifecycle_worker__14=
701$fn__14702$fn__14865$state_machine__11925__auto____14890.invoke(internal=
.clj:249)
        at
clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macro=
s.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(i=
oc_macros.clj:982)
        at
clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_mac=
ros.clj:980)
        at clojure.core.async$ioc_alts_BANG_$fn__12154.invoke(async.clj:421)
        at clojure.core.async$do_alts$fn__12093$fn__12096.invoke(async.clj:=
288)
        at
clojure.core.async.impl.channels.ManyToManyChannel$fn__6766$fn__6767.invoke=
(channels.clj:99)
        at clojure.lang.AFn.run(AFn.java:22)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1=
149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:=
624)
        at
clojure.core.async.impl.concurrent$counted_thread_factory$reify__6669$fn__6=
670.invoke(concurrent.clj:29)
        at clojure.lang.AFn.run(AFn.java:22)
        at java.lang.Thread.run(Thread.java:750)
Caused by: org.jruby.embed.InvokeFailedException:
org.jruby.exceptions.NameError: (NameError) uninitialized constant
#<Class:Facter::Options>::OptionStore
        at
org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.doInvokeMethod(EmbedRub=
yObjectAdapterImpl.java:253)
        at
org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObj=
ectAdapterImpl.java:162)
        at
org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:1464)
        at
com.puppetlabs.jruby_utils.jruby.InternalScriptingContainer.callMethodWithA=
rgArray(InternalScriptingContainer.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6=
2)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp=
l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
        at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
        at
puppetlabs.services.jruby.jruby_puppet_core$fn__36371$get_initialize_pool_i=
nstance_fn__36376$fn__36377$fn__36378.invoke(jruby_puppet_core.clj:138)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34145$create=
_pool_instance_BANG___34154$fn__34157.invoke(jruby_internal.clj:256)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34145$create=
_pool_instance_BANG___34154.invoke(jruby_internal.clj:225)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34563$add_inst=
ance__34568$fn__34572.invoke(jruby_agents.clj:52)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34563$add_inst=
ance__34568.invoke(jruby_agents.clj:47)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34590$prime_po=
ol_BANG___34595$fn__34599.invoke(jruby_agents.clj:76)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34590$prime_po=
ol_BANG___34595.invoke(jruby_agents.clj:61)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35152$fn__351=
53.invoke(instance_pool.clj:16)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(inte=
rnal.clj:403)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.c=
lj:378)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(inte=
rnal.clj:388)
        at
puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.c=
lj:378)
        at
puppetlabs.trapperkeeper.internal$fn__15134$shutdown_service__15139$fn$reif=
y__15141$service_fnk__5324__auto___positional$reify__15146.shutdown_on_erro=
r(internal.clj:448)
        at
puppetlabs.trapperkeeper.internal$fn__15081$G__15060__15089.invoke(internal=
.clj:411)
        at
puppetlabs.trapperkeeper.internal$fn__15081$G__15059__15098.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$fn__34537$send_age=
nt__34542$fn__34543$agent_fn__34544.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.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1=
149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:=
624)
        ... 1 common frames omitted
Caused by: org.jruby.exceptions.NameError: (NameError) uninitialized consta=
nt
#<Class:Facter::Options>::OptionStore
        at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:394=
7)
        at
RUBY.[]=3D(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/frame=
work/core/options.rb:19)
        at
RUBY.setup_default_ext_facts_dirs(/usr/local/lib/ruby/gems/3.0/gems/facter-=
4.2.14/lib/facter/custom_facts/util/config.rb:55)
        at
RUBY.<module:Config>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/fa=
cter/custom_facts/util/config.rb:67)
        at
RUBY.<module:Util>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/fact=
er/custom_facts/util/config.rb:9)
        at
RUBY.<module:LegacyFacter>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/=
lib/facter/custom_facts/util/config.rb:8)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/util/config.rb:7)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/core/file_loader.rb:14)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/cust=
om_facts/core/legacy_facter.rb:21)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter/fram=
ework/core/file_loader.rb:59)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:8=
5)
        at
RUBY.<main>(/usr/local/lib/ruby/gems/3.0/gems/facter-4.2.14/lib/facter.rb:7)
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.rubygems.core_ext.kernel_require.requ=
ire(/usr/local/lib/ruby/site_ruby/3.0/rubygems/core_ext/kernel_require.rb:1=
60)
        at
RUBY.initialize(/usr/local/lib/ruby/site_ruby/3.0/puppet/facter_impl.rb:11)
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:883)
        at
RUBY.initialize(/usr/local/lib/ruby/site_ruby/3.0/puppet/runtime.rb:21)
        at RUBY.[](/usr/local/lib/ruby/site_ruby/3.0/puppet/runtime.rb:44)
        at
RUBY.hostname_fact(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:82)
        at
RUBY.default_certname(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:=
71)
        at
RUBY.initialize_default_settings!(/usr/local/lib/ruby/site_ruby/3.0/puppet/=
defaults.rb:809)
        at
RUBY.default(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings/base_setting=
.rb:136)
        at
RUBY.lookup(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:1438)
        at
RUBY.lookup_and_convert(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.r=
b:1470)
        at
RUBY.interpolate(/usr/local/lib/ruby/site_ruby/3.0/puppet/settings.rb:1453)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.puppet.settings.value_sym(/usr/local/=
lib/ruby/site_ruby/3.0/puppet/settings.rb:1209)
        at
usr.local.lib.ruby.site_ruby.$3_dot_0.puppet.settings.value(/usr/local/lib/=
ruby/site_ruby/3.0/puppet/settings.rb:1181)
        at
RUBY.call_hooks_deferred_to_application_initialization(/usr/local/lib/ruby/=
site_ruby/3.0/puppet/settings.rb:417)
        at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1865)
        at
RUBY.call_hooks_deferred_to_application_initialization(/usr/local/lib/ruby/=
site_ruby/3.0/puppet/settings.rb:415)
        at
RUBY.initialize_app_defaults(/usr/local/lib/ruby/site_ruby/3.0/puppet/setti=
ngs.rb:390)
        at
RUBY.do_initialize_settings_for_run_mode(/usr/local/lib/ruby/site_ruby/3.0/=
puppet.rb:176)
        at
RUBY.initialize_settings(/usr/local/lib/ruby/site_ruby/3.0/puppet.rb:149)
        at
RUBY.initialize_puppet_settings(uri:classloader:/puppetserver-lib/puppet/se=
rver/puppet_config.rb:36)
        at
RUBY.initialize_puppet(uri:classloader:/puppetserver-lib/puppet/server/pupp=
et_config.rb:71)
        at
RUBY.initialize(uri:classloader:/puppetserver-lib/puppet/server/master.rb:3=
9)
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:911)
2023-01-19T23:19:39.059+03:00 INFO  [main] [p.t.internal] Beginning shutdown
sequence
2023-01-19T23:19:39.096+03:00 INFO  [async-dispatch-3]
[p.s.j.jruby-metrics-service] JRuby Metrics Service: stopping metrics sampl=
er
job
2023-01-19T23:19:39.097+03:00 INFO  [async-dispatch-3]
[p.s.j.jruby-metrics-service] JRuby Metrics Service: stopped metrics sampler
job
2023-01-19T23:19:39.116+03:00 INFO  [async-dispatch-3] [p.s.j.i.jruby-agent=
s]
Draining JRuby pool.
2023-01-19T23:19:39.124+03:00 ERROR [async-dispatch-3] [p.t.internal]
Encountered error during shutdown sequence
java.lang.InterruptedException: Lock can't be granted because a pill has be=
en
inserted
        at
com.puppetlabs.jruby_utils.pool.JRubyPool.lockWithTimeout(JRubyPool.java:36=
8)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6=
2)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp=
l.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        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$fn__34671$borrow_a=
ll_jrubies__34676$fn__34677$fn__34678.invoke(jruby_agents.clj:128)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34671$borrow_a=
ll_jrubies__34676$fn__34677.invoke(jruby_agents.clj:127)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34671$borrow_a=
ll_jrubies__34676.invoke(jruby_agents.clj:119)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34751$drain_an=
d_refill_pool_BANG___34760$fn__34763.invoke(jruby_agents.clj:190)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34751$drain_an=
d_refill_pool_BANG___34760.invoke(jruby_agents.clj:172)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34792$flush_po=
ol_for_shutdown_BANG___34797$fn__34798.invoke(jruby_agents.clj:211)
        at
puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn__34792$flush_po=
ol_for_shutdown_BANG___34797.invoke(jruby_agents.clj:199)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35168.invokeS=
tatic(instance_pool.clj:20)
        at
puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35168.invoke(=
instance_pool.clj:10)
        at
puppetlabs.services.protocols.jruby_pool$fn__35022$G__34906__35027.invoke(j=
ruby_pool.clj:3)
        at
puppetlabs.services.jruby_pool_manager.jruby_core$fn__36145$flush_pool_for_=
shutdown_BANG___36150$fn__36151.invoke(jruby_core.clj:250)
        at
puppetlabs.services.jruby_pool_manager.jruby_core$fn__36145$flush_pool_for_=
shutdown_BANG___36150.invoke(jruby_core.clj:245)
        at
puppetlabs.services.jruby.jruby_puppet_service$reify__36928$service_fnk__53=
24__auto___positional$reify__36942.stop(jruby_puppet_service.clj:50)
        at
puppetlabs.trapperkeeper.services$fn__5161$G__5144__5164.invoke(services.cl=
j:9)
        at
puppetlabs.trapperkeeper.services$fn__5161$G__5143__5168.invoke(services.cl=
j:9)
        at
puppetlabs.trapperkeeper.internal$fn__14616$run_lifecycle_fn_BANG___14623$f=
n__14624.invoke(internal.clj:196)
        at
puppetlabs.trapperkeeper.internal$fn__14616$run_lifecycle_fn_BANG___14623.i=
nvoke(internal.clj:179)
        at
puppetlabs.trapperkeeper.internal$fn__15191$shutdown_BANG___15196$fn__15197=
$shutdown_fn__15199$fn__15214.invoke(internal.clj:459)
        at
puppetlabs.trapperkeeper.internal$fn__15191$shutdown_BANG___15196$fn__15197=
$shutdown_fn__15199.invoke(internal.clj:458)
        at
puppetlabs.trapperkeeper.internal$fn__14690$initialize_lifecycle_worker__14=
701$fn__14702$fn__14865$state_machine__11925__auto____14890$fn__14893$fn__1=
4915.invoke(internal.clj:274)
        at
puppetlabs.trapperkeeper.internal$fn__14690$initialize_lifecycle_worker__14=
701$fn__14702$fn__14865$state_machine__11925__auto____14890$fn__14893.invok=
e(internal.clj:258)
        at
puppetlabs.trapperkeeper.internal$fn__14690$initialize_lifecycle_worker__14=
701$fn__14702$fn__14865$state_machine__11925__auto____14890.invoke(internal=
.clj:249)
        at
clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macro=
s.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(i=
oc_macros.clj:982)
        at
clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_mac=
ros.clj:980)
        at clojure.core.async$ioc_alts_BANG_$fn__12154.invoke(async.clj:421)
        at clojure.core.async$do_alts$fn__12093$fn__12096.invoke(async.clj:=
288)
        at
clojure.core.async.impl.channels.ManyToManyChannel$fn__6782.invoke(channels=
.clj:139)
        at clojure.lang.AFn.run(AFn.java:22)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1=
149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:=
624)
        at
clojure.core.async.impl.concurrent$counted_thread_factory$reify__6669$fn__6=
670.invoke(concurrent.clj:29)
        at clojure.lang.AFn.run(AFn.java:22)
        at java.lang.Thread.run(Thread.java:750)
2023-01-19T23:19:39.148+03:00 INFO  [async-dispatch-3] [p.t.s.w.jetty9-serv=
ice]
Shutting down web server(s).
2023-01-19T23:19:39.164+03:00 INFO  [async-dispatch-3]
[p.t.s.s.scheduler-service] Shutting down Scheduler Service
2023-01-19T23:19:39.174+03:00 INFO  [clojure-agent-send-off-pool-0]
[o.q.c.QuartzScheduler] Scheduler
e2fdd464-140e-495f-9d4a-1e379442d0ea_$_NON_CLUSTERED shutting down.
2023-01-19T23:19:39.175+03:00 INFO  [clojure-agent-send-off-pool-0]
[o.q.c.QuartzScheduler] Scheduler
e2fdd464-140e-495f-9d4a-1e379442d0ea_$_NON_CLUSTERED paused.
2023-01-19T23:19:39.639+03:00 INFO  [clojure-agent-send-off-pool-0]
[o.q.c.QuartzScheduler] Scheduler
e2fdd464-140e-495f-9d4a-1e379442d0ea_$_NON_CLUSTERED shutdown complete.
2023-01-19T23:19:39.639+03:00 INFO  [async-dispatch-3]
[p.t.s.s.scheduler-service] Scheduler Service shutdown complete.
2023-01-19T23:19:39.690+03:00 INFO  [main] [p.t.internal] Finished shutdown
sequence
--

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269060-7788>