Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenShift Build hshinde/test-jenkins-base-image-again-82-1 from https://github.com/hrishin/test-jenkins-base-image-again-82.git
- 14:54:04 Connecting to https://api.github.com using hrishin/****** (cd-github)
- Obtained Jenkinsfile from 5b28f55080344b6dda389a8010fae4e4ac3aa731
- Loading library github.com/fabric8io/fabric8-pipeline-library@master
- Attempting to resolve master from remote references...
- > git --version # timeout=10
- > git ls-remote -h -t https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
- Found match: refs/heads/master revision 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
- Cloning the remote Git repository
- Cloning with configured refspecs honoured and without tags
- Cloning repository https://github.com/fabric8io/fabric8-pipeline-library.git
- > git init /var/lib/jenkins/jobs/hrishin/jobs/test-jenkins-base-image-again-82/branches/master/workspace@libs/github.com/fabric8io/fabric8-pipeline-library # timeout=10
- Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
- > git --version # timeout=10
- > git fetch --no-tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
- > git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
- > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
- > git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
- Fetching without tags
- Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
- > git fetch --no-tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
- Checking out Revision 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9 (master)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
- Commit message: "Merge pull request #399 from edewit/versions-update"
- First time build. Skipping changelog.
- [Pipeline] echo
- Loaded PipelineConfiguration PipelineConfiguration{jobNameToKindMap={}, ciBranchPatterns=[PR-.*], cdBranchPatterns=[master], cdGitHostAndOrganisationToBranchPatterns={}, disableITestsCD=false, disableITestsCI=false, useDockerSocketFlag=false}
- [Pipeline] echo
- Loaded the useDockerSocket flag false
- [Pipeline] podTemplate
- [Pipeline] {
- [Pipeline] node
- Still waiting to schedule task
- jenkins-slave-jzkvh-7r5cb is offline
- Running on jenkins-slave-jzkvh-7r5cb in /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
- [Pipeline] {
- [Pipeline] checkout
- Cloning the remote Git repository
- Cloning with configured refspecs honoured and without tags
- Cloning repository https://github.com/hrishin/test-jenkins-base-image-again-82.git
- > git init /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A # timeout=10
- Fetching upstream changes from https://github.com/hrishin/test-jenkins-base-image-again-82.git
- > git --version # timeout=10
- using GIT_ASKPASS to set credentials cd-github
- > git fetch --no-tags --progress https://github.com/hrishin/test-jenkins-base-image-again-82.git +refs/heads/master:refs/remotes/origin/master
- > git config remote.origin.url https://github.com/hrishin/test-jenkins-base-image-again-82.git # timeout=10
- > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
- > git config remote.origin.url https://github.com/hrishin/test-jenkins-base-image-again-82.git # timeout=10
- Fetching without tags
- Fetching upstream changes from https://github.com/hrishin/test-jenkins-base-image-again-82.git
- using GIT_ASKPASS to set credentials cd-github
- > git fetch --no-tags --progress https://github.com/hrishin/test-jenkins-base-image-again-82.git +refs/heads/master:refs/remotes/origin/master
- Checking out Revision 5b28f55080344b6dda389a8010fae4e4ac3aa731 (master)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f 5b28f55080344b6dda389a8010fae4e4ac3aa731
- Commit message: "Initial import"
- First time build. Skipping changelog.
- fatal: bad object 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
- [Pipeline] echo
- Using branch master
- [Pipeline] echo
- Using branch master
- [Pipeline] echo
- NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node
- [Pipeline] container
- [Pipeline] {
- [Pipeline] stage
- [Pipeline] { (Build Release)
- [Pipeline] sh
- [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
- + git checkout -b hrishin/test-jenkins-base-image-again-82/master-1.0.1
- Switched to a new branch 'hrishin/test-jenkins-base-image-again-82/master-1.0.1'
- [Pipeline] readMavenPom
- [Pipeline] echo
- patching maven plugin for spring-boot-booster-parent v1.5.10-15
- [Pipeline] writeMavenPom
- [Pipeline] sh
- [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
- + mvn org.codehaus.mojo:versions-maven-plugin:2.5:set -U -DnewVersion=1.0.1
- Picked up _JAVA_OPTIONS: -Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Spring Boot - HTTP Booster 1.0.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- versions-maven-plugin:2.5:set (default-cli) @ test-jenkins-base-image-again-82 ---
- [INFO] Searching for local aggregator root...
- [INFO] Local aggregation root: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
- [INFO] Processing change of io.openshift.booster:test-jenkins-base-image-again-82:1.0.0-SNAPSHOT -> 1.0.1
- [INFO] Processing io.openshift.booster:test-jenkins-base-image-again-82
- [INFO] Updating project io.openshift.booster:test-jenkins-base-image-again-82
- [INFO] from version 1.0.0-SNAPSHOT to 1.0.1
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 16.181 s
- [INFO] Finished at: 2018-04-26T14:55:52+00:00
- [INFO] Final Memory: 11M/15M
- [INFO] ------------------------------------------------------------------------
- [Pipeline] sh
- [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
- + mvn clean -B -e -U deploy -Dmaven.test.skip=false -P openshift
- Picked up _JAVA_OPTIONS: -Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m
- [INFO] Error stacktraces are turned on.
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Spring Boot - HTTP Booster 1.0.1
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ test-jenkins-base-image-again-82 ---
- [INFO]
- [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ test-jenkins-base-image-again-82 ---
- [INFO]
- [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ test-jenkins-base-image-again-82 ---
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ test-jenkins-base-image-again-82 ---
- [INFO] Executing: /bin/sh -c cd '/home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A' && 'git' 'rev-parse' '--verify' 'HEAD'
- [INFO] Working directory: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
- [INFO] Storing buildNumber: 5b28f55080344b6dda389a8010fae4e4ac3aa731 at timestamp: 1524754610732
- [INFO] Storing buildScmBranch: hrishin/test-jenkins-base-image-again-82/master-1.0.1
- [INFO]
- [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ test-jenkins-base-image-again-82 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.38:resource (fmp) @ test-jenkins-base-image-again-82 ---
- [INFO] F8: Running in OpenShift mode
- [INFO] F8: Using docker image name of namespace: hshinde-jenkins
- [INFO] F8: Running generator spring-boot
- [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.2 as base / builder
- [INFO] F8: using resource templates from /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/src/main/fabric8
- [INFO] F8: fmp-controller: Adding a default Deployment
- [INFO] F8: fmp-service: Adding a default service 'test-jenkins-base-image-again-82' with ports [8080]
- [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
- [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds
- [INFO] F8: fmp-revision-history: Adding revision history limit to 2
- [INFO] F8: f8-icon: Adding icon for deployment
- [INFO] F8: f8-icon: Adding icon for service
- [INFO] F8: validating /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes/META-INF/fabric8/openshift/test-jenkins-base-image-again-82-svc.yml resource
- [INFO] F8: validating /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes/META-INF/fabric8/openshift/test-jenkins-base-image-again-82-deploymentconfig.yml resource
- [INFO] F8: validating /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes/META-INF/fabric8/openshift/test-jenkins-base-image-again-82-route.yml resource
- [INFO] F8: validating /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes/META-INF/fabric8/kubernetes/test-jenkins-base-image-again-82-svc.yml resource
- [INFO] F8: validating /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes/META-INF/fabric8/kubernetes/test-jenkins-base-image-again-82-deployment.yml resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ test-jenkins-base-image-again-82 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 4 source files to /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ test-jenkins-base-image-again-82 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ test-jenkins-base-image-again-82 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ test-jenkins-base-image-again-82 ---
- Apr 26, 2018 2:57:38 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
- INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo1.maven.org:443: Connection reset
- Apr 26, 2018 2:57:38 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
- INFO: Retrying request to {s}->https://repo1.maven.org:443
- [INFO] Surefire report directory: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/surefire-reports
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running io.openshift.booster.LocalTest
- 2018-04-26 14:57:41.792 INFO --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [io.openshift.booster.LocalTest], using SpringBootContextLoader
- 2018-04-26 14:57:41.801 INFO --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [io.openshift.booster.LocalTest]: no resource found for suffixes {-context.xml, Context.groovy}.
- 2018-04-26 14:57:41.802 INFO --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [io.openshift.booster.LocalTest]: LocalTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
- 2018-04-26 14:57:41.989 INFO --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration io.openshift.booster.BoosterApplication for test class io.openshift.booster.LocalTest
- 2018-04-26 14:57:41.996 INFO --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
- 2018-04-26 14:57:42.083 INFO --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f4ea7c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@16813f3, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@fe5c40, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1ebb011, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@e31a9a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@11774fe, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@18d2680, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1847718, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@13b84b8, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1a3af25]
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v1.5.10.RELEASE)
- 2018-04-26 14:57:43.287 INFO 275 --- [ main] io.openshift.booster.LocalTest : Starting LocalTest on jenkins-slave-jzkvh-7r5cb with PID 275 (started by ? in /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A)
- 2018-04-26 14:57:43.287 INFO 275 --- [ main] io.openshift.booster.LocalTest : No active profile set, falling back to default profiles: default
- 2018-04-26 14:57:44.684 INFO 275 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@9a5ed8: startup date [Thu Apr 26 14:57:44 UTC 2018]; root of context hierarchy
- 2018-04-26 14:57:48.077 INFO 275 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
- 2018-04-26 14:57:49.980 INFO 275 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 2018-04-26 14:57:53.377 INFO 275 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 0 (http)
- 2018-04-26 14:57:53.391 INFO 275 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2018-04-26 14:57:53.392 INFO 275 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.20
- 2018-04-26 14:57:54.286 INFO 275 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 2018-04-26 14:57:54.286 INFO 275 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 9606 ms
- 2018-04-26 14:57:59.686 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
- 2018-04-26 14:57:59.688 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CXFServlet' to [/api/*]
- 2018-04-26 14:57:59.691 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*]
- 2018-04-26 14:57:59.691 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
- 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
- 2018-04-26 14:58:08.684 INFO 275 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@9a5ed8: startup date [Thu Apr 26 14:57:44 UTC 2018]; root of context hierarchy
- 2018-04-26 14:58:09.789 INFO 275 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
- 2018-04-26 14:58:09.790 INFO 275 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
- 2018-04-26 14:58:10.885 INFO 275 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 2018-04-26 14:58:10.886 INFO 275 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 2018-04-26 14:58:11.884 INFO 275 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
- 2018-04-26 14:58:12.581 INFO 275 --- [ main] oConfiguration$WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
- 2018-04-26 14:58:15.984 INFO 275 --- [ main] org.apache.cxf.endpoint.ServerImpl : Setting the server's publish address to be /
- 2018-04-26 14:58:22.279 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.280 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.281 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.283 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
- 2018-04-26 14:58:22.283 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
- 2018-04-26 14:58:22.284 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.285 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
- 2018-04-26 14:58:22.673 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.674 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
- 2018-04-26 14:58:22.677 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.678 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.679 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
- 2018-04-26 14:58:22.679 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.680 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
- 2018-04-26 14:58:22.681 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:22.682 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
- 2018-04-26 14:58:22.682 INFO 275 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
- 2018-04-26 14:58:27.491 INFO 275 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 43230 (http)
- 2018-04-26 14:58:27.571 INFO 275 --- [ main] io.openshift.booster.LocalTest : Started LocalTest in 45.225 seconds (JVM running for 47.284)
- [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.895 s - in io.openshift.booster.LocalTest
- 2018-04-26 14:58:45.795 INFO 275 --- [ Thread-4] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@9a5ed8: startup date [Thu Apr 26 14:57:44 UTC 2018]; root of context hierarchy
- [INFO]
- [INFO] Results:
- [INFO]
- [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO]
- [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ test-jenkins-base-image-again-82 ---
- [INFO] Building jar: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/test-jenkins-base-image-again-82-1.0.1.jar
- [INFO]
- [INFO] --- spring-boot-maven-plugin:1.5.10.RELEASE:repackage (default) @ test-jenkins-base-image-again-82 ---
- [INFO] Attaching archive: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/test-jenkins-base-image-again-82-1.0.1-exec.jar, with classifier: exec
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.38:build (fmp) @ test-jenkins-base-image-again-82 ---
- [INFO] F8: Using OpenShift build with strategy S2I
- [INFO] F8: Running generator spring-boot
- [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.2 as base / builder
- [INFO] Copying files to /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/docker/test-jenkins-base-image-again-82/1.0.1/build/maven
- [INFO] Building tar: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/docker/test-jenkins-base-image-again-82/1.0.1/tmp/docker-build.tar
- [INFO] F8: [test-jenkins-base-image-again-82:1.0.1] "spring-boot": Created docker source tar /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/docker/test-jenkins-base-image-again-82/1.0.1/tmp/docker-build.tar
- [INFO] F8: Creating BuildServiceConfig test-jenkins-base-image-again-82-s2i for Source build
- [INFO] F8: Creating ImageStream test-jenkins-base-image-again-82
- [INFO] F8: Starting Build test-jenkins-base-image-again-82-s2i
- EXITCODE 0[ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 07:58 min
- [INFO] Finished at: 2018-04-26T15:03:56+00:00
- [INFO] Final Memory: 45M/62M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.38:build (fmp) on project test-jenkins-base-image-again-82: Failed to execute the build: Unable to build the image using the OpenShift build service: An error has occurred. timeout: Socket closed -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.38:build (fmp) on project test-jenkins-base-image-again-82: Failed to execute the build
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute the build
- at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag(BuildMojo.java:270)
- at io.fabric8.maven.docker.BuildMojo.executeInternal(BuildMojo.java:44)
- at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal(BuildMojo.java:228)
- at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:223)
- at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute(BuildMojo.java:199)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
- ... 20 more
- Caused by: io.fabric8.maven.core.service.Fabric8ServiceException: Unable to build the image using the OpenShift build service
- at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build(OpenshiftBuildService.java:121)
- at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag(BuildMojo.java:267)
- ... 26 more
- Caused by: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
- at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:62)
- at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:53)
- at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream(BuildConfigOperationsImpl.java:276)
- at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile(BuildConfigOperationsImpl.java:231)
- at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile(BuildConfigOperationsImpl.java:68)
- at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.startBuild(OpenshiftBuildService.java:361)
- at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build(OpenshiftBuildService.java:111)
- ... 27 more
- Caused by: java.net.SocketTimeoutException: timeout
- at okio.Okio$4.newTimeoutException(Okio.java:230)
- at okio.AsyncTimeout.exit(AsyncTimeout.java:285)
- at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
- at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345)
- at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217)
- at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211)
- at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:187)
- at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:61)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
- at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
- at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
- at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept(OpenShiftOAuthInterceptor.java:66)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
- at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
- at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
- at okhttp3.RealCall.execute(RealCall.java:77)
- at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:377)
- at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:359)
- at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream(BuildConfigOperationsImpl.java:274)
- ... 31 more
- Caused by: java.net.SocketException: Socket closed
- at java.net.SocketInputStream.read(SocketInputStream.java:204)
- at java.net.SocketInputStream.read(SocketInputStream.java:141)
- at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
- at sun.security.ssl.InputRecord.read(InputRecord.java:503)
- at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
- at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
- at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
- at okio.Okio$2.read(Okio.java:139)
- at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
- ... 56 more
- [ERROR]
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] }
- [Pipeline] // container
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] }
- [Pipeline] // podTemplate
- [Pipeline] End of Pipeline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement