Started by GitLab push by Alex Muravya
Lightweight checkout support not available, falling back to full checkout.
Checking out git https://gitlab.com/yasys/hub2swarm.git into /var/lib/jenkins/workspace/Hub2Swarm@script to read Jenkinsfile
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/hub2swarm.git # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.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/master
Seen 1 remote branch
> /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4 (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4 # timeout=10
Commit message: "DB in Volume"
> /usr/bin/git rev-list --no-walk ee8614ee2f905725303d1bdfbc44065d34e6c1b1 # 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
[Pipeline] Start of Pipeline
[Pipeline] getContext
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/Hub2Swarm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential kyberorg_gl
Cloning the remote Git repository
Cloning repository https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git init /var/lib/jenkins/workspace/Hub2Swarm # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10
> /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.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/master
Seen 1 remote branch
> /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4 (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4 # timeout=10
Commit message: "DB in Volume"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withDockerRegistry
$ docker login -u kyberorg -p ******** https://index.docker.io/v1/
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/34a5ebe4-51fd-403e-93f8-b1f933a9c69f/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] sh
+ docker inspect -f . yasys/jobbari:1.7.0
.
[Pipeline] withDockerContainer
Jenkins does not seem to be running inside a container
$ docker run -t -d -u 108:112 -u root --privileged -v /opt/mvn/:/root/.m2 -w /var/lib/jenkins/workspace/Hub2Swarm -v /var/lib/jenkins/workspace/Hub2Swarm:/var/lib/jenkins/workspace/Hub2Swarm:rw,z -v /var/lib/jenkins/workspace/Hub2Swarm@tmp:/var/lib/jenkins/workspace/Hub2Swarm@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** yasys/jobbari:1.7.0 cat
$ docker top 99473ee99c4266031947ef7a252ad2a31a60385ee502285ce02a241d6a246785 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 15 min
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Preparation)
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Execution info)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
14:31:27 [2019-04-23T11:31:27.449Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:27 [2019-04-23T11:31:27.768Z] + set +x
14:31:27 [2019-04-23T11:31:27.768Z] [Runner info]
14:31:27 [2019-04-23T11:31:27.768Z] Hostname: 99473ee99c42
14:31:28 [2019-04-23T11:31:28.020Z] Network Status: Host Online
14:31:28 [2019-04-23T11:31:28.020Z]
14:31:28 [2019-04-23T11:31:28.020Z] === Tools info ===
14:31:28 [2019-04-23T11:31:28.270Z] Docker version: Docker version 18.09.5, build e8ff056dbc
14:31:28 [2019-04-23T11:31:28.270Z]
14:31:28 [2019-04-23T11:31:28.270Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
14:31:28 [2019-04-23T11:31:28.270Z] Maven home: /opt/mvn
14:31:28 [2019-04-23T11:31:28.270Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
14:31:28 [2019-04-23T11:31:28.270Z] Default locale: en, platform encoding: UTF-8
14:31:28 [2019-04-23T11:31:28.270Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
14:31:28 [2019-04-23T11:31:28.271Z]
14:31:28 [2019-04-23T11:31:28.271Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:31:28 [2019-04-23T11:31:28.372Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:28 [2019-04-23T11:31:28.675Z] + set +x
14:31:28 [2019-04-23T11:31:28.675Z] [Build info]
14:31:28 [2019-04-23T11:31:28.675Z] ===== Git info =====
14:31:28 [2019-04-23T11:31:28.675Z] Git branch: master
14:31:28 [2019-04-23T11:31:28.675Z] Git commit: dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
14:31:28 [2019-04-23T11:31:28.675Z] Git tag: -
14:31:28 [2019-04-23T11:31:28.675Z]
14:31:28 [2019-04-23T11:31:28.675Z] ===== Jenkins info =====
14:31:28 [2019-04-23T11:31:28.675Z] Jenkins Job #25
14:31:28 [2019-04-23T11:31:28.675Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/25/
14:31:28 [2019-04-23T11:31:28.675Z] Jenkins Tag: jenkins-Hub2Swarm-25
14:31:28 [2019-04-23T11:31:28.675Z]
14:31:28 [2019-04-23T11:31:28.675Z] ===== Job Params =====
14:31:28 [2019-04-23T11:31:28.675Z]
14:31:28 [2019-04-23T11:31:28.675Z] dockerRepo=yasys/hub2swarm
14:31:28 [2019-04-23T11:31:28.675Z] dockerStep=ee.yadev.pipe.commonpipe.Default@3c9153ff
14:31:28 [2019-04-23T11:31:28.675Z] javaStep=ee.yadev.pipe.commonpipe.Default@3c9153ff
14:31:28 [2019-04-23T11:31:28.675Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@3c9153ff
14:31:28 [2019-04-23T11:31:28.675Z] hubUrl=https://cloud.docker.com/repository/docker
14:31:28 [2019-04-23T11:31:28.675Z] useDebugTag=false
14:31:28 [2019-04-23T11:31:28.675Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false}
14:31:28 [2019-04-23T11:31:28.675Z] preparationStep=ee.yadev.pipe.commonpipe.Default@3c9153ff
14:31:28 [2019-04-23T11:31:28.675Z] stepTimeout=5
14:31:28 [2019-04-23T11:31:28.675Z] hubCredentialsId=docker-hub
14:31:28 [2019-04-23T11:31:28.675Z] class=class ee.yadev.pipe.commonpipe.Params
14:31:28 [2019-04-23T11:31:28.675Z] skipMavenTests=true
14:31:28 [2019-04-23T11:31:28.675Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2}
14:31:28 [2019-04-23T11:31:28.675Z] verbose=false
14:31:28 [2019-04-23T11:31:28.675Z] mavenTestsTimeout=5
14:31:28 [2019-04-23T11:31:28.675Z] pipelineTimeout=15
14:31:28 [2019-04-23T11:31:28.675Z] hubUser=kyberorg
14:31:28 [2019-04-23T11:31:28.675Z]
14:31:28 [2019-04-23T11:31:28.675Z] ==== Environment Variables =====
14:31:28 [2019-04-23T11:31:28.675Z] GIT_COMMITTER_NAME=Jenkins CI
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git
14:31:28 [2019-04-23T11:31:28.675Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=ee8614ee2f905725303d1bdfbc44065d34e6c1b1
14:31:28 [2019-04-23T11:31:28.675Z] GIT_AUTHOR_EMAIL=ci@yadev.eu
14:31:28 [2019-04-23T11:31:28.675Z] HOSTNAME=99473ee99c42
14:31:28 [2019-04-23T11:31:28.675Z] gitlabAfter=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
14:31:28 [2019-04-23T11:31:28.675Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/25/display/redirect?page=changes
14:31:28 [2019-04-23T11:31:28.675Z] HUDSON_URL=https://ci.yadev.eu/
14:31:28 [2019-04-23T11:31:28.675Z] GIT_COMMIT=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
14:31:28 [2019-04-23T11:31:28.675Z] NODE_LABELS=master
14:31:28 [2019-04-23T11:31:28.675Z] HOME=/root
14:31:28 [2019-04-23T11:31:28.675Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/25/
14:31:28 [2019-04-23T11:31:28.675Z] gitlabTargetBranch=master
14:31:28 [2019-04-23T11:31:28.675Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d
14:31:28 [2019-04-23T11:31:28.675Z] GIT_AUTHOR_NAME=Jenkins CI
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git
14:31:28 [2019-04-23T11:31:28.675Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm
14:31:28 [2019-04-23T11:31:28.675Z] gitlabMergeRequestLastCommit=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
14:31:28 [2019-04-23T11:31:28.675Z] JAVA_VERSION=8u212
14:31:28 [2019-04-23T11:31:28.675Z] NODE_NAME=master
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git
14:31:28 [2019-04-23T11:31:28.675Z] GIT_BRANCH=origin/master
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm
14:31:28 [2019-04-23T11:31:28.675Z] EXECUTOR_NUMBER=1
14:31:28 [2019-04-23T11:31:28.675Z] STAGE_NAME=Execution info
14:31:28 [2019-04-23T11:31:28.675Z] gitlabBranch=master
14:31:28 [2019-04-23T11:31:28.675Z] gitlabUserEmail=kyberorg@yadev.eu
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceBranch=master
14:31:28 [2019-04-23T11:31:28.675Z] BUILD_DISPLAY_NAME=#25
14:31:28 [2019-04-23T11:31:28.675Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/
14:31:28 [2019-04-23T11:31:28.675Z] JOB_BASE_NAME=Hub2Swarm
14:31:28 [2019-04-23T11:31:28.675Z] HUDSON_HOME=/var/lib/jenkins
14:31:28 [2019-04-23T11:31:28.675Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
14:31:28 [2019-04-23T11:31:28.675Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
14:31:28 [2019-04-23T11:31:28.675Z] BUILD_ID=25
14:31:28 [2019-04-23T11:31:28.675Z] BUILDING_FOR=kyberorg
14:31:28 [2019-04-23T11:31:28.675Z] gitlabBefore=ee8614ee2f905725303d1bdfbc44065d34e6c1b1
14:31:28 [2019-04-23T11:31:28.675Z] gitlabActionType=PUSH
14:31:28 [2019-04-23T11:31:28.675Z] BUILD_TAG=jenkins-Hub2Swarm-25
14:31:28 [2019-04-23T11:31:28.675Z] JENKINS_URL=https://ci.yadev.eu/
14:31:28 [2019-04-23T11:31:28.675Z] LANG=C.UTF-8
14:31:28 [2019-04-23T11:31:28.675Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceRepoName=Hub2Swarm
14:31:28 [2019-04-23T11:31:28.675Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git
14:31:28 [2019-04-23T11:31:28.675Z] BUILD_NUMBER=25
14:31:28 [2019-04-23T11:31:28.675Z] gitlabSourceNamespace=Yet another Systems
14:31:28 [2019-04-23T11:31:28.675Z] JENKINS_NODE_COOKIE=da97ded6-3aa1-48d2-b6c6-63a986d91bcc
14:31:28 [2019-04-23T11:31:28.675Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/25/display/redirect
14:31:28 [2019-04-23T11:31:28.675Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd
14:31:28 [2019-04-23T11:31:28.675Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect
14:31:28 [2019-04-23T11:31:28.675Z] CLASSPATH=
14:31:28 [2019-04-23T11:31:28.675Z] JOB_NAME=Hub2Swarm
14:31:28 [2019-04-23T11:31:28.675Z] GIT_COMMITTER_EMAIL=ci@yadev.eu
14:31:28 [2019-04-23T11:31:28.675Z] gitlabUserName=Alex Muravya
14:31:28 [2019-04-23T11:31:28.675Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/34a5ebe4-51fd-403e-93f8-b1f933a9c69f
14:31:28 [2019-04-23T11:31:28.675Z] JAVA_HOME=/docker-java-home
14:31:28 [2019-04-23T11:31:28.675Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm
14:31:28 [2019-04-23T11:31:28.675Z] GIT_PREVIOUS_COMMIT=ee8614ee2f905725303d1bdfbc44065d34e6c1b1
14:31:28 [2019-04-23T11:31:28.675Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (JavaApp: Build and Test)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
14:31:28 [2019-04-23T11:31:28.894Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:29 [2019-04-23T11:31:29.192Z] + set -x
14:31:29 [2019-04-23T11:31:29.192Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true
14:31:29 [2019-04-23T11:31:29.745Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
14:31:29 [2019-04-23T11:31:29.745Z] Maven home: /opt/mvn
14:31:29 [2019-04-23T11:31:29.745Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
14:31:29 [2019-04-23T11:31:29.745Z] Default locale: en, platform encoding: UTF-8
14:31:29 [2019-04-23T11:31:29.745Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
14:31:31 [2019-04-23T11:31:31.089Z] [INFO] Scanning for projects...
14:31:31 [2019-04-23T11:31:31.342Z] [INFO]
14:31:31 [2019-04-23T11:31:31.342Z] [INFO] ------------------------< eu.yatech:hub2swarm >-------------------------
14:31:31 [2019-04-23T11:31:31.342Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT
14:31:31 [2019-04-23T11:31:31.342Z] [INFO] --------------------------------[ jar ]---------------------------------
14:31:33 [2019-04-23T11:31:33.205Z] [INFO]
14:31:33 [2019-04-23T11:31:33.205Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm ---
14:31:33 [2019-04-23T11:31:33.205Z] [INFO]
14:31:33 [2019-04-23T11:31:33.205Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm ---
14:31:33 [2019-04-23T11:31:33.205Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
14:31:33 [2019-04-23T11:31:33.205Z] [INFO] Copying 3 resources
14:31:33 [2019-04-23T11:31:33.205Z] [INFO] Copying 1 resource
14:31:33 [2019-04-23T11:31:33.456Z] [INFO]
14:31:33 [2019-04-23T11:31:33.456Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm ---
14:31:33 [2019-04-23T11:31:33.456Z] [INFO] Changes detected - recompiling the module!
14:31:33 [2019-04-23T11:31:33.456Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes
14:31:35 [2019-04-23T11:31:35.945Z] [INFO]
14:31:35 [2019-04-23T11:31:35.945Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm ---
14:31:35 [2019-04-23T11:31:35.945Z] [INFO] Not copying test resources
14:31:35 [2019-04-23T11:31:35.945Z] [INFO]
14:31:35 [2019-04-23T11:31:35.945Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm ---
14:31:35 [2019-04-23T11:31:35.945Z] [INFO] Not compiling test sources
14:31:35 [2019-04-23T11:31:35.945Z] [INFO]
14:31:35 [2019-04-23T11:31:35.945Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm ---
14:31:36 [2019-04-23T11:31:36.196Z] [INFO] Tests are skipped.
14:31:36 [2019-04-23T11:31:36.196Z] [INFO]
14:31:36 [2019-04-23T11:31:36.196Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm ---
14:31:36 [2019-04-23T11:31:36.446Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar
14:31:36 [2019-04-23T11:31:36.446Z] [INFO]
14:31:36 [2019-04-23T11:31:36.446Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm ---
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] Replacing main artifact with repackaged archive
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] ------------------------------------------------------------------------
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] BUILD SUCCESS
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] ------------------------------------------------------------------------
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] Total time: 6.386 s
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] Finished at: 2019-04-23T11:31:37Z
14:31:37 [2019-04-23T11:31:37.358Z] [INFO] ------------------------------------------------------------------------
14:31:37 [2019-04-23T11:31:37.358Z] + echo Built for kyberorg
14:31:37 [2019-04-23T11:31:37.358Z] Built for kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker: Build and Push)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
14:31:37 [2019-04-23T11:31:37.617Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:37 [2019-04-23T11:31:37.944Z] + set +x
14:31:37 [2019-04-23T11:31:37.944Z] Starting Docker: docker.
14:31:37 [2019-04-23T11:31:37.944Z] Daemon started. kyberorg, go ahead!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] withCredentials
14:31:38 [2019-04-23T11:31:38.007Z] Masking only exact matches of $USR or $PASS
[Pipeline] {
[Pipeline] timeout
14:31:38 [2019-04-23T11:31:38.056Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:38 [2019-04-23T11:31:38.355Z] + set +x
14:31:38 [2019-04-23T11:31:38.355Z] Login as **** to Docker Repository
14:31:40 [2019-04-23T11:31:40.217Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/34a5ebe4-51fd-403e-93f8-b1f933a9c69f/config.json.
14:31:40 [2019-04-23T11:31:40.217Z] Configure a credential helper to remove this warning. See
14:31:40 [2019-04-23T11:31:40.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14:31:40 [2019-04-23T11:31:40.217Z]
14:31:40 [2019-04-23T11:31:40.217Z] Login Succeeded
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] timeout
14:31:40 [2019-04-23T11:31:40.321Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:31:40 [2019-04-23T11:31:40.614Z] + set +x
14:31:40 [2019-04-23T11:31:40.615Z] Building Docker Image yasys/hub2swarm with tags: [latest]
14:31:41 [2019-04-23T11:31:41.165Z] Sending build context to Docker daemon 66.31MB
14:31:41 [2019-04-23T11:31:41.166Z] Step 1/8 : FROM java:8-jre
14:31:42 [2019-04-23T11:31:42.509Z] 8-jre: Pulling from library/java
14:31:42 [2019-04-23T11:31:42.510Z] 5040bd298390: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] fce5728aad85: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] c42794440453: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] 0c0da797ba48: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] 7c9b17433752: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] 114e02586e63: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] e4c663802e9a: Pulling fs layer
14:31:42 [2019-04-23T11:31:42.510Z] 0c0da797ba48: Waiting
14:31:42 [2019-04-23T11:31:42.510Z] 7c9b17433752: Waiting
14:31:42 [2019-04-23T11:31:42.510Z] 114e02586e63: Waiting
14:31:42 [2019-04-23T11:31:42.510Z] e4c663802e9a: Waiting
14:31:43 [2019-04-23T11:31:43.061Z] c42794440453: Verifying Checksum
14:31:43 [2019-04-23T11:31:43.061Z] c42794440453: Download complete
14:31:43 [2019-04-23T11:31:43.311Z] fce5728aad85: Verifying Checksum
14:31:43 [2019-04-23T11:31:43.311Z] fce5728aad85: Download complete
14:31:43 [2019-04-23T11:31:43.562Z] 5040bd298390: Verifying Checksum
14:31:43 [2019-04-23T11:31:43.562Z] 5040bd298390: Download complete
14:31:43 [2019-04-23T11:31:43.562Z] 0c0da797ba48: Verifying Checksum
14:31:43 [2019-04-23T11:31:43.562Z] 0c0da797ba48: Download complete
14:31:43 [2019-04-23T11:31:43.812Z] 7c9b17433752: Verifying Checksum
14:31:43 [2019-04-23T11:31:43.812Z] 7c9b17433752: Download complete
14:31:44 [2019-04-23T11:31:44.063Z] e4c663802e9a: Verifying Checksum
14:31:44 [2019-04-23T11:31:44.063Z] e4c663802e9a: Download complete
14:31:44 [2019-04-23T11:31:44.614Z] 114e02586e63: Verifying Checksum
14:31:44 [2019-04-23T11:31:44.614Z] 114e02586e63: Download complete
14:31:47 [2019-04-23T11:31:47.843Z] 5040bd298390: Pull complete
14:31:49 [2019-04-23T11:31:49.705Z] fce5728aad85: Pull complete
14:31:50 [2019-04-23T11:31:50.255Z] c42794440453: Pull complete
14:31:51 [2019-04-23T11:31:51.167Z] 0c0da797ba48: Pull complete
14:31:52 [2019-04-23T11:31:52.079Z] 7c9b17433752: Pull complete
14:31:58 [2019-04-23T11:31:58.112Z] 114e02586e63: Pull complete
14:31:58 [2019-04-23T11:31:58.674Z] e4c663802e9a: Pull complete
14:31:58 [2019-04-23T11:31:58.674Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0
14:31:58 [2019-04-23T11:31:58.674Z] Status: Downloaded newer image for java:8-jre
14:31:58 [2019-04-23T11:31:58.674Z] ---> e44d62cf8862
14:31:58 [2019-04-23T11:31:58.674Z] Step 2/8 : VOLUME /tmp
14:32:01 [2019-04-23T11:32:01.157Z] ---> Running in 3ab335dfe582
14:32:04 [2019-04-23T11:32:04.386Z] Removing intermediate container 3ab335dfe582
14:32:04 [2019-04-23T11:32:04.386Z] ---> 31594fa66185
14:32:04 [2019-04-23T11:32:04.386Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu>
14:32:05 [2019-04-23T11:32:05.730Z] ---> Running in 6565d5fff510
14:32:08 [2019-04-23T11:32:08.214Z] Removing intermediate container 6565d5fff510
14:32:08 [2019-04-23T11:32:08.214Z] ---> 620dc1ca41b3
14:32:08 [2019-04-23T11:32:08.214Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/
14:32:10 [2019-04-23T11:32:10.697Z] ---> a00f23118cf5
14:32:10 [2019-04-23T11:32:10.697Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar'
14:32:13 [2019-04-23T11:32:13.200Z] ---> Running in ce75263a30b3
14:32:17 [2019-04-23T11:32:17.324Z] Removing intermediate container ce75263a30b3
14:32:17 [2019-04-23T11:32:17.324Z] ---> 39f86c1f29b6
14:32:17 [2019-04-23T11:32:17.324Z] Step 6/8 : ENV spring_profiles_active=prod
14:32:19 [2019-04-23T11:32:19.186Z] ---> Running in bd8a19a51084
14:32:22 [2019-04-23T11:32:22.418Z] Removing intermediate container bd8a19a51084
14:32:22 [2019-04-23T11:32:22.418Z] ---> 7358cb072a9f
14:32:22 [2019-04-23T11:32:22.418Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar
14:32:24 [2019-04-23T11:32:24.280Z] ---> Running in 2d5805931f70
14:32:26 [2019-04-23T11:32:26.763Z] Removing intermediate container 2d5805931f70
14:32:26 [2019-04-23T11:32:26.763Z] ---> 3ef3acf84e54
14:32:26 [2019-04-23T11:32:26.763Z] Step 8/8 : EXPOSE 8080
14:32:28 [2019-04-23T11:32:28.625Z] ---> Running in 8b3ba8236f2d
14:32:31 [2019-04-23T11:32:31.855Z] Removing intermediate container 8b3ba8236f2d
14:32:31 [2019-04-23T11:32:31.855Z] ---> cf04a49b7bca
14:32:31 [2019-04-23T11:32:31.855Z] Successfully built cf04a49b7bca
14:32:31 [2019-04-23T11:32:31.855Z] Successfully tagged yasys/hub2swarm:latest
14:32:31 [2019-04-23T11:32:31.855Z] Docker image yasys/hub2swarm:[latest] for kyberorg created
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:32:31 [2019-04-23T11:32:31.916Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:32:32 [2019-04-23T11:32:32.216Z] + set +x
14:32:32 [2019-04-23T11:32:32.216Z] Push yasys/hub2swarm to Docker Repository
14:32:32 [2019-04-23T11:32:32.216Z] The push refers to repository [docker.io/yasys/hub2swarm]
14:32:32 [2019-04-23T11:32:32.769Z] 5de533ce492a: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 68bf0e3da1aa: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 73ad47d4bc12: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] c22c27816361: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 04dba64afa87: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 500ca2ff7d52: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 782d5215f910: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 0eb22bfb707d: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] a2ae92ffcd29: Preparing
14:32:32 [2019-04-23T11:32:32.769Z] 500ca2ff7d52: Waiting
14:32:32 [2019-04-23T11:32:32.769Z] 0eb22bfb707d: Waiting
14:32:32 [2019-04-23T11:32:32.769Z] 782d5215f910: Waiting
14:32:32 [2019-04-23T11:32:32.769Z] a2ae92ffcd29: Waiting
14:32:33 [2019-04-23T11:32:33.681Z] c22c27816361: Layer already exists
14:32:33 [2019-04-23T11:32:33.681Z] 73ad47d4bc12: Layer already exists
14:32:33 [2019-04-23T11:32:33.681Z] 04dba64afa87: Layer already exists
14:32:34 [2019-04-23T11:32:34.232Z] 0eb22bfb707d: Layer already exists
14:32:34 [2019-04-23T11:32:34.232Z] 782d5215f910: Layer already exists
14:32:34 [2019-04-23T11:32:34.232Z] 500ca2ff7d52: Layer already exists
14:32:34 [2019-04-23T11:32:34.783Z] a2ae92ffcd29: Layer already exists
14:32:42 [2019-04-23T11:32:42.812Z] 5de533ce492a: Pushed
14:32:43 [2019-04-23T11:32:43.063Z] 68bf0e3da1aa: Pushed
14:32:47 [2019-04-23T11:32:47.186Z] latest: digest: sha256:c048723c32c5288c6317b54b1c3667da9d4c06a9ced9cd8bc846595d827d7068 size: 2211
14:32:47 [2019-04-23T11:32:47.186Z] Docker image successfully pushed for kyberorg. Enjoy!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:32:47 [2019-04-23T11:32:47.256Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:32:47 [2019-04-23T11:32:47.556Z] + set +x
14:32:47 [2019-04-23T11:32:47.556Z] Moikka kyberorg!
14:32:47 [2019-04-23T11:32:47.556Z] Here is Docker Summary:
14:32:47 [2019-04-23T11:32:47.556Z] Images built and pushed: 1
14:32:47 [2019-04-23T11:32:47.556Z] [
14:32:47 [2019-04-23T11:32:47.556Z] yasys/hub2swarm:latest
14:32:47 [2019-04-23T11:32:47.556Z] ]
14:32:47 [2019-04-23T11:32:47.556Z] Hub Url: https://cloud.docker.com/repository/docker/yasys/hub2swarm
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] echo
14:32:47 [2019-04-23T11:32:47.723Z] One way or another, I have finished. Tsau!
[Pipeline] sh
14:32:48 [2019-04-23T11:32:48.011Z] + set +x
14:32:48 [2019-04-23T11:32:48.011Z] Making workspace writable for correct cleanup
14:32:48 [2019-04-23T11:32:48.011Z] Done for kyberorg
[Pipeline] deleteDir
[Pipeline] echo
14:32:48 [2019-04-23T11:32:48.085Z] Great success!
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 99473ee99c4266031947ef7a252ad2a31a60385ee502285ce02a241d6a246785
$ docker rm -f 99473ee99c4266031947ef7a252ad2a31a60385ee502285ce02a241d6a246785
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS