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

Download metadata failed for timeout in jenkins master pod, then JVM is terminating

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core

      when I install jenkins by kubernetes, jenkins container will download metadata and check updates server, what does these two steps do specifically? and how can I deal with the result of JVM terminated, because of timeout with updates server.

      //EnvVars.masterEnvVars.get("JENKINS_HOME")2020-04-20 08:47:10.776+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @466ms to org.eclipse.jetty.util.log.JavaUtilLog2020-04-20 08:47:10.913+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file2020-04-20 08:47:12.326+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath2020-04-20 08:47:12.390+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.z-SNAPSHOT; built: 2019-05-02T00:04:53.875Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_242-b082020-04-20 08:47:12.724+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet2020-04-20 08:47:12.776+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node02020-04-20 08:47:12.777+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults2020-04-20 08:47:12.780+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 660000ms2020-04-20 08:47:13.274+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")2020-04-20 08:47:13.437+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@2a2da905{Jenkins v2.204.5,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}2020-04-20 08:47:13.455+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@533bda92{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}2020-04-20 08:47:13.456+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @3145ms2020-04-20 08:47:13.460+0000 [id=20] INFO winstone.Logger#logInternal: Winstone Servlet Engine v4.0 running: controlPort=disabled2020-04-20 08:47:15.232+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization2020-04-20 08:47:15.443+0000 [id=26] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/command-launcher.jpi2020-04-20 08:47:15.457+0000 [id=26] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/jdk-tool.jpi2020-04-20 08:47:18.072+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins2020-04-20 08:47:25.255+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins2020-04-20 08:47:25.284+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins2020-04-20 08:47:27.100+0000 [id=26] INFO h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping2020-04-20 08:47:27.577+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions2020-04-20 08:47:27.642+0000 [id=25] INFO jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.2020-04-20 08:47:27.694+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs2020-04-20 08:47:27.800+0000 [id=25] INFO hudson.model.AllView#migrateLegacyPrimaryAllViewLocalizedName: JENKINS-38606 detected for AllView in hudson.model.Hudson@5f0e913e; renaming view from All to all2020-04-20 08:47:27.841+0000 [id=37] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata2020-04-20 08:47:27.851+0000 [id=37] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server2020-04-20 08:47:28.403+0000 [id=25] INFO o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@b2cfcca: display name [Root WebApplicationContext]; startup date [Mon Apr 20 16:47:28 CST 2020]; root of context hierarchy2020-04-20 08:47:28.404+0000 [id=25] INFO o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@b2cfcca]: org.springframework.beans.factory.support.DefaultListableBeanFactory@8a9742a2020-04-20 08:47:28.418+0000 [id=25] INFO o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@8a9742a: defining beans [filter,legacy]; root of factory hierarchy2020-04-20 08:47:28.644+0000 [id=25] INFO o.c.j.p.k.KubernetesClientProvider$SaveableListenerImpl#onChange: Invalidating Kubernetes client: kubernetes null 

            Unassigned Unassigned
            235659_yanyu gao yanyu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: