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 0d29d823d0a1c7955d8d1bc557092aa0732f493f (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0d29d823d0a1c7955d8d1bc557092aa0732f493f # timeout=10 Commit message: "Swarm DTO" > /usr/bin/git rev-list --no-walk 1ee0d50f9490a5535b2513894653577d3837fe3d # 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 0d29d823d0a1c7955d8d1bc557092aa0732f493f (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 0d29d823d0a1c7955d8d1bc557092aa0732f493f # timeout=10 Commit message: "Swarm DTO" [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/20aa16ac-1a45-4e89-a06a-c952969a2e61/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 7d927b9b34d75ee0a722618859b33da954ca67f4b3235be0250a8e49d744f867 -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:41:13 [2019-04-22T11:41:13.597Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:13 [2019-04-22T11:41:13.890Z] + set +x 14:41:13 [2019-04-22T11:41:13.890Z] [Runner info] 14:41:13 [2019-04-22T11:41:13.890Z] Hostname: 7d927b9b34d7 14:41:13 [2019-04-22T11:41:13.890Z] Network Status: Host Online 14:41:13 [2019-04-22T11:41:13.890Z] 14:41:13 [2019-04-22T11:41:13.890Z] === Tools info === 14:41:14 [2019-04-22T11:41:14.141Z] Docker version: Docker version 18.09.5, build e8ff056dbc 14:41:14 [2019-04-22T11:41:14.141Z] 14:41:14 [2019-04-22T11:41:14.142Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 14:41:14 [2019-04-22T11:41:14.142Z] Maven home: /opt/mvn 14:41:14 [2019-04-22T11:41:14.142Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 14:41:14 [2019-04-22T11:41:14.142Z] Default locale: en, platform encoding: UTF-8 14:41:14 [2019-04-22T11:41:14.142Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 14:41:14 [2019-04-22T11:41:14.142Z] 14:41:14 [2019-04-22T11:41:14.142Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:41:14 [2019-04-22T11:41:14.208Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:14 [2019-04-22T11:41:14.497Z] + set +x 14:41:14 [2019-04-22T11:41:14.497Z] [Build info] 14:41:14 [2019-04-22T11:41:14.497Z] ===== Git info ===== 14:41:14 [2019-04-22T11:41:14.497Z] Git branch: master 14:41:14 [2019-04-22T11:41:14.497Z] Git commit: 0d29d823d0a1c7955d8d1bc557092aa0732f493f 14:41:14 [2019-04-22T11:41:14.497Z] Git tag: - 14:41:14 [2019-04-22T11:41:14.497Z] 14:41:14 [2019-04-22T11:41:14.497Z] ===== Jenkins info ===== 14:41:14 [2019-04-22T11:41:14.497Z] Jenkins Job #16 14:41:14 [2019-04-22T11:41:14.497Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/16/ 14:41:14 [2019-04-22T11:41:14.497Z] Jenkins Tag: jenkins-Hub2Swarm-16 14:41:14 [2019-04-22T11:41:14.497Z] 14:41:14 [2019-04-22T11:41:14.497Z] ===== Job Params ===== 14:41:14 [2019-04-22T11:41:14.497Z] 14:41:14 [2019-04-22T11:41:14.497Z] dockerRepo=yasys/hub2swarm 14:41:14 [2019-04-22T11:41:14.497Z] dockerStep=ee.yadev.pipe.commonpipe.Default@6c8264ad 14:41:14 [2019-04-22T11:41:14.497Z] javaStep=ee.yadev.pipe.commonpipe.Default@6c8264ad 14:41:14 [2019-04-22T11:41:14.497Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@6c8264ad 14:41:14 [2019-04-22T11:41:14.497Z] hubUrl=https://cloud.docker.com/repository/docker 14:41:14 [2019-04-22T11:41:14.497Z] useDebugTag=false 14:41:14 [2019-04-22T11:41:14.497Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 14:41:14 [2019-04-22T11:41:14.497Z] preparationStep=ee.yadev.pipe.commonpipe.Default@6c8264ad 14:41:14 [2019-04-22T11:41:14.497Z] stepTimeout=5 14:41:14 [2019-04-22T11:41:14.497Z] hubCredentialsId=docker-hub 14:41:14 [2019-04-22T11:41:14.497Z] class=class ee.yadev.pipe.commonpipe.Params 14:41:14 [2019-04-22T11:41:14.497Z] skipMavenTests=true 14:41:14 [2019-04-22T11:41:14.497Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 14:41:14 [2019-04-22T11:41:14.497Z] verbose=false 14:41:14 [2019-04-22T11:41:14.497Z] mavenTestsTimeout=5 14:41:14 [2019-04-22T11:41:14.497Z] pipelineTimeout=15 14:41:14 [2019-04-22T11:41:14.497Z] hubUser=kyberorg 14:41:14 [2019-04-22T11:41:14.497Z] 14:41:14 [2019-04-22T11:41:14.497Z] ==== Environment Variables ===== 14:41:14 [2019-04-22T11:41:14.497Z] GIT_COMMITTER_NAME=Jenkins CI 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 14:41:14 [2019-04-22T11:41:14.497Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=1ee0d50f9490a5535b2513894653577d3837fe3d 14:41:14 [2019-04-22T11:41:14.497Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 14:41:14 [2019-04-22T11:41:14.497Z] HOSTNAME=7d927b9b34d7 14:41:14 [2019-04-22T11:41:14.497Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/16/display/redirect?page=changes 14:41:14 [2019-04-22T11:41:14.497Z] gitlabAfter=0d29d823d0a1c7955d8d1bc557092aa0732f493f 14:41:14 [2019-04-22T11:41:14.497Z] NODE_LABELS=master 14:41:14 [2019-04-22T11:41:14.497Z] GIT_COMMIT=0d29d823d0a1c7955d8d1bc557092aa0732f493f 14:41:14 [2019-04-22T11:41:14.497Z] HUDSON_URL=https://ci.yadev.eu/ 14:41:14 [2019-04-22T11:41:14.497Z] HOME=/root 14:41:14 [2019-04-22T11:41:14.497Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/16/ 14:41:14 [2019-04-22T11:41:14.497Z] gitlabTargetBranch=master 14:41:14 [2019-04-22T11:41:14.497Z] GIT_AUTHOR_NAME=Jenkins CI 14:41:14 [2019-04-22T11:41:14.497Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 14:41:14 [2019-04-22T11:41:14.497Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 14:41:14 [2019-04-22T11:41:14.497Z] gitlabMergeRequestLastCommit=0d29d823d0a1c7955d8d1bc557092aa0732f493f 14:41:14 [2019-04-22T11:41:14.497Z] JAVA_VERSION=8u212 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 14:41:14 [2019-04-22T11:41:14.497Z] NODE_NAME=master 14:41:14 [2019-04-22T11:41:14.497Z] GIT_BRANCH=origin/master 14:41:14 [2019-04-22T11:41:14.497Z] EXECUTOR_NUMBER=0 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 14:41:14 [2019-04-22T11:41:14.497Z] STAGE_NAME=Execution info 14:41:14 [2019-04-22T11:41:14.497Z] gitlabBranch=master 14:41:14 [2019-04-22T11:41:14.497Z] BUILD_DISPLAY_NAME=#16 14:41:14 [2019-04-22T11:41:14.497Z] gitlabUserEmail=kyberorg@yadev.eu 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceBranch=master 14:41:14 [2019-04-22T11:41:14.497Z] HUDSON_HOME=/var/lib/jenkins 14:41:14 [2019-04-22T11:41:14.497Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 14:41:14 [2019-04-22T11:41:14.497Z] JOB_BASE_NAME=Hub2Swarm 14:41:14 [2019-04-22T11:41:14.497Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 14:41:14 [2019-04-22T11:41:14.497Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 14:41:14 [2019-04-22T11:41:14.497Z] BUILD_ID=16 14:41:14 [2019-04-22T11:41:14.497Z] BUILDING_FOR=kyberorg 14:41:14 [2019-04-22T11:41:14.497Z] gitlabBefore=1ee0d50f9490a5535b2513894653577d3837fe3d 14:41:14 [2019-04-22T11:41:14.497Z] BUILD_TAG=jenkins-Hub2Swarm-16 14:41:14 [2019-04-22T11:41:14.497Z] gitlabActionType=PUSH 14:41:14 [2019-04-22T11:41:14.497Z] JENKINS_URL=https://ci.yadev.eu/ 14:41:14 [2019-04-22T11:41:14.497Z] LANG=C.UTF-8 14:41:14 [2019-04-22T11:41:14.497Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 14:41:14 [2019-04-22T11:41:14.497Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceRepoName=Hub2Swarm 14:41:14 [2019-04-22T11:41:14.497Z] gitlabSourceNamespace=Yet another Systems 14:41:14 [2019-04-22T11:41:14.497Z] BUILD_NUMBER=16 14:41:14 [2019-04-22T11:41:14.497Z] JENKINS_NODE_COOKIE=4dd273fd-7052-4d68-bc56-d5cb5e058537 14:41:14 [2019-04-22T11:41:14.497Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/16/display/redirect 14:41:14 [2019-04-22T11:41:14.497Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 14:41:14 [2019-04-22T11:41:14.497Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 14:41:14 [2019-04-22T11:41:14.497Z] CLASSPATH= 14:41:14 [2019-04-22T11:41:14.497Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 14:41:14 [2019-04-22T11:41:14.497Z] JOB_NAME=Hub2Swarm 14:41:14 [2019-04-22T11:41:14.497Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/20aa16ac-1a45-4e89-a06a-c952969a2e61 14:41:14 [2019-04-22T11:41:14.497Z] gitlabUserName=Alex Muravya 14:41:14 [2019-04-22T11:41:14.497Z] JAVA_HOME=/docker-java-home 14:41:14 [2019-04-22T11:41:14.497Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 14:41:14 [2019-04-22T11:41:14.497Z] GIT_PREVIOUS_COMMIT=1ee0d50f9490a5535b2513894653577d3837fe3d 14:41:14 [2019-04-22T11:41:14.497Z] 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:41:14 [2019-04-22T11:41:14.655Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:14 [2019-04-22T11:41:14.938Z] + set -x 14:41:14 [2019-04-22T11:41:14.938Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true 14:41:15 [2019-04-22T11:41:15.197Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 14:41:15 [2019-04-22T11:41:15.197Z] Maven home: /opt/mvn 14:41:15 [2019-04-22T11:41:15.197Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 14:41:15 [2019-04-22T11:41:15.197Z] Default locale: en, platform encoding: UTF-8 14:41:15 [2019-04-22T11:41:15.197Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 14:41:16 [2019-04-22T11:41:16.540Z] [INFO] Scanning for projects... 14:41:16 [2019-04-22T11:41:16.540Z] [INFO] 14:41:16 [2019-04-22T11:41:16.540Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 14:41:16 [2019-04-22T11:41:16.540Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 14:41:16 [2019-04-22T11:41:16.540Z] [INFO] --------------------------------[ jar ]--------------------------------- 14:41:17 [2019-04-22T11:41:17.883Z] [INFO] 14:41:17 [2019-04-22T11:41:17.883Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 14:41:17 [2019-04-22T11:41:17.883Z] [INFO] 14:41:17 [2019-04-22T11:41:17.883Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] Copying 1 resource 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] Copying 1 resource 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] Changes detected - recompiling the module! 14:41:18 [2019-04-22T11:41:18.133Z] [INFO] Compiling 8 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] Not copying test resources 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] Not compiling test sources 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] Tests are skipped. 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] 14:41:19 [2019-04-22T11:41:19.995Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 14:41:20 [2019-04-22T11:41:20.245Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 14:41:20 [2019-04-22T11:41:20.245Z] [INFO] 14:41:20 [2019-04-22T11:41:20.245Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] Replacing main artifact with repackaged archive 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] ------------------------------------------------------------------------ 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] BUILD SUCCESS 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] ------------------------------------------------------------------------ 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] Total time: 4.655 s 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] Finished at: 2019-04-22T11:41:20Z 14:41:20 [2019-04-22T11:41:20.796Z] [INFO] ------------------------------------------------------------------------ 14:41:21 [2019-04-22T11:41:21.046Z] + echo Built for kyberorg 14:41:21 [2019-04-22T11:41:21.046Z] 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:41:21 [2019-04-22T11:41:21.231Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:21 [2019-04-22T11:41:21.515Z] + set +x 14:41:21 [2019-04-22T11:41:21.515Z] Starting Docker: docker. 14:41:21 [2019-04-22T11:41:21.515Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 14:41:21 [2019-04-22T11:41:21.583Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 14:41:21 [2019-04-22T11:41:21.638Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:21 [2019-04-22T11:41:21.923Z] + set +x 14:41:21 [2019-04-22T11:41:21.923Z] Login as **** to Docker Repository 14:41:23 [2019-04-22T11:41:23.266Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/20aa16ac-1a45-4e89-a06a-c952969a2e61/config.json. 14:41:23 [2019-04-22T11:41:23.266Z] Configure a credential helper to remove this warning. See 14:41:23 [2019-04-22T11:41:23.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:23 [2019-04-22T11:41:23.266Z] 14:41:23 [2019-04-22T11:41:23.266Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 14:41:23 [2019-04-22T11:41:23.346Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:41:23 [2019-04-22T11:41:23.626Z] + set +x 14:41:23 [2019-04-22T11:41:23.626Z] Building Docker Image yasys/hub2swarm with tags: [latest] 14:41:24 [2019-04-22T11:41:24.177Z] Sending build context to Docker daemon 65.63MB 14:41:24 [2019-04-22T11:41:24.177Z] Step 1/7 : FROM java:8-jre 14:41:25 [2019-04-22T11:41:25.520Z] 8-jre: Pulling from library/java 14:41:25 [2019-04-22T11:41:25.520Z] 5040bd298390: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] fce5728aad85: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] c42794440453: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] 0c0da797ba48: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] 7c9b17433752: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] 114e02586e63: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] e4c663802e9a: Pulling fs layer 14:41:25 [2019-04-22T11:41:25.520Z] 0c0da797ba48: Waiting 14:41:25 [2019-04-22T11:41:25.520Z] 7c9b17433752: Waiting 14:41:25 [2019-04-22T11:41:25.520Z] 114e02586e63: Waiting 14:41:25 [2019-04-22T11:41:25.520Z] e4c663802e9a: Waiting 14:41:26 [2019-04-22T11:41:26.071Z] c42794440453: Verifying Checksum 14:41:26 [2019-04-22T11:41:26.071Z] c42794440453: Download complete 14:41:26 [2019-04-22T11:41:26.321Z] fce5728aad85: Verifying Checksum 14:41:26 [2019-04-22T11:41:26.321Z] fce5728aad85: Download complete 14:41:26 [2019-04-22T11:41:26.572Z] 5040bd298390: Verifying Checksum 14:41:26 [2019-04-22T11:41:26.572Z] 5040bd298390: Download complete 14:41:26 [2019-04-22T11:41:26.572Z] 0c0da797ba48: Download complete 14:41:26 [2019-04-22T11:41:26.823Z] 7c9b17433752: Verifying Checksum 14:41:26 [2019-04-22T11:41:26.823Z] 7c9b17433752: Download complete 14:41:27 [2019-04-22T11:41:27.074Z] e4c663802e9a: Verifying Checksum 14:41:27 [2019-04-22T11:41:27.074Z] e4c663802e9a: Download complete 14:41:27 [2019-04-22T11:41:27.624Z] 114e02586e63: Download complete 14:41:30 [2019-04-22T11:41:30.107Z] 5040bd298390: Pull complete 14:41:31 [2019-04-22T11:41:31.969Z] fce5728aad85: Pull complete 14:41:32 [2019-04-22T11:41:32.882Z] c42794440453: Pull complete 14:41:33 [2019-04-22T11:41:33.793Z] 0c0da797ba48: Pull complete 14:41:34 [2019-04-22T11:41:34.709Z] 7c9b17433752: Pull complete 14:41:38 [2019-04-22T11:41:38.831Z] 114e02586e63: Pull complete 14:41:40 [2019-04-22T11:41:40.693Z] e4c663802e9a: Pull complete 14:41:40 [2019-04-22T11:41:40.693Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 14:41:40 [2019-04-22T11:41:40.693Z] Status: Downloaded newer image for java:8-jre 14:41:40 [2019-04-22T11:41:40.693Z] ---> e44d62cf8862 14:41:40 [2019-04-22T11:41:40.693Z] Step 2/7 : VOLUME /tmp 14:41:43 [2019-04-22T11:41:43.176Z] ---> Running in 2e56d65b8786 14:41:46 [2019-04-22T11:41:46.404Z] Removing intermediate container 2e56d65b8786 14:41:46 [2019-04-22T11:41:46.404Z] ---> 905dd36e75ab 14:41:46 [2019-04-22T11:41:46.404Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 14:41:47 [2019-04-22T11:41:47.747Z] ---> Running in a42517c8c466 14:41:50 [2019-04-22T11:41:50.230Z] Removing intermediate container a42517c8c466 14:41:50 [2019-04-22T11:41:50.230Z] ---> 3ba466ac2e91 14:41:50 [2019-04-22T11:41:50.230Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 14:41:52 [2019-04-22T11:41:52.712Z] ---> 5d47c89e8576 14:41:52 [2019-04-22T11:41:52.712Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 14:41:55 [2019-04-22T11:41:55.195Z] ---> Running in e38a73652d7e 14:41:58 [2019-04-22T11:41:58.423Z] Removing intermediate container e38a73652d7e 14:41:58 [2019-04-22T11:41:58.423Z] ---> eae64c53e8a5 14:41:58 [2019-04-22T11:41:58.423Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 14:42:00 [2019-04-22T11:42:00.284Z] ---> Running in 644fafe0949a 14:42:03 [2019-04-22T11:42:03.516Z] Removing intermediate container 644fafe0949a 14:42:03 [2019-04-22T11:42:03.516Z] ---> bea3ee22cbad 14:42:03 [2019-04-22T11:42:03.516Z] Step 7/7 : EXPOSE 8080 14:42:05 [2019-04-22T11:42:05.378Z] ---> Running in b63744edbeca 14:42:07 [2019-04-22T11:42:07.861Z] Removing intermediate container b63744edbeca 14:42:07 [2019-04-22T11:42:07.861Z] ---> f3b8ca072836 14:42:07 [2019-04-22T11:42:07.861Z] Successfully built f3b8ca072836 14:42:07 [2019-04-22T11:42:07.861Z] Successfully tagged yasys/hub2swarm:latest 14:42:07 [2019-04-22T11:42:07.861Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:42:07 [2019-04-22T11:42:07.921Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:42:08 [2019-04-22T11:42:08.214Z] + set +x 14:42:08 [2019-04-22T11:42:08.214Z] Push yasys/hub2swarm to Docker Repository 14:42:08 [2019-04-22T11:42:08.214Z] The push refers to repository [docker.io/yasys/hub2swarm] 14:42:08 [2019-04-22T11:42:08.765Z] 3db8c6ef89e7: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] a38f69811feb: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 73ad47d4bc12: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] c22c27816361: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 04dba64afa87: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 500ca2ff7d52: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 782d5215f910: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 0eb22bfb707d: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] a2ae92ffcd29: Preparing 14:42:08 [2019-04-22T11:42:08.765Z] 782d5215f910: Waiting 14:42:08 [2019-04-22T11:42:08.765Z] 0eb22bfb707d: Waiting 14:42:08 [2019-04-22T11:42:08.765Z] 500ca2ff7d52: Waiting 14:42:08 [2019-04-22T11:42:08.765Z] a2ae92ffcd29: Waiting 14:42:09 [2019-04-22T11:42:09.676Z] 73ad47d4bc12: Layer already exists 14:42:09 [2019-04-22T11:42:09.676Z] c22c27816361: Layer already exists 14:42:09 [2019-04-22T11:42:09.676Z] 04dba64afa87: Layer already exists 14:42:10 [2019-04-22T11:42:10.226Z] 782d5215f910: Layer already exists 14:42:10 [2019-04-22T11:42:10.226Z] 500ca2ff7d52: Layer already exists 14:42:10 [2019-04-22T11:42:10.226Z] 0eb22bfb707d: Layer already exists 14:42:10 [2019-04-22T11:42:10.477Z] a2ae92ffcd29: Layer already exists 14:42:18 [2019-04-22T11:42:18.502Z] a38f69811feb: Pushed 14:42:18 [2019-04-22T11:42:18.502Z] 3db8c6ef89e7: Pushed 14:42:22 [2019-04-22T11:42:22.625Z] latest: digest: sha256:da312353b8d203063a6bdd56de6b13ea742b8cc9e21d8dede0a3dcec0fd24d58 size: 2211 14:42:22 [2019-04-22T11:42:22.625Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:42:22 [2019-04-22T11:42:22.674Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:42:22 [2019-04-22T11:42:22.956Z] + set +x 14:42:22 [2019-04-22T11:42:22.956Z] Moikka kyberorg! 14:42:22 [2019-04-22T11:42:22.956Z] Here is Docker Summary: 14:42:22 [2019-04-22T11:42:22.956Z] Images built and pushed: 1 14:42:22 [2019-04-22T11:42:22.956Z] [ 14:42:22 [2019-04-22T11:42:22.956Z] yasys/hub2swarm:latest 14:42:22 [2019-04-22T11:42:22.956Z] ] 14:42:22 [2019-04-22T11:42:22.956Z] 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:42:23 [2019-04-22T11:42:23.070Z] One way or another, I have finished. Tsau! [Pipeline] sh 14:42:23 [2019-04-22T11:42:23.353Z] + set +x 14:42:23 [2019-04-22T11:42:23.354Z] Making workspace writable for correct cleanup 14:42:23 [2019-04-22T11:42:23.354Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 14:42:23 [2019-04-22T11:42:23.421Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 7d927b9b34d75ee0a722618859b33da954ca67f4b3235be0250a8e49d744f867 $ docker rm -f 7d927b9b34d75ee0a722618859b33da954ca67f4b3235be0250a8e49d744f867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS