Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Jenkins get killed before ready #4765

Open
rbaumgar opened this issue Feb 26, 2019 · 0 comments
Open

Jenkins get killed before ready #4765

rbaumgar opened this issue Feb 26, 2019 · 0 comments

Comments

@rbaumgar
Copy link

Issue Overview

I am not able start a pipeline because Jenkins is not running.
Now I have completely reset my profile. Problem is still the same.

Expected Behaviour
Current Behaviour
Steps To Reproduce
  1. reset profile
  2. create codebase
  3. import existing github project(vertx sample)
  4. define build-stage-run pipeline
Additional Information
OPENSHIFT_JENKINS_JVM_ARCH is set to i686 so using 32 bit Java
Feb 26, 2019 05:39:59 PM INFO: Using temp directory /var/lib/jenkins/tmp.0KudNEifa2 for generating configurations
Feb 26, 2019 05:40:56 PM INFO: Generating kubernetes-plugin configuration (/opt/openshift/configuration/config.xml.tpl)
Feb 26, 2019 05:40:57 PM INFO: Generating kubernetes-plugin credentials (credentials.xml) ...
Feb 26, 2019 05:40:57 PM INFO: Copying Jenkins configuration to /var/lib/jenkins
Feb 26, 2019 05:41:01 PM INFO: Removing template files (*.tpl) from /var/lib/jenkins
Feb 26, 2019 05:41:02 PM INFO: Removed temp directory /var/lib/jenkins/tmp.0KudNEifa2
Creating initial Jenkins 'admin' user ...
sed: can't read /var/lib/jenkins/users/admin/config.xml: No such file or directory
Running from: /usr/lib/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Feb 26, 2019 5:41:05 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @1910ms to org.eclipse.jetty.util.log.JavaUtilLog
Feb 26, 2019 5:41:05 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Feb 26, 2019 5:41:06 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Feb 26, 2019 5:41:06 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_191-b12
Feb 26, 2019 5:41:25 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: node0 Scavenging every 660000ms
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@5a729f{Jenkins v2.138.2,/,file:///var/lib/jenkins/war/,AVAILABLE}{/var/lib/jenkins/war}
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@1919693{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.Server doStart
INFO: Started @51138ms
Feb 26, 2019 5:41:54 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Feb 26, 2019 5:42:10 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 26, 2019 5:44:02 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/jsch/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:03 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/gradle/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:22 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/oauth-credentials/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:25 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/openid4java/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
[rbaumgar@rbaumgar fuse-financial-cicd]$ oc logs jenkins-1-dzp92 -f
OPENSHIFT_JENKINS_JVM_ARCH is set to i686 so using 32 bit Java
Feb 26, 2019 05:39:59 PM INFO: Using temp directory /var/lib/jenkins/tmp.0KudNEifa2 for generating configurations
Feb 26, 2019 05:40:56 PM INFO: Generating kubernetes-plugin configuration (/opt/openshift/configuration/config.xml.tpl)
Feb 26, 2019 05:40:57 PM INFO: Generating kubernetes-plugin credentials (credentials.xml) ...
Feb 26, 2019 05:40:57 PM INFO: Copying Jenkins configuration to /var/lib/jenkins
Feb 26, 2019 05:41:01 PM INFO: Removing template files (*.tpl) from /var/lib/jenkins
Feb 26, 2019 05:41:02 PM INFO: Removed temp directory /var/lib/jenkins/tmp.0KudNEifa2
Creating initial Jenkins 'admin' user ...
sed: can't read /var/lib/jenkins/users/admin/config.xml: No such file or directory
Running from: /usr/lib/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Feb 26, 2019 5:41:05 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @1910ms to org.eclipse.jetty.util.log.JavaUtilLog
Feb 26, 2019 5:41:05 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Feb 26, 2019 5:41:06 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Feb 26, 2019 5:41:06 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_191-b12
Feb 26, 2019 5:41:25 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Feb 26, 2019 5:41:28 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: node0 Scavenging every 660000ms
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@5a729f{Jenkins v2.138.2,/,file:///var/lib/jenkins/war/,AVAILABLE}{/var/lib/jenkins/war}
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@1919693{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Feb 26, 2019 5:41:54 PM org.eclipse.jetty.server.Server doStart
INFO: Started @51138ms
Feb 26, 2019 5:41:54 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Feb 26, 2019 5:42:10 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 26, 2019 5:44:02 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/jsch/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:03 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/gradle/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:22 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/oauth-credentials/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:25 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
WARNING: Created /var/lib/jenkins/plugins/openid4java/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
Feb 26, 2019 5:46:58 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Feb 26, 2019 5:47:11 PM hudson.plugins.ansicolor.PluginImpl start
INFO: AnsiColor: eliminating boring output (https://github.com/jenkinsci/ansicolor-plugin)
Feb 26, 2019 5:50:59 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Feb 26, 2019 5:51:00 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins

event

43m         43m          1         jenkins-1-7ll6t.1586f92312f42f69     Pod                     spec.containers{jenkins}      Normal    Killing                       kubelet, ip-172-31-73-136.us-east-2.compute.internal      Killing container with id docker://jenkins:Need to kill Pod
26m         26m          1         jenkins.1586fa0d86f1917d             DeploymentConfig                                      Normal    ReplicationControllerScaled   deploymentconfig-controller                               Scaled replication controller "jenkins-1" from 0 to 1
26m         26m          1         jenkins-1.1586fa0d908ce092           ReplicationController                                 Normal    SuccessfulCreate              replication-controller                                    Created pod: jenkins-1-dzp92
26m         26m          1         jenkins-1-dzp92.1586fa0d9326bbd8     Pod                                                   Normal    Scheduled                     default-scheduler                                         Successfully assigned robert-baumgartner-jenkins/jenkins-1-dzp92 to ip-172-31-68-153.us-east-2.compute.internal
26m         26m          1         jenkins-1-dzp92.1586fa0e974e1690     Pod                     spec.containers{jenkins}      Normal    Pulling                       kubelet, ip-172-31-68-153.us-east-2.compute.internal      pulling image "fabric8/jenkins-openshift:vb355188"
26m         26m          1         jenkins-1-dzp92.1586fa0ef2db5b8d     Pod                     spec.containers{jenkins}      Normal    Pulled                        kubelet, ip-172-31-68-153.us-east-2.compute.internal      Successfully pulled image "fabric8/jenkins-openshift:vb355188"
26m         26m          1         jenkins-1-dzp92.1586fa0f34343819     Pod                     spec.containers{jenkins}      Normal    Started                       kubelet, ip-172-31-68-153.us-east-2.compute.internal      Started container
26m         26m          1         jenkins-1-dzp92.1586fa0f0cb473a2     Pod                     spec.containers{jenkins}      Normal    Created                       kubelet, ip-172-31-68-153.us-east-2.compute.internal      Created container
11m         24m          45        jenkins-1-dzp92.1586fa2c617ad758     Pod                     spec.containers{jenkins}      Warning   Unhealthy                     kubelet, ip-172-31-68-153.us-east-2.compute.internal      Readiness probe failed: HTTP probe failed with statuscode: 503
6m          19m          35        jenkins-1-dzp92.1586fa70d6bef0b7     Pod                     spec.containers{jenkins}      Warning   Unhealthy                     kubelet, ip-172-31-68-153.us-east-2.compute.internal      Liveness probe failed: HTTP probe failed with statuscode: 503
1m          26m          14        jenkins-1-dzp92.1586fa186d906156     Pod                     spec.containers{jenkins}      Warning   Unhealthy                     kubelet, ip-172-31-68-153.us-east-2.compute.internal      Readiness probe failed: Get http://10.130.33.117:8080/login: dial tcp 10.130.33.117:8080: connect: connection refused
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant