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 9696a1cd501d628c6758c363f97f60aab2ba16c1 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 9696a1cd501d628c6758c363f97f60aab2ba16c1 # timeout=10 Commit message: "Persistence" > /usr/bin/git rev-list --no-walk 9616f7430d7b0caed62d1150aaec845102b0c9c1 # 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 9696a1cd501d628c6758c363f97f60aab2ba16c1 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 9696a1cd501d628c6758c363f97f60aab2ba16c1 # 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/487c5b3c-42e4-400d-839c-ce5ced746228/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 57edb4226f0157483b4b3ededc3e0fba7fd7f5c711f4fca9b0e35d971d2a2cbb -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:50:48 [2019-04-23T10:50:48.419Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:50:48 [2019-04-23T10:50:48.724Z] + set +x 13:50:48 [2019-04-23T10:50:48.724Z] [Runner info] 13:50:48 [2019-04-23T10:50:48.724Z] Hostname: 57edb4226f01 13:50:48 [2019-04-23T10:50:48.976Z] Network Status: Host Online 13:50:48 [2019-04-23T10:50:48.976Z] 13:50:48 [2019-04-23T10:50:48.976Z] === Tools info === 13:50:49 [2019-04-23T10:50:49.227Z] Docker version: Docker version 18.09.5, build e8ff056dbc 13:50:49 [2019-04-23T10:50:49.227Z] 13:50:49 [2019-04-23T10:50:49.227Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 13:50:49 [2019-04-23T10:50:49.227Z] Maven home: /opt/mvn 13:50:49 [2019-04-23T10:50:49.227Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 13:50:49 [2019-04-23T10:50:49.227Z] Default locale: en, platform encoding: UTF-8 13:50:49 [2019-04-23T10:50:49.228Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 13:50:49 [2019-04-23T10:50:49.228Z] 13:50:49 [2019-04-23T10:50:49.228Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:50:49 [2019-04-23T10:50:49.348Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:50:49 [2019-04-23T10:50:49.639Z] + set +x 13:50:49 [2019-04-23T10:50:49.639Z] [Build info] 13:50:49 [2019-04-23T10:50:49.639Z] ===== Git info ===== 13:50:49 [2019-04-23T10:50:49.639Z] Git branch: master 13:50:49 [2019-04-23T10:50:49.639Z] Git commit: 9696a1cd501d628c6758c363f97f60aab2ba16c1 13:50:49 [2019-04-23T10:50:49.639Z] Git tag: - 13:50:49 [2019-04-23T10:50:49.639Z] 13:50:49 [2019-04-23T10:50:49.639Z] ===== Jenkins info ===== 13:50:49 [2019-04-23T10:50:49.639Z] Jenkins Job #22 13:50:49 [2019-04-23T10:50:49.639Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/22/ 13:50:49 [2019-04-23T10:50:49.639Z] Jenkins Tag: jenkins-Hub2Swarm-22 13:50:49 [2019-04-23T10:50:49.639Z] 13:50:49 [2019-04-23T10:50:49.639Z] ===== Job Params ===== 13:50:49 [2019-04-23T10:50:49.639Z] 13:50:49 [2019-04-23T10:50:49.639Z] dockerRepo=yasys/hub2swarm 13:50:49 [2019-04-23T10:50:49.639Z] dockerStep=ee.yadev.pipe.commonpipe.Default@2ba9e78b 13:50:49 [2019-04-23T10:50:49.639Z] javaStep=ee.yadev.pipe.commonpipe.Default@2ba9e78b 13:50:49 [2019-04-23T10:50:49.639Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@2ba9e78b 13:50:49 [2019-04-23T10:50:49.639Z] hubUrl=https://cloud.docker.com/repository/docker 13:50:49 [2019-04-23T10:50:49.639Z] useDebugTag=false 13:50:49 [2019-04-23T10:50:49.639Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 13:50:49 [2019-04-23T10:50:49.639Z] preparationStep=ee.yadev.pipe.commonpipe.Default@2ba9e78b 13:50:49 [2019-04-23T10:50:49.639Z] stepTimeout=5 13:50:49 [2019-04-23T10:50:49.639Z] hubCredentialsId=docker-hub 13:50:49 [2019-04-23T10:50:49.639Z] class=class ee.yadev.pipe.commonpipe.Params 13:50:49 [2019-04-23T10:50:49.639Z] skipMavenTests=true 13:50:49 [2019-04-23T10:50:49.639Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 13:50:49 [2019-04-23T10:50:49.639Z] verbose=false 13:50:49 [2019-04-23T10:50:49.639Z] mavenTestsTimeout=5 13:50:49 [2019-04-23T10:50:49.639Z] pipelineTimeout=15 13:50:49 [2019-04-23T10:50:49.639Z] hubUser=kyberorg 13:50:49 [2019-04-23T10:50:49.639Z] 13:50:49 [2019-04-23T10:50:49.639Z] ==== Environment Variables ===== 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 13:50:49 [2019-04-23T10:50:49.639Z] GIT_COMMITTER_NAME=Jenkins CI 13:50:49 [2019-04-23T10:50:49.639Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=9616f7430d7b0caed62d1150aaec845102b0c9c1 13:50:49 [2019-04-23T10:50:49.639Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 13:50:49 [2019-04-23T10:50:49.639Z] HOSTNAME=57edb4226f01 13:50:49 [2019-04-23T10:50:49.639Z] gitlabAfter=9696a1cd501d628c6758c363f97f60aab2ba16c1 13:50:49 [2019-04-23T10:50:49.639Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/22/display/redirect?page=changes 13:50:49 [2019-04-23T10:50:49.639Z] HUDSON_URL=https://ci.yadev.eu/ 13:50:49 [2019-04-23T10:50:49.639Z] GIT_COMMIT=9696a1cd501d628c6758c363f97f60aab2ba16c1 13:50:49 [2019-04-23T10:50:49.639Z] NODE_LABELS=master 13:50:49 [2019-04-23T10:50:49.639Z] HOME=/root 13:50:49 [2019-04-23T10:50:49.639Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/22/ 13:50:49 [2019-04-23T10:50:49.639Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 13:50:49 [2019-04-23T10:50:49.639Z] GIT_AUTHOR_NAME=Jenkins CI 13:50:49 [2019-04-23T10:50:49.639Z] gitlabTargetBranch=master 13:50:49 [2019-04-23T10:50:49.639Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 13:50:49 [2019-04-23T10:50:49.639Z] gitlabMergeRequestLastCommit=9696a1cd501d628c6758c363f97f60aab2ba16c1 13:50:49 [2019-04-23T10:50:49.639Z] JAVA_VERSION=8u212 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 13:50:49 [2019-04-23T10:50:49.639Z] NODE_NAME=master 13:50:49 [2019-04-23T10:50:49.639Z] GIT_BRANCH=origin/master 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 13:50:49 [2019-04-23T10:50:49.639Z] EXECUTOR_NUMBER=1 13:50:49 [2019-04-23T10:50:49.639Z] STAGE_NAME=Execution info 13:50:49 [2019-04-23T10:50:49.639Z] gitlabBranch=master 13:50:49 [2019-04-23T10:50:49.639Z] gitlabUserEmail=kyberorg@yadev.eu 13:50:49 [2019-04-23T10:50:49.639Z] BUILD_DISPLAY_NAME=#22 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceBranch=master 13:50:49 [2019-04-23T10:50:49.639Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 13:50:49 [2019-04-23T10:50:49.639Z] HUDSON_HOME=/var/lib/jenkins 13:50:49 [2019-04-23T10:50:49.639Z] JOB_BASE_NAME=Hub2Swarm 13:50:49 [2019-04-23T10:50:49.639Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 13:50:49 [2019-04-23T10:50:49.639Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 13:50:49 [2019-04-23T10:50:49.639Z] BUILD_ID=22 13:50:49 [2019-04-23T10:50:49.639Z] BUILDING_FOR=kyberorg 13:50:49 [2019-04-23T10:50:49.639Z] gitlabBefore=9616f7430d7b0caed62d1150aaec845102b0c9c1 13:50:49 [2019-04-23T10:50:49.639Z] BUILD_TAG=jenkins-Hub2Swarm-22 13:50:49 [2019-04-23T10:50:49.639Z] gitlabActionType=PUSH 13:50:49 [2019-04-23T10:50:49.639Z] JENKINS_URL=https://ci.yadev.eu/ 13:50:49 [2019-04-23T10:50:49.639Z] LANG=C.UTF-8 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceRepoName=Hub2Swarm 13:50:49 [2019-04-23T10:50:49.639Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 13:50:49 [2019-04-23T10:50:49.639Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 13:50:49 [2019-04-23T10:50:49.639Z] BUILD_NUMBER=22 13:50:49 [2019-04-23T10:50:49.639Z] gitlabSourceNamespace=Yet another Systems 13:50:49 [2019-04-23T10:50:49.639Z] JENKINS_NODE_COOKIE=4eed6563-6dd1-448e-a5ef-07aae992f3ac 13:50:49 [2019-04-23T10:50:49.639Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/22/display/redirect 13:50:49 [2019-04-23T10:50:49.639Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 13:50:49 [2019-04-23T10:50:49.639Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 13:50:49 [2019-04-23T10:50:49.639Z] CLASSPATH= 13:50:49 [2019-04-23T10:50:49.639Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 13:50:49 [2019-04-23T10:50:49.639Z] JOB_NAME=Hub2Swarm 13:50:49 [2019-04-23T10:50:49.639Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/487c5b3c-42e4-400d-839c-ce5ced746228 13:50:49 [2019-04-23T10:50:49.639Z] gitlabUserName=Alex Muravya 13:50:49 [2019-04-23T10:50:49.640Z] JAVA_HOME=/docker-java-home 13:50:49 [2019-04-23T10:50:49.640Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 13:50:49 [2019-04-23T10:50:49.640Z] GIT_PREVIOUS_COMMIT=9616f7430d7b0caed62d1150aaec845102b0c9c1 13:50:49 [2019-04-23T10:50:49.640Z] 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:50:49 [2019-04-23T10:50:49.839Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:50:50 [2019-04-23T10:50:50.137Z] + set -x 13:50:50 [2019-04-23T10:50:50.137Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true 13:50:50 [2019-04-23T10:50:50.388Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 13:50:50 [2019-04-23T10:50:50.388Z] Maven home: /opt/mvn 13:50:50 [2019-04-23T10:50:50.388Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 13:50:50 [2019-04-23T10:50:50.388Z] Default locale: en, platform encoding: UTF-8 13:50:50 [2019-04-23T10:50:50.388Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 13:50:51 [2019-04-23T10:50:51.733Z] [INFO] Scanning for projects... 13:50:52 [2019-04-23T10:50:52.285Z] [INFO] 13:50:52 [2019-04-23T10:50:52.285Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 13:50:52 [2019-04-23T10:50:52.285Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 13:50:52 [2019-04-23T10:50:52.285Z] [INFO] --------------------------------[ jar ]--------------------------------- 13:50:53 [2019-04-23T10:50:53.629Z] [INFO] 13:50:53 [2019-04-23T10:50:53.629Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 13:50:53 [2019-04-23T10:50:53.629Z] [INFO] 13:50:53 [2019-04-23T10:50:53.629Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 13:50:53 [2019-04-23T10:50:53.880Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 13:50:53 [2019-04-23T10:50:53.880Z] [INFO] Copying 3 resources 13:50:53 [2019-04-23T10:50:53.880Z] [INFO] Copying 1 resource 13:50:53 [2019-04-23T10:50:53.880Z] [INFO] 13:50:53 [2019-04-23T10:50:53.880Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 13:50:54 [2019-04-23T10:50:54.130Z] [INFO] Changes detected - recompiling the module! 13:50:54 [2019-04-23T10:50:54.130Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] Not copying test resources 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] Not compiling test sources 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] Tests are skipped. 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] 13:50:56 [2019-04-23T10:50:56.614Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] Replacing main artifact with repackaged archive 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] ------------------------------------------------------------------------ 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] BUILD SUCCESS 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] ------------------------------------------------------------------------ 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] Total time: 5.651 s 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] Finished at: 2019-04-23T10:50:57Z 13:50:57 [2019-04-23T10:50:57.526Z] [INFO] ------------------------------------------------------------------------ 13:50:57 [2019-04-23T10:50:57.526Z] + echo Built for kyberorg 13:50:57 [2019-04-23T10:50:57.526Z] 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:50:57 [2019-04-23T10:50:57.781Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:50:58 [2019-04-23T10:50:58.094Z] + set +x 13:50:58 [2019-04-23T10:50:58.094Z] Starting Docker: docker. 13:50:58 [2019-04-23T10:50:58.094Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 13:50:58 [2019-04-23T10:50:58.157Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 13:50:58 [2019-04-23T10:50:58.205Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:50:58 [2019-04-23T10:50:58.503Z] + set +x 13:50:58 [2019-04-23T10:50:58.504Z] Login as **** to Docker Repository 13:51:00 [2019-04-23T10:51:00.370Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/487c5b3c-42e4-400d-839c-ce5ced746228/config.json. 13:51:00 [2019-04-23T10:51:00.370Z] Configure a credential helper to remove this warning. See 13:51:00 [2019-04-23T10:51:00.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:00 [2019-04-23T10:51:00.370Z] 13:51:00 [2019-04-23T10:51:00.370Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 13:51:00 [2019-04-23T10:51:00.485Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:51:00 [2019-04-23T10:51:00.776Z] + set +x 13:51:00 [2019-04-23T10:51:00.776Z] Building Docker Image yasys/hub2swarm with tags: [latest] 13:51:01 [2019-04-23T10:51:01.327Z] Sending build context to Docker daemon 66.31MB 13:51:01 [2019-04-23T10:51:01.327Z] Step 1/7 : FROM java:8-jre 13:51:02 [2019-04-23T10:51:02.671Z] 8-jre: Pulling from library/java 13:51:02 [2019-04-23T10:51:02.672Z] 5040bd298390: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] fce5728aad85: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] c42794440453: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] 0c0da797ba48: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] 7c9b17433752: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] 114e02586e63: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] e4c663802e9a: Pulling fs layer 13:51:02 [2019-04-23T10:51:02.672Z] 7c9b17433752: Waiting 13:51:02 [2019-04-23T10:51:02.672Z] 114e02586e63: Waiting 13:51:02 [2019-04-23T10:51:02.672Z] e4c663802e9a: Waiting 13:51:02 [2019-04-23T10:51:02.672Z] 0c0da797ba48: Waiting 13:51:03 [2019-04-23T10:51:03.223Z] c42794440453: Download complete 13:51:03 [2019-04-23T10:51:03.477Z] fce5728aad85: Verifying Checksum 13:51:03 [2019-04-23T10:51:03.477Z] fce5728aad85: Download complete 13:51:03 [2019-04-23T10:51:03.728Z] 5040bd298390: Verifying Checksum 13:51:03 [2019-04-23T10:51:03.728Z] 5040bd298390: Download complete 13:51:03 [2019-04-23T10:51:03.728Z] 0c0da797ba48: Verifying Checksum 13:51:03 [2019-04-23T10:51:03.728Z] 0c0da797ba48: Download complete 13:51:03 [2019-04-23T10:51:03.978Z] 7c9b17433752: Verifying Checksum 13:51:03 [2019-04-23T10:51:03.979Z] 7c9b17433752: Download complete 13:51:04 [2019-04-23T10:51:04.529Z] e4c663802e9a: Verifying Checksum 13:51:04 [2019-04-23T10:51:04.529Z] e4c663802e9a: Download complete 13:51:04 [2019-04-23T10:51:04.780Z] 114e02586e63: Verifying Checksum 13:51:04 [2019-04-23T10:51:04.780Z] 114e02586e63: Download complete 13:51:08 [2019-04-23T10:51:08.009Z] 5040bd298390: Pull complete 13:51:09 [2019-04-23T10:51:09.353Z] fce5728aad85: Pull complete 13:51:10 [2019-04-23T10:51:10.697Z] c42794440453: Pull complete 13:51:11 [2019-04-23T10:51:11.248Z] 0c0da797ba48: Pull complete 13:51:12 [2019-04-23T10:51:12.159Z] 7c9b17433752: Pull complete 13:51:16 [2019-04-23T10:51:16.288Z] 114e02586e63: Pull complete 13:51:19 [2019-04-23T10:51:19.516Z] e4c663802e9a: Pull complete 13:51:19 [2019-04-23T10:51:19.517Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 13:51:19 [2019-04-23T10:51:19.517Z] Status: Downloaded newer image for java:8-jre 13:51:19 [2019-04-23T10:51:19.517Z] ---> e44d62cf8862 13:51:19 [2019-04-23T10:51:19.517Z] Step 2/7 : VOLUME /tmp 13:51:20 [2019-04-23T10:51:20.860Z] ---> Running in 51e298a3a3dc 13:51:24 [2019-04-23T10:51:24.089Z] Removing intermediate container 51e298a3a3dc 13:51:24 [2019-04-23T10:51:24.089Z] ---> 51bd0fad6f4e 13:51:24 [2019-04-23T10:51:24.089Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 13:51:25 [2019-04-23T10:51:25.951Z] ---> Running in 591c4e4b0a1f 13:51:27 [2019-04-23T10:51:27.813Z] Removing intermediate container 591c4e4b0a1f 13:51:27 [2019-04-23T10:51:27.813Z] ---> 2ec83cd579aa 13:51:27 [2019-04-23T10:51:27.813Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 13:51:31 [2019-04-23T10:51:31.042Z] ---> 806b649ee7c3 13:51:31 [2019-04-23T10:51:31.042Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 13:51:32 [2019-04-23T10:51:32.904Z] ---> Running in 1f295af95905 13:51:37 [2019-04-23T10:51:37.027Z] Removing intermediate container 1f295af95905 13:51:37 [2019-04-23T10:51:37.027Z] ---> 992599a92681 13:51:37 [2019-04-23T10:51:37.027Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 13:51:38 [2019-04-23T10:51:38.890Z] ---> Running in 11bfb1e61189 13:51:42 [2019-04-23T10:51:42.119Z] Removing intermediate container 11bfb1e61189 13:51:42 [2019-04-23T10:51:42.119Z] ---> aa58e97176d9 13:51:42 [2019-04-23T10:51:42.119Z] Step 7/7 : EXPOSE 8080 13:51:44 [2019-04-23T10:51:44.603Z] ---> Running in 70fb282e4414 13:51:46 [2019-04-23T10:51:46.465Z] Removing intermediate container 70fb282e4414 13:51:46 [2019-04-23T10:51:46.465Z] ---> 80a246e14203 13:51:46 [2019-04-23T10:51:46.716Z] Successfully built 80a246e14203 13:51:46 [2019-04-23T10:51:46.716Z] Successfully tagged yasys/hub2swarm:latest 13:51:46 [2019-04-23T10:51:46.716Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:51:46 [2019-04-23T10:51:46.784Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:51:47 [2019-04-23T10:51:47.085Z] + set +x 13:51:47 [2019-04-23T10:51:47.085Z] Push yasys/hub2swarm to Docker Repository 13:51:47 [2019-04-23T10:51:47.336Z] The push refers to repository [docker.io/yasys/hub2swarm] 13:51:47 [2019-04-23T10:51:47.587Z] e0fbef0ceebd: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 9a7e25f83ec0: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 73ad47d4bc12: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] c22c27816361: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 04dba64afa87: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 500ca2ff7d52: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 782d5215f910: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 0eb22bfb707d: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] a2ae92ffcd29: Preparing 13:51:47 [2019-04-23T10:51:47.587Z] 500ca2ff7d52: Waiting 13:51:47 [2019-04-23T10:51:47.587Z] 782d5215f910: Waiting 13:51:47 [2019-04-23T10:51:47.587Z] a2ae92ffcd29: Waiting 13:51:48 [2019-04-23T10:51:48.498Z] c22c27816361: Layer already exists 13:51:48 [2019-04-23T10:51:48.498Z] 04dba64afa87: Layer already exists 13:51:48 [2019-04-23T10:51:48.498Z] 73ad47d4bc12: Layer already exists 13:51:49 [2019-04-23T10:51:49.049Z] 500ca2ff7d52: Layer already exists 13:51:49 [2019-04-23T10:51:49.049Z] 782d5215f910: Layer already exists 13:51:49 [2019-04-23T10:51:49.049Z] 0eb22bfb707d: Layer already exists 13:51:49 [2019-04-23T10:51:49.600Z] a2ae92ffcd29: Layer already exists 13:51:57 [2019-04-23T10:51:57.629Z] 9a7e25f83ec0: Pushed 13:52:00 [2019-04-23T10:52:00.859Z] e0fbef0ceebd: Pushed 13:52:04 [2019-04-23T10:52:04.091Z] latest: digest: sha256:6c9e857f42078507769112e8372688d8b122b8e5a4d1435a3dd931ca11f57960 size: 2211 13:52:04 [2019-04-23T10:52:04.091Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:52:04 [2019-04-23T10:52:04.154Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:52:04 [2019-04-23T10:52:04.449Z] + set +x 13:52:04 [2019-04-23T10:52:04.449Z] Moikka kyberorg! 13:52:04 [2019-04-23T10:52:04.449Z] Here is Docker Summary: 13:52:04 [2019-04-23T10:52:04.449Z] Images built and pushed: 1 13:52:04 [2019-04-23T10:52:04.449Z] [ 13:52:04 [2019-04-23T10:52:04.449Z] yasys/hub2swarm:latest 13:52:04 [2019-04-23T10:52:04.449Z] ] 13:52:04 [2019-04-23T10:52:04.449Z] 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:52:04 [2019-04-23T10:52:04.602Z] One way or another, I have finished. Tsau! [Pipeline] sh 13:52:04 [2019-04-23T10:52:04.895Z] + set +x 13:52:04 [2019-04-23T10:52:04.895Z] Making workspace writable for correct cleanup 13:52:04 [2019-04-23T10:52:04.895Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 13:52:04 [2019-04-23T10:52:04.973Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 57edb4226f0157483b4b3ededc3e0fba7fd7f5c711f4fca9b0e35d971d2a2cbb $ docker rm -f 57edb4226f0157483b4b3ededc3e0fba7fd7f5c711f4fca9b0e35d971d2a2cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS