When restarting Jenkins, I can wait a long time on "Please wait while
Jenkins is getting ready to work", or sometimes, it just works.
When blocked, it always block at the same point, just after printing:
> org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
> INFO: Registration succeeded
and it can stay there for a long time, waiting it seems for
org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 41953
It does not seem to depend on the configuration. I could reproduce the
issue using a fresh Jenkins installation from scratch (see below). And I
saw the same issue with various versions of Jenkins, including the latest
one.
Any idea on what I may be missing?
Thank you
Laurent
Here is a trace, using a vanilla instance of Jenkins.
$ bin/jenkins_p4.sh
> Dec 20, 2012 3:29:58 PM winstone.Logger logInternal
> INFO: Beginning extraction from war file
> Dec 20, 2012 3:29:58 PM winstone.Logger logInternal
> INFO: HTTP Listener started: port=8091
> Dec 20, 2012 3:29:58 PM winstone.Logger logInternal
> INFO: AJP13 Listener started: port=8021
> Dec 20, 2012 3:29:58 PM winstone.Logger logInternal
> INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
> Dec 20, 2012 3:29:58 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Started initialization
> Dec 20, 2012 3:29:59 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Listed all plugins
> Dec 20, 2012 3:29:59 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Prepared all plugins
> Dec 20, 2012 3:29:59 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Started all plugins
> Dec 20, 2012 3:29:59 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Augmented all extensions
> Dec 20, 2012 3:29:59 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Loaded all jobs
> Dec 20, 2012 3:30:01 PM
> org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
> INFO: Trying to register BouncyCastle as a JCE provider
> Dec 20, 2012 3:30:01 PM
> org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
> INFO: Registration succeeded
>
> <<< and it waits here, for a long time, sometimes forever >>>
>
> Dec 20, 2012 4:23:03 PM org.jenkinsci.main.modules.sshd.SSHD start
> INFO: Started SSHD at port 41953
> Dec 20, 2012 4:23:03 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Completed initialization
> Dec 20, 2012 4:23:03 PM hudson.TcpSlaveAgentListener <init>
> INFO: JNLP slave agent listener started on TCP port 33033
> Dec 20, 2012 4:23:03 PM hudson.WebAppMain$2 run
> INFO: Jenkins is fully up and running