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 43500941a6c4891964be49a8ddd28e273ed43f5e (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 43500941a6c4891964be49a8ddd28e273ed43f5e # timeout=10 Commit message: "[WIP] Swarm Update" > /usr/bin/git rev-list --no-walk d8cbc9b37de85151b3cbc4330a1cee6591f4d1a5 # 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 43500941a6c4891964be49a8ddd28e273ed43f5e (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 43500941a6c4891964be49a8ddd28e273ed43f5e # timeout=10 Commit message: "[WIP] Swarm Update" [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/0c07c464-26a1-49e9-8bc5-70b0c66f91c6/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 1e76a501e486744fe272d6229225943a6dfa22d5c8f19f91a182d80c5156c70d -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 18:23:00 [2019-04-22T15:23:00.015Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:00 [2019-04-22T15:23:00.303Z] + set +x 18:23:00 [2019-04-22T15:23:00.303Z] [Runner info] 18:23:00 [2019-04-22T15:23:00.303Z] Hostname: 1e76a501e486 18:23:00 [2019-04-22T15:23:00.303Z] Network Status: Host Online 18:23:00 [2019-04-22T15:23:00.303Z] 18:23:00 [2019-04-22T15:23:00.303Z] === Tools info === 18:23:00 [2019-04-22T15:23:00.554Z] Docker version: Docker version 18.09.5, build e8ff056dbc 18:23:00 [2019-04-22T15:23:00.554Z] 18:23:00 [2019-04-22T15:23:00.554Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 18:23:00 [2019-04-22T15:23:00.554Z] Maven home: /opt/mvn 18:23:00 [2019-04-22T15:23:00.554Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 18:23:00 [2019-04-22T15:23:00.554Z] Default locale: en, platform encoding: UTF-8 18:23:00 [2019-04-22T15:23:00.554Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 18:23:00 [2019-04-22T15:23:00.554Z] 18:23:00 [2019-04-22T15:23:00.554Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:23:00 [2019-04-22T15:23:00.620Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:00 [2019-04-22T15:23:00.907Z] + set +x 18:23:00 [2019-04-22T15:23:00.908Z] [Build info] 18:23:00 [2019-04-22T15:23:00.908Z] ===== Git info ===== 18:23:00 [2019-04-22T15:23:00.908Z] Git branch: master 18:23:00 [2019-04-22T15:23:00.908Z] Git commit: 43500941a6c4891964be49a8ddd28e273ed43f5e 18:23:00 [2019-04-22T15:23:00.908Z] Git tag: - 18:23:00 [2019-04-22T15:23:00.908Z] 18:23:00 [2019-04-22T15:23:00.908Z] ===== Jenkins info ===== 18:23:00 [2019-04-22T15:23:00.908Z] Jenkins Job #20 18:23:00 [2019-04-22T15:23:00.908Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/20/ 18:23:00 [2019-04-22T15:23:00.908Z] Jenkins Tag: jenkins-Hub2Swarm-20 18:23:00 [2019-04-22T15:23:00.908Z] 18:23:00 [2019-04-22T15:23:00.908Z] ===== Job Params ===== 18:23:00 [2019-04-22T15:23:00.908Z] 18:23:00 [2019-04-22T15:23:00.908Z] dockerRepo=yasys/hub2swarm 18:23:00 [2019-04-22T15:23:00.908Z] dockerStep=ee.yadev.pipe.commonpipe.Default@5045b54a 18:23:00 [2019-04-22T15:23:00.908Z] javaStep=ee.yadev.pipe.commonpipe.Default@5045b54a 18:23:00 [2019-04-22T15:23:00.908Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@5045b54a 18:23:00 [2019-04-22T15:23:00.908Z] hubUrl=https://cloud.docker.com/repository/docker 18:23:00 [2019-04-22T15:23:00.908Z] useDebugTag=false 18:23:00 [2019-04-22T15:23:00.908Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 18:23:00 [2019-04-22T15:23:00.908Z] preparationStep=ee.yadev.pipe.commonpipe.Default@5045b54a 18:23:00 [2019-04-22T15:23:00.908Z] stepTimeout=5 18:23:00 [2019-04-22T15:23:00.908Z] hubCredentialsId=docker-hub 18:23:00 [2019-04-22T15:23:00.908Z] class=class ee.yadev.pipe.commonpipe.Params 18:23:00 [2019-04-22T15:23:00.908Z] skipMavenTests=true 18:23:00 [2019-04-22T15:23:00.908Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 18:23:00 [2019-04-22T15:23:00.908Z] verbose=false 18:23:00 [2019-04-22T15:23:00.908Z] mavenTestsTimeout=5 18:23:00 [2019-04-22T15:23:00.908Z] pipelineTimeout=15 18:23:00 [2019-04-22T15:23:00.908Z] hubUser=kyberorg 18:23:00 [2019-04-22T15:23:00.908Z] 18:23:00 [2019-04-22T15:23:00.908Z] ==== Environment Variables ===== 18:23:00 [2019-04-22T15:23:00.908Z] GIT_COMMITTER_NAME=Jenkins CI 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 18:23:00 [2019-04-22T15:23:00.908Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=d8cbc9b37de85151b3cbc4330a1cee6591f4d1a5 18:23:00 [2019-04-22T15:23:00.908Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 18:23:00 [2019-04-22T15:23:00.908Z] HOSTNAME=1e76a501e486 18:23:00 [2019-04-22T15:23:00.908Z] gitlabAfter=43500941a6c4891964be49a8ddd28e273ed43f5e 18:23:00 [2019-04-22T15:23:00.908Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/20/display/redirect?page=changes 18:23:00 [2019-04-22T15:23:00.908Z] GIT_COMMIT=43500941a6c4891964be49a8ddd28e273ed43f5e 18:23:00 [2019-04-22T15:23:00.908Z] HUDSON_URL=https://ci.yadev.eu/ 18:23:00 [2019-04-22T15:23:00.908Z] NODE_LABELS=master 18:23:00 [2019-04-22T15:23:00.908Z] HOME=/root 18:23:00 [2019-04-22T15:23:00.908Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/20/ 18:23:00 [2019-04-22T15:23:00.908Z] gitlabTargetBranch=master 18:23:00 [2019-04-22T15:23:00.908Z] GIT_AUTHOR_NAME=Jenkins CI 18:23:00 [2019-04-22T15:23:00.908Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 18:23:00 [2019-04-22T15:23:00.908Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 18:23:00 [2019-04-22T15:23:00.908Z] gitlabMergeRequestLastCommit=43500941a6c4891964be49a8ddd28e273ed43f5e 18:23:00 [2019-04-22T15:23:00.908Z] JAVA_VERSION=8u212 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 18:23:00 [2019-04-22T15:23:00.908Z] NODE_NAME=master 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 18:23:00 [2019-04-22T15:23:00.908Z] EXECUTOR_NUMBER=0 18:23:00 [2019-04-22T15:23:00.908Z] GIT_BRANCH=origin/master 18:23:00 [2019-04-22T15:23:00.908Z] STAGE_NAME=Execution info 18:23:00 [2019-04-22T15:23:00.908Z] gitlabBranch=master 18:23:00 [2019-04-22T15:23:00.908Z] gitlabUserEmail=kyberorg@yadev.eu 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceBranch=master 18:23:00 [2019-04-22T15:23:00.908Z] BUILD_DISPLAY_NAME=#20 18:23:00 [2019-04-22T15:23:00.908Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 18:23:00 [2019-04-22T15:23:00.908Z] JOB_BASE_NAME=Hub2Swarm 18:23:00 [2019-04-22T15:23:00.908Z] HUDSON_HOME=/var/lib/jenkins 18:23:00 [2019-04-22T15:23:00.908Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 18:23:00 [2019-04-22T15:23:00.908Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 18:23:00 [2019-04-22T15:23:00.908Z] BUILD_ID=20 18:23:00 [2019-04-22T15:23:00.908Z] BUILDING_FOR=kyberorg 18:23:00 [2019-04-22T15:23:00.908Z] gitlabBefore=d8cbc9b37de85151b3cbc4330a1cee6591f4d1a5 18:23:00 [2019-04-22T15:23:00.908Z] gitlabActionType=PUSH 18:23:00 [2019-04-22T15:23:00.908Z] BUILD_TAG=jenkins-Hub2Swarm-20 18:23:00 [2019-04-22T15:23:00.908Z] JENKINS_URL=https://ci.yadev.eu/ 18:23:00 [2019-04-22T15:23:00.908Z] LANG=C.UTF-8 18:23:00 [2019-04-22T15:23:00.908Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 18:23:00 [2019-04-22T15:23:00.908Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceRepoName=Hub2Swarm 18:23:00 [2019-04-22T15:23:00.908Z] BUILD_NUMBER=20 18:23:00 [2019-04-22T15:23:00.908Z] gitlabSourceNamespace=Yet another Systems 18:23:00 [2019-04-22T15:23:00.908Z] JENKINS_NODE_COOKIE=677d5260-fc20-4fae-b3cf-22f61a767b41 18:23:00 [2019-04-22T15:23:00.908Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/20/display/redirect 18:23:00 [2019-04-22T15:23:00.908Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 18:23:00 [2019-04-22T15:23:00.908Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 18:23:00 [2019-04-22T15:23:00.908Z] CLASSPATH= 18:23:00 [2019-04-22T15:23:00.908Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 18:23:00 [2019-04-22T15:23:00.908Z] JOB_NAME=Hub2Swarm 18:23:00 [2019-04-22T15:23:00.908Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/0c07c464-26a1-49e9-8bc5-70b0c66f91c6 18:23:00 [2019-04-22T15:23:00.908Z] gitlabUserName=Alex Muravya 18:23:00 [2019-04-22T15:23:00.908Z] JAVA_HOME=/docker-java-home 18:23:00 [2019-04-22T15:23:00.908Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 18:23:00 [2019-04-22T15:23:00.908Z] GIT_PREVIOUS_COMMIT=d8cbc9b37de85151b3cbc4330a1cee6591f4d1a5 18:23:00 [2019-04-22T15:23:00.908Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] timeout 18:23:01 [2019-04-22T15:23:01.130Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:01 [2019-04-22T15:23:01.417Z] + set -x 18:23:01 [2019-04-22T15:23:01.417Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true 18:23:01 [2019-04-22T15:23:01.669Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 18:23:01 [2019-04-22T15:23:01.669Z] Maven home: /opt/mvn 18:23:01 [2019-04-22T15:23:01.669Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 18:23:01 [2019-04-22T15:23:01.669Z] Default locale: en, platform encoding: UTF-8 18:23:01 [2019-04-22T15:23:01.669Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 18:23:03 [2019-04-22T15:23:03.013Z] [INFO] Scanning for projects... 18:23:03 [2019-04-22T15:23:03.013Z] [INFO] 18:23:03 [2019-04-22T15:23:03.013Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 18:23:03 [2019-04-22T15:23:03.013Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 18:23:03 [2019-04-22T15:23:03.013Z] [INFO] --------------------------------[ jar ]--------------------------------- 18:23:04 [2019-04-22T15:23:04.356Z] [INFO] 18:23:04 [2019-04-22T15:23:04.356Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 18:23:04 [2019-04-22T15:23:04.356Z] [INFO] 18:23:04 [2019-04-22T15:23:04.356Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 18:23:04 [2019-04-22T15:23:04.607Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 18:23:04 [2019-04-22T15:23:04.607Z] [INFO] Copying 1 resource 18:23:04 [2019-04-22T15:23:04.607Z] [INFO] Copying 1 resource 18:23:04 [2019-04-22T15:23:04.607Z] [INFO] 18:23:04 [2019-04-22T15:23:04.607Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 18:23:04 [2019-04-22T15:23:04.857Z] [INFO] Changes detected - recompiling the module! 18:23:04 [2019-04-22T15:23:04.857Z] [INFO] Compiling 11 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] Not copying test resources 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] Not compiling test sources 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] Tests are skipped. 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] 18:23:06 [2019-04-22T15:23:06.718Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 18:23:06 [2019-04-22T15:23:06.969Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 18:23:07 [2019-04-22T15:23:07.219Z] [INFO] 18:23:07 [2019-04-22T15:23:07.219Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] Replacing main artifact with repackaged archive 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] ------------------------------------------------------------------------ 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] BUILD SUCCESS 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] ------------------------------------------------------------------------ 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] Total time: 5.039 s 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] Finished at: 2019-04-22T15:23:07Z 18:23:07 [2019-04-22T15:23:07.774Z] [INFO] ------------------------------------------------------------------------ 18:23:07 [2019-04-22T15:23:07.774Z] + echo Built for kyberorg 18:23:07 [2019-04-22T15:23:07.774Z] Built for kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 18:23:07 [2019-04-22T15:23:07.931Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:08 [2019-04-22T15:23:08.218Z] + set +x 18:23:08 [2019-04-22T15:23:08.218Z] Starting Docker: docker. 18:23:08 [2019-04-22T15:23:08.218Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 18:23:08 [2019-04-22T15:23:08.261Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 18:23:08 [2019-04-22T15:23:08.296Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:08 [2019-04-22T15:23:08.581Z] + set +x 18:23:08 [2019-04-22T15:23:08.581Z] Login as **** to Docker Repository 18:23:09 [2019-04-22T15:23:09.924Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/0c07c464-26a1-49e9-8bc5-70b0c66f91c6/config.json. 18:23:09 [2019-04-22T15:23:09.924Z] Configure a credential helper to remove this warning. See 18:23:09 [2019-04-22T15:23:09.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:09 [2019-04-22T15:23:09.924Z] 18:23:09 [2019-04-22T15:23:09.924Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 18:23:09 [2019-04-22T15:23:09.994Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:10 [2019-04-22T15:23:10.273Z] + set +x 18:23:10 [2019-04-22T15:23:10.273Z] Building Docker Image yasys/hub2swarm with tags: [latest] 18:23:10 [2019-04-22T15:23:10.824Z] Sending build context to Docker daemon 66.29MB 18:23:10 [2019-04-22T15:23:10.824Z] Step 1/7 : FROM java:8-jre 18:23:12 [2019-04-22T15:23:12.167Z] 8-jre: Pulling from library/java 18:23:12 [2019-04-22T15:23:12.167Z] 5040bd298390: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] fce5728aad85: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] c42794440453: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] 0c0da797ba48: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] 7c9b17433752: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] 114e02586e63: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] e4c663802e9a: Pulling fs layer 18:23:12 [2019-04-22T15:23:12.167Z] 7c9b17433752: Waiting 18:23:12 [2019-04-22T15:23:12.167Z] 114e02586e63: Waiting 18:23:12 [2019-04-22T15:23:12.167Z] e4c663802e9a: Waiting 18:23:12 [2019-04-22T15:23:12.167Z] 0c0da797ba48: Waiting 18:23:12 [2019-04-22T15:23:12.718Z] c42794440453: Download complete 18:23:12 [2019-04-22T15:23:12.968Z] fce5728aad85: Verifying Checksum 18:23:12 [2019-04-22T15:23:12.968Z] fce5728aad85: Download complete 18:23:12 [2019-04-22T15:23:12.968Z] 5040bd298390: Verifying Checksum 18:23:12 [2019-04-22T15:23:12.968Z] 5040bd298390: Download complete 18:23:13 [2019-04-22T15:23:13.218Z] 0c0da797ba48: Verifying Checksum 18:23:13 [2019-04-22T15:23:13.218Z] 0c0da797ba48: Download complete 18:23:13 [2019-04-22T15:23:13.469Z] 7c9b17433752: Verifying Checksum 18:23:13 [2019-04-22T15:23:13.469Z] 7c9b17433752: Download complete 18:23:13 [2019-04-22T15:23:13.719Z] e4c663802e9a: Verifying Checksum 18:23:13 [2019-04-22T15:23:13.719Z] e4c663802e9a: Download complete 18:23:13 [2019-04-22T15:23:13.969Z] 114e02586e63: Verifying Checksum 18:23:13 [2019-04-22T15:23:13.969Z] 114e02586e63: Download complete 18:23:17 [2019-04-22T15:23:17.197Z] 5040bd298390: Pull complete 18:23:18 [2019-04-22T15:23:18.540Z] fce5728aad85: Pull complete 18:23:19 [2019-04-22T15:23:19.451Z] c42794440453: Pull complete 18:23:20 [2019-04-22T15:23:20.362Z] 0c0da797ba48: Pull complete 18:23:20 [2019-04-22T15:23:20.913Z] 7c9b17433752: Pull complete 18:23:25 [2019-04-22T15:23:25.035Z] 114e02586e63: Pull complete 18:23:27 [2019-04-22T15:23:27.518Z] e4c663802e9a: Pull complete 18:23:27 [2019-04-22T15:23:27.518Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 18:23:27 [2019-04-22T15:23:27.518Z] Status: Downloaded newer image for java:8-jre 18:23:27 [2019-04-22T15:23:27.518Z] ---> e44d62cf8862 18:23:27 [2019-04-22T15:23:27.518Z] Step 2/7 : VOLUME /tmp 18:23:30 [2019-04-22T15:23:30.001Z] ---> Running in e4bc53c875f4 18:23:31 [2019-04-22T15:23:31.862Z] Removing intermediate container e4bc53c875f4 18:23:31 [2019-04-22T15:23:31.862Z] ---> f6fbc2eff7f5 18:23:31 [2019-04-22T15:23:31.862Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 18:23:33 [2019-04-22T15:23:33.724Z] ---> Running in 3e8d0a62a330 18:23:36 [2019-04-22T15:23:36.207Z] Removing intermediate container 3e8d0a62a330 18:23:36 [2019-04-22T15:23:36.207Z] ---> a990c0a20631 18:23:36 [2019-04-22T15:23:36.207Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 18:23:38 [2019-04-22T15:23:38.689Z] ---> 32e082d3b6e3 18:23:38 [2019-04-22T15:23:38.689Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 18:23:40 [2019-04-22T15:23:40.551Z] ---> Running in f8932a767f1b 18:23:43 [2019-04-22T15:23:43.779Z] Removing intermediate container f8932a767f1b 18:23:43 [2019-04-22T15:23:43.779Z] ---> 57e60d89ba89 18:23:43 [2019-04-22T15:23:43.779Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 18:23:45 [2019-04-22T15:23:45.649Z] ---> Running in 6b3683a7dc79 18:23:48 [2019-04-22T15:23:48.877Z] Removing intermediate container 6b3683a7dc79 18:23:48 [2019-04-22T15:23:48.878Z] ---> fcfd21dec917 18:23:48 [2019-04-22T15:23:48.878Z] Step 7/7 : EXPOSE 8080 18:23:50 [2019-04-22T15:23:50.221Z] ---> Running in 8e8e4dd533bf 18:23:52 [2019-04-22T15:23:52.703Z] Removing intermediate container 8e8e4dd533bf 18:23:52 [2019-04-22T15:23:52.703Z] ---> 17d85c247a21 18:23:52 [2019-04-22T15:23:52.703Z] Successfully built 17d85c247a21 18:23:52 [2019-04-22T15:23:52.703Z] Successfully tagged yasys/hub2swarm:latest 18:23:52 [2019-04-22T15:23:52.703Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:23:52 [2019-04-22T15:23:52.751Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:23:53 [2019-04-22T15:23:53.035Z] + set +x 18:23:53 [2019-04-22T15:23:53.036Z] Push yasys/hub2swarm to Docker Repository 18:23:53 [2019-04-22T15:23:53.036Z] The push refers to repository [docker.io/yasys/hub2swarm] 18:23:53 [2019-04-22T15:23:53.586Z] 2fc545c79ddb: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 38cd4480e4e2: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 73ad47d4bc12: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] c22c27816361: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 04dba64afa87: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 500ca2ff7d52: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 782d5215f910: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 0eb22bfb707d: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] a2ae92ffcd29: Preparing 18:23:53 [2019-04-22T15:23:53.586Z] 500ca2ff7d52: Waiting 18:23:53 [2019-04-22T15:23:53.586Z] 782d5215f910: Waiting 18:23:53 [2019-04-22T15:23:53.586Z] 0eb22bfb707d: Waiting 18:23:53 [2019-04-22T15:23:53.586Z] a2ae92ffcd29: Waiting 18:23:54 [2019-04-22T15:23:54.498Z] 04dba64afa87: Layer already exists 18:23:54 [2019-04-22T15:23:54.498Z] 73ad47d4bc12: Layer already exists 18:23:54 [2019-04-22T15:23:54.498Z] c22c27816361: Layer already exists 18:23:55 [2019-04-22T15:23:55.048Z] 782d5215f910: Layer already exists 18:23:55 [2019-04-22T15:23:55.048Z] 0eb22bfb707d: Layer already exists 18:23:55 [2019-04-22T15:23:55.299Z] 500ca2ff7d52: Layer already exists 18:23:55 [2019-04-22T15:23:55.549Z] a2ae92ffcd29: Layer already exists 18:24:05 [2019-04-22T15:24:05.424Z] 38cd4480e4e2: Pushed 18:24:05 [2019-04-22T15:24:05.676Z] 2fc545c79ddb: Pushed 18:24:09 [2019-04-22T15:24:09.798Z] latest: digest: sha256:2afbdb5a7bf40af5da2428ca86b4c51aca7473bc8d51832aa04de44f0655dbd8 size: 2211 18:24:09 [2019-04-22T15:24:09.798Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:24:09 [2019-04-22T15:24:09.854Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:24:10 [2019-04-22T15:24:10.139Z] + set +x 18:24:10 [2019-04-22T15:24:10.139Z] Moikka kyberorg! 18:24:10 [2019-04-22T15:24:10.139Z] Here is Docker Summary: 18:24:10 [2019-04-22T15:24:10.139Z] Images built and pushed: 1 18:24:10 [2019-04-22T15:24:10.139Z] [ 18:24:10 [2019-04-22T15:24:10.139Z] yasys/hub2swarm:latest 18:24:10 [2019-04-22T15:24:10.139Z] ] 18:24:10 [2019-04-22T15:24:10.139Z] 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 18:24:10 [2019-04-22T15:24:10.258Z] One way or another, I have finished. Tsau! [Pipeline] sh 18:24:10 [2019-04-22T15:24:10.542Z] + set +x 18:24:10 [2019-04-22T15:24:10.542Z] Making workspace writable for correct cleanup 18:24:10 [2019-04-22T15:24:10.542Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 18:24:10 [2019-04-22T15:24:10.607Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 1e76a501e486744fe272d6229225943a6dfa22d5c8f19f91a182d80c5156c70d $ docker rm -f 1e76a501e486744fe272d6229225943a6dfa22d5c8f19f91a182d80c5156c70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS