[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-08-02 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 There's no obvious bug here. To find out what Jenkins is doing during startup, especially when appearing to hang, follow these instructions: https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-36931  
 
 
  Jenkins hangs on startup   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop rece

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-26 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard edited a comment on  JENKINS-36931  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins hangs on startup   
 

  
 
 
 
 

 
 I was able to pull out the logs from jenkins to show how long it takes to starts. See I restarted the daemon around 2: 45 30  and it came up at 3: 30 15 . {code}root@jenkins-02:~# service jenkins restart * Restarting Jenkins Continuous Integration Server jenkins [ OK ]root@jenkins-02:~#root@jenkins-02:~# tail -f /var/log/jenkins/jenkins.logJul 26, 2016 2:32:50 PM jenkins.InitReactorRunner$1 onAttainedINFO: Listed all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Prepared all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Augmented all extensionsJul 26, 2016 2:32:52 PM jenkins.InitReactorRunner$1 onAttainedINFO: Loaded all jobsJul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 runINFO: Started Download metadataJul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 runINFO: Finished Download metadata. 6 msJul 26, 2016 3:14:07 PM org.jenkinsci.main.modules.sshd.SSHD startINFO: Started SSHD at port 57032Jul 26, 2016 3:14:07 PM jenkins.InitReactorRunner$1 onAttainedINFO: Completed initializationJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefreshINFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@10872d81: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@10872d81]: org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02Jul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02: defining beans [authenticationManager]; root of factory hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefreshINFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6ccJul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6cc: defining beans [filter,legacy]; root of factory hierarchyJul 26, 2016 3:14:07 PM jenkins.install.SetupWizard initINFO:***Jenkins initial setup is required. An admin user has been created and a password generated.Please use the following password to proceed to installation:b370076a67c341c68c785bb5406bdeaeThis may also be found at: /var/lib/jenkins/secrets/initialAdminPassword**

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-26 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard commented on  JENKINS-36931  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins hangs on startup   
 

  
 
 
 
 

 
 I was able to pull out the logs from jenkins to show how long it takes to starts. See I restarted the daemon around 2:45 and it came up at 3:30.  

 

root@cube-jenkins-02:~# service jenkins restart
 * Restarting Jenkins Continuous Integration Server jenkins[ OK ]
root@cube-jenkins-02:~#
root@cube-jenkins-02:~# tail -f /var/log/jenkins/jenkins.log
Jul 26, 2016 2:32:50 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Jul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Jul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Jul 26, 2016 2:32:52 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Jul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Jul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 6 ms
Jul 26, 2016 3:14:07 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 57032
Jul 26, 2016 3:14:07 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Jul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@10872d81: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchy
Jul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@10872d81]: org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02
Jul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02: defining beans [authenticationManager]; root of factory hierarchy
Jul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchy
Jul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6cc
Jul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6cc: defining beans [filter,legacy]; root of factory hierarchy
Jul 26, 2016 3:14:07 PM jenkins.install.SetupWizard init
INFO:

*
*
*

Jenkins initial setup is required. An admin user has been created and a password generat

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-26 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard edited a comment on  JENKINS-36931  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins hangs on startup   
 

  
 
 
 
 

 
 I was able to pull out the logs from jenkins to show how long it takes to starts. See I restarted the daemon around 2:45 and it came up at 3:30. {code}root@ cube- jenkins-02:~# service jenkins restart * Restarting Jenkins Continuous Integration Server jenkins [ OK ]root@ cube- jenkins-02:~#root@ cube- jenkins-02:~# tail -f /var/log/jenkins/jenkins.logJul 26, 2016 2:32:50 PM jenkins.InitReactorRunner$1 onAttainedINFO: Listed all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Prepared all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started all pluginsJul 26, 2016 2:32:51 PM jenkins.InitReactorRunner$1 onAttainedINFO: Augmented all extensionsJul 26, 2016 2:32:52 PM jenkins.InitReactorRunner$1 onAttainedINFO: Loaded all jobsJul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 runINFO: Started Download metadataJul 26, 2016 3:14:07 PM hudson.model.AsyncPeriodicWork$1 runINFO: Finished Download metadata. 6 msJul 26, 2016 3:14:07 PM org.jenkinsci.main.modules.sshd.SSHD startINFO: Started SSHD at port 57032Jul 26, 2016 3:14:07 PM jenkins.InitReactorRunner$1 onAttainedINFO: Completed initializationJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefreshINFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@10872d81: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@10872d81]: org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02Jul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@27206c02: defining beans [authenticationManager]; root of factory hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext prepareRefreshINFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8: display name [Root WebApplicationContext]; startup date [Tue Jul 26 15:14:07 UTC 2016]; root of context hierarchyJul 26, 2016 3:14:07 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactoryINFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@2f8ee7e8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6ccJul 26, 2016 3:14:07 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsINFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@808d6cc: defining beans [filter,legacy]; root of factory hierarchyJul 26, 2016 3:14:07 PM jenkins.install.SetupWizard initINFO:***Jenkins initial setup is required. An admin user has been created and a password generated.Please use the following password to proceed to installation:b370076a67c341c68c785bb5406bdeaeThis may also be found at: /var/lib/jenkins/secrets/initialAdminPassword***

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-25 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard commented on  JENKINS-36931  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins hangs on startup   
 

  
 
 
 
 

 
 I tried to start it by the normal service command and it took over 3.5hours to start, but it finally booted.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-25 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36931  
 
 
  Jenkins hangs on startup   
 

  
 
 
 
 

 
Change By: 
 Dominick Rivard  
 

  
 
 
 
 

 
 Hi,I created the following question on stack overflow and I can't find yet the problem to my jenkins installation. http://serverfault.com/questions/791848/jenkins-hangs-on-startupIf I use the command line {code}service jenkins start{code} after installing jenkins on ubuntu 14.0 4 using the jenkins debian repository I cannot start the service.One interesting detail is that there is no jobs and no plugins yet. It is a vanilla install.In the logs it often stops here: {code}Running from: /usr/share/jenkins/jenkins.warJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Logging initialized @385msJul 25, 2016 6:38:05 PM winstone.Logger logInternalINFO: Beginning extraction from war fileJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog warnWARNING: Empty contextPathJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: jetty-9.2.z-SNAPSHOTJul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServletJenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started w.@48795c6b{/,file:/var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started ServerConnector@14e1f904{HTTP/1.1}{0.0.0.0:8080}Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started @1528msJul 25, 2016 6:38:06 PM winstone.Logger logInternalINFO: Winstone Servlet Engine v2.0 running: controlPort=disabledJul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started initializationJul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttainedINFO: Listed all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Prepared all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Augmented all extensionsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Loaded all jobs{code}What is even more strange is that if I manually start the daemon using the following command{code}/usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080{code} Jenkins starts successfully.How do I  found  find  out what is the error behind the scene when it is starting from the service? ThanksDominick  
 

  
 
 
 
 

 
 

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-25 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36931  
 
 
  Jenkins hangs on startup   
 

  
 
 
 
 

 
Change By: 
 Dominick Rivard  
 

  
 
 
 
 

 
 Hi,I created the following question on stack overflow and I can't find yet the problem to my jenkins installation. http://serverfault.com/questions/791848/jenkins-hangs-on-startupIf I use the command line {code}service jenkins start{code} after installing jenkins on ubuntu 14.0 4 using the jenkins debian repository I cannot start the service. One interesting detail is that there is no jobs and no plugins yet. It is a vanilla install.   In the logs it often stops here: {code}Running from: /usr/share/jenkins/jenkins.warJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Logging initialized @385msJul 25, 2016 6:38:05 PM winstone.Logger logInternalINFO: Beginning extraction from war fileJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog warnWARNING: Empty contextPathJul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: jetty-9.2.z-SNAPSHOTJul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServletJenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started w.@48795c6b{/,file:/var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started ServerConnector@14e1f904{HTTP/1.1}{0.0.0.0:8080}Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog infoINFO: Started @1528msJul 25, 2016 6:38:06 PM winstone.Logger logInternalINFO: Winstone Servlet Engine v2.0 running: controlPort=disabledJul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started initializationJul 25, 2016 6:38:06 PM jenkins.InitReactorRunner$1 onAttainedINFO: Listed all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Prepared all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Started all pluginsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Augmented all extensionsJul 25, 2016 6:38:08 PM jenkins.InitReactorRunner$1 onAttainedINFO: Loaded all jobs{code}What is even more strange is that if I manually start the daemon using the following command{code}/usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080{code} Jenkins starts successfully.How do I found out what is the error behind the scene when it is starting from the service? ThanksDominick  
 

  
 
 
 
 

 
 

[JIRA] (JENKINS-36931) Jenkins hangs on startup

2016-07-25 Thread dominick.riv...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dominick Rivard created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36931  
 
 
  Jenkins hangs on startup   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 core  
 
 
Created: 
 2016/Jul/25 6:40 PM  
 
 
Environment: 
 Jenkins 2.5  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Dominick Rivard  
 

  
 
 
 
 

 
 Hi, I created the following question on stack overflow and I can't find yet the problem to my jenkins installation. http://serverfault.com/questions/791848/jenkins-hangs-on-startup If I use the command line  

 
service jenkins start 

  after installing jenkins on ubuntu 14.0 4 using the jenkins debian repository I cannot start the service. In the logs it often stops here:  

 
Running from: /usr/share/jenkins/jenkins.war
Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @385ms
Jul 25, 2016 6:38:05 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Jul 25, 2016 6:38:05 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Jul 25, 2016 6:38:06 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Jul 25, 2016 6:38