Console Output
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 53d76e739cace4eb088232ade2cfdd31c2f0ca2d (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 53d76e739cace4eb088232ade2cfdd31c2f0ca2d # timeout=10
Commit message: "Production Mode"
> /usr/bin/git rev-list --no-walk dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4 # 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 53d76e739cace4eb088232ade2cfdd31c2f0ca2d (origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 53d76e739cace4eb088232ade2cfdd31c2f0ca2d # timeout=10
Commit message: "Production Mode"
[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/19e9f7c9-b524-4d83-a524-54b09abeb4fe/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 b466919b31838a041e2180900c3fbf2e8ce2f4da10aa162c73c971910cbdc492 -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
17:08:59 [2019-04-24T14:08:59.783Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:00 [2019-04-24T14:09:00.075Z] + set +x
17:09:00 [2019-04-24T14:09:00.075Z] [Runner info]
17:09:00 [2019-04-24T14:09:00.075Z] Hostname: b466919b3183
17:09:00 [2019-04-24T14:09:00.326Z] Network Status: Host Online
17:09:00 [2019-04-24T14:09:00.326Z]
17:09:00 [2019-04-24T14:09:00.326Z] === Tools info ===
17:09:00 [2019-04-24T14:09:00.326Z] Docker version: Docker version 18.09.5, build e8ff056dbc
17:09:00 [2019-04-24T14:09:00.326Z]
17:09:00 [2019-04-24T14:09:00.326Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
17:09:00 [2019-04-24T14:09:00.326Z] Maven home: /opt/mvn
17:09:00 [2019-04-24T14:09:00.326Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
17:09:00 [2019-04-24T14:09:00.326Z] Default locale: en, platform encoding: UTF-8
17:09:00 [2019-04-24T14:09:00.327Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
17:09:00 [2019-04-24T14:09:00.327Z]
17:09:00 [2019-04-24T14:09:00.327Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
17:09:00 [2019-04-24T14:09:00.406Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:00 [2019-04-24T14:09:00.695Z] + set +x
17:09:00 [2019-04-24T14:09:00.696Z] [Build info]
17:09:00 [2019-04-24T14:09:00.696Z] ===== Git info =====
17:09:00 [2019-04-24T14:09:00.696Z] Git branch: master
17:09:00 [2019-04-24T14:09:00.696Z] Git commit: 53d76e739cace4eb088232ade2cfdd31c2f0ca2d
17:09:00 [2019-04-24T14:09:00.696Z] Git tag: -
17:09:00 [2019-04-24T14:09:00.696Z]
17:09:00 [2019-04-24T14:09:00.696Z] ===== Jenkins info =====
17:09:00 [2019-04-24T14:09:00.696Z] Jenkins Job #26
17:09:00 [2019-04-24T14:09:00.696Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/26/
17:09:00 [2019-04-24T14:09:00.696Z] Jenkins Tag: jenkins-Hub2Swarm-26
17:09:00 [2019-04-24T14:09:00.696Z]
17:09:00 [2019-04-24T14:09:00.696Z] ===== Job Params =====
17:09:00 [2019-04-24T14:09:00.696Z]
17:09:00 [2019-04-24T14:09:00.696Z] dockerRepo=yasys/hub2swarm
17:09:00 [2019-04-24T14:09:00.696Z] dockerStep=ee.yadev.pipe.commonpipe.Default@3459d85
17:09:00 [2019-04-24T14:09:00.696Z] javaStep=ee.yadev.pipe.commonpipe.Default@3459d85
17:09:00 [2019-04-24T14:09:00.696Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@3459d85
17:09:00 [2019-04-24T14:09:00.696Z] hubUrl=https://cloud.docker.com/repository/docker
17:09:00 [2019-04-24T14:09:00.696Z] useDebugTag=false
17:09:00 [2019-04-24T14:09:00.696Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false}
17:09:00 [2019-04-24T14:09:00.696Z] preparationStep=ee.yadev.pipe.commonpipe.Default@3459d85
17:09:00 [2019-04-24T14:09:00.696Z] stepTimeout=5
17:09:00 [2019-04-24T14:09:00.696Z] hubCredentialsId=docker-hub
17:09:00 [2019-04-24T14:09:00.696Z] class=class ee.yadev.pipe.commonpipe.Params
17:09:00 [2019-04-24T14:09:00.696Z] skipMavenTests=true
17:09:00 [2019-04-24T14:09:00.696Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2}
17:09:00 [2019-04-24T14:09:00.696Z] verbose=false
17:09:00 [2019-04-24T14:09:00.696Z] mavenTestsTimeout=5
17:09:00 [2019-04-24T14:09:00.696Z] pipelineTimeout=15
17:09:00 [2019-04-24T14:09:00.696Z] hubUser=kyberorg
17:09:00 [2019-04-24T14:09:00.696Z]
17:09:00 [2019-04-24T14:09:00.696Z] ==== Environment Variables =====
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git
17:09:00 [2019-04-24T14:09:00.696Z] GIT_COMMITTER_NAME=Jenkins CI
17:09:00 [2019-04-24T14:09:00.696Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
17:09:00 [2019-04-24T14:09:00.696Z] GIT_AUTHOR_EMAIL=ci@yadev.eu
17:09:00 [2019-04-24T14:09:00.696Z] HOSTNAME=b466919b3183
17:09:00 [2019-04-24T14:09:00.696Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/26/display/redirect?page=changes
17:09:00 [2019-04-24T14:09:00.696Z] gitlabAfter=53d76e739cace4eb088232ade2cfdd31c2f0ca2d
17:09:00 [2019-04-24T14:09:00.696Z] HUDSON_URL=https://ci.yadev.eu/
17:09:00 [2019-04-24T14:09:00.696Z] GIT_COMMIT=53d76e739cace4eb088232ade2cfdd31c2f0ca2d
17:09:00 [2019-04-24T14:09:00.696Z] NODE_LABELS=master
17:09:00 [2019-04-24T14:09:00.696Z] HOME=/root
17:09:00 [2019-04-24T14:09:00.696Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/26/
17:09:00 [2019-04-24T14:09:00.696Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d
17:09:00 [2019-04-24T14:09:00.696Z] GIT_AUTHOR_NAME=Jenkins CI
17:09:00 [2019-04-24T14:09:00.696Z] gitlabTargetBranch=master
17:09:00 [2019-04-24T14:09:00.696Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git
17:09:00 [2019-04-24T14:09:00.696Z] gitlabMergeRequestLastCommit=53d76e739cace4eb088232ade2cfdd31c2f0ca2d
17:09:00 [2019-04-24T14:09:00.696Z] JAVA_VERSION=8u212
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git
17:09:00 [2019-04-24T14:09:00.696Z] NODE_NAME=master
17:09:00 [2019-04-24T14:09:00.696Z] EXECUTOR_NUMBER=1
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm
17:09:00 [2019-04-24T14:09:00.696Z] GIT_BRANCH=origin/master
17:09:00 [2019-04-24T14:09:00.696Z] STAGE_NAME=Execution info
17:09:00 [2019-04-24T14:09:00.696Z] gitlabBranch=master
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceBranch=master
17:09:00 [2019-04-24T14:09:00.696Z] gitlabUserEmail=kyberorg@yadev.eu
17:09:00 [2019-04-24T14:09:00.696Z] BUILD_DISPLAY_NAME=#26
17:09:00 [2019-04-24T14:09:00.696Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/
17:09:00 [2019-04-24T14:09:00.696Z] HUDSON_HOME=/var/lib/jenkins
17:09:00 [2019-04-24T14:09:00.696Z] JOB_BASE_NAME=Hub2Swarm
17:09:00 [2019-04-24T14:09:00.696Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
17:09:00 [2019-04-24T14:09:00.696Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
17:09:00 [2019-04-24T14:09:00.696Z] BUILD_ID=26
17:09:00 [2019-04-24T14:09:00.696Z] BUILDING_FOR=kyberorg
17:09:00 [2019-04-24T14:09:00.696Z] BUILD_TAG=jenkins-Hub2Swarm-26
17:09:00 [2019-04-24T14:09:00.696Z] gitlabBefore=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
17:09:00 [2019-04-24T14:09:00.696Z] gitlabActionType=PUSH
17:09:00 [2019-04-24T14:09:00.696Z] JENKINS_URL=https://ci.yadev.eu/
17:09:00 [2019-04-24T14:09:00.696Z] LANG=C.UTF-8
17:09:00 [2019-04-24T14:09:00.696Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git
17:09:00 [2019-04-24T14:09:00.696Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceRepoName=Hub2Swarm
17:09:00 [2019-04-24T14:09:00.696Z] gitlabSourceNamespace=Yet another Systems
17:09:00 [2019-04-24T14:09:00.696Z] BUILD_NUMBER=26
17:09:00 [2019-04-24T14:09:00.696Z] JENKINS_NODE_COOKIE=2e363a27-2a79-4dfe-87c7-90b837964329
17:09:00 [2019-04-24T14:09:00.696Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/26/display/redirect
17:09:00 [2019-04-24T14:09:00.696Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd
17:09:00 [2019-04-24T14:09:00.696Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect
17:09:00 [2019-04-24T14:09:00.696Z] CLASSPATH=
17:09:00 [2019-04-24T14:09:00.696Z] JOB_NAME=Hub2Swarm
17:09:00 [2019-04-24T14:09:00.696Z] GIT_COMMITTER_EMAIL=ci@yadev.eu
17:09:00 [2019-04-24T14:09:00.696Z] gitlabUserName=Alex Muravya
17:09:00 [2019-04-24T14:09:00.696Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/19e9f7c9-b524-4d83-a524-54b09abeb4fe
17:09:00 [2019-04-24T14:09:00.696Z] JAVA_HOME=/docker-java-home
17:09:00 [2019-04-24T14:09:00.696Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm
17:09:00 [2019-04-24T14:09:00.696Z] GIT_PREVIOUS_COMMIT=dab25c942ae3e245a0c79e1b3c87e8f2a435e1d4
17:09:00 [2019-04-24T14:09:00.696Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (JavaApp: Build and Test)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
17:09:00 [2019-04-24T14:09:00.924Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:01 [2019-04-24T14:09:01.218Z] + set -x
17:09:01 [2019-04-24T14:09:01.218Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true
17:09:01 [2019-04-24T14:09:01.469Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
17:09:01 [2019-04-24T14:09:01.469Z] Maven home: /opt/mvn
17:09:01 [2019-04-24T14:09:01.469Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
17:09:01 [2019-04-24T14:09:01.469Z] Default locale: en, platform encoding: UTF-8
17:09:01 [2019-04-24T14:09:01.469Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
17:09:02 [2019-04-24T14:09:02.814Z] [INFO] Scanning for projects...
17:09:03 [2019-04-24T14:09:03.065Z] [INFO]
17:09:03 [2019-04-24T14:09:03.065Z] [INFO] ------------------------< eu.yatech:hub2swarm >-------------------------
17:09:03 [2019-04-24T14:09:03.065Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT
17:09:03 [2019-04-24T14:09:03.065Z] [INFO] --------------------------------[ jar ]---------------------------------
17:09:04 [2019-04-24T14:09:04.413Z] [INFO]
17:09:04 [2019-04-24T14:09:04.413Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm ---
17:09:04 [2019-04-24T14:09:04.413Z] [INFO]
17:09:04 [2019-04-24T14:09:04.413Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm ---
17:09:04 [2019-04-24T14:09:04.413Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
17:09:04 [2019-04-24T14:09:04.413Z] [INFO] Copying 3 resources
17:09:04 [2019-04-24T14:09:04.664Z] [INFO] Copying 1 resource
17:09:04 [2019-04-24T14:09:04.664Z] [INFO]
17:09:04 [2019-04-24T14:09:04.664Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm ---
17:09:04 [2019-04-24T14:09:04.664Z] [INFO] Changes detected - recompiling the module!
17:09:04 [2019-04-24T14:09:04.664Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes
17:09:06 [2019-04-24T14:09:06.527Z] [INFO]
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm ---
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] Not copying test resources
17:09:06 [2019-04-24T14:09:06.527Z] [INFO]
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm ---
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] Not compiling test sources
17:09:06 [2019-04-24T14:09:06.527Z] [INFO]
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm ---
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] Tests are skipped.
17:09:06 [2019-04-24T14:09:06.527Z] [INFO]
17:09:06 [2019-04-24T14:09:06.527Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm ---
17:09:06 [2019-04-24T14:09:06.777Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar
17:09:07 [2019-04-24T14:09:07.029Z] [INFO]
17:09:07 [2019-04-24T14:09:07.029Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm ---
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] Replacing main artifact with repackaged archive
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] ------------------------------------------------------------------------
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] BUILD SUCCESS
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] ------------------------------------------------------------------------
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] Total time: 5.154 s
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] Finished at: 2019-04-24T14:09:07Z
17:09:07 [2019-04-24T14:09:07.941Z] [INFO] ------------------------------------------------------------------------
17:09:07 [2019-04-24T14:09:07.941Z] + echo Built for kyberorg
17:09:07 [2019-04-24T14:09:07.941Z] Built for kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker: Build and Push)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
17:09:08 [2019-04-24T14:09:08.135Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:08 [2019-04-24T14:09:08.445Z] + set +x
17:09:08 [2019-04-24T14:09:08.445Z] Starting Docker: docker.
17:09:08 [2019-04-24T14:09:08.445Z] Daemon started. kyberorg, go ahead!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] withCredentials
17:09:08 [2019-04-24T14:09:08.500Z] Masking only exact matches of $USR or $PASS
[Pipeline] {
[Pipeline] timeout
17:09:08 [2019-04-24T14:09:08.544Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:08 [2019-04-24T14:09:08.834Z] + set +x
17:09:08 [2019-04-24T14:09:08.834Z] Login as **** to Docker Repository
17:09:10 [2019-04-24T14:09:10.177Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/19e9f7c9-b524-4d83-a524-54b09abeb4fe/config.json.
17:09:10 [2019-04-24T14:09:10.177Z] Configure a credential helper to remove this warning. See
17:09:10 [2019-04-24T14:09:10.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
17:09:10 [2019-04-24T14:09:10.177Z]
17:09:10 [2019-04-24T14:09:10.177Z] Login Succeeded
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] timeout
17:09:10 [2019-04-24T14:09:10.281Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:09:10 [2019-04-24T14:09:10.566Z] + set +x
17:09:10 [2019-04-24T14:09:10.566Z] Building Docker Image yasys/hub2swarm with tags: [latest]
17:09:11 [2019-04-24T14:09:11.117Z] Sending build context to Docker daemon 66.31MB
17:09:11 [2019-04-24T14:09:11.117Z] Step 1/8 : FROM java:8-jre
17:09:12 [2019-04-24T14:09:12.461Z] 8-jre: Pulling from library/java
17:09:12 [2019-04-24T14:09:12.461Z] 5040bd298390: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] fce5728aad85: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] c42794440453: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] 0c0da797ba48: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] 7c9b17433752: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] 114e02586e63: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] e4c663802e9a: Pulling fs layer
17:09:12 [2019-04-24T14:09:12.461Z] 0c0da797ba48: Waiting
17:09:12 [2019-04-24T14:09:12.461Z] 7c9b17433752: Waiting
17:09:12 [2019-04-24T14:09:12.461Z] 114e02586e63: Waiting
17:09:12 [2019-04-24T14:09:12.461Z] e4c663802e9a: Waiting
17:09:13 [2019-04-24T14:09:13.012Z] c42794440453: Verifying Checksum
17:09:13 [2019-04-24T14:09:13.012Z] c42794440453: Download complete
17:09:13 [2019-04-24T14:09:13.012Z] fce5728aad85: Download complete
17:09:13 [2019-04-24T14:09:13.564Z] 0c0da797ba48: Download complete
17:09:13 [2019-04-24T14:09:13.564Z] 5040bd298390: Verifying Checksum
17:09:13 [2019-04-24T14:09:13.564Z] 5040bd298390: Download complete
17:09:13 [2019-04-24T14:09:13.564Z] 7c9b17433752: Verifying Checksum
17:09:13 [2019-04-24T14:09:13.564Z] 7c9b17433752: Download complete
17:09:14 [2019-04-24T14:09:14.115Z] e4c663802e9a: Verifying Checksum
17:09:14 [2019-04-24T14:09:14.115Z] e4c663802e9a: Download complete
17:09:14 [2019-04-24T14:09:14.366Z] 114e02586e63: Verifying Checksum
17:09:14 [2019-04-24T14:09:14.366Z] 114e02586e63: Download complete
17:09:17 [2019-04-24T14:09:17.594Z] 5040bd298390: Pull complete
17:09:18 [2019-04-24T14:09:18.961Z] fce5728aad85: Pull complete
17:09:19 [2019-04-24T14:09:19.873Z] c42794440453: Pull complete
17:09:20 [2019-04-24T14:09:20.784Z] 0c0da797ba48: Pull complete
17:09:22 [2019-04-24T14:09:22.137Z] 7c9b17433752: Pull complete
17:09:27 [2019-04-24T14:09:27.333Z] 114e02586e63: Pull complete
17:09:27 [2019-04-24T14:09:27.884Z] e4c663802e9a: Pull complete
17:09:27 [2019-04-24T14:09:27.884Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0
17:09:27 [2019-04-24T14:09:27.884Z] Status: Downloaded newer image for java:8-jre
17:09:27 [2019-04-24T14:09:27.884Z] ---> e44d62cf8862
17:09:27 [2019-04-24T14:09:27.884Z] Step 2/8 : VOLUME /tmp
17:09:31 [2019-04-24T14:09:31.112Z] ---> Running in b121168735ff
17:09:33 [2019-04-24T14:09:33.596Z] Removing intermediate container b121168735ff
17:09:33 [2019-04-24T14:09:33.596Z] ---> 5fd8f75f7c46
17:09:33 [2019-04-24T14:09:33.596Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu>
17:09:35 [2019-04-24T14:09:35.458Z] ---> Running in 6f622ea46f58
17:09:37 [2019-04-24T14:09:37.941Z] Removing intermediate container 6f622ea46f58
17:09:37 [2019-04-24T14:09:37.941Z] ---> dcaea43a7de2
17:09:37 [2019-04-24T14:09:37.941Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/
17:09:41 [2019-04-24T14:09:41.170Z] ---> 9f132b1786e1
17:09:41 [2019-04-24T14:09:41.170Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar'
17:09:43 [2019-04-24T14:09:43.033Z] ---> Running in d0d7091a326a
17:09:47 [2019-04-24T14:09:47.156Z] Removing intermediate container d0d7091a326a
17:09:47 [2019-04-24T14:09:47.156Z] ---> 3633eee30e6e
17:09:47 [2019-04-24T14:09:47.156Z] Step 6/8 : ENV spring_profiles_active=prod
17:09:49 [2019-04-24T14:09:49.639Z] ---> Running in 54c1e3caef5f
17:09:52 [2019-04-24T14:09:52.867Z] Removing intermediate container 54c1e3caef5f
17:09:52 [2019-04-24T14:09:52.868Z] ---> 4eb0bea026f2
17:09:52 [2019-04-24T14:09:52.868Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar
17:09:54 [2019-04-24T14:09:54.729Z] ---> Running in d7b3e84cb2c0
17:09:57 [2019-04-24T14:09:57.213Z] Removing intermediate container d7b3e84cb2c0
17:09:57 [2019-04-24T14:09:57.213Z] ---> c575ddaa8a2b
17:09:57 [2019-04-24T14:09:57.213Z] Step 8/8 : EXPOSE 8080
17:09:59 [2019-04-24T14:09:59.075Z] ---> Running in 9c4da4ae5b7a
17:10:01 [2019-04-24T14:10:01.563Z] Removing intermediate container 9c4da4ae5b7a
17:10:01 [2019-04-24T14:10:01.563Z] ---> 181a7ab0b0b0
17:10:01 [2019-04-24T14:10:01.813Z] Successfully built 181a7ab0b0b0
17:10:01 [2019-04-24T14:10:01.813Z] Successfully tagged yasys/hub2swarm:latest
17:10:01 [2019-04-24T14:10:01.813Z] Docker image yasys/hub2swarm:[latest] for kyberorg created
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
17:10:01 [2019-04-24T14:10:01.907Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:10:02 [2019-04-24T14:10:02.326Z] + set +x
17:10:02 [2019-04-24T14:10:02.327Z] Push yasys/hub2swarm to Docker Repository
17:10:02 [2019-04-24T14:10:02.577Z] The push refers to repository [docker.io/yasys/hub2swarm]
17:10:03 [2019-04-24T14:10:03.128Z] b6770cede2d0: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] adc29498f4ee: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 73ad47d4bc12: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] c22c27816361: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 04dba64afa87: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 500ca2ff7d52: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 782d5215f910: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 0eb22bfb707d: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] a2ae92ffcd29: Preparing
17:10:03 [2019-04-24T14:10:03.128Z] 500ca2ff7d52: Waiting
17:10:03 [2019-04-24T14:10:03.128Z] 782d5215f910: Waiting
17:10:03 [2019-04-24T14:10:03.128Z] 0eb22bfb707d: Waiting
17:10:03 [2019-04-24T14:10:03.128Z] a2ae92ffcd29: Waiting
17:10:04 [2019-04-24T14:10:04.040Z] 73ad47d4bc12: Layer already exists
17:10:04 [2019-04-24T14:10:04.040Z] c22c27816361: Layer already exists
17:10:04 [2019-04-24T14:10:04.291Z] 04dba64afa87: Layer already exists
17:10:04 [2019-04-24T14:10:04.541Z] 782d5215f910: Layer already exists
17:10:04 [2019-04-24T14:10:04.541Z] 500ca2ff7d52: Layer already exists
17:10:04 [2019-04-24T14:10:04.792Z] 0eb22bfb707d: Layer already exists
17:10:05 [2019-04-24T14:10:05.043Z] a2ae92ffcd29: Layer already exists
17:10:13 [2019-04-24T14:10:13.067Z] adc29498f4ee: Pushed
17:10:14 [2019-04-24T14:10:14.411Z] b6770cede2d0: Pushed
17:10:18 [2019-04-24T14:10:18.534Z] latest: digest: sha256:ac087c09e5c2738ce486a863a4e3006e545da7838bc3a57b4bec0882b8fc6bfc size: 2211
17:10:18 [2019-04-24T14:10:18.534Z] Docker image successfully pushed for kyberorg. Enjoy!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
17:10:18 [2019-04-24T14:10:18.582Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
17:10:18 [2019-04-24T14:10:18.884Z] + set +x
17:10:18 [2019-04-24T14:10:18.884Z] Moikka kyberorg!
17:10:18 [2019-04-24T14:10:18.884Z] Here is Docker Summary:
17:10:18 [2019-04-24T14:10:18.884Z] Images built and pushed: 1
17:10:18 [2019-04-24T14:10:18.884Z] [
17:10:18 [2019-04-24T14:10:18.884Z] yasys/hub2swarm:latest
17:10:18 [2019-04-24T14:10:18.884Z] ]
17:10:18 [2019-04-24T14:10:18.884Z] 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
17:10:19 [2019-04-24T14:10:19.053Z] One way or another, I have finished. Tsau!
[Pipeline] sh
17:10:19 [2019-04-24T14:10:19.338Z] + set +x
17:10:19 [2019-04-24T14:10:19.338Z] Making workspace writable for correct cleanup
17:10:19 [2019-04-24T14:10:19.338Z] Done for kyberorg
[Pipeline] deleteDir
[Pipeline] echo
17:10:19 [2019-04-24T14:10:19.421Z] Great success!
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 b466919b31838a041e2180900c3fbf2e8ce2f4da10aa162c73c971910cbdc492
$ docker rm -f b466919b31838a041e2180900c3fbf2e8ce2f4da10aa162c73c971910cbdc492
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS