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 a7d76254c7b43d3eec87199cc923ea1440767cfb (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a7d76254c7b43d3eec87199cc923ea1440767cfb # timeout=10 Commit message: "Persistence. Docker" > /usr/bin/git rev-list --no-walk 9696a1cd501d628c6758c363f97f60aab2ba16c1 # 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 a7d76254c7b43d3eec87199cc923ea1440767cfb (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a7d76254c7b43d3eec87199cc923ea1440767cfb # timeout=10 Commit message: "Persistence. Docker" [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/f1ee91cd-a7da-420c-9a08-8915322f5394/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 745ad952179db270e141b1d008b3771f41fb78b0a35d8e6dc251c24f11fafbd9 -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 [2019-04-23T11:12:18.620Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:18.919Z] + set +x [2019-04-23T11:12:18.920Z] [Runner info] [2019-04-23T11:12:18.920Z] Hostname: 745ad952179d [2019-04-23T11:12:19.172Z] Network Status: Host Online [2019-04-23T11:12:19.172Z] [2019-04-23T11:12:19.172Z] === Tools info === [2019-04-23T11:12:19.423Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-04-23T11:12:19.423Z] [2019-04-23T11:12:19.423Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-04-23T11:12:19.423Z] Maven home: /opt/mvn [2019-04-23T11:12:19.423Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-04-23T11:12:19.423Z] Default locale: en, platform encoding: UTF-8 [2019-04-23T11:12:19.423Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-04-23T11:12:19.423Z] [2019-04-23T11:12:19.423Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-23T11:12:19.525Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:19.823Z] + set +x [2019-04-23T11:12:19.824Z] [Build info] [2019-04-23T11:12:19.824Z] ===== Git info ===== [2019-04-23T11:12:19.824Z] Git branch: master [2019-04-23T11:12:19.824Z] Git commit: a7d76254c7b43d3eec87199cc923ea1440767cfb [2019-04-23T11:12:19.824Z] Git tag: - [2019-04-23T11:12:19.824Z] [2019-04-23T11:12:19.824Z] ===== Jenkins info ===== [2019-04-23T11:12:19.824Z] Jenkins Job #23 [2019-04-23T11:12:19.824Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/23/ [2019-04-23T11:12:19.824Z] Jenkins Tag: jenkins-Hub2Swarm-23 [2019-04-23T11:12:19.824Z] [2019-04-23T11:12:19.824Z] ===== Job Params ===== [2019-04-23T11:12:19.824Z] [2019-04-23T11:12:19.824Z] dockerRepo=yasys/hub2swarm [2019-04-23T11:12:19.824Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7f0cabee [2019-04-23T11:12:19.824Z] javaStep=ee.yadev.pipe.commonpipe.Default@7f0cabee [2019-04-23T11:12:19.824Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7f0cabee [2019-04-23T11:12:19.824Z] hubUrl=https://cloud.docker.com/repository/docker [2019-04-23T11:12:19.824Z] useDebugTag=false [2019-04-23T11:12:19.824Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-04-23T11:12:19.824Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7f0cabee [2019-04-23T11:12:19.824Z] stepTimeout=5 [2019-04-23T11:12:19.824Z] hubCredentialsId=docker-hub [2019-04-23T11:12:19.824Z] class=class ee.yadev.pipe.commonpipe.Params [2019-04-23T11:12:19.824Z] skipMavenTests=true [2019-04-23T11:12:19.824Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-04-23T11:12:19.824Z] verbose=false [2019-04-23T11:12:19.824Z] mavenTestsTimeout=5 [2019-04-23T11:12:19.824Z] pipelineTimeout=15 [2019-04-23T11:12:19.824Z] hubUser=kyberorg [2019-04-23T11:12:19.824Z] [2019-04-23T11:12:19.824Z] ==== Environment Variables ===== [2019-04-23T11:12:19.824Z] GIT_COMMITTER_NAME=Jenkins CI [2019-04-23T11:12:19.824Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-04-23T11:12:19.824Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=9696a1cd501d628c6758c363f97f60aab2ba16c1 [2019-04-23T11:12:19.824Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-04-23T11:12:19.824Z] HOSTNAME=745ad952179d [2019-04-23T11:12:19.824Z] gitlabAfter=a7d76254c7b43d3eec87199cc923ea1440767cfb [2019-04-23T11:12:19.824Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/23/display/redirect?page=changes [2019-04-23T11:12:19.824Z] NODE_LABELS=master [2019-04-23T11:12:19.824Z] GIT_COMMIT=a7d76254c7b43d3eec87199cc923ea1440767cfb [2019-04-23T11:12:19.824Z] HUDSON_URL=https://ci.yadev.eu/ [2019-04-23T11:12:19.824Z] HOME=/root [2019-04-23T11:12:19.824Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/23/ [2019-04-23T11:12:19.824Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-04-23T11:12:19.824Z] GIT_AUTHOR_NAME=Jenkins CI [2019-04-23T11:12:19.824Z] gitlabTargetBranch=master [2019-04-23T11:12:19.824Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-04-23T11:12:19.824Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-23T11:12:19.824Z] gitlabMergeRequestLastCommit=a7d76254c7b43d3eec87199cc923ea1440767cfb [2019-04-23T11:12:19.824Z] JAVA_VERSION=8u212 [2019-04-23T11:12:19.824Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-04-23T11:12:19.824Z] NODE_NAME=master [2019-04-23T11:12:19.824Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-04-23T11:12:19.824Z] GIT_BRANCH=origin/master [2019-04-23T11:12:19.824Z] EXECUTOR_NUMBER=1 [2019-04-23T11:12:19.824Z] STAGE_NAME=Execution info [2019-04-23T11:12:19.824Z] gitlabBranch=master [2019-04-23T11:12:19.824Z] gitlabSourceBranch=master [2019-04-23T11:12:19.824Z] BUILD_DISPLAY_NAME=#23 [2019-04-23T11:12:19.824Z] gitlabUserEmail=kyberorg@yadev.eu [2019-04-23T11:12:19.824Z] HUDSON_HOME=/var/lib/jenkins [2019-04-23T11:12:19.824Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-04-23T11:12:19.824Z] JOB_BASE_NAME=Hub2Swarm [2019-04-23T11:12:19.824Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-04-23T11:12:19.824Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-04-23T11:12:19.824Z] BUILD_ID=23 [2019-04-23T11:12:19.824Z] BUILDING_FOR=kyberorg [2019-04-23T11:12:19.824Z] BUILD_TAG=jenkins-Hub2Swarm-23 [2019-04-23T11:12:19.824Z] gitlabActionType=PUSH [2019-04-23T11:12:19.824Z] gitlabBefore=9696a1cd501d628c6758c363f97f60aab2ba16c1 [2019-04-23T11:12:19.824Z] JENKINS_URL=https://ci.yadev.eu/ [2019-04-23T11:12:19.824Z] LANG=C.UTF-8 [2019-04-23T11:12:19.824Z] gitlabSourceRepoName=Hub2Swarm [2019-04-23T11:12:19.824Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-04-23T11:12:19.824Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-04-23T11:12:19.824Z] gitlabSourceNamespace=Yet another Systems [2019-04-23T11:12:19.824Z] BUILD_NUMBER=23 [2019-04-23T11:12:19.824Z] JENKINS_NODE_COOKIE=3d7fad4e-44a5-4e3a-a48e-edad9075bf48 [2019-04-23T11:12:19.824Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/23/display/redirect [2019-04-23T11:12:19.824Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-04-23T11:12:19.824Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-04-23T11:12:19.824Z] CLASSPATH= [2019-04-23T11:12:19.824Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-04-23T11:12:19.824Z] JOB_NAME=Hub2Swarm [2019-04-23T11:12:19.824Z] gitlabUserName=Alex Muravya [2019-04-23T11:12:19.824Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/f1ee91cd-a7da-420c-9a08-8915322f5394 [2019-04-23T11:12:19.824Z] JAVA_HOME=/docker-java-home [2019-04-23T11:12:19.824Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-23T11:12:19.824Z] GIT_PREVIOUS_COMMIT=9696a1cd501d628c6758c363f97f60aab2ba16c1 [2019-04-23T11:12:19.824Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] timeout [2019-04-23T11:12:20.053Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:20.349Z] + set -x [2019-04-23T11:12:20.349Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true [2019-04-23T11:12:20.600Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-04-23T11:12:20.600Z] Maven home: /opt/mvn [2019-04-23T11:12:20.600Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-04-23T11:12:20.600Z] Default locale: en, platform encoding: UTF-8 [2019-04-23T11:12:20.600Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-04-23T11:12:21.948Z] [INFO] Scanning for projects... [2019-04-23T11:12:22.198Z] [INFO] [2019-04-23T11:12:22.198Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-04-23T11:12:22.198Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-04-23T11:12:22.198Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-04-23T11:12:24.060Z] [INFO] [2019-04-23T11:12:24.060Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-04-23T11:12:24.060Z] [INFO] [2019-04-23T11:12:24.060Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-04-23T11:12:24.060Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-04-23T11:12:24.061Z] [INFO] Copying 3 resources [2019-04-23T11:12:24.061Z] [INFO] Copying 1 resource [2019-04-23T11:12:24.061Z] [INFO] [2019-04-23T11:12:24.061Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-04-23T11:12:24.311Z] [INFO] Changes detected - recompiling the module! [2019-04-23T11:12:24.311Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-04-23T11:12:26.795Z] [INFO] [2019-04-23T11:12:26.795Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-04-23T11:12:26.795Z] [INFO] Not copying test resources [2019-04-23T11:12:26.795Z] [INFO] [2019-04-23T11:12:26.795Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-04-23T11:12:26.795Z] [INFO] Not compiling test sources [2019-04-23T11:12:26.795Z] [INFO] [2019-04-23T11:12:26.795Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-04-23T11:12:26.795Z] [INFO] Tests are skipped. [2019-04-23T11:12:26.795Z] [INFO] [2019-04-23T11:12:26.795Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- [2019-04-23T11:12:26.795Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar [2019-04-23T11:12:27.046Z] [INFO] [2019-04-23T11:12:27.046Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- [2019-04-23T11:12:27.598Z] [INFO] Replacing main artifact with repackaged archive [2019-04-23T11:12:27.598Z] [INFO] ------------------------------------------------------------------------ [2019-04-23T11:12:27.598Z] [INFO] BUILD SUCCESS [2019-04-23T11:12:27.598Z] [INFO] ------------------------------------------------------------------------ [2019-04-23T11:12:27.598Z] [INFO] Total time: 5.612 s [2019-04-23T11:12:27.599Z] [INFO] Finished at: 2019-04-23T11:12:27Z [2019-04-23T11:12:27.599Z] [INFO] ------------------------------------------------------------------------ [2019-04-23T11:12:27.599Z] + echo Built for kyberorg [2019-04-23T11:12:27.599Z] Built for kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout [2019-04-23T11:12:27.819Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:28.122Z] + set +x [2019-04-23T11:12:28.122Z] Starting Docker: docker. [2019-04-23T11:12:28.122Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-04-23T11:12:28.176Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-04-23T11:12:28.224Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:28.517Z] + set +x [2019-04-23T11:12:28.517Z] Login as **** to Docker Repository [2019-04-23T11:12:29.860Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/f1ee91cd-a7da-420c-9a08-8915322f5394/config.json. [2019-04-23T11:12:29.860Z] Configure a credential helper to remove this warning. See [2019-04-23T11:12:29.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-04-23T11:12:29.860Z] [2019-04-23T11:12:29.860Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-04-23T11:12:30.225Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:12:30.519Z] + set +x [2019-04-23T11:12:30.519Z] Building Docker Image yasys/hub2swarm with tags: [latest] [2019-04-23T11:12:31.070Z] Sending build context to Docker daemon 66.31MB [2019-04-23T11:12:31.070Z] Step 1/8 : FROM java:8-jre [2019-04-23T11:12:32.414Z] 8-jre: Pulling from library/java [2019-04-23T11:12:32.414Z] 5040bd298390: Pulling fs layer [2019-04-23T11:12:32.414Z] fce5728aad85: Pulling fs layer [2019-04-23T11:12:32.414Z] c42794440453: Pulling fs layer [2019-04-23T11:12:32.414Z] 0c0da797ba48: Pulling fs layer [2019-04-23T11:12:32.414Z] 7c9b17433752: Pulling fs layer [2019-04-23T11:12:32.414Z] 114e02586e63: Pulling fs layer [2019-04-23T11:12:32.414Z] e4c663802e9a: Pulling fs layer [2019-04-23T11:12:32.414Z] 0c0da797ba48: Waiting [2019-04-23T11:12:32.414Z] 7c9b17433752: Waiting [2019-04-23T11:12:32.414Z] 114e02586e63: Waiting [2019-04-23T11:12:32.414Z] e4c663802e9a: Waiting [2019-04-23T11:12:32.965Z] c42794440453: Verifying Checksum [2019-04-23T11:12:32.965Z] c42794440453: Download complete [2019-04-23T11:12:33.215Z] fce5728aad85: Download complete [2019-04-23T11:12:33.466Z] 5040bd298390: Verifying Checksum [2019-04-23T11:12:33.466Z] 5040bd298390: Download complete [2019-04-23T11:12:33.466Z] 0c0da797ba48: Verifying Checksum [2019-04-23T11:12:33.466Z] 0c0da797ba48: Download complete [2019-04-23T11:12:33.717Z] 7c9b17433752: Verifying Checksum [2019-04-23T11:12:33.717Z] 7c9b17433752: Download complete [2019-04-23T11:12:34.270Z] e4c663802e9a: Verifying Checksum [2019-04-23T11:12:34.270Z] e4c663802e9a: Download complete [2019-04-23T11:12:34.521Z] 114e02586e63: Verifying Checksum [2019-04-23T11:12:34.521Z] 114e02586e63: Download complete [2019-04-23T11:12:37.751Z] 5040bd298390: Pull complete [2019-04-23T11:12:39.613Z] fce5728aad85: Pull complete [2019-04-23T11:12:40.524Z] c42794440453: Pull complete [2019-04-23T11:12:41.436Z] 0c0da797ba48: Pull complete [2019-04-23T11:12:42.350Z] 7c9b17433752: Pull complete [2019-04-23T11:12:48.390Z] 114e02586e63: Pull complete [2019-04-23T11:12:49.301Z] e4c663802e9a: Pull complete [2019-04-23T11:12:49.301Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 [2019-04-23T11:12:49.301Z] Status: Downloaded newer image for java:8-jre [2019-04-23T11:12:49.301Z] ---> e44d62cf8862 [2019-04-23T11:12:49.301Z] Step 2/8 : VOLUME /tmp [2019-04-23T11:12:51.163Z] ---> Running in 25489338b337 [2019-04-23T11:12:55.287Z] Removing intermediate container 25489338b337 [2019-04-23T11:12:55.287Z] ---> 46af083c9c43 [2019-04-23T11:12:55.287Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) [2019-04-23T11:12:57.158Z] ---> Running in 605b05200cc6 [2019-04-23T11:12:59.641Z] Removing intermediate container 605b05200cc6 [2019-04-23T11:12:59.641Z] ---> a94cfba6258e [2019-04-23T11:12:59.641Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/ [2019-04-23T11:13:02.870Z] ---> 038817df53e3 [2019-04-23T11:13:02.870Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar' [2019-04-23T11:13:04.732Z] ---> Running in f303bc473908 [2019-04-23T11:13:08.855Z] Removing intermediate container f303bc473908 [2019-04-23T11:13:08.855Z] ---> b92e77eeb3f9 [2019-04-23T11:13:08.855Z] Step 6/8 : ENV spring_profiles_active=prod [2019-04-23T11:13:10.718Z] ---> Running in 2a1664094bd4 [2019-04-23T11:13:13.954Z] Removing intermediate container 2a1664094bd4 [2019-04-23T11:13:13.954Z] ---> 09741872e1c1 [2019-04-23T11:13:13.954Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar [2019-04-23T11:13:16.437Z] ---> Running in 6e29eca4c3f8 [2019-04-23T11:13:18.921Z] Removing intermediate container 6e29eca4c3f8 [2019-04-23T11:13:18.921Z] ---> 4b1de1cfa0b8 [2019-04-23T11:13:18.921Z] Step 8/8 : EXPOSE 8080 [2019-04-23T11:13:20.784Z] ---> Running in f51c1490b896 [2019-04-23T11:13:23.269Z] Removing intermediate container f51c1490b896 [2019-04-23T11:13:23.269Z] ---> f8f0efb0732b [2019-04-23T11:13:23.269Z] Successfully built f8f0efb0732b [2019-04-23T11:13:23.269Z] Successfully tagged yasys/hub2swarm:latest [2019-04-23T11:13:23.269Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-23T11:13:23.330Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:13:23.626Z] + set +x [2019-04-23T11:13:23.626Z] Push yasys/hub2swarm to Docker Repository [2019-04-23T11:13:23.626Z] The push refers to repository [docker.io/yasys/hub2swarm] [2019-04-23T11:13:24.179Z] fa5c333735dd: Preparing [2019-04-23T11:13:24.179Z] 41b143c98d1d: Preparing [2019-04-23T11:13:24.179Z] 73ad47d4bc12: Preparing [2019-04-23T11:13:24.179Z] c22c27816361: Preparing [2019-04-23T11:13:24.179Z] 04dba64afa87: Preparing [2019-04-23T11:13:24.179Z] 500ca2ff7d52: Preparing [2019-04-23T11:13:24.179Z] 782d5215f910: Preparing [2019-04-23T11:13:24.179Z] 0eb22bfb707d: Preparing [2019-04-23T11:13:24.179Z] a2ae92ffcd29: Preparing [2019-04-23T11:13:24.179Z] 500ca2ff7d52: Waiting [2019-04-23T11:13:24.179Z] 782d5215f910: Waiting [2019-04-23T11:13:24.179Z] 0eb22bfb707d: Waiting [2019-04-23T11:13:24.179Z] a2ae92ffcd29: Waiting [2019-04-23T11:13:25.092Z] c22c27816361: Layer already exists [2019-04-23T11:13:25.092Z] 73ad47d4bc12: Layer already exists [2019-04-23T11:13:25.092Z] 04dba64afa87: Layer already exists [2019-04-23T11:13:25.644Z] 500ca2ff7d52: Layer already exists [2019-04-23T11:13:25.644Z] 782d5215f910: Layer already exists [2019-04-23T11:13:25.644Z] 0eb22bfb707d: Layer already exists [2019-04-23T11:13:26.195Z] a2ae92ffcd29: Layer already exists [2019-04-23T11:13:34.223Z] 41b143c98d1d: Pushed [2019-04-23T11:13:34.223Z] fa5c333735dd: Pushed [2019-04-23T11:13:38.346Z] latest: digest: sha256:ee267980e775b7dbe5c1532ac084c8e99638c2826d84b93fc4455b99f7dd0b5a size: 2211 [2019-04-23T11:13:38.346Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-23T11:13:38.403Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-23T11:13:38.696Z] + set +x [2019-04-23T11:13:38.696Z] Moikka kyberorg! [2019-04-23T11:13:38.696Z] Here is Docker Summary: [2019-04-23T11:13:38.696Z] Images built and pushed: 1 [2019-04-23T11:13:38.696Z] [ [2019-04-23T11:13:38.696Z] yasys/hub2swarm:latest [2019-04-23T11:13:38.696Z] ] [2019-04-23T11:13:38.696Z] 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 [2019-04-23T11:13:38.826Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-04-23T11:13:39.112Z] + set +x [2019-04-23T11:13:39.112Z] Making workspace writable for correct cleanup [2019-04-23T11:13:39.112Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-04-23T11:13:39.182Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 745ad952179db270e141b1d008b3771f41fb78b0a35d8e6dc251c24f11fafbd9 $ docker rm -f 745ad952179db270e141b1d008b3771f41fb78b0a35d8e6dc251c24f11fafbd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS