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 9616f7430d7b0caed62d1150aaec845102b0c9c1 (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 9616f7430d7b0caed62d1150aaec845102b0c9c1 # timeout=10
Commit message: "Persistence"
> /usr/bin/git rev-list --no-walk 43500941a6c4891964be49a8ddd28e273ed43f5e # 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 9616f7430d7b0caed62d1150aaec845102b0c9c1 (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 9616f7430d7b0caed62d1150aaec845102b0c9c1 # timeout=10
Commit message: "Persistence"
[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/522fc85a-3207-4753-8b8a-8b62494edf7a/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 038123cc4a6c5811f2403507e460cd5e5a2f43e9f45bb1d70454ee27cc66d4f9 -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
13:33:57 [2019-04-23T10:33:57.887Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:33:58 [2019-04-23T10:33:58.194Z] + set +x
13:33:58 [2019-04-23T10:33:58.194Z] [Runner info]
13:33:58 [2019-04-23T10:33:58.194Z] Hostname: 038123cc4a6c
13:33:58 [2019-04-23T10:33:58.446Z] Network Status: Host Online
13:33:58 [2019-04-23T10:33:58.446Z]
13:33:58 [2019-04-23T10:33:58.446Z] === Tools info ===
13:33:58 [2019-04-23T10:33:58.696Z] Docker version: Docker version 18.09.5, build e8ff056dbc
13:33:58 [2019-04-23T10:33:58.696Z]
13:33:58 [2019-04-23T10:33:58.696Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
13:33:58 [2019-04-23T10:33:58.696Z] Maven home: /opt/mvn
13:33:58 [2019-04-23T10:33:58.696Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
13:33:58 [2019-04-23T10:33:58.696Z] Default locale: en, platform encoding: UTF-8
13:33:58 [2019-04-23T10:33:58.697Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
13:33:58 [2019-04-23T10:33:58.697Z]
13:33:58 [2019-04-23T10:33:58.697Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
13:33:58 [2019-04-23T10:33:58.787Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:33:59 [2019-04-23T10:33:59.083Z] + set +x
13:33:59 [2019-04-23T10:33:59.083Z] [Build info]
13:33:59 [2019-04-23T10:33:59.083Z] ===== Git info =====
13:33:59 [2019-04-23T10:33:59.083Z] Git branch: master
13:33:59 [2019-04-23T10:33:59.083Z] Git commit: 9616f7430d7b0caed62d1150aaec845102b0c9c1
13:33:59 [2019-04-23T10:33:59.083Z] Git tag: -
13:33:59 [2019-04-23T10:33:59.083Z]
13:33:59 [2019-04-23T10:33:59.083Z] ===== Jenkins info =====
13:33:59 [2019-04-23T10:33:59.083Z] Jenkins Job #21
13:33:59 [2019-04-23T10:33:59.083Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/21/
13:33:59 [2019-04-23T10:33:59.083Z] Jenkins Tag: jenkins-Hub2Swarm-21
13:33:59 [2019-04-23T10:33:59.083Z]
13:33:59 [2019-04-23T10:33:59.083Z] ===== Job Params =====
13:33:59 [2019-04-23T10:33:59.083Z]
13:33:59 [2019-04-23T10:33:59.083Z] dockerRepo=yasys/hub2swarm
13:33:59 [2019-04-23T10:33:59.083Z] dockerStep=ee.yadev.pipe.commonpipe.Default@2a91c8a3
13:33:59 [2019-04-23T10:33:59.083Z] javaStep=ee.yadev.pipe.commonpipe.Default@2a91c8a3
13:33:59 [2019-04-23T10:33:59.083Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@2a91c8a3
13:33:59 [2019-04-23T10:33:59.083Z] hubUrl=https://cloud.docker.com/repository/docker
13:33:59 [2019-04-23T10:33:59.083Z] useDebugTag=false
13:33:59 [2019-04-23T10:33:59.083Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false}
13:33:59 [2019-04-23T10:33:59.083Z] preparationStep=ee.yadev.pipe.commonpipe.Default@2a91c8a3
13:33:59 [2019-04-23T10:33:59.083Z] stepTimeout=5
13:33:59 [2019-04-23T10:33:59.083Z] hubCredentialsId=docker-hub
13:33:59 [2019-04-23T10:33:59.083Z] class=class ee.yadev.pipe.commonpipe.Params
13:33:59 [2019-04-23T10:33:59.083Z] skipMavenTests=true
13:33:59 [2019-04-23T10:33:59.083Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2}
13:33:59 [2019-04-23T10:33:59.083Z] verbose=false
13:33:59 [2019-04-23T10:33:59.083Z] mavenTestsTimeout=5
13:33:59 [2019-04-23T10:33:59.083Z] pipelineTimeout=15
13:33:59 [2019-04-23T10:33:59.083Z] hubUser=kyberorg
13:33:59 [2019-04-23T10:33:59.083Z]
13:33:59 [2019-04-23T10:33:59.083Z] ==== Environment Variables =====
13:33:59 [2019-04-23T10:33:59.083Z] GIT_COMMITTER_NAME=Jenkins CI
13:33:59 [2019-04-23T10:33:59.083Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git
13:33:59 [2019-04-23T10:33:59.083Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=43500941a6c4891964be49a8ddd28e273ed43f5e
13:33:59 [2019-04-23T10:33:59.083Z] GIT_AUTHOR_EMAIL=ci@yadev.eu
13:33:59 [2019-04-23T10:33:59.083Z] HOSTNAME=038123cc4a6c
13:33:59 [2019-04-23T10:33:59.083Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/21/display/redirect?page=changes
13:33:59 [2019-04-23T10:33:59.083Z] gitlabAfter=9616f7430d7b0caed62d1150aaec845102b0c9c1
13:33:59 [2019-04-23T10:33:59.083Z] GIT_COMMIT=9616f7430d7b0caed62d1150aaec845102b0c9c1
13:33:59 [2019-04-23T10:33:59.083Z] HUDSON_URL=https://ci.yadev.eu/
13:33:59 [2019-04-23T10:33:59.083Z] NODE_LABELS=master
13:33:59 [2019-04-23T10:33:59.083Z] HOME=/root
13:33:59 [2019-04-23T10:33:59.083Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/21/
13:33:59 [2019-04-23T10:33:59.083Z] gitlabTargetBranch=master
13:33:59 [2019-04-23T10:33:59.083Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d
13:33:59 [2019-04-23T10:33:59.083Z] GIT_AUTHOR_NAME=Jenkins CI
13:33:59 [2019-04-23T10:33:59.083Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git
13:33:59 [2019-04-23T10:33:59.083Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm
13:33:59 [2019-04-23T10:33:59.083Z] gitlabMergeRequestLastCommit=9616f7430d7b0caed62d1150aaec845102b0c9c1
13:33:59 [2019-04-23T10:33:59.083Z] JAVA_VERSION=8u212
13:33:59 [2019-04-23T10:33:59.083Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git
13:33:59 [2019-04-23T10:33:59.083Z] NODE_NAME=master
13:33:59 [2019-04-23T10:33:59.083Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm
13:33:59 [2019-04-23T10:33:59.083Z] EXECUTOR_NUMBER=1
13:33:59 [2019-04-23T10:33:59.083Z] GIT_BRANCH=origin/master
13:33:59 [2019-04-23T10:33:59.083Z] STAGE_NAME=Execution info
13:33:59 [2019-04-23T10:33:59.083Z] gitlabBranch=master
13:33:59 [2019-04-23T10:33:59.083Z] gitlabSourceBranch=master
13:33:59 [2019-04-23T10:33:59.083Z] BUILD_DISPLAY_NAME=#21
13:33:59 [2019-04-23T10:33:59.083Z] gitlabUserEmail=kyberorg@yadev.eu
13:33:59 [2019-04-23T10:33:59.083Z] HUDSON_HOME=/var/lib/jenkins
13:33:59 [2019-04-23T10:33:59.083Z] JOB_BASE_NAME=Hub2Swarm
13:33:59 [2019-04-23T10:33:59.084Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/
13:33:59 [2019-04-23T10:33:59.084Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
13:33:59 [2019-04-23T10:33:59.084Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
13:33:59 [2019-04-23T10:33:59.084Z] BUILD_ID=21
13:33:59 [2019-04-23T10:33:59.084Z] BUILDING_FOR=kyberorg
13:33:59 [2019-04-23T10:33:59.084Z] gitlabActionType=PUSH
13:33:59 [2019-04-23T10:33:59.084Z] gitlabBefore=43500941a6c4891964be49a8ddd28e273ed43f5e
13:33:59 [2019-04-23T10:33:59.084Z] BUILD_TAG=jenkins-Hub2Swarm-21
13:33:59 [2019-04-23T10:33:59.084Z] JENKINS_URL=https://ci.yadev.eu/
13:33:59 [2019-04-23T10:33:59.084Z] LANG=C.UTF-8
13:33:59 [2019-04-23T10:33:59.084Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/
13:33:59 [2019-04-23T10:33:59.084Z] gitlabSourceRepoName=Hub2Swarm
13:33:59 [2019-04-23T10:33:59.084Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git
13:33:59 [2019-04-23T10:33:59.084Z] gitlabSourceNamespace=Yet another Systems
13:33:59 [2019-04-23T10:33:59.084Z] BUILD_NUMBER=21
13:33:59 [2019-04-23T10:33:59.084Z] JENKINS_NODE_COOKIE=e8ed7b06-0e67-4a07-9779-cc9257dc42e5
13:33:59 [2019-04-23T10:33:59.084Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/21/display/redirect
13:33:59 [2019-04-23T10:33:59.084Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd
13:33:59 [2019-04-23T10:33:59.084Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect
13:33:59 [2019-04-23T10:33:59.084Z] CLASSPATH=
13:33:59 [2019-04-23T10:33:59.084Z] GIT_COMMITTER_EMAIL=ci@yadev.eu
13:33:59 [2019-04-23T10:33:59.084Z] JOB_NAME=Hub2Swarm
13:33:59 [2019-04-23T10:33:59.084Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/522fc85a-3207-4753-8b8a-8b62494edf7a
13:33:59 [2019-04-23T10:33:59.084Z] gitlabUserName=Alex Muravya
13:33:59 [2019-04-23T10:33:59.084Z] JAVA_HOME=/docker-java-home
13:33:59 [2019-04-23T10:33:59.084Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm
13:33:59 [2019-04-23T10:33:59.084Z] GIT_PREVIOUS_COMMIT=43500941a6c4891964be49a8ddd28e273ed43f5e
13:33:59 [2019-04-23T10:33:59.084Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (JavaApp: Build and Test)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
13:33:59 [2019-04-23T10:33:59.341Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:33:59 [2019-04-23T10:33:59.635Z] + set -x
13:33:59 [2019-04-23T10:33:59.635Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true
13:33:59 [2019-04-23T10:33:59.887Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
13:33:59 [2019-04-23T10:33:59.887Z] Maven home: /opt/mvn
13:33:59 [2019-04-23T10:33:59.887Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
13:33:59 [2019-04-23T10:33:59.887Z] Default locale: en, platform encoding: UTF-8
13:33:59 [2019-04-23T10:33:59.887Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
13:34:01 [2019-04-23T10:34:01.232Z] [INFO] Scanning for projects...
13:34:01 [2019-04-23T10:34:01.783Z] [INFO]
13:34:01 [2019-04-23T10:34:01.783Z] [INFO] ------------------------< eu.yatech:hub2swarm >-------------------------
13:34:01 [2019-04-23T10:34:01.783Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT
13:34:01 [2019-04-23T10:34:01.783Z] [INFO] --------------------------------[ jar ]---------------------------------
13:34:03 [2019-04-23T10:34:03.646Z] [INFO]
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm ---
13:34:03 [2019-04-23T10:34:03.646Z] [INFO]
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm ---
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] Copying 3 resources
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] Copying 1 resource
13:34:03 [2019-04-23T10:34:03.646Z] [INFO]
13:34:03 [2019-04-23T10:34:03.646Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm ---
13:34:03 [2019-04-23T10:34:03.898Z] [INFO] Changes detected - recompiling the module!
13:34:03 [2019-04-23T10:34:03.898Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes
13:34:06 [2019-04-23T10:34:06.384Z] [INFO]
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm ---
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] Not copying test resources
13:34:06 [2019-04-23T10:34:06.384Z] [INFO]
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm ---
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] Not compiling test sources
13:34:06 [2019-04-23T10:34:06.384Z] [INFO]
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm ---
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] Tests are skipped.
13:34:06 [2019-04-23T10:34:06.384Z] [INFO]
13:34:06 [2019-04-23T10:34:06.384Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm ---
13:34:06 [2019-04-23T10:34:06.635Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar
13:34:06 [2019-04-23T10:34:06.885Z] [INFO]
13:34:06 [2019-04-23T10:34:06.885Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm ---
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] Replacing main artifact with repackaged archive
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] ------------------------------------------------------------------------
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] BUILD SUCCESS
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] ------------------------------------------------------------------------
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] Total time: 6.709 s
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] Finished at: 2019-04-23T10:34:07Z
13:34:07 [2019-04-23T10:34:07.797Z] [INFO] ------------------------------------------------------------------------
13:34:07 [2019-04-23T10:34:07.797Z] + echo Built for kyberorg
13:34:07 [2019-04-23T10:34:07.797Z] Built for kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker: Build and Push)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
13:34:08 [2019-04-23T10:34:08.015Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:34:08 [2019-04-23T10:34:08.310Z] + set +x
13:34:08 [2019-04-23T10:34:08.561Z] Starting Docker: docker.
13:34:08 [2019-04-23T10:34:08.561Z] Daemon started. kyberorg, go ahead!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] withCredentials
13:34:08 [2019-04-23T10:34:08.701Z] Masking only exact matches of $USR or $PASS
[Pipeline] {
[Pipeline] timeout
13:34:08 [2019-04-23T10:34:08.749Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:34:09 [2019-04-23T10:34:09.045Z] + set +x
13:34:09 [2019-04-23T10:34:09.045Z] Login as **** to Docker Repository
13:34:10 [2019-04-23T10:34:10.389Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/522fc85a-3207-4753-8b8a-8b62494edf7a/config.json.
13:34:10 [2019-04-23T10:34:10.389Z] Configure a credential helper to remove this warning. See
13:34:10 [2019-04-23T10:34:10.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13:34:10 [2019-04-23T10:34:10.389Z]
13:34:10 [2019-04-23T10:34:10.389Z] Login Succeeded
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] timeout
13:34:10 [2019-04-23T10:34:10.499Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:34:10 [2019-04-23T10:34:10.789Z] + set +x
13:34:10 [2019-04-23T10:34:10.789Z] Building Docker Image yasys/hub2swarm with tags: [latest]
13:34:11 [2019-04-23T10:34:11.340Z] Sending build context to Docker daemon 66.31MB
13:34:11 [2019-04-23T10:34:11.340Z] Step 1/8 : FROM java:8-jre
13:34:12 [2019-04-23T10:34:12.685Z] 8-jre: Pulling from library/java
13:34:12 [2019-04-23T10:34:12.685Z] 5040bd298390: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] fce5728aad85: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] c42794440453: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] 0c0da797ba48: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] 7c9b17433752: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] 114e02586e63: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] e4c663802e9a: Pulling fs layer
13:34:12 [2019-04-23T10:34:12.685Z] 0c0da797ba48: Waiting
13:34:12 [2019-04-23T10:34:12.685Z] 7c9b17433752: Waiting
13:34:12 [2019-04-23T10:34:12.685Z] 114e02586e63: Waiting
13:34:12 [2019-04-23T10:34:12.685Z] e4c663802e9a: Waiting
13:34:13 [2019-04-23T10:34:13.236Z] c42794440453: Verifying Checksum
13:34:13 [2019-04-23T10:34:13.236Z] c42794440453: Download complete
13:34:13 [2019-04-23T10:34:13.236Z] fce5728aad85: Verifying Checksum
13:34:13 [2019-04-23T10:34:13.236Z] fce5728aad85: Download complete
13:34:13 [2019-04-23T10:34:13.487Z] 5040bd298390: Verifying Checksum
13:34:13 [2019-04-23T10:34:13.487Z] 5040bd298390: Download complete
13:34:13 [2019-04-23T10:34:13.738Z] 0c0da797ba48: Verifying Checksum
13:34:13 [2019-04-23T10:34:13.738Z] 0c0da797ba48: Download complete
13:34:13 [2019-04-23T10:34:13.738Z] 7c9b17433752: Verifying Checksum
13:34:13 [2019-04-23T10:34:13.738Z] 7c9b17433752: Download complete
13:34:14 [2019-04-23T10:34:14.290Z] e4c663802e9a: Verifying Checksum
13:34:14 [2019-04-23T10:34:14.290Z] e4c663802e9a: Download complete
13:34:14 [2019-04-23T10:34:14.540Z] 114e02586e63: Verifying Checksum
13:34:14 [2019-04-23T10:34:14.540Z] 114e02586e63: Download complete
13:34:17 [2019-04-23T10:34:17.770Z] 5040bd298390: Pull complete
13:34:19 [2019-04-23T10:34:19.632Z] fce5728aad85: Pull complete
13:34:20 [2019-04-23T10:34:20.183Z] c42794440453: Pull complete
13:34:21 [2019-04-23T10:34:21.095Z] 0c0da797ba48: Pull complete
13:34:22 [2019-04-23T10:34:22.006Z] 7c9b17433752: Pull complete
13:34:27 [2019-04-23T10:34:27.202Z] 114e02586e63: Pull complete
13:34:27 [2019-04-23T10:34:27.754Z] e4c663802e9a: Pull complete
13:34:27 [2019-04-23T10:34:27.754Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0
13:34:27 [2019-04-23T10:34:27.754Z] Status: Downloaded newer image for java:8-jre
13:34:27 [2019-04-23T10:34:27.754Z] ---> e44d62cf8862
13:34:27 [2019-04-23T10:34:27.754Z] Step 2/8 : VOLUME /tmp
13:34:30 [2019-04-23T10:34:30.984Z] ---> Running in 44429319ece3
13:34:34 [2019-04-23T10:34:34.214Z] Removing intermediate container 44429319ece3
13:34:34 [2019-04-23T10:34:34.214Z] ---> be79cacc0f90
13:34:34 [2019-04-23T10:34:34.214Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu>
13:34:36 [2019-04-23T10:34:36.076Z] ---> Running in e68f1acd02cc
13:34:38 [2019-04-23T10:34:38.560Z] Removing intermediate container e68f1acd02cc
13:34:38 [2019-04-23T10:34:38.560Z] ---> 6e1ce96b5de7
13:34:38 [2019-04-23T10:34:38.560Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/
13:34:41 [2019-04-23T10:34:41.789Z] ---> b923caa288c7
13:34:41 [2019-04-23T10:34:41.789Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar'
13:34:43 [2019-04-23T10:34:43.652Z] ---> Running in 58fc0347d70b
13:34:47 [2019-04-23T10:34:47.775Z] Removing intermediate container 58fc0347d70b
13:34:47 [2019-04-23T10:34:47.776Z] ---> efbcb2885962
13:34:47 [2019-04-23T10:34:47.776Z] Step 6/8 : RUN sh -c 'mkdir -p /var/db/h2'
13:34:50 [2019-04-23T10:34:50.260Z] ---> Running in cd2d63c5f8ad
13:34:54 [2019-04-23T10:34:54.384Z] Removing intermediate container cd2d63c5f8ad
13:34:54 [2019-04-23T10:34:54.384Z] ---> 8a04a8ba126a
13:34:54 [2019-04-23T10:34:54.384Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar
13:34:56 [2019-04-23T10:34:56.247Z] ---> Running in 4bbdb9f65dfb
13:34:59 [2019-04-23T10:34:59.476Z] Removing intermediate container 4bbdb9f65dfb
13:34:59 [2019-04-23T10:34:59.476Z] ---> d4feb55c5b1c
13:34:59 [2019-04-23T10:34:59.476Z] Step 8/8 : EXPOSE 8080
13:35:01 [2019-04-23T10:35:01.339Z] ---> Running in 219c4d978af7
13:35:04 [2019-04-23T10:35:04.571Z] Removing intermediate container 219c4d978af7
13:35:04 [2019-04-23T10:35:04.571Z] ---> 0e0a11618fe9
13:35:04 [2019-04-23T10:35:04.571Z] Successfully built 0e0a11618fe9
13:35:04 [2019-04-23T10:35:04.571Z] Successfully tagged yasys/hub2swarm:latest
13:35:04 [2019-04-23T10:35:04.571Z] Docker image yasys/hub2swarm:[latest] for kyberorg created
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
13:35:04 [2019-04-23T10:35:04.629Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:35:04 [2019-04-23T10:35:04.921Z] + set +x
13:35:04 [2019-04-23T10:35:04.921Z] Push yasys/hub2swarm to Docker Repository
13:35:05 [2019-04-23T10:35:05.174Z] The push refers to repository [docker.io/yasys/hub2swarm]
13:35:05 [2019-04-23T10:35:05.425Z] 3b004317a1ac: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] f590d3c166cf: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] e8cc775d29cd: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 73ad47d4bc12: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] c22c27816361: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 04dba64afa87: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 500ca2ff7d52: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 782d5215f910: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 0eb22bfb707d: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] a2ae92ffcd29: Preparing
13:35:05 [2019-04-23T10:35:05.426Z] 04dba64afa87: Waiting
13:35:05 [2019-04-23T10:35:05.426Z] 500ca2ff7d52: Waiting
13:35:05 [2019-04-23T10:35:05.426Z] 782d5215f910: Waiting
13:35:05 [2019-04-23T10:35:05.426Z] 0eb22bfb707d: Waiting
13:35:05 [2019-04-23T10:35:05.426Z] a2ae92ffcd29: Waiting
13:35:06 [2019-04-23T10:35:06.343Z] 73ad47d4bc12: Layer already exists
13:35:06 [2019-04-23T10:35:06.344Z] c22c27816361: Layer already exists
13:35:06 [2019-04-23T10:35:06.895Z] 04dba64afa87: Layer already exists
13:35:06 [2019-04-23T10:35:06.895Z] 500ca2ff7d52: Layer already exists
13:35:07 [2019-04-23T10:35:07.446Z] 782d5215f910: Layer already exists
13:35:07 [2019-04-23T10:35:07.446Z] 0eb22bfb707d: Layer already exists
13:35:07 [2019-04-23T10:35:07.997Z] a2ae92ffcd29: Layer already exists
13:35:09 [2019-04-23T10:35:09.859Z] 3b004317a1ac: Pushed
13:35:15 [2019-04-23T10:35:15.056Z] e8cc775d29cd: Pushed
13:35:24 [2019-04-23T10:35:24.933Z] f590d3c166cf: Pushed
13:35:30 [2019-04-23T10:35:30.129Z] latest: digest: sha256:6580ac89068c81fb7013093ebec49fc83da7710c5d98d62129e7ef809ae7e6c6 size: 2418
13:35:30 [2019-04-23T10:35:30.129Z] Docker image successfully pushed for kyberorg. Enjoy!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
13:35:30 [2019-04-23T10:35:30.195Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
13:35:30 [2019-04-23T10:35:30.495Z] + set +x
13:35:30 [2019-04-23T10:35:30.495Z] Moikka kyberorg!
13:35:30 [2019-04-23T10:35:30.495Z] Here is Docker Summary:
13:35:30 [2019-04-23T10:35:30.495Z] Images built and pushed: 1
13:35:30 [2019-04-23T10:35:30.495Z] [
13:35:30 [2019-04-23T10:35:30.495Z] yasys/hub2swarm:latest
13:35:30 [2019-04-23T10:35:30.495Z] ]
13:35:30 [2019-04-23T10:35:30.495Z] 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
13:35:30 [2019-04-23T10:35:30.656Z] One way or another, I have finished. Tsau!
[Pipeline] sh
13:35:30 [2019-04-23T10:35:30.948Z] + set +x
13:35:30 [2019-04-23T10:35:30.948Z] Making workspace writable for correct cleanup
13:35:30 [2019-04-23T10:35:30.948Z] Done for kyberorg
[Pipeline] deleteDir
[Pipeline] echo
13:35:31 [2019-04-23T10:35:31.028Z] Great success!
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 038123cc4a6c5811f2403507e460cd5e5a2f43e9f45bb1d70454ee27cc66d4f9
$ docker rm -f 038123cc4a6c5811f2403507e460cd5e5a2f43e9f45bb1d70454ee27cc66d4f9
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS