Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37952

Jenkins hangs on INFO: Prepared all plugins.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello,

      Jenkins started to hang without any particular reason. It has been worked fine for few months. I've upgraded it to the 2.7.3 but the behaviour is the same.

      C:\Program Files (x86)\Jenkins>"c:\Program Files (x86)\Jenkins\jre\bin\java.exe"
      -jar jenkins.war 1>>dump.log
      Sep 04, 2016 6:02:37 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Logging initialized @8883ms
      Sep 04, 2016 6:02:37 PM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      Sep 04, 2016 6:02:37 PM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Empty contextPath
      Sep 04, 2016 6:02:37 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: jetty-9.2.z-SNAPSHOT
      Sep 04, 2016 6:02:43 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      Sep 04, 2016 6:02:44 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Started w.@99998a

      {/,file:/C:/Users/Administrator/.jenkins/war/,AVAILABLE} { C:\Users\Administrator\.jenkins\war}

      Sep 04, 2016 6:02:44 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Started ServerConnector@1ffd9f1

      {HTTP/1.1} {0.0.0.0:8080}

      Sep 04, 2016 6:02:44 PM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Started @16289ms
      Sep 04, 2016 6:02:44 PM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
      Sep 04, 2016 6:02:45 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Sep 04, 2016 6:02:45 PM hudson.ClassicPluginStrategy createPluginWrapper
      INFO: Plugin pending-changes.jpi is disabled
      Sep 04, 2016 6:02:45 PM hudson.ClassicPluginStrategy createPluginWrapper
      INFO: Plugin viewVC.jpi is disabled
      Sep 04, 2016 6:02:45 PM hudson.ClassicPluginStrategy createPluginWrapper
      INFO: Plugin WebSVN2.jpi is disabled
      Sep 04, 2016 6:02:45 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Sep 04, 2016 6:02:48 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins

      I've included the thread dump in a file.

      Could you take a look?

      Regards.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Adding random components just leads to getting a default assignee, who will likely ignore your issue.

          "AliasInitializer.addAliases" daemon prio=6 tid=0x19d45000 nid=0x1cc runnable [0x1a60d000]
             java.lang.Thread.State: RUNNABLE
          	at java.io.WinNTFileSystem.list(Native Method)
          	at java.io.File.list(Unknown Source)
          	at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:788)
          	at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706)
          	at javax.crypto.JarVerifier.access$400(JarVerifier.java:34)
          	at javax.crypto.JarVerifier$1.run(JarVerifier.java:183)
          	at javax.crypto.JarVerifier$1.run(JarVerifier.java:149)
          	at java.security.AccessController.doPrivileged(Native Method)
          	at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148)
          	at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
          	at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261)
          	at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
          	at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
          	at java.security.AccessController.doPrivileged(Native Method)
          	at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)
          	at javax.crypto.Cipher.getInstance(Cipher.java:499)
          	at hudson.util.Secret.getCipher(Secret.java:185)
          	at jenkins.security.CryptoConfidentialKey.decrypt(CryptoConfidentialKey.java:66)
          	at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.read(InstanceIdentity.java:85)
          	at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:62)
          	at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:43)
          	at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:21)
          	at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl$$FastClassByGuice$$68618106.newInstance(<generated>)
          	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
          	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
          	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)
          	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88)
          	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
          	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
          	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
          	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
          	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
          	- locked <0x0a494608> (a java.lang.Class for com.google.inject.internal.InternalInjectorCreator)
          	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)
          	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
          	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005)
          	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051)
          	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001)
          	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)
          	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)
          	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:477)
          	at hudson.ExtensionList.load(ExtensionList.java:349)
          	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
          	- locked <0x0a2dcff8> (a hudson.ExtensionList$Lock)
          	at hudson.ExtensionList.getComponents(ExtensionList.java:167)
          	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185)
          	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287)
          	- locked <0x0a363f18> (a hudson.DescriptorExtensionList)
          	at hudson.ExtensionList.iterator(ExtensionList.java:156)
          	at org.jenkinsci.plugins.xunit.AliasInitializer.addAliases(AliasInitializer.java:47)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          	at java.lang.reflect.Method.invoke(Unknown Source)
          	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
          	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
          	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
          	at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
          	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
          	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          	at java.lang.Thread.run(Unknown Source)
          

          Please provide Jenkins startup log and the list of installed plugins/versions

          Show
          oleg_nenashev Oleg Nenashev added a comment - Adding random components just leads to getting a default assignee, who will likely ignore your issue. "AliasInitializer.addAliases" daemon prio=6 tid=0x19d45000 nid=0x1cc runnable [0x1a60d000] java.lang.Thread.State: RUNNABLE at java.io.WinNTFileSystem.list(Native Method) at java.io.File.list(Unknown Source) at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:788) at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706) at javax.crypto.JarVerifier.access$400(JarVerifier.java:34) at javax.crypto.JarVerifier$1.run(JarVerifier.java:183) at javax.crypto.JarVerifier$1.run(JarVerifier.java:149) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:78) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76) at javax.crypto.Cipher.getInstance(Cipher.java:499) at hudson.util.Secret.getCipher(Secret.java:185) at jenkins.security.CryptoConfidentialKey.decrypt(CryptoConfidentialKey.java:66) at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.read(InstanceIdentity.java:85) at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:62) at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:43) at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:21) at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl$$FastClassByGuice$$68618106.newInstance(<generated>) at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:88) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:65) - locked <0x0a494608> (a java.lang.Class for com.google.inject.internal.InternalInjectorCreator) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:477) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) - locked <0x0a2dcff8> (a hudson.ExtensionList$Lock) at hudson.ExtensionList.getComponents(ExtensionList.java:167) at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:185) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) - locked <0x0a363f18> (a hudson.DescriptorExtensionList) at hudson.ExtensionList.iterator(ExtensionList.java:156) at org.jenkinsci.plugins.xunit.AliasInitializer.addAliases(AliasInitializer.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:998) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Please provide Jenkins startup log and the list of installed plugins/versions
          Hide
          wodzu Marcin Czernow added a comment -

          What made you to draw a conclusion that I've listed "random components"? Do you think that I was adding all those plugins for fun?
          I've provided list of all installed plugins via the form when I was creating the issue, and now you have removed it?

          Show
          wodzu Marcin Czernow added a comment - What made you to draw a conclusion that I've listed "random components"? Do you think that I was adding all those plugins for fun? I've provided list of all installed plugins via the form when I was creating the issue, and now you have removed it?
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Marcin Czernow Likely this is a misunderstanding. "component" field in JIRA means the Jenkins component, to which the issue is related. Otherwise it confuses maintainers of plugins. Information about installed plugins/versions should be listed in the issue body on environment. See https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue for more info.

          > I've provided list of all installed plugins via the form when I was creating the issue, and now you have removed it?

          Yes, I did. Just because this issue has messed up even my filters, because you have several plugins I maintain. You can just provide an output of your JENKINS_URL/about in the issue description. It's a one-minute effort. It will also provide us a list of plugin versions, whithout which we cannot easily triangulate the issue

          Show
          oleg_nenashev Oleg Nenashev added a comment - Marcin Czernow Likely this is a misunderstanding. "component" field in JIRA means the Jenkins component, to which the issue is related. Otherwise it confuses maintainers of plugins. Information about installed plugins/versions should be listed in the issue body on environment. See https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue for more info. > I've provided list of all installed plugins via the form when I was creating the issue, and now you have removed it? Yes, I did. Just because this issue has messed up even my filters, because you have several plugins I maintain. You can just provide an output of your JENKINS_URL/about in the issue description. It's a one-minute effort. It will also provide us a list of plugin versions, whithout which we cannot easily triangulate the issue
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Ideally you could generate a Support bundle with startup logs using https://github.com/jenkinsci/support-core-plugin/

          Show
          oleg_nenashev Oleg Nenashev added a comment - Ideally you could generate a Support bundle with startup logs using https://github.com/jenkinsci/support-core-plugin/
          Hide
          wodzu Marcin Czernow added a comment -

          Thanks for explanation Oleg.

          I've discovered that this was not a Jenkins problem. The server on which Jenkins is running is quite slow, after one hour of booting up it finally started working.

          I will close the issue.

          Show
          wodzu Marcin Czernow added a comment - Thanks for explanation Oleg. I've discovered that this was not a Jenkins problem. The server on which Jenkins is running is quite slow, after one hour of booting up it finally started working. I will close the issue.

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            wodzu Marcin Czernow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: