Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenShift Build hriships/aug7spboot-3 from https://github.com/hrishin/aug7spboot.git
- 16:58:27 Connecting to https://api.github.com using hrishin/****** (cd-github)
- Obtained Jenkinsfile from fd2c8c75d6994f3ca9207f02aaa29539382b61f0
- Running in Durability level: MAX_SURVIVABILITY
- Loading library github.com/hrishin/fabric8-pipeline-library@deploy-test
- Attempting to resolve deploy-test from remote references...
- > git --version # timeout=10
- > git ls-remote -h -t https://github.com/hrishin/fabric8-pipeline-library.git # timeout=10
- Found match: refs/heads/deploy-test revision 9d674f91f7e8bffc0f312d06af37503ab654b3c9
- > git rev-parse --is-inside-work-tree # timeout=10
- Fetching changes from the remote Git repository
- > git config remote.origin.url https://github.com/hrishin/fabric8-pipeline-library.git # timeout=10
- Fetching without tags
- Fetching upstream changes from https://github.com/hrishin/fabric8-pipeline-library.git
- > git --version # timeout=10
- > git fetch --no-tags --progress https://github.com/hrishin/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
- Checking out Revision 9d674f91f7e8bffc0f312d06af37503ab654b3c9 (deploy-test)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f 9d674f91f7e8bffc0f312d06af37503ab654b3c9
- Commit message: "deploy"
- > git rev-list --no-walk 9d674f91f7e8bffc0f312d06af37503ab654b3c9 # timeout=10
- [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 doesnโt have label mavenaug7spboot_3
- Running on jenkins-slave-4736p-lm17f in /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ
- [Pipeline] {
- [Pipeline] checkout
- Cloning the remote Git repository
- Cloning with configured refspecs honoured and without tags
- Cloning repository https://github.com/hrishin/aug7spboot.git
- > git init /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ # timeout=10
- Fetching upstream changes from https://github.com/hrishin/aug7spboot.git
- > git --version # timeout=10
- using GIT_ASKPASS to set credentials cd-github
- > git fetch --no-tags --progress https://github.com/hrishin/aug7spboot.git +refs/heads/master:refs/remotes/origin/master
- > git config remote.origin.url https://github.com/hrishin/aug7spboot.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/aug7spboot.git # timeout=10
- Fetching without tags
- Fetching upstream changes from https://github.com/hrishin/aug7spboot.git
- using GIT_ASKPASS to set credentials cd-github
- > git fetch --no-tags --progress https://github.com/hrishin/aug7spboot.git +refs/heads/master:refs/remotes/origin/master
- Checking out Revision fd2c8c75d6994f3ca9207f02aaa29539382b61f0 (master)
- > git config core.sparsecheckout # timeout=10
- > git checkout -f fd2c8c75d6994f3ca9207f02aaa29539382b61f0
- Commit message: "deploy-test"
- > git rev-list --no-walk fd2c8c75d6994f3ca9207f02aaa29539382b61f0 # timeout=10
- [Pipeline] echo
- Using branch master
- [Pipeline] echo
- Using branch master
- [Pipeline] pwd
- [Pipeline] load
- [Pipeline] // load
- [Pipeline] echo
- Jenkinsfile.setup.groovy not found
- [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
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + git checkout -b hrishin/aug7spboot/master-1.0.3
- Switched to a new branch 'hrishin/aug7spboot/master-1.0.3'
- [Pipeline] readMavenPom
- [Pipeline] sh
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + mvn org.codehaus.mojo:versions-maven-plugin:2.5:set -U -DnewVersion=1.0.3
- 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...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building spring-boot-application 1.0.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- versions-maven-plugin:2.5:set (default-cli) @ spring-boot-application ---
- [INFO] Searching for local aggregator root...
- [INFO] Local aggregation root: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ
- [INFO] Processing change of io.openshift.booster:spring-boot-application:1.0.0-SNAPSHOT -> 1.0.3
- [INFO] Processing io.openshift.booster:spring-boot-application
- [INFO] Updating project io.openshift.booster:spring-boot-application
- [INFO] from version 1.0.0-SNAPSHOT to 1.0.3
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 19.923 s
- [INFO] Finished at: 2018-08-07T17:00:37+00:00
- [INFO] Final Memory: 10M/15M
- [INFO] ------------------------------------------------------------------------
- [Pipeline] echo
- Looking for matching Build aug7spboot-3
- [Pipeline] echo
- looking for aug7spboot-3 in namespace hriships
- [Pipeline] echo
- Found label for space: 'gfghgfhg', in Build aug7spboot-3
- [Pipeline] sh
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + mvn org.apache.maven.plugins:maven-help-plugin:3.0.0:describe -Popenshift -Dplugin=io.fabric8:fabric8-maven-plugin -Dminimal=true
- 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
- EXITCODE 0[Pipeline] echo
- Found fabric8-maven-plugin version 3.5.41
- [Pipeline] sh
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + mvn clean -B -e -U deploy -Dmaven.test.skip=false -Dfabric8.profile=osio -Dfabric8.enricher.osio-space-label.space=gfghgfhg -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...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
- [WARNING] 'build.plugins.plugin.version' for io.fabric8:fabric8-maven-plugin is missing. @ line 39, column 19
- [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building spring-boot-application 1.0.3
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-boot-application ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spring-boot-application ---
- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/src/main/resources
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.41:resource (fmp) @ spring-boot-application ---
- [INFO] F8: Running in OpenShift mode
- [INFO] F8: Using docker image name of namespace: hriships-jenkins
- [INFO] io.fabric8.maven.core.config.Profile@fdce3c inheriting resources from default
- [INFO] F8: Running generator spring-boot
- [INFO] F8: spring-boot: Using Docker image fabric8/java-centos-openjdk8-jdk:1.5 as base / builder
- [INFO] io.fabric8.maven.core.config.Profile@c2ce52 inheriting resources from default
- [INFO] F8: fmp-controller: Adding a default Deployment
- [INFO] F8: fmp-service: Adding a default service 'spring-boot-application' with ports [8080]
- [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/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-svc.yml resource
- [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-deploymentconfig.yml resource
- [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/openshift/spring-boot-application-route.yml resource
- [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes/spring-boot-application-svc.yml resource
- [INFO] F8: validating /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes/META-INF/fabric8/kubernetes/spring-boot-application-deployment.yml resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ spring-boot-application ---
- Aug 07, 2018 5:01:47 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
- Aug 07, 2018 5:01:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
- INFO: Retrying request to {s}->https://repo1.maven.org:443
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
- [INFO] Compiling 1 source file to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ spring-boot-application ---
- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ spring-boot-application ---
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
- [INFO] Compiling 1 source file to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ spring-boot-application ---
- [INFO] Surefire report directory: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- 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
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ spring-boot-application ---
- [INFO] Building jar: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-1.0.3.jar
- [INFO]
- [INFO] --- spring-boot-maven-plugin:2.0.4.RELEASE:repackage (default) @ spring-boot-application ---
- [INFO]
- [INFO] --- fabric8-maven-plugin:3.5.41:build (fmp) @ spring-boot-application ---
- [INFO] F8: Using OpenShift build with strategy S2I
- [INFO] io.fabric8.maven.core.config.Profile@1d1524 inheriting resources from default
- [INFO] F8: Running generator spring-boot
- [INFO] F8: spring-boot: Using Docker image fabric8/s2i-java:2.3 as base / builder
- [INFO] Copying files to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/docker/spring-boot-application/1.0.3/build/maven
- [INFO] Building tar: /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/docker/spring-boot-application/1.0.3/tmp/docker-build.tar
- [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
- [INFO] F8: Updating BuildServiceConfig spring-boot-application-s2i for Source strategy
- [INFO] F8: Adding to ImageStream spring-boot-application
- [INFO] io.fabric8.maven.core.config.Profile@1e730bd inheriting resources from default
- [INFO] F8: Starting Build spring-boot-application-s2i
- Trying internal type for name:Pod
- [INFO] F8: Waiting for build spring-boot-application-s2i-3 to complete...
- [INFO] F8: Pulling image "fabric8/s2i-java:2.3" ...
- Trying internal type for name:Build
- [INFO] F8: ==================================================================
- [INFO] F8: Starting S2I Java Build .....
- [INFO] F8: S2I binary build from fabric8-maven-plugin detected
- [INFO] F8: Copying binaries from /tmp/src/maven to /deployments ...
- [INFO] F8: Checking for fat jar archive...
- [INFO] F8: Found spring-boot-application-1.0.3.jar...
- [INFO] F8: ... done
- [INFO] F8:
- [INFO] F8: Pushing image docker-registry.default.svc:5000/hriships-jenkins/spring-boot-application:1.0.3 ...
- [INFO] F8: Pushed 0/27 layers, 0% complete
- [INFO] F8: Pushed 1/27 layers, 4% complete
- [INFO] F8: Pushed 2/27 layers, 7% complete
- [INFO] F8: Pushed 3/27 layers, 11% complete
- [INFO] F8: Pushed 4/27 layers, 15% complete
- [INFO] F8: Pushed 5/27 layers, 19% complete
- [INFO] F8: Pushed 6/27 layers, 22% complete
- [INFO] F8: Pushed 7/27 layers, 26% complete
- [INFO] F8: Pushed 8/27 layers, 30% complete
- [INFO] F8: Pushed 9/27 layers, 33% complete
- [INFO] F8: Pushed 10/27 layers, 37% complete
- [INFO] F8: Pushed 11/27 layers, 41% complete
- [INFO] F8: Pushed 12/27 layers, 45% complete
- [INFO] F8: Pushed 13/27 layers, 49% complete
- [INFO] F8: Pushed 14/27 layers, 52% complete
- [INFO] F8: Pushed 15/27 layers, 56% complete
- [INFO] F8: Pushed 16/27 layers, 60% complete
- [INFO] F8: Pushed 17/27 layers, 63% complete
- [INFO] F8: Pushed 18/27 layers, 67% complete
- [INFO] F8: Pushed 19/27 layers, 71% complete
- [INFO] F8: Pushed 20/27 layers, 75% complete
- [INFO] F8: Pushed 21/27 layers, 78% complete
- [INFO] F8: Pushed 22/27 layers, 82% complete
- [INFO] F8: Pushed 23/27 layers, 86% complete
- [INFO] F8: Pushed 24/27 layers, 90% complete
- [INFO] F8: Pushed 25/27 layers, 94% complete
- [INFO] F8: Pushed 26/27 layers, 97% complete
- [INFO] F8: Pushed 27/27 layers, 100% complete
- [INFO] F8: Push successful
- [INFO] F8: Build spring-boot-application-s2i-3 in status Complete
- [WARNING] Executor didn't terminate in time after shutdown in close(), killing it in: io.fabric8.kubernetes.client.dsl.internal.WatchHTTPManager@d83e89
- [INFO] F8: Found tag on ImageStream spring-boot-application tag: sha256:77da02545e5205808f5643a835b6201b1a2e4285db5ef6815ebd0cc49a94f59b
- [INFO] F8: ImageStream spring-boot-application written to /home/jenkins/workspace/hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ/target/spring-boot-application-is.yml
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ spring-boot-application ---
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [INFO]
- [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ spring-boot-application ---
- [INFO] Using alternate deployment repository local-nexus::default::http://content-repository/content/repositories/staging/
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:35 min
- [INFO] Finished at: 2018-08-07T17:02:36+00:00
- [INFO] Final Memory: 36M/46M
- [INFO] ------------------------------------------------------------------------
- [Pipeline] findFiles
- [Pipeline] findFiles
- [Pipeline] echo
- Looking for matching Build aug7spboot-3
- [Pipeline] echo
- Adding annotation 'fabric8.io/jenkins.testReportUrl: nulltestReport' to Build aug7spboot-3
- [Pipeline] echo
- looking for aug7spboot-3 in namespace hriships
- [Pipeline] echo
- Checking bayesian-link exists
- [Pipeline] sh
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + mvn io.github.stackinfo:stackinfo-maven-plugin:0.2:prepare
- 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...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
- [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building spring-boot-application 1.0.3
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- stackinfo-maven-plugin:0.2:prepare (default-cli) @ spring-boot-application ---
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 5.976 s
- [INFO] Finished at: 2018-08-07T17:02:51+00:00
- [INFO] Final Memory: 7M/11M
- [INFO] ------------------------------------------------------------------------
- + mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve -DoutputFile=direct-dependencies.txt -DincludeScope=runtime -DexcludeTransitive=true
- 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...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
- [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building spring-boot-application 1.0.3
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-dependency-plugin:3.1.1:resolve (default-cli) @ spring-boot-application ---
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 12.911 s
- [INFO] Finished at: 2018-08-07T17:03:07+00:00
- [INFO] Final Memory: 13M/19M
- [INFO] ------------------------------------------------------------------------
- + mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve -DoutputFile=transitive-dependencies.txt -DincludeScope=runtime -DexcludeTransitive=false
- 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...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for io.openshift.booster:spring-boot-application:jar:1.0.3
- [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 21, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building spring-boot-application 1.0.3
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-dependency-plugin:3.1.1:resolve (default-cli) @ spring-boot-application ---
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 6.070 s
- [INFO] Finished at: 2018-08-07T17:03:16+00:00
- [INFO] Final Memory: 11M/16M
- [INFO] ------------------------------------------------------------------------
- EXITCODE 0[Pipeline] retry
- [Pipeline] {
- [Pipeline] sh
- [hrishin_aug7spboot_master-BLQOQ6LK36RPNG7JIVDNMGB3ZXSNFBE4V5VU45IH7FGOL64NAYWQ] Running shell script
- + git config --get remote.origin.url
- [Pipeline] bayesianAnalysis
- Found dependencies.
- Running Bayesian stack analysis...
- Bayesian API URL is https://recommender.api.openshift.io/api/v1
- [Pipeline] echo
- Looking for matching Build aug7spboot-3
- [Pipeline] echo
- Adding annotation 'fabric8.io/bayesian.analysisUrl: https://recommender.api.openshift.io/api/v1/stack-analyses/0ef09668b5df4c848fb437801997f684' to Build aug7spboot-3
- [Pipeline] echo
- looking for aug7spboot-3 in namespace hriships
- [Pipeline] }
- [Pipeline] // retry
- [Pipeline] echo
- Checking sonarqube exists
- [Pipeline] echo
- Code validation service: sonarqube not available
- [Pipeline] echo
- s2i mode: true
- [Pipeline] stash
- Stashed 8 file(s)
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] }
- [Pipeline] // container
- [Pipeline] }
- [Pipeline] // node
- [Pipeline] }
- [Pipeline] // podTemplate
- [Pipeline] echo
- Using branch master
- [Pipeline] node
- Running on Jenkins in /var/lib/jenkins/jobs/hrishin/jobs/aug7spboot/branches/master/workspace
- [Pipeline] {
- [Pipeline] stage
- [Pipeline] { (Rollout to Stage)
- [Pipeline] unstash
- [Pipeline] kubernetesApply
- Loading OpenShift ImageStreams file: spring-boot-application-is.yml
- Found namespace hriships
- Found namespace hriships-jenkins
- Found namespace hriships-run
- Found namespace hriships-stage
- Found existing environment hriships-stage
- No fabric8.yml so unable to add environment pod annotations
- No fabric8.yml so unable to add environment pod annotations
- No fabric8.yml so unable to add environment pod annotations
- No fabric8.yml so unable to add environment pod annotations
- No fabric8.yml so unable to add environment pod annotations
- Found BuildConfig name aug7spboot namespace hriships from BuildConfigProjectProperty
- Found Build name aug7spboot-3 from BuildCause
- Found BuildConfig: aug7spboot namespace: hriships Build: aug7spboot-3
- 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={})
- 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={})
- 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={})
- ERROR: Unable to get git log: org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified
- 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={})
- Running: echo | exposecontroller --watch-namespace hriships-stage --exposer Route
- command: echo | exposecontroller --watch-namespace hriships-stage --exposer Route out: Please enter Username: Please enter Password:
- command: echo | exposecontroller --watch-namespace hriships-stage --exposer Route err: I0807 17:03:30.669240 553 exposecontroller.go:56] Using build: '2.3.27'
- I0807 17:03:30.683912 553 config.go:20] No /etc/exposecontroller/config.yml file found. Will try to figure out defaults
- I0807 17:03:30.683948 553 exposecontroller.go:125] Running in : `hriships-stage`
- 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
- 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
- I0807 17:03:30.711927 553 controller.go:118] Using OAuth Authorize URL:
- W0807 17:03:30.711934 553 controller.go:120] Please use $OAUTH_AUTHORIZE_URL to define the OAuth Authorize URL!
- 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"
- I0807 17:03:30.713155 553 controller.go:534] starting expose controller
- I0807 17:03:35.713380 553 controller.go:542] stopping expose controller
- exposecontroller completed
- 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
- 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}
- Annotated Build aug7spboot-3 in namespace hriships with version null environment yaml hriships-stage=---
- environmentName: "Stage"
- serviceUrls:
- spring-boot-application: "http://spring-boot-application-hriships-stage.b542.starter-us-east-2a.openshiftapps.com"
- deploymentVersions:
- spring-boot-application: "1.0.3"
- [Pipeline] }
- [Pipeline] // stage
- [Pipeline] stage
- [Pipeline] { (Approve)
- [Pipeline] hubotApprove
- Hubot sending to room fabric8_default => Would you like to promote version 1.0.3 to the next environment?
- to Proceed reply: fabric8 jenkins proceed job hrishin/aug7spboot/master build 3
- to Abort reply: fabric8 jenkins abort job hrishin/aug7spboot/master build 3
- No service hubot is running!!!
- No service found!
- [Pipeline] approveRequestedEvent
- [Pipeline] timeout
- Timeout set to expire in 1 day 0 hr
- [Pipeline] {
- [Pipeline] input
- Would you like to promote version 1.0.3 to the next environment?
- Proceed or Abort
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement