SuccessConsole Output

Started by GitLab push by Alex Muravya
Lightweight checkout support not available, falling back to full checkout.
Checking out git https://gitlab.com/kyberorg/whereami.git into /var/lib/jenkins/workspace/WhereAmI@script to read Jenkinsfile
using credential yabot-gitlab
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/whereami.git # timeout=10
Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials YaBot gitlab
 > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/master, since it originates from another repository
Seen branch in repository origin/5-disable-vaadin-debug-mode
Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline
Seen branch in repository origin/7-readme-fix
Seen branch in repository origin/docker-stage
Seen branch in repository origin/kyberorg-master-patch-79731
Seen branch in repository origin/master
Seen branch in repository origin/trunk
Seen 7 remote branches
 > /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 0564c03e2bdbcffefc62fcd26d9587f4d70fd7ee (origin/master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 0564c03e2bdbcffefc62fcd26d9587f4d70fd7ee # timeout=10
Commit message: "Merge branch 'docker-stage' into 'master'"
 > /usr/bin/git rev-list --no-walk d35756761cf3ff8f745ec7935c478ccc97000c85 # timeout=10
Running in Durability level: MAX_SURVIVABILITY
Loading library common-pipe@2.3.3
Attempting to resolve 2.3.3 from remote references...
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git ls-remote -h https://gitlab.com/yasys/common-pipe.git # timeout=10
Could not find 2.3.3 in remote references. Pulling heads to local for deep search...
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://gitlab.com/yasys/common-pipe.git
 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10
 > /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d
using credential kyberorg_gl
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
 > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/master, since it originates from another repository
Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
Commit message: "Merge branch 'steps-fix' into 'master'"
 > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
Loading library common-lib@master
Attempting to resolve master from remote references...
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials YaBot gitlab
 > /usr/bin/git ls-remote -h https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10
Found match: refs/heads/master revision 8aafcf9e9e2758217c125149f2015ccd47f0df3a
using credential yabot-gitlab
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials YaBot gitlab
 > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/master, since it originates from another repository
Checking out Revision 8aafcf9e9e2758217c125149f2015ccd47f0df3a (master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 8aafcf9e9e2758217c125149f2015ccd47f0df3a # timeout=10
Commit message: "Docker Rmi"
 > /usr/bin/git rev-list --no-walk 8aafcf9e9e2758217c125149f2015ccd47f0df3a # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/WhereAmI
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential yabot-gitlab
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://gitlab.com/kyberorg/whereami.git # timeout=10
Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials YaBot gitlab
 > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/master, since it originates from another repository
Seen branch in repository origin/5-disable-vaadin-debug-mode
Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline
Seen branch in repository origin/docker-stage
Seen branch in repository origin/master
Seen branch in repository origin/trunk
Seen 5 remote branches
 > /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 0564c03e2bdbcffefc62fcd26d9587f4d70fd7ee (origin/master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 0564c03e2bdbcffefc62fcd26d9587f4d70fd7ee # timeout=10
Commit message: "Merge branch 'docker-stage' into 'master'"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Vaadin)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ls src/main/resources/application.properties
[Pipeline] readFile
[Pipeline] sh
+ rm -f listJsonFiles
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] sh
+ set +x
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------------------< ee.yals:whoami >---------------------------
[INFO] Building whereami 1.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ whoami ---
[INFO] Deleting /var/lib/jenkins/workspace/WhereAmI/target
[INFO] 
[INFO] --- vaadin-maven-plugin:12.0.7:copy-production-files (default) @ whoami ---
[INFO] Copying web application files to '/var/lib/jenkins/workspace/WhereAmI/target/frontend'
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ whoami ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ whoami ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /var/lib/jenkins/workspace/WhereAmI/target/classes
[INFO] 
[INFO] --- vaadin-maven-plugin:12.0.7:package-for-production (default) @ whoami ---
[WARNING] The translated URL 'frontend://bower_components/vaadin-upload/theme/lumo/vaadin-upload-file.html' has no corresponding file on the filesystem, the file is addressed by path='/var/lib/jenkins/workspace/WhereAmI/target/frontend/bower_components/vaadin-upload/theme/lumo/vaadin-upload-file.html'
[INFO] Installing node version v8.11.1
[INFO] Downloading https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.gz to /var/lib/jenkins/workspace/WhereAmI/target/cache/node-v8.11.1-linux-x64.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
[INFO] Unpacking /var/lib/jenkins/workspace/WhereAmI/target/cache/node-v8.11.1-linux-x64.tar.gz into /var/lib/jenkins/workspace/WhereAmI/target/node/tmp
[INFO] Copying node binary from /var/lib/jenkins/workspace/WhereAmI/target/node/tmp/node-v8.11.1-linux-x64/bin/node to /var/lib/jenkins/workspace/WhereAmI/target/node/node
[INFO] Installed node locally.
[INFO] Installing Yarn version v1.6.0
[INFO] Downloading https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn-v1.6.0.tar.gz to /var/lib/jenkins/workspace/WhereAmI/target/cache/yarn-v1.6.0.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
Aug 21, 2019 5:28:04 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Wed, 21 Aug 2019 15:28:04 -0000". Invalid 'expires' attribute: Wed, 21 Aug 2019 15:28:04 -0000
Aug 21, 2019 5:28:04 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 21 Aug 2039 14:28:04 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sun, 21 Aug 2039 14:28:04 -0000
[INFO] Unpacking /var/lib/jenkins/workspace/WhereAmI/target/cache/yarn-v1.6.0.tar.gz into /var/lib/jenkins/workspace/WhereAmI/target/node/yarn
[INFO] Installed Yarn locally.
[INFO] Installing required frontend tools to '/var/lib/jenkins/workspace/WhereAmI/target'
[INFO] Running 'yarn install' in /var/lib/jenkins/workspace/WhereAmI/target
[INFO] yarn install v1.6.0
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[INFO] [3/4] Linking dependencies...
[ERROR] warning "polymer-build > polymer-project-config@3.13.0" has incorrect peer dependency "polymer-analyzer@^3.0.0-pre.17 || ^3.0.0".
[INFO] [4/4] Building fresh packages...
[INFO] Done in 4.60s.
[INFO] Processing frontend files from '/var/lib/jenkins/workspace/WhereAmI/target/frontend'
[INFO] Running 'gulp build_es6' in /var/lib/jenkins/workspace/WhereAmI/target
[INFO] [17:28:12] Using gulpfile ~/workspace/WhereAmI/target/gulpfile.js
[ERROR] (node:5171) Warning: N-API is an experimental feature and could change at any time.
[INFO] [17:28:12] Starting 'build_es6'...
[INFO] Deleting /var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es6 directory...
[INFO] [17:28:12] Finished 'build_es6' after 9.83 ms
[INFO] Starting to process frontend files.
[INFO] Will minify frontend files.
[INFO] Will bundle frontend files.
[INFO] Will hash bundle file names.
[INFO] Will copy files to target directory '/var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es6'.
[INFO] Starting operations stated above, this might take a while.
[INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es6/vaadin-flow-bundle-manifest.json'
[INFO] Build for directory /var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es6 complete!
[INFO] Running 'gulp build_es5' in /var/lib/jenkins/workspace/WhereAmI/target
[INFO] [17:28:42] Using gulpfile ~/workspace/WhereAmI/target/gulpfile.js
[ERROR] (node:5333) Warning: N-API is an experimental feature and could change at any time.
[INFO] [17:28:42] Starting 'build_es5'...
[INFO] Starting ES5 transpilation.
[INFO] Deleting /var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es5 directory...
[INFO] ES5 transpilation completed.
[INFO] [17:28:42] Finished 'build_es5' after 9.83 ms
[INFO] Starting to process frontend files.
[INFO] Will transpile frontend files.
[INFO] Will minify frontend files.
[INFO] Will bundle frontend files.
[INFO] Will hash bundle file names.
[INFO] Will copy files to target directory '/var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es5'.
[INFO] Starting operations stated above, this might take a while.
[INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es5/vaadin-flow-bundle-manifest.json'
[INFO] Build for directory /var/lib/jenkins/workspace/WhereAmI/target/classes/META-INF/resources/frontend-es5 complete!
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ whoami ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ whoami ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ whoami ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ whoami ---
[INFO] Building jar: /var/lib/jenkins/workspace/WhereAmI/target/whereami.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:repackage (repackage) @ whoami ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:34 min
[INFO] Finished at: 2019-08-21T17:29:29+03:00
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
Sending build context to Docker daemon  187.6MB

Step 1/7 : FROM java:8-jre
 ---> e44d62cf8862
Step 2/7 : VOLUME /tmp
 ---> Using cache
 ---> f8b03bbf305e
Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu>
 ---> Using cache
 ---> 8fd05b3c5eb4
Step 4/7 : ADD ./target/whereami.jar /app/
 ---> ccabd23accf4
Step 5/7 : RUN sh -c 'touch /app/whereami.jar'
 ---> Running in b783cbf7db71
Removing intermediate container b783cbf7db71
 ---> a8f113291c36
Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/whereami.jar
 ---> Running in b0e53f545b30
Removing intermediate container b0e53f545b30
 ---> 9564da625b8b
Step 7/7 : EXPOSE 8080
 ---> Running in f3693ccc1e46
Removing intermediate container f3693ccc1e46
 ---> 6d2b4f30c4be
Successfully built 6d2b4f30c4be
Successfully tagged kyberorg/whereami:latest
Successfully tagged kyberorg/whereami:debug
[Pipeline] withCredentials
Masking supported pattern matches of $USR or $PASS
[Pipeline] {
[Pipeline] sh
+ set +x
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ set +x
The push refers to repository [docker.io/kyberorg/whereami]
ecbc0a080997: Preparing
ad8ea7307930: Preparing
73ad47d4bc12: Preparing
c22c27816361: Preparing
04dba64afa87: Preparing
500ca2ff7d52: Preparing
782d5215f910: Preparing
0eb22bfb707d: Preparing
a2ae92ffcd29: Preparing
500ca2ff7d52: Waiting
782d5215f910: Waiting
0eb22bfb707d: Waiting
a2ae92ffcd29: Waiting
c22c27816361: Layer already exists
04dba64afa87: Layer already exists
73ad47d4bc12: Layer already exists
500ca2ff7d52: Layer already exists
0eb22bfb707d: Layer already exists
782d5215f910: Layer already exists
a2ae92ffcd29: Layer already exists
ad8ea7307930: Pushed
ecbc0a080997: Pushed
latest: digest: sha256:68e575ae7166817cbe6d1cc9bb31fd2e544edd43d8c05897a028d8206fab568c size: 2211
[Pipeline] sh
+ set +x
The push refers to repository [docker.io/kyberorg/whereami]
ecbc0a080997: Preparing
ad8ea7307930: Preparing
73ad47d4bc12: Preparing
c22c27816361: Preparing
04dba64afa87: Preparing
500ca2ff7d52: Preparing
782d5215f910: Preparing
0eb22bfb707d: Preparing
a2ae92ffcd29: Preparing
500ca2ff7d52: Waiting
782d5215f910: Waiting
0eb22bfb707d: Waiting
a2ae92ffcd29: Waiting
ecbc0a080997: Layer already exists
c22c27816361: Layer already exists
04dba64afa87: Layer already exists
ad8ea7307930: Layer already exists
73ad47d4bc12: Layer already exists
500ca2ff7d52: Layer already exists
782d5215f910: Layer already exists
a2ae92ffcd29: Layer already exists
0eb22bfb707d: Layer already exists
debug: digest: sha256:68e575ae7166817cbe6d1cc9bb31fd2e544edd43d8c05897a028d8206fab568c size: 2211
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/whereami:latest
[Pipeline] sh
+ set +x
Untagged: kyberorg/whereami:debug
Untagged: kyberorg/whereami@sha256:68e575ae7166817cbe6d1cc9bb31fd2e544edd43d8c05897a028d8206fab568c
Deleted: sha256:6d2b4f30c4be8858514a6cff10ca68f6b9f5b592a66aedc8cd7cb7c8a66d1380
Deleted: sha256:9564da625b8b5598d3a2363d7c88f122afb3a21d0d1b0c115c65ca44a63b7ccf
Deleted: sha256:a8f113291c36e92afdc866028ccec1f745a8092d4a16b51779e3c8d46aaa9105
Deleted: sha256:348189f11d9b7f68923dd0b25da2ae86fff49c25da9179610d89a048ec0f6a99
Deleted: sha256:ccabd23accf41f50c66bc9cf3b76f0950ba64a5d39b852e82b207c7b5a185270
Deleted: sha256:f8caa40b3f3cfb0da5195bacf872352b1f806db204b31584174644fd9b8ee559
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS