Advertisement
Guest User

Untitled

a guest
Aug 7th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.02 KB | None | 0 0
  1. OpenShift Build hriships/aug7spboot-3 from https://github.com/hrishin/aug7spboot.git
  2. 16:58:27 Connecting to https://api.github.com using hrishin/****** (cd-github)
  3. Obtained Jenkinsfile from fd2c8c75d6994f3ca9207f02aaa29539382b61f0
  4. Running in Durability level: MAX_SURVIVABILITY
  5. Loading library github.com/hrishin/fabric8-pipeline-library@deploy-test
  6. Attempting to resolve deploy-test from remote references...
  7. > git --version # timeout=10
  8. > git ls-remote -h -t https://github.com/hrishin/fabric8-pipeline-library.git # timeout=10
  9. Found match: refs/heads/deploy-test revision 9d674f91f7e8bffc0f312d06af37503ab654b3c9
  10. > git rev-parse --is-inside-work-tree # timeout=10
  11. Fetching changes from the remote Git repository
  12. > git config remote.origin.url https://github.com/hrishin/fabric8-pipeline-library.git # timeout=10
  13. Fetching without tags
  14. Fetching upstream changes from https://github.com/hrishin/fabric8-pipeline-library.git
  15. > git --version # timeout=10
  16. > git fetch --no-tags --progress https://github.com/hrishin/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
  17. Checking out Revision 9d674f91f7e8bffc0f312d06af37503ab654b3c9 (deploy-test)
  18. > git config core.sparsecheckout # timeout=10
  19. > git checkout -f 9d674f91f7e8bffc0f312d06af37503ab654b3c9
  20. Commit message: "deploy"
  21. > git rev-list --no-walk 9d674f91f7e8bffc0f312d06af37503ab654b3c9 # timeout=10
  22. [Pipeline] echo
  23. Loaded PipelineConfiguration PipelineConfiguration{jobNameToKindMap={}, ciBranchPatterns=[PR-.*], cdBranchPatterns=[master], cdGitHostAndOrganisationToBranchPatterns={}, disableITestsCD=false, disableITestsCI=false, useDockerSocketFlag=false}
  24. [Pipeline] echo
  25. Loaded the useDockerSocket flag false
  26. [Pipeline] podTemplate
  27. [Pipeline] {
  28. [Pipeline] node
  29. Still waiting to schedule task
  30. Jenkins doesnโ€™t have label mavenaug7spboot_3
  31. Running on jenkins-slave-4736p-lm17f in /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ
  32. [Pipeline] {
  33. [Pipeline] checkout
  34. Cloning the remote Git repository
  35. Cloning with configured refspecs honoured and without tags
  36. Cloning repository https://github.com/hrishin/aug7spboot.git
  37. > git init /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ # timeout=10
  38. Fetching upstream changes from https://github.com/hrishin/aug7spboot.git
  39. > git --version # timeout=10
  40. using GIT_ASKPASS to set credentials cd-github
  41. > git fetch --no-tags --progress https://github.com/hrishin/aug7spboot.git +refs/heads/master:refs/remotes/origin/master
  42. > git config remote.origin.url https://github.com/hrishin/aug7spboot.git # timeout=10
  43. > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
  44. > git config remote.origin.url https://github.com/hrishin/aug7spboot.git # timeout=10
  45. Fetching without tags
  46. Fetching upstream changes from https://github.com/hrishin/aug7spboot.git
  47. using GIT_ASKPASS to set credentials cd-github
  48. > git fetch --no-tags --progress https://github.com/hrishin/aug7spboot.git +refs/heads/master:refs/remotes/origin/master
  49. Checking out Revision fd2c8c75d6994f3ca9207f02aaa29539382b61f0 (master)
  50. > git config core.sparsecheckout # timeout=10
  51. > git checkout -f fd2c8c75d6994f3ca9207f02aaa29539382b61f0
  52. Commit message: "deploy-test"
  53. > git rev-list --no-walk fd2c8c75d6994f3ca9207f02aaa29539382b61f0 # timeout=10
  54. [Pipeline] echo
  55. Using branch master
  56. [Pipeline] echo
  57. Using branch master
  58. [Pipeline] pwd
  59. [Pipeline] load
  60. [Pipeline] // load
  61. [Pipeline] echo
  62. Jenkinsfile.setup.groovy not found
  63. [Pipeline] echo
  64. NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node
  65. [Pipeline] container
  66. [Pipeline] {
  67. [Pipeline] stage
  68. [Pipeline] { (Build Release)
  69. [Pipeline] sh
  70. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  71. + git checkout -b hrishin/aug7spboot/master-1.0.3
  72. Switched to a new branch 'hrishin/aug7spboot/master-1.0.3'
  73. [Pipeline] readMavenPom
  74. [Pipeline] sh
  75. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  76. + mvn org.codehaus.mojo:versions-maven-plugin:2.5:set -U -DnewVersion=1.0.3
  77. 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
  78. [INFO] Scanning for projects...
  79. [WARNING]
  80. [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.0-SNAPSHOT
  81. [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
  82. [WARNING]
  83. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  84. [WARNING]
  85. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  86. [WARNING]
  87. [INFO]
  88. [INFO] ------------------------------------------------------------------------
  89. [INFO] Building spring-boot-application 1.0.0-SNAPSHOT
  90. [INFO] ------------------------------------------------------------------------
  91. [INFO]
  92. [INFO] --- versions-maven-plugin:2.5:set (default-cli) @ spring-boot-application ---
  93. [INFO] Searching for local aggregator root...
  94. [INFO] Local aggregation root: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ
  95. [INFO] Processing change of io.openshift.booster:spring-boot-application:1.0.0-SNAPSHOT -> 1.0.3
  96. [INFO] Processing io.openshift.booster:spring-boot-application
  97. [INFO] Updating project io.openshift.booster:spring-boot-application
  98. [INFO] from version 1.0.0-SNAPSHOT to 1.0.3
  99. [INFO]
  100. [INFO] ------------------------------------------------------------------------
  101. [INFO] BUILD SUCCESS
  102. [INFO] ------------------------------------------------------------------------
  103. [INFO] Total time: 19.923 s
  104. [INFO] Finished at: 2018-08-07T17:00:37+00:00
  105. [INFO] Final Memory: 10M/15M
  106. [INFO] ------------------------------------------------------------------------
  107. [Pipeline] echo
  108. Looking for matching Build aug7spboot-3
  109. [Pipeline] echo
  110. looking for aug7spboot-3 in namespace hriships
  111. [Pipeline] echo
  112. Found label for space: 'gfghgfhg', in Build aug7spboot-3
  113. [Pipeline] sh
  114. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  115. + mvn org.apache.maven.plugins:maven-help-plugin:3.0.0:describe -Popenshift -Dplugin=io.fabric8:fabric8-maven-plugin -Dminimal=true
  116. 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
  117. EXITCODE 0[Pipeline] echo
  118. Found fabric8-maven-plugin version 3.5.41
  119. [Pipeline] sh
  120. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  121. + mvn clean -B -e -U deploy -Dmaven.test.skip=false -Dfabric8.profile=osio -Dfabric8.enricher.osio-space-label.space=gfghgfhg -P openshift
  122. 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
  123. [INFO] Error stacktraces are turned on.
  124. [INFO] Scanning for projects...
  125. [WARNING]
  126. [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
  127. [WARNING] 'build.plugins.plugin.version' for io.fabric8:fabric8-maven-plugin is missing. @ line 39, column 19
  128. [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
  129. [WARNING]
  130. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  131. [WARNING]
  132. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  133. [WARNING]
  134. [INFO]
  135. [INFO] ------------------------------------------------------------------------
  136. [INFO] Building spring-boot-application 1.0.3
  137. [INFO] ------------------------------------------------------------------------
  138. [INFO]
  139. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-boot-application ---
  140. [INFO]
  141. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-boot-application ---
  142. [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
  143. [INFO] skip non existing resourceDirectory /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/src/main/resources
  144. [INFO]
  145. [INFO] --- fabric8-maven-plugin:3.5.41:resource (fmp) @ spring-boot-application ---
  146. [INFO] F8: Running in OpenShift mode
  147. [INFO] F8: Using docker image name of namespace: hriships-jenkins
  148. [INFO] io.fabric8.maven.core.config.Profile@fdce3c inheriting resources from default
  149. [INFO] F8: Running generator spring-boot
  150. [INFO] F8: spring-boot: Using Docker image fabric8/java-centos-openjdk8-jdk:1.5 as base / builder
  151. [INFO] io.fabric8.maven.core.config.Profile@c2ce52 inheriting resources from default
  152. [INFO] F8: fmp-controller: Adding a default Deployment
  153. [INFO] F8: fmp-service: Adding a default service 'spring-boot-application' with ports [8080]
  154. [INFO] F8: fmp-revision-history: Adding revision history limit to 2
  155. [INFO] F8: f8-icon: Adding icon for deployment
  156. [INFO] F8: f8-icon: Adding icon for service
  157. [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-svc.yml resource
  158. [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-deploymentconfig.yml resource
  159. [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-route.yml resource
  160. [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes/spring-boot-application-svc.yml resource
  161. [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes/spring-boot-application-deployment.yml resource
  162. [INFO]
  163. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-boot-application ---
  164. Aug 07, 2018 5:01:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
  165. INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo1.maven.org:443: Connection reset
  166. Aug 07, 2018 5:01:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
  167. INFO: Retrying request to {s}->https://repo1.maven.org:443
  168. [INFO] Changes detected - recompiling the module!
  169. [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
  170. [INFO] Compiling 1 source file to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes
  171. [INFO]
  172. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-boot-application ---
  173. [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
  174. [INFO] skip non existing resourceDirectory /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/src/test/resources
  175. [INFO]
  176. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-boot-application ---
  177. [INFO] Changes detected - recompiling the module!
  178. [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
  179. [INFO] Compiling 1 source file to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/test-classes
  180. [INFO]
  181. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ spring-boot-application ---
  182. [INFO] Surefire report directory: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/surefire-reports
  183.  
  184. -------------------------------------------------------
  185. T E S T S
  186. -------------------------------------------------------
  187. 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
  188.  
  189. Results :
  190.  
  191. Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  192.  
  193. [INFO]
  194. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ spring-boot-application ---
  195. [INFO] Building jar: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-1.0.3.jar
  196. [INFO]
  197. [INFO] --- spring-boot-maven-plugin:2.0.4.RELEASE:repackage (default) @ spring-boot-application ---
  198. [INFO]
  199. [INFO] --- fabric8-maven-plugin:3.5.41:build (fmp) @ spring-boot-application ---
  200. [INFO] F8: Using OpenShift build with strategy S2I
  201. [INFO] io.fabric8.maven.core.config.Profile@1d1524 inheriting resources from default
  202. [INFO] F8: Running generator spring-boot
  203. [INFO] F8: spring-boot: Using Docker image fabric8/s2i-java:2.3 as base / builder
  204. [INFO] Copying files to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/docker/spring-boot-application/1.0.3/build/maven
  205. [INFO] Building tar: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/docker/spring-boot-application/1.0.3/tmp/docker-build.tar
  206. [INFO] F8: [spring-boot-application:1.0.3] "spring-boot": Created docker source tar /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/docker/spring-boot-application/1.0.3/tmp/docker-build.tar
  207. [INFO] F8: Updating BuildServiceConfig spring-boot-application-s2i for Source strategy
  208. [INFO] F8: Adding to ImageStream spring-boot-application
  209. [INFO] io.fabric8.maven.core.config.Profile@1e730bd inheriting resources from default
  210. [INFO] F8: Starting Build spring-boot-application-s2i
  211. Trying internal type for name:Pod
  212. [INFO] F8: Waiting for build spring-boot-application-s2i-3 to complete...
  213. [INFO] F8: Pulling image "fabric8/s2i-java:2.3" ...
  214. Trying internal type for name:Build
  215. [INFO] F8: ==================================================================
  216. [INFO] F8: Starting S2I Java Build .....
  217. [INFO] F8: S2I binary build from fabric8-maven-plugin detected
  218. [INFO] F8: Copying binaries from /tmp/src/maven to /deployments ...
  219. [INFO] F8: Checking for fat jar archive...
  220. [INFO] F8: Found spring-boot-application-1.0.3.jar...
  221. [INFO] F8: ... done
  222. [INFO] F8:
  223. [INFO] F8: Pushing image docker-registry.default.svc:5000/hriships-jenkins/spring-boot-application:1.0.3 ...
  224. [INFO] F8: Pushed 0/27 layers, 0% complete
  225. [INFO] F8: Pushed 1/27 layers, 4% complete
  226. [INFO] F8: Pushed 2/27 layers, 7% complete
  227. [INFO] F8: Pushed 3/27 layers, 11% complete
  228. [INFO] F8: Pushed 4/27 layers, 15% complete
  229. [INFO] F8: Pushed 5/27 layers, 19% complete
  230. [INFO] F8: Pushed 6/27 layers, 22% complete
  231. [INFO] F8: Pushed 7/27 layers, 26% complete
  232. [INFO] F8: Pushed 8/27 layers, 30% complete
  233. [INFO] F8: Pushed 9/27 layers, 33% complete
  234. [INFO] F8: Pushed 10/27 layers, 37% complete
  235. [INFO] F8: Pushed 11/27 layers, 41% complete
  236. [INFO] F8: Pushed 12/27 layers, 45% complete
  237. [INFO] F8: Pushed 13/27 layers, 49% complete
  238. [INFO] F8: Pushed 14/27 layers, 52% complete
  239. [INFO] F8: Pushed 15/27 layers, 56% complete
  240. [INFO] F8: Pushed 16/27 layers, 60% complete
  241. [INFO] F8: Pushed 17/27 layers, 63% complete
  242. [INFO] F8: Pushed 18/27 layers, 67% complete
  243. [INFO] F8: Pushed 19/27 layers, 71% complete
  244. [INFO] F8: Pushed 20/27 layers, 75% complete
  245. [INFO] F8: Pushed 21/27 layers, 78% complete
  246. [INFO] F8: Pushed 22/27 layers, 82% complete
  247. [INFO] F8: Pushed 23/27 layers, 86% complete
  248. [INFO] F8: Pushed 24/27 layers, 90% complete
  249. [INFO] F8: Pushed 25/27 layers, 94% complete
  250. [INFO] F8: Pushed 26/27 layers, 97% complete
  251. [INFO] F8: Pushed 27/27 layers, 100% complete
  252. [INFO] F8: Push successful
  253. [INFO] F8: Build spring-boot-application-s2i-3 in status Complete
  254. [WARNING] Executor didn't terminate in time after shutdown in close(), killing it in: io.fabric8.kubernetes.client.dsl.internal.WatchHTTPManager@d83e89
  255. [INFO] F8: Found tag on ImageStream spring-boot-application tag: sha256:77da02545e5205808f5643a835b6201b1a2e4285db5ef6815ebd0cc49a94f59b
  256. [INFO] F8: ImageStream spring-boot-application written to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-is.yml
  257. [INFO]
  258. [INFO] --- maven-install-plugin:2.4:install (default-install) @ spring-boot-application ---
  259. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-1.0.3.jar to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3.jar
  260. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/pom.xml to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3.pom
  261. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift.yml to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3-openshift.yml
  262. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift.json to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3-openshift.json
  263. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes.yml to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3-kubernetes.yml
  264. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes.json to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3-kubernetes.json
  265. [INFO] Installing /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-is.yml to /root/.mvnrepository/io/openshift/booster/spring-boot-application/1.0.3/spring-boot-application-1.0.3-is.yml
  266. [INFO]
  267. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ spring-boot-application ---
  268. [INFO] Using alternate deployment repository local-nexus::default::http://content-repository/content/repositories/staging/
  269. [INFO] ------------------------------------------------------------------------
  270. [INFO] BUILD SUCCESS
  271. [INFO] ------------------------------------------------------------------------
  272. [INFO] Total time: 01:35 min
  273. [INFO] Finished at: 2018-08-07T17:02:36+00:00
  274. [INFO] Final Memory: 36M/46M
  275. [INFO] ------------------------------------------------------------------------
  276. [Pipeline] findFiles
  277. [Pipeline] findFiles
  278. [Pipeline] echo
  279. Looking for matching Build aug7spboot-3
  280. [Pipeline] echo
  281. Adding annotation 'fabric8.io/jenkins.testReportUrl: nulltestReport' to Build aug7spboot-3
  282. [Pipeline] echo
  283. looking for aug7spboot-3 in namespace hriships
  284. [Pipeline] echo
  285. Checking bayesian-link exists
  286. [Pipeline] sh
  287. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  288. + mvn io.github.stackinfo:stackinfo-maven-plugin:0.2:prepare
  289. 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
  290. [INFO] Scanning for projects...
  291. [WARNING]
  292. [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
  293. [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
  294. [WARNING]
  295. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  296. [WARNING]
  297. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  298. [WARNING]
  299. [INFO]
  300. [INFO] ------------------------------------------------------------------------
  301. [INFO] Building spring-boot-application 1.0.3
  302. [INFO] ------------------------------------------------------------------------
  303. [INFO]
  304. [INFO] --- stackinfo-maven-plugin:0.2:prepare (default-cli) @ spring-boot-application ---
  305. [INFO] ------------------------------------------------------------------------
  306. [INFO] BUILD SUCCESS
  307. [INFO] ------------------------------------------------------------------------
  308. [INFO] Total time: 5.976 s
  309. [INFO] Finished at: 2018-08-07T17:02:51+00:00
  310. [INFO] Final Memory: 7M/11M
  311. [INFO] ------------------------------------------------------------------------
  312. + mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve -DoutputFile=direct-dependencies.txt -DincludeScope=runtime -DexcludeTransitive=true
  313. 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
  314. [INFO] Scanning for projects...
  315. [WARNING]
  316. [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
  317. [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
  318. [WARNING]
  319. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  320. [WARNING]
  321. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  322. [WARNING]
  323. [INFO]
  324. [INFO] ------------------------------------------------------------------------
  325. [INFO] Building spring-boot-application 1.0.3
  326. [INFO] ------------------------------------------------------------------------
  327. [INFO]
  328. [INFO] --- maven-dependency-plugin:3.1.1:resolve (default-cli) @ spring-boot-application ---
  329. [INFO] ------------------------------------------------------------------------
  330. [INFO] BUILD SUCCESS
  331. [INFO] ------------------------------------------------------------------------
  332. [INFO] Total time: 12.911 s
  333. [INFO] Finished at: 2018-08-07T17:03:07+00:00
  334. [INFO] Final Memory: 13M/19M
  335. [INFO] ------------------------------------------------------------------------
  336. + mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve -DoutputFile=transitive-dependencies.txt -DincludeScope=runtime -DexcludeTransitive=false
  337. 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
  338. [INFO] Scanning for projects...
  339. [WARNING]
  340. [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
  341. [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
  342. [WARNING]
  343. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  344. [WARNING]
  345. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  346. [WARNING]
  347. [INFO]
  348. [INFO] ------------------------------------------------------------------------
  349. [INFO] Building spring-boot-application 1.0.3
  350. [INFO] ------------------------------------------------------------------------
  351. [INFO]
  352. [INFO] --- maven-dependency-plugin:3.1.1:resolve (default-cli) @ spring-boot-application ---
  353. [INFO] ------------------------------------------------------------------------
  354. [INFO] BUILD SUCCESS
  355. [INFO] ------------------------------------------------------------------------
  356. [INFO] Total time: 6.070 s
  357. [INFO] Finished at: 2018-08-07T17:03:16+00:00
  358. [INFO] Final Memory: 11M/16M
  359. [INFO] ------------------------------------------------------------------------
  360. EXITCODE 0[Pipeline] retry
  361. [Pipeline] {
  362. [Pipeline] sh
  363. [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
  364. + git config --get remote.origin.url
  365. [Pipeline] bayesianAnalysis
  366. Found dependencies.
  367. Running Bayesian stack analysis...
  368. Bayesian API URL is https://recommender.api.openshift.io/api/v1
  369. [Pipeline] echo
  370. Looking for matching Build aug7spboot-3
  371. [Pipeline] echo
  372. Adding annotation 'fabric8.io/bayesian.analysisUrl: https://recommender.api.openshift.io/api/v1/stack-analyses/0ef09668b5df4c848fb437801997f684' to Build aug7spboot-3
  373. [Pipeline] echo
  374. looking for aug7spboot-3 in namespace hriships
  375. [Pipeline] }
  376. [Pipeline] // retry
  377. [Pipeline] echo
  378. Checking sonarqube exists
  379. [Pipeline] echo
  380. Code validation service: sonarqube not available
  381. [Pipeline] echo
  382. s2i mode: true
  383. [Pipeline] stash
  384. Stashed 8 file(s)
  385. [Pipeline] }
  386. [Pipeline] // stage
  387. [Pipeline] }
  388. [Pipeline] // container
  389. [Pipeline] }
  390. [Pipeline] // node
  391. [Pipeline] }
  392. [Pipeline] // podTemplate
  393. [Pipeline] echo
  394. Using branch master
  395. [Pipeline] node
  396. Running on Jenkins in /var/lib/jenkins/jobs/hrishin/jobs/aug7spboot/branches/master/workspace
  397. [Pipeline] {
  398. [Pipeline] stage
  399. [Pipeline] { (Rollout to Stage)
  400. [Pipeline] unstash
  401. [Pipeline] kubernetesApply
  402. Loading OpenShift ImageStreams file: spring-boot-application-is.yml
  403. Found namespace hriships
  404. Found namespace hriships-jenkins
  405. Found namespace hriships-run
  406. Found namespace hriships-stage
  407. Found existing environment hriships-stage
  408. No fabric8.yml so unable to add environment pod annotations
  409. No fabric8.yml so unable to add environment pod annotations
  410. No fabric8.yml so unable to add environment pod annotations
  411. No fabric8.yml so unable to add environment pod annotations
  412. No fabric8.yml so unable to add environment pod annotations
  413. Found BuildConfig name aug7spboot namespace hriships from BuildConfigProjectProperty
  414. Found Build name aug7spboot-3 from BuildCause
  415. Found BuildConfig: aug7spboot namespace: hriships Build: aug7spboot-3
  416. Applying Service name: Service data: Service(apiVersion=v1, kind=Service, metadata=ObjectMeta(annotations={fabric8.io/git-commit=fd2c8c75d6994f3ca9207f02aaa29539382b61f0, fabric8.io/build-id=3, fabric8.io/build-url=http://jenkins-hriships-jenkins.b542.starter-us-east-2a.openshiftapps.com/job/spring-boot-application/3, prometheus.io/port=9779, fabric8.io/iconUrl=img/icons/spring-boot.svg, fabric8.io/git-branch=hrishin/aug7spboot/master-1.0.3, prometheus.io/scrape=true, fabric8.io/git-url=gogsadmin/spring-boot-application/commit/fd2c8c75d6994f3ca9207f02aaa29539382b61f0}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, initializers=null, labels={expose=true, space=gfghgfhg, app=spring-boot-application, provider=fabric8, version=1.0.3, group=io.openshift.booster}, name=spring-boot-application, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=ServiceSpec(clusterIP=null, externalIPs=[], externalName=null, externalTrafficPolicy=null, healthCheckNodePort=null, loadBalancerIP=null, loadBalancerSourceRanges=[], ports=[ServicePort(name=http, nodePort=null, port=8080, protocol=TCP, targetPort=IntOrString(IntVal=8080, Kind=null, StrVal=null, additionalProperties={}), additionalProperties={})], selector={app=spring-boot-application, provider=fabric8, group=io.openshift.booster}, sessionAffinity=null, type=null, additionalProperties={}), status=null, additionalProperties={})
  417. Applying ImageStream name: ImageStream data: ImageStream(apiVersion=image.openshift.io/v1, kind=ImageStream, metadata=ObjectMeta(annotations=null, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, initializers=null, labels=null, name=spring-boot-application, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=ImageStreamSpec(dockerImageRepository=null, lookupPolicy=null, tags=[TagReference(annotations=null, from=ObjectReference(apiVersion=null, fieldPath=null, kind=ImageStreamImage, name=spring-boot-application@sha256:77da02545e5205808f5643a835b6201b1a2e4285db5ef6815ebd0cc49a94f59b, namespace=hriships-jenkins, resourceVersion=null, uid=null, additionalProperties={}), generation=null, importPolicy=null, name=1.0.3, reference=null, referencePolicy=null, additionalProperties={})], additionalProperties={}), status=null, additionalProperties={})
  418. Applying DeploymentConfig name: DeploymentConfig data: DeploymentConfig(apiVersion=apps.openshift.io/v1, kind=DeploymentConfig, metadata=ObjectMeta(annotations={fabric8.io/git-commit=fd2c8c75d6994f3ca9207f02aaa29539382b61f0, fabric8.io/metrics-path=dashboard/file/kubernetes-pods.json/?var-project=spring-boot-application&var-version=1.0.3, fabric8.io/build-id=3, fabric8.io/build-url=http://jenkins-hriships-jenkins.b542.starter-us-east-2a.openshiftapps.com/job/spring-boot-application/3, fabric8.io/iconUrl=img/icons/spring-boot.svg, fabric8.io/git-branch=hrishin/aug7spboot/master-1.0.3, fabric8.io/git-url=gogsadmin/spring-boot-application/commit/fd2c8c75d6994f3ca9207f02aaa29539382b61f0}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, initializers=null, labels={space=gfghgfhg, app=spring-boot-application, provider=fabric8, version=1.0.3, group=io.openshift.booster}, name=spring-boot-application, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=DeploymentConfigSpec(minReadySeconds=null, paused=null, replicas=1, revisionHistoryLimit=2, selector={app=spring-boot-application, provider=fabric8, group=io.openshift.booster}, strategy=DeploymentStrategy(activeDeadlineSeconds=null, annotations=null, customParams=null, labels=null, recreateParams=null, resources=null, rollingParams=RollingDeploymentStrategyParams(intervalSeconds=null, maxSurge=null, maxUnavailable=null, post=null, pre=null, timeoutSeconds=3600, updatePeriodSeconds=null, additionalProperties={}), type=Rolling, additionalProperties={}), template=PodTemplateSpec(metadata=ObjectMeta(annotations={fabric8.io/git-commit=fd2c8c75d6994f3ca9207f02aaa29539382b61f0, fabric8.io/metrics-path=dashboard/file/kubernetes-pods.json/?var-project=spring-boot-application&var-version=1.0.3, fabric8.io/build-id=3, fabric8.io/build-url=http://jenkins-hriships-jenkins.b542.starter-us-east-2a.openshiftapps.com/job/spring-boot-application/3, fabric8.io/iconUrl=img/icons/spring-boot.svg, fabric8.io/git-branch=hrishin/aug7spboot/master-1.0.3, fabric8.io/git-url=gogsadmin/spring-boot-application/commit/fd2c8c75d6994f3ca9207f02aaa29539382b61f0}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, initializers=null, labels={space=gfghgfhg, app=spring-boot-application, provider=fabric8, version=1.0.3, group=io.openshift.booster}, name=null, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=PodSpec(activeDeadlineSeconds=null, affinity=null, automountServiceAccountToken=null, containers=[Container(args=[], command=[], env=[EnvVar(name=KUBERNETES_NAMESPACE, value=null, valueFrom=EnvVarSource(configMapKeyRef=null, fieldRef=ObjectFieldSelector(apiVersion=null, fieldPath=metadata.namespace, additionalProperties={}), resourceFieldRef=null, secretKeyRef=null, additionalProperties={}), additionalProperties={})], envFrom=[], image=spring-boot-application:1.0.3, imagePullPolicy=IfNotPresent, lifecycle=null, livenessProbe=null, name=spring-boot, ports=[ContainerPort(containerPort=8080, hostIP=null, hostPort=null, name=http, protocol=TCP, additionalProperties={}), ContainerPort(containerPort=9779, hostIP=null, hostPort=null, name=prometheus, protocol=TCP, additionalProperties={}), ContainerPort(containerPort=8778, hostIP=null, hostPort=null, name=jolokia, protocol=TCP, additionalProperties={})], readinessProbe=null, resources=null, securityContext=SecurityContext(capabilities=null, privileged=false, readOnlyRootFilesystem=null, runAsNonRoot=null, runAsUser=null, seLinuxOptions=null, additionalProperties={}), stdin=null, stdinOnce=null, terminationMessagePath=null, terminationMessagePolicy=null, tty=null, volumeMounts=[], workingDir=null, additionalProperties={})], dnsPolicy=null, hostAliases=[], hostIPC=null, hostNetwork=null, hostPID=null, hostname=null, imagePullSecrets=[], initContainers=[], nodeName=null, nodeSelector=null, restartPolicy=null, schedulerName=null, securityContext=null, serviceAccount=null, serviceAccountName=null, subdomain=null, terminationGracePeriodSeconds=null, tolerations=[], volumes=[], additionalProperties={}), additionalProperties={}), test=null, triggers=[DeploymentTriggerPolicy(imageChangeParams=null, type=ConfigChange, additionalProperties={}), DeploymentTriggerPolicy(imageChangeParams=DeploymentTriggerImageChangeParams(automatic=true, containerNames=[spring-boot], from=ObjectReference(apiVersion=null, fieldPath=null, kind=ImageStreamTag, name=spring-boot-application:1.0.3, namespace=null, resourceVersion=null, uid=null, additionalProperties={}), lastTriggeredImage=null, additionalProperties={}), type=ImageChange, additionalProperties={})], additionalProperties={}), status=null, additionalProperties={})
  419. ERROR: Unable to get git log: org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified
  420. Applying Route name: Route data: Route(apiVersion=route.openshift.io/v1, kind=Route, metadata=ObjectMeta(annotations=null, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, initializers=null, labels={expose=true, app=spring-boot-application, provider=fabric8, version=1.0.3, group=io.openshift.booster}, name=spring-boot-application, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=RouteSpec(alternateBackends=[], host=null, path=null, port=RoutePort(targetPort=IntOrString(IntVal=8080, Kind=null, StrVal=null, additionalProperties={}), additionalProperties={}), tls=null, to=RouteTargetReference(kind=Service, name=spring-boot-application, weight=null, additionalProperties={}), wildcardPolicy=null, additionalProperties={}), status=null, additionalProperties={})
  421. Running: echo | exposecontroller --watch-namespace hriships-stage --exposer Route
  422. command: echo | exposecontroller --watch-namespace hriships-stage --exposer Route out: Please enter Username: Please enter Password:
  423. command: echo | exposecontroller --watch-namespace hriships-stage --exposer Route err: I0807 17:03:30.669240 553 exposecontroller.go:56] Using build: '2.3.27'
  424. I0807 17:03:30.683912 553 config.go:20] No /etc/exposecontroller/config.yml file found. Will try to figure out defaults
  425. I0807 17:03:30.683948 553 exposecontroller.go:125] Running in : `hriships-stage`
  426. W0807 17:03:30.709898 553 controller.go:478] Failed to load url https://openshift.default.svc/.well-known/oauth-authorization-server got: Get https://openshift.default.svc/.well-known/oauth-authorization-server: x509: certificate signed by unknown authority
  427. E0807 17:03:30.711912 553 controller.go:186] Failed to list nodes to detect minishift: nodes is forbidden: User "system:serviceaccount:hriships-jenkins:jenkins" cannot list nodes at the cluster scope: User "system:serviceaccount:hriships-jenkins:jenkins" cannot list all nodes in the cluster
  428. I0807 17:03:30.711927 553 controller.go:118] Using OAuth Authorize URL:
  429. W0807 17:03:30.711934 553 controller.go:120] Please use $OAUTH_AUTHORIZE_URL to define the OAuth Authorize URL!
  430. W0807 17:03:30.713114 553 controller.go:251] Could not find kubernetes service in the default namespace so we could not detect whether to use http or https as the apiserver protocol. Error: services "kubernetes" is forbidden: User "system:serviceaccount:hriships-jenkins:jenkins" cannot get services in the namespace "default": User "system:serviceaccount:hriships-jenkins:jenkins" cannot get services in project "default"
  431. I0807 17:03:30.713155 553 controller.go:534] starting expose controller
  432. I0807 17:03:35.713380 553 controller.go:542] stopping expose controller
  433.  
  434. exposecontroller completed
  435. Service spring-boot-application in environment Stage namespace hriships-stage is at URL: http://spring-boot-application-hriships-stage.b542.starter-us-east-2a.openshiftapps.com
  436. Could not annotate the environment service URLs for buildConfigName: aug7spboot as there is no deployment version but has serviceUrls: {spring-boot-application=http://spring-boot-application-hriships-stage.b542.starter-us-east-2a.openshiftapps.com}
  437. Annotated Build aug7spboot-3 in namespace hriships with version null environment yaml hriships-stage=---
  438. environmentName: "Stage"
  439. serviceUrls:
  440. spring-boot-application: "http://spring-boot-application-hriships-stage.b542.starter-us-east-2a.openshiftapps.com"
  441. deploymentVersions:
  442. spring-boot-application: "1.0.3"
  443.  
  444. [Pipeline] }
  445. [Pipeline] // stage
  446. [Pipeline] stage
  447. [Pipeline] { (Approve)
  448. [Pipeline] hubotApprove
  449. Hubot sending to room fabric8_default => Would you like to promote version 1.0.3 to the next environment?
  450.  
  451. to Proceed reply: fabric8 jenkins proceed job hrishin/aug7spboot/master build 3
  452. to Abort reply: fabric8 jenkins abort job hrishin/aug7spboot/master build 3
  453.  
  454. No service hubot is running!!!
  455. No service found!
  456. [Pipeline] approveRequestedEvent
  457. [Pipeline] timeout
  458. Timeout set to expire in 1 day 0 hr
  459. [Pipeline] {
  460. [Pipeline] input
  461.  
  462. Would you like to promote version 1.0.3 to the next environment?
  463.  
  464. Proceed or Abort
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement