Advertisement
rohankanojia

Untitled

Apr 26th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.28 KB | None | 0 0
  1. OpenShift Build hshinde/test-jenkins-base-image-again-82-1 from https://github.com/hrishin/test-jenkins-base-image-again-82.git
  2. 14:54:04 Connecting to https://api.github.com using hrishin/****** (cd-github)
  3. Obtained Jenkinsfile from 5b28f55080344b6dda389a8010fae4e4ac3aa731
  4. Loading library github.com/fabric8io/fabric8-pipeline-library@master
  5. Attempting to resolve master from remote references...
  6. > git --version # timeout=10
  7. > git ls-remote -h -t https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  8. Found match: refs/heads/master revision 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
  9. Cloning the remote Git repository
  10. Cloning with configured refspecs honoured and without tags
  11. Cloning repository https://github.com/fabric8io/fabric8-pipeline-library.git
  12. > 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
  13. Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
  14. > git --version # timeout=10
  15. > git fetch --no-tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
  16. > git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  17. > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  18. > git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  19. Fetching without tags
  20. Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
  21. > git fetch --no-tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
  22. Checking out Revision 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9 (master)
  23. > git config core.sparsecheckout # timeout=10
  24. > git checkout -f 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
  25. Commit message: "Merge pull request #399 from edewit/versions-update"
  26. First time build. Skipping changelog.
  27. [Pipeline] echo
  28. Loaded PipelineConfiguration PipelineConfiguration{jobNameToKindMap={}, ciBranchPatterns=[PR-.*], cdBranchPatterns=[master], cdGitHostAndOrganisationToBranchPatterns={}, disableITestsCD=false, disableITestsCI=false, useDockerSocketFlag=false}
  29. [Pipeline] echo
  30. Loaded the useDockerSocket flag false
  31. [Pipeline] podTemplate
  32. [Pipeline] {
  33. [Pipeline] node
  34. Still waiting to schedule task
  35. jenkins-slave-jzkvh-7r5cb is offline
  36. Running on jenkins-slave-jzkvh-7r5cb in /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
  37. [Pipeline] {
  38. [Pipeline] checkout
  39. Cloning the remote Git repository
  40. Cloning with configured refspecs honoured and without tags
  41. Cloning repository https://github.com/hrishin/test-jenkins-base-image-again-82.git
  42. > git init /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A # timeout=10
  43. Fetching upstream changes from https://github.com/hrishin/test-jenkins-base-image-again-82.git
  44. > git --version # timeout=10
  45. using GIT_ASKPASS to set credentials cd-github
  46. > git fetch --no-tags --progress https://github.com/hrishin/test-jenkins-base-image-again-82.git +refs/heads/master:refs/remotes/origin/master
  47. > git config remote.origin.url https://github.com/hrishin/test-jenkins-base-image-again-82.git # timeout=10
  48. > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
  49. > git config remote.origin.url https://github.com/hrishin/test-jenkins-base-image-again-82.git # timeout=10
  50. Fetching without tags
  51. Fetching upstream changes from https://github.com/hrishin/test-jenkins-base-image-again-82.git
  52. using GIT_ASKPASS to set credentials cd-github
  53. > git fetch --no-tags --progress https://github.com/hrishin/test-jenkins-base-image-again-82.git +refs/heads/master:refs/remotes/origin/master
  54. Checking out Revision 5b28f55080344b6dda389a8010fae4e4ac3aa731 (master)
  55. > git config core.sparsecheckout # timeout=10
  56. > git checkout -f 5b28f55080344b6dda389a8010fae4e4ac3aa731
  57. Commit message: "Initial import"
  58. First time build. Skipping changelog.
  59. fatal: bad object 0bff0f50a2af9a0dcc4d2c4abb28d1eafcbfdfb9
  60. [Pipeline] echo
  61. Using branch master
  62. [Pipeline] echo
  63. Using branch master
  64. [Pipeline] echo
  65. NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node
  66. [Pipeline] container
  67. [Pipeline] {
  68. [Pipeline] stage
  69. [Pipeline] { (Build Release)
  70. [Pipeline] sh
  71. [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
  72. + git checkout -b hrishin/test-jenkins-base-image-again-82/master-1.0.1
  73. Switched to a new branch 'hrishin/test-jenkins-base-image-again-82/master-1.0.1'
  74. [Pipeline] readMavenPom
  75. [Pipeline] echo
  76. patching maven plugin for spring-boot-booster-parent v1.5.10-15
  77. [Pipeline] writeMavenPom
  78. [Pipeline] sh
  79. [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
  80. + mvn org.codehaus.mojo:versions-maven-plugin:2.5:set -U -DnewVersion=1.0.1
  81. 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
  82. [INFO] Scanning for projects...
  83. [INFO]
  84. [INFO] ------------------------------------------------------------------------
  85. [INFO] Building Spring Boot - HTTP Booster 1.0.0-SNAPSHOT
  86. [INFO] ------------------------------------------------------------------------
  87. [INFO]
  88. [INFO] --- versions-maven-plugin:2.5:set (default-cli) @ test-jenkins-base-image-again-82 ---
  89. [INFO] Searching for local aggregator root...
  90. [INFO] Local aggregation root: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
  91. [INFO] Processing change of io.openshift.booster:test-jenkins-base-image-again-82:1.0.0-SNAPSHOT -> 1.0.1
  92. [INFO] Processing io.openshift.booster:test-jenkins-base-image-again-82
  93. [INFO] Updating project io.openshift.booster:test-jenkins-base-image-again-82
  94. [INFO] from version 1.0.0-SNAPSHOT to 1.0.1
  95. [INFO]
  96. [INFO] ------------------------------------------------------------------------
  97. [INFO] BUILD SUCCESS
  98. [INFO] ------------------------------------------------------------------------
  99. [INFO] Total time: 16.181 s
  100. [INFO] Finished at: 2018-04-26T14:55:52+00:00
  101. [INFO] Final Memory: 11M/15M
  102. [INFO] ------------------------------------------------------------------------
  103. [Pipeline] sh
  104. [-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A] Running shell script
  105. + mvn clean -B -e -U deploy -Dmaven.test.skip=false -P openshift
  106. 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
  107. [INFO] Error stacktraces are turned on.
  108. [INFO] Scanning for projects...
  109. [INFO]
  110. [INFO] ------------------------------------------------------------------------
  111. [INFO] Building Spring Boot - HTTP Booster 1.0.1
  112. [INFO] ------------------------------------------------------------------------
  113. [INFO]
  114. [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ test-jenkins-base-image-again-82 ---
  115. [INFO]
  116. [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java-version) @ test-jenkins-base-image-again-82 ---
  117. [INFO]
  118. [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ test-jenkins-base-image-again-82 ---
  119. [INFO]
  120. [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ test-jenkins-base-image-again-82 ---
  121. [INFO] Executing: /bin/sh -c cd '/home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A' && 'git' 'rev-parse' '--verify' 'HEAD'
  122. [INFO] Working directory: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A
  123. [INFO] Storing buildNumber: 5b28f55080344b6dda389a8010fae4e4ac3aa731 at timestamp: 1524754610732
  124. [INFO] Storing buildScmBranch: hrishin/test-jenkins-base-image-again-82/master-1.0.1
  125. [INFO]
  126. [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ test-jenkins-base-image-again-82 ---
  127. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  128. [INFO] Copying 2 resources
  129. [INFO]
  130. [INFO] --- fabric8-maven-plugin:3.5.38:resource (fmp) @ test-jenkins-base-image-again-82 ---
  131. [INFO] F8: Running in OpenShift mode
  132. [INFO] F8: Using docker image name of namespace: hshinde-jenkins
  133. [INFO] F8: Running generator spring-boot
  134. [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.2 as base / builder
  135. [INFO] F8: using resource templates from /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/src/main/fabric8
  136. [INFO] F8: fmp-controller: Adding a default Deployment
  137. [INFO] F8: fmp-service: Adding a default service 'test-jenkins-base-image-again-82' with ports [8080]
  138. [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
  139. [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds
  140. [INFO] F8: fmp-revision-history: Adding revision history limit to 2
  141. [INFO] F8: f8-icon: Adding icon for deployment
  142. [INFO] F8: f8-icon: Adding icon for service
  143. [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
  144. [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
  145. [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
  146. [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
  147. [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
  148. [INFO]
  149. [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ test-jenkins-base-image-again-82 ---
  150. [INFO] Changes detected - recompiling the module!
  151. [INFO] Compiling 4 source files to /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/classes
  152. [INFO]
  153. [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ test-jenkins-base-image-again-82 ---
  154. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  155. [INFO] Copying 2 resources
  156. [INFO]
  157. [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ test-jenkins-base-image-again-82 ---
  158. [INFO] Changes detected - recompiling the module!
  159. [INFO] Compiling 3 source files to /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/test-classes
  160. [INFO]
  161. [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ test-jenkins-base-image-again-82 ---
  162. Apr 26, 2018 2:57:38 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
  163. INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo1.maven.org:443: Connection reset
  164. Apr 26, 2018 2:57:38 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
  165. INFO: Retrying request to {s}->https://repo1.maven.org:443
  166. [INFO] Surefire report directory: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/surefire-reports
  167. [INFO]
  168. [INFO] -------------------------------------------------------
  169. [INFO] T E S T S
  170. [INFO] -------------------------------------------------------
  171. [INFO] Running io.openshift.booster.LocalTest
  172. 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
  173. 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}.
  174. 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.
  175. 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
  176. 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]
  177. 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]
  178.  
  179. . ____ _ __ _ _
  180. /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
  181. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  182. \\/ ___)| |_)| | | | | || (_| | ) ) ) )
  183. ' |____| .__|_| |_|_| |_\__, | / / / /
  184. =========|_|==============|___/=/_/_/_/
  185. :: Spring Boot :: (v1.5.10.RELEASE)
  186.  
  187. 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)
  188. 2018-04-26 14:57:43.287 INFO 275 --- [ main] io.openshift.booster.LocalTest : No active profile set, falling back to default profiles: default
  189. 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
  190. 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]
  191. 2018-04-26 14:57:49.980 INFO 275 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  192. 2018-04-26 14:57:53.377 INFO 275 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 0 (http)
  193. 2018-04-26 14:57:53.391 INFO 275 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
  194. 2018-04-26 14:57:53.392 INFO 275 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.20
  195. 2018-04-26 14:57:54.286 INFO 275 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  196. 2018-04-26 14:57:54.286 INFO 275 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 9606 ms
  197. 2018-04-26 14:57:59.686 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
  198. 2018-04-26 14:57:59.688 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CXFServlet' to [/api/*]
  199. 2018-04-26 14:57:59.691 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*]
  200. 2018-04-26 14:57:59.691 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
  201. 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  202. 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
  203. 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
  204. 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
  205. 2018-04-26 14:57:59.692 INFO 275 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
  206. 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
  207. 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)
  208. 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)
  209. 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]
  210. 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]
  211. 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]
  212. 2018-04-26 14:58:12.581 INFO 275 --- [ main] oConfiguration$WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
  213. 2018-04-26 14:58:15.984 INFO 275 --- [ main] org.apache.cxf.endpoint.ServerImpl : Setting the server's publish address to be /
  214. 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()
  215. 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()
  216. 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()
  217. 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)
  218. 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>)
  219. 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()
  220. 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)
  221. 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()
  222. 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
  223. 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()
  224. 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()
  225. 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)
  226. 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()
  227. 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)
  228. 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()
  229. 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)
  230. 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()
  231. 2018-04-26 14:58:27.491 INFO 275 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 43230 (http)
  232. 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)
  233. [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.895 s - in io.openshift.booster.LocalTest
  234. 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
  235. [INFO]
  236. [INFO] Results:
  237. [INFO]
  238. [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
  239. [INFO]
  240. [INFO]
  241. [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ test-jenkins-base-image-again-82 ---
  242. [INFO] Building jar: /home/jenkins/workspace/-base-image-again-82_master-47FH466LAA6Z66XWFZJBFBRTEGWLKKYWBGWFSFI2CBU5QO672I2A/target/test-jenkins-base-image-again-82-1.0.1.jar
  243. [INFO]
  244. [INFO] --- spring-boot-maven-plugin:1.5.10.RELEASE:repackage (default) @ test-jenkins-base-image-again-82 ---
  245. [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
  246. [INFO]
  247. [INFO] --- fabric8-maven-plugin:3.5.38:build (fmp) @ test-jenkins-base-image-again-82 ---
  248. [INFO] F8: Using OpenShift build with strategy S2I
  249. [INFO] F8: Running generator spring-boot
  250. [INFO] F8: spring-boot: Using Docker image registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift:1.2 as base / builder
  251. [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
  252. [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
  253. [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
  254. [INFO] F8: Creating BuildServiceConfig test-jenkins-base-image-again-82-s2i for Source build
  255. [INFO] F8: Creating ImageStream test-jenkins-base-image-again-82
  256. [INFO] F8: Starting Build test-jenkins-base-image-again-82-s2i
  257. EXITCODE 0[ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service]
  258. [INFO] ------------------------------------------------------------------------
  259. [INFO] BUILD FAILURE
  260. [INFO] ------------------------------------------------------------------------
  261. [INFO] Total time: 07:58 min
  262. [INFO] Finished at: 2018-04-26T15:03:56+00:00
  263. [INFO] Final Memory: 45M/62M
  264. [INFO] ------------------------------------------------------------------------
  265. [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]
  266. 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
  267. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
  268. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  269. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  270. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  271. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  272. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  273. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
  274. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
  275. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
  276. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
  277. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
  278. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
  279. at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
  280. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  281. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  282. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  283. at java.lang.reflect.Method.invoke(Method.java:498)
  284. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  285. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  286. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  287. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  288. Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute the build
  289. at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag(BuildMojo.java:270)
  290. at io.fabric8.maven.docker.BuildMojo.executeInternal(BuildMojo.java:44)
  291. at io.fabric8.maven.plugin.mojo.build.BuildMojo.executeInternal(BuildMojo.java:228)
  292. at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:223)
  293. at io.fabric8.maven.plugin.mojo.build.BuildMojo.execute(BuildMojo.java:199)
  294. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
  295. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
  296. ... 20 more
  297. Caused by: io.fabric8.maven.core.service.Fabric8ServiceException: Unable to build the image using the OpenShift build service
  298. at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build(OpenshiftBuildService.java:121)
  299. at io.fabric8.maven.plugin.mojo.build.BuildMojo.buildAndTag(BuildMojo.java:267)
  300. ... 26 more
  301. Caused by: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
  302. at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:62)
  303. at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:53)
  304. at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream(BuildConfigOperationsImpl.java:276)
  305. at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile(BuildConfigOperationsImpl.java:231)
  306. at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromFile(BuildConfigOperationsImpl.java:68)
  307. at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.startBuild(OpenshiftBuildService.java:361)
  308. at io.fabric8.maven.core.service.openshift.OpenshiftBuildService.build(OpenshiftBuildService.java:111)
  309. ... 27 more
  310. Caused by: java.net.SocketTimeoutException: timeout
  311. at okio.Okio$4.newTimeoutException(Okio.java:230)
  312. at okio.AsyncTimeout.exit(AsyncTimeout.java:285)
  313. at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
  314. at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345)
  315. at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217)
  316. at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211)
  317. at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:187)
  318. at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:61)
  319. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  320. at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
  321. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  322. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
  323. at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
  324. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  325. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
  326. at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
  327. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  328. at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
  329. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  330. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
  331. at io.fabric8.openshift.client.internal.OpenShiftOAuthInterceptor.intercept(OpenShiftOAuthInterceptor.java:66)
  332. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
  333. at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
  334. at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
  335. at okhttp3.RealCall.execute(RealCall.java:77)
  336. at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:377)
  337. at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:359)
  338. at io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.fromInputStream(BuildConfigOperationsImpl.java:274)
  339. ... 31 more
  340. Caused by: java.net.SocketException: Socket closed
  341. at java.net.SocketInputStream.read(SocketInputStream.java:204)
  342. at java.net.SocketInputStream.read(SocketInputStream.java:141)
  343. at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
  344. at sun.security.ssl.InputRecord.read(InputRecord.java:503)
  345. at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
  346. at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
  347. at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
  348. at okio.Okio$2.read(Okio.java:139)
  349. at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
  350. ... 56 more
  351. [ERROR]
  352. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  353. [ERROR]
  354. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  355. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  356. [Pipeline] }
  357. [Pipeline] // stage
  358. [Pipeline] }
  359. [Pipeline] // container
  360. [Pipeline] }
  361. [Pipeline] // node
  362. [Pipeline] }
  363. [Pipeline] // podTemplate
  364. [Pipeline] End of Pipeline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement