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

Jenkins startup blocked on GoogleRobotMetadataCredentials$Descriptor.metadataDescriptor

    Details

    • Similar Issues:

      Description

      Noticed a Jenkins service taking a long time to start up. A thread dump revealed

      "Initializing plugin support-core" ...
         java.lang.Thread.State: RUNNABLE
              at sun.util.logging.PlatformLogger.getLogger(PlatformLogger.java:199)
              - locked <0x...> (a java.lang.Class for sun.util.logging.PlatformLogger)
              at sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:432)
              at sun.net.www.protocol.http.Handler.openConnection(Handler.java:62)
              at sun.net.www.protocol.http.Handler.openConnection(Handler.java:57)
              at java.net.URL.openConnection(URL.java:1002)
              at com.google.api.client.http.javanet.DefaultConnectionFactory.openConnection(DefaultConnectionFactory.java:31)
              at com.google.api.client.http.javanet.NetHttpTransport.buildRequest(NetHttpTransport.java:136)
              at com.google.api.client.http.javanet.NetHttpTransport.buildRequest(NetHttpTransport.java:62)
              at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:863)
              at com.google.jenkins.plugins.util.MetadataReader$Default.readMetadata(MetadataReader.java:80)
              at com.google.jenkins.plugins.util.MetadataReader$Default.hasMetadata(MetadataReader.java:105)
              at com.google.jenkins.plugins.credentials.oauth.GoogleRobotMetadataCredentials$Descriptor.metadataDescriptor(GoogleRobotMetadataCredentials.java:141)
              at ...
              at net.java.sezpoz.IndexItem.instance(IndexItem.java:183)
              at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:369)
              at hudson.ExtensionFinder$GuiceFinder.access$700(ExtensionFinder.java:240)
              at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:557)
              at ...
              at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:402)
              at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:393)
              at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)
              at hudson.ExtensionList.load(ExtensionList.java:381)
              at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)
              - locked <0x...> (a hudson.ExtensionList$Lock)
              at hudson.ExtensionList.iterator(ExtensionList.java:172)
              at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1590)
              at ...
      

      You must not make blocking network calls in this context.

      Note that the Jenkins service was not using Google OAuth in any way.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              astroilov Andrey Stroilov
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: