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 1ee0d50f9490a5535b2513894653577d3837fe3d (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 1ee0d50f9490a5535b2513894653577d3837fe3d # timeout=10 Commit message: "Init Tables" > /usr/bin/git rev-list --no-walk 3a5359a9bc7cc81d0d3a6dd10e7218f49ae5efc7 # 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 1ee0d50f9490a5535b2513894653577d3837fe3d (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 1ee0d50f9490a5535b2513894653577d3837fe3d # timeout=10 Commit message: "Init Tables" [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/4e4f921e-77d9-4f1b-884b-69898a775682/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 d257da606302d0587e8189ad6a06990ac91472e46236ee6ae1a5b5d0583a33f3 -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:38:49 [2019-04-22T11:38:49.369Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:38:49 [2019-04-22T11:38:49.694Z] + set +x 14:38:49 [2019-04-22T11:38:49.694Z] [Runner info] 14:38:49 [2019-04-22T11:38:49.694Z] Hostname: d257da606302 14:38:49 [2019-04-22T11:38:49.945Z] Network Status: Host Online 14:38:49 [2019-04-22T11:38:49.945Z] 14:38:49 [2019-04-22T11:38:49.945Z] === Tools info === 14:38:50 [2019-04-22T11:38:50.195Z] Docker version: Docker version 18.09.5, build e8ff056dbc 14:38:50 [2019-04-22T11:38:50.195Z] 14:38:50 [2019-04-22T11:38:50.195Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 14:38:50 [2019-04-22T11:38:50.195Z] Maven home: /opt/mvn 14:38:50 [2019-04-22T11:38:50.195Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 14:38:50 [2019-04-22T11:38:50.195Z] Default locale: en, platform encoding: UTF-8 14:38:50 [2019-04-22T11:38:50.195Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 14:38:50 [2019-04-22T11:38:50.195Z] 14:38:50 [2019-04-22T11:38:50.195Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:38:50 [2019-04-22T11:38:50.262Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:38:50 [2019-04-22T11:38:50.543Z] + set +x 14:38:50 [2019-04-22T11:38:50.543Z] [Build info] 14:38:50 [2019-04-22T11:38:50.543Z] ===== Git info ===== 14:38:50 [2019-04-22T11:38:50.543Z] Git branch: master 14:38:50 [2019-04-22T11:38:50.543Z] Git commit: 1ee0d50f9490a5535b2513894653577d3837fe3d 14:38:50 [2019-04-22T11:38:50.543Z] Git tag: - 14:38:50 [2019-04-22T11:38:50.543Z] 14:38:50 [2019-04-22T11:38:50.543Z] ===== Jenkins info ===== 14:38:50 [2019-04-22T11:38:50.543Z] Jenkins Job #15 14:38:50 [2019-04-22T11:38:50.543Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/15/ 14:38:50 [2019-04-22T11:38:50.543Z] Jenkins Tag: jenkins-Hub2Swarm-15 14:38:50 [2019-04-22T11:38:50.543Z] 14:38:50 [2019-04-22T11:38:50.543Z] ===== Job Params ===== 14:38:50 [2019-04-22T11:38:50.543Z] 14:38:50 [2019-04-22T11:38:50.543Z] dockerRepo=yasys/hub2swarm 14:38:50 [2019-04-22T11:38:50.543Z] dockerStep=ee.yadev.pipe.commonpipe.Default@58c7b082 14:38:50 [2019-04-22T11:38:50.543Z] javaStep=ee.yadev.pipe.commonpipe.Default@58c7b082 14:38:50 [2019-04-22T11:38:50.543Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@58c7b082 14:38:50 [2019-04-22T11:38:50.543Z] hubUrl=https://cloud.docker.com/repository/docker 14:38:50 [2019-04-22T11:38:50.543Z] useDebugTag=false 14:38:50 [2019-04-22T11:38:50.543Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 14:38:50 [2019-04-22T11:38:50.543Z] preparationStep=ee.yadev.pipe.commonpipe.Default@58c7b082 14:38:50 [2019-04-22T11:38:50.543Z] stepTimeout=5 14:38:50 [2019-04-22T11:38:50.543Z] hubCredentialsId=docker-hub 14:38:50 [2019-04-22T11:38:50.543Z] class=class ee.yadev.pipe.commonpipe.Params 14:38:50 [2019-04-22T11:38:50.543Z] skipMavenTests=true 14:38:50 [2019-04-22T11:38:50.543Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 14:38:50 [2019-04-22T11:38:50.543Z] verbose=false 14:38:50 [2019-04-22T11:38:50.543Z] mavenTestsTimeout=5 14:38:50 [2019-04-22T11:38:50.543Z] pipelineTimeout=15 14:38:50 [2019-04-22T11:38:50.543Z] hubUser=kyberorg 14:38:50 [2019-04-22T11:38:50.543Z] 14:38:50 [2019-04-22T11:38:50.543Z] ==== Environment Variables ===== 14:38:50 [2019-04-22T11:38:50.543Z] GIT_COMMITTER_NAME=Jenkins CI 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 14:38:50 [2019-04-22T11:38:50.543Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=3a5359a9bc7cc81d0d3a6dd10e7218f49ae5efc7 14:38:50 [2019-04-22T11:38:50.543Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 14:38:50 [2019-04-22T11:38:50.543Z] HOSTNAME=d257da606302 14:38:50 [2019-04-22T11:38:50.543Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/15/display/redirect?page=changes 14:38:50 [2019-04-22T11:38:50.543Z] gitlabAfter=1ee0d50f9490a5535b2513894653577d3837fe3d 14:38:50 [2019-04-22T11:38:50.543Z] HUDSON_URL=https://ci.yadev.eu/ 14:38:50 [2019-04-22T11:38:50.543Z] GIT_COMMIT=1ee0d50f9490a5535b2513894653577d3837fe3d 14:38:50 [2019-04-22T11:38:50.543Z] NODE_LABELS=master 14:38:50 [2019-04-22T11:38:50.543Z] HOME=/root 14:38:50 [2019-04-22T11:38:50.543Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/15/ 14:38:50 [2019-04-22T11:38:50.543Z] GIT_AUTHOR_NAME=Jenkins CI 14:38:50 [2019-04-22T11:38:50.543Z] gitlabTargetBranch=master 14:38:50 [2019-04-22T11:38:50.543Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 14:38:50 [2019-04-22T11:38:50.543Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 14:38:50 [2019-04-22T11:38:50.543Z] gitlabMergeRequestLastCommit=1ee0d50f9490a5535b2513894653577d3837fe3d 14:38:50 [2019-04-22T11:38:50.543Z] JAVA_VERSION=8u212 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 14:38:50 [2019-04-22T11:38:50.543Z] NODE_NAME=master 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 14:38:50 [2019-04-22T11:38:50.543Z] EXECUTOR_NUMBER=0 14:38:50 [2019-04-22T11:38:50.543Z] GIT_BRANCH=origin/master 14:38:50 [2019-04-22T11:38:50.543Z] STAGE_NAME=Execution info 14:38:50 [2019-04-22T11:38:50.543Z] gitlabBranch=master 14:38:50 [2019-04-22T11:38:50.543Z] gitlabUserEmail=kyberorg@yadev.eu 14:38:50 [2019-04-22T11:38:50.543Z] BUILD_DISPLAY_NAME=#15 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceBranch=master 14:38:50 [2019-04-22T11:38:50.543Z] HUDSON_HOME=/var/lib/jenkins 14:38:50 [2019-04-22T11:38:50.543Z] JOB_BASE_NAME=Hub2Swarm 14:38:50 [2019-04-22T11:38:50.543Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 14:38:50 [2019-04-22T11:38:50.543Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 14:38:50 [2019-04-22T11:38:50.543Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 14:38:50 [2019-04-22T11:38:50.543Z] BUILD_ID=15 14:38:50 [2019-04-22T11:38:50.543Z] BUILDING_FOR=kyberorg 14:38:50 [2019-04-22T11:38:50.543Z] gitlabActionType=PUSH 14:38:50 [2019-04-22T11:38:50.543Z] BUILD_TAG=jenkins-Hub2Swarm-15 14:38:50 [2019-04-22T11:38:50.543Z] gitlabBefore=3a5359a9bc7cc81d0d3a6dd10e7218f49ae5efc7 14:38:50 [2019-04-22T11:38:50.543Z] JENKINS_URL=https://ci.yadev.eu/ 14:38:50 [2019-04-22T11:38:50.543Z] LANG=C.UTF-8 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceRepoName=Hub2Swarm 14:38:50 [2019-04-22T11:38:50.543Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 14:38:50 [2019-04-22T11:38:50.543Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 14:38:50 [2019-04-22T11:38:50.543Z] BUILD_NUMBER=15 14:38:50 [2019-04-22T11:38:50.543Z] gitlabSourceNamespace=Yet another Systems 14:38:50 [2019-04-22T11:38:50.543Z] JENKINS_NODE_COOKIE=3e508d99-04b9-4918-a164-af2024dfecbc 14:38:50 [2019-04-22T11:38:50.543Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/15/display/redirect 14:38:50 [2019-04-22T11:38:50.543Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 14:38:50 [2019-04-22T11:38:50.543Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 14:38:50 [2019-04-22T11:38:50.543Z] CLASSPATH= 14:38:50 [2019-04-22T11:38:50.543Z] JOB_NAME=Hub2Swarm 14:38:50 [2019-04-22T11:38:50.543Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 14:38:50 [2019-04-22T11:38:50.543Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/4e4f921e-77d9-4f1b-884b-69898a775682 14:38:50 [2019-04-22T11:38:50.543Z] gitlabUserName=Alex Muravya 14:38:50 [2019-04-22T11:38:50.543Z] JAVA_HOME=/docker-java-home 14:38:50 [2019-04-22T11:38:50.543Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 14:38:50 [2019-04-22T11:38:50.543Z] GIT_PREVIOUS_COMMIT=3a5359a9bc7cc81d0d3a6dd10e7218f49ae5efc7 14:38:50 [2019-04-22T11:38:50.543Z] 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:38:50 [2019-04-22T11:38:50.755Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:38:51 [2019-04-22T11:38:51.043Z] + set -x 14:38:51 [2019-04-22T11:38:51.043Z] + mvn clean package -B -V -Dmaven.javadoc.skip=true -Dmaven.test.skip=true 14:38:51 [2019-04-22T11:38:51.294Z] Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 14:38:51 [2019-04-22T11:38:51.294Z] Maven home: /opt/mvn 14:38:51 [2019-04-22T11:38:51.294Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 14:38:51 [2019-04-22T11:38:51.294Z] Default locale: en, platform encoding: UTF-8 14:38:51 [2019-04-22T11:38:51.294Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 14:38:52 [2019-04-22T11:38:52.205Z] [INFO] Scanning for projects... 14:38:52 [2019-04-22T11:38:52.755Z] [INFO] 14:38:52 [2019-04-22T11:38:52.755Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 14:38:52 [2019-04-22T11:38:52.755Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 14:38:52 [2019-04-22T11:38:52.755Z] [INFO] --------------------------------[ jar ]--------------------------------- 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] Copying 1 resource 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] Copying 1 resource 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] 14:38:54 [2019-04-22T11:38:54.101Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 14:38:54 [2019-04-22T11:38:54.351Z] [INFO] Changes detected - recompiling the module! 14:38:54 [2019-04-22T11:38:54.351Z] [INFO] Compiling 7 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] Not copying test resources 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] Not compiling test sources 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] 14:38:55 [2019-04-22T11:38:55.695Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 14:38:55 [2019-04-22T11:38:55.945Z] [INFO] Tests are skipped. 14:38:55 [2019-04-22T11:38:55.945Z] [INFO] 14:38:55 [2019-04-22T11:38:55.945Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 14:38:56 [2019-04-22T11:38:56.195Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 14:38:56 [2019-04-22T11:38:56.195Z] [INFO] 14:38:56 [2019-04-22T11:38:56.195Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] Replacing main artifact with repackaged archive 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] ------------------------------------------------------------------------ 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] BUILD SUCCESS 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] ------------------------------------------------------------------------ 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] Total time: 4.644 s 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] Finished at: 2019-04-22T11:38:56Z 14:38:57 [2019-04-22T11:38:57.106Z] [INFO] ------------------------------------------------------------------------ 14:38:57 [2019-04-22T11:38:57.106Z] + echo Built for kyberorg 14:38:57 [2019-04-22T11:38:57.106Z] 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:38:57 [2019-04-22T11:38:57.264Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:38:57 [2019-04-22T11:38:57.555Z] + set +x 14:38:57 [2019-04-22T11:38:57.555Z] Starting Docker: docker. 14:38:57 [2019-04-22T11:38:57.555Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 14:38:57 [2019-04-22T11:38:57.610Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 14:38:57 [2019-04-22T11:38:57.648Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:38:57 [2019-04-22T11:38:57.943Z] + set +x 14:38:57 [2019-04-22T11:38:57.943Z] Login as **** to Docker Repository 14:38:59 [2019-04-22T11:38:59.805Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/4e4f921e-77d9-4f1b-884b-69898a775682/config.json. 14:38:59 [2019-04-22T11:38:59.805Z] Configure a credential helper to remove this warning. See 14:38:59 [2019-04-22T11:38:59.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:38:59 [2019-04-22T11:38:59.805Z] 14:38:59 [2019-04-22T11:38:59.805Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 14:38:59 [2019-04-22T11:38:59.897Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:39:00 [2019-04-22T11:39:00.184Z] + set +x 14:39:00 [2019-04-22T11:39:00.184Z] Building Docker Image yasys/hub2swarm with tags: [latest] 14:39:00 [2019-04-22T11:39:00.735Z] Sending build context to Docker daemon 65.62MB 14:39:00 [2019-04-22T11:39:00.735Z] Step 1/7 : FROM java:8-jre 14:39:02 [2019-04-22T11:39:02.079Z] 8-jre: Pulling from library/java 14:39:02 [2019-04-22T11:39:02.079Z] 5040bd298390: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] fce5728aad85: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] c42794440453: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] 0c0da797ba48: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] 7c9b17433752: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] 114e02586e63: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] e4c663802e9a: Pulling fs layer 14:39:02 [2019-04-22T11:39:02.079Z] 0c0da797ba48: Waiting 14:39:02 [2019-04-22T11:39:02.079Z] e4c663802e9a: Waiting 14:39:02 [2019-04-22T11:39:02.079Z] 7c9b17433752: Waiting 14:39:02 [2019-04-22T11:39:02.079Z] 114e02586e63: Waiting 14:39:02 [2019-04-22T11:39:02.630Z] c42794440453: Verifying Checksum 14:39:02 [2019-04-22T11:39:02.630Z] c42794440453: Download complete 14:39:02 [2019-04-22T11:39:02.880Z] fce5728aad85: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.130Z] 5040bd298390: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.130Z] 5040bd298390: Download complete 14:39:03 [2019-04-22T11:39:03.130Z] 0c0da797ba48: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.130Z] 0c0da797ba48: Download complete 14:39:03 [2019-04-22T11:39:03.381Z] 7c9b17433752: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.382Z] 7c9b17433752: Download complete 14:39:03 [2019-04-22T11:39:03.632Z] e4c663802e9a: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.632Z] e4c663802e9a: Download complete 14:39:03 [2019-04-22T11:39:03.882Z] 114e02586e63: Verifying Checksum 14:39:03 [2019-04-22T11:39:03.882Z] 114e02586e63: Download complete 14:39:07 [2019-04-22T11:39:07.110Z] 5040bd298390: Pull complete 14:39:08 [2019-04-22T11:39:08.453Z] fce5728aad85: Pull complete 14:39:09 [2019-04-22T11:39:09.364Z] c42794440453: Pull complete 14:39:09 [2019-04-22T11:39:09.915Z] 0c0da797ba48: Pull complete 14:39:10 [2019-04-22T11:39:10.826Z] 7c9b17433752: Pull complete 14:39:16 [2019-04-22T11:39:16.707Z] 114e02586e63: Pull complete 14:39:17 [2019-04-22T11:39:17.618Z] e4c663802e9a: Pull complete 14:39:17 [2019-04-22T11:39:17.618Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 14:39:17 [2019-04-22T11:39:17.618Z] Status: Downloaded newer image for java:8-jre 14:39:17 [2019-04-22T11:39:17.618Z] ---> e44d62cf8862 14:39:17 [2019-04-22T11:39:17.618Z] Step 2/7 : VOLUME /tmp 14:39:19 [2019-04-22T11:39:19.480Z] ---> Running in e63a21b07537 14:39:22 [2019-04-22T11:39:22.708Z] Removing intermediate container e63a21b07537 14:39:22 [2019-04-22T11:39:22.708Z] ---> 9987e283025b 14:39:22 [2019-04-22T11:39:22.708Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 14:39:24 [2019-04-22T11:39:24.051Z] ---> Running in 4217096a3353 14:39:26 [2019-04-22T11:39:26.534Z] Removing intermediate container 4217096a3353 14:39:26 [2019-04-22T11:39:26.534Z] ---> 0eaff6c01491 14:39:26 [2019-04-22T11:39:26.534Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 14:39:29 [2019-04-22T11:39:29.767Z] ---> cc59779bcd5b 14:39:29 [2019-04-22T11:39:29.767Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 14:39:31 [2019-04-22T11:39:31.628Z] ---> Running in d32454265ed4 14:39:34 [2019-04-22T11:39:34.856Z] Removing intermediate container d32454265ed4 14:39:34 [2019-04-22T11:39:34.856Z] ---> 3282fbd749e6 14:39:34 [2019-04-22T11:39:34.856Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 14:39:36 [2019-04-22T11:39:36.718Z] ---> Running in e3db727029ac 14:39:39 [2019-04-22T11:39:39.201Z] Removing intermediate container e3db727029ac 14:39:39 [2019-04-22T11:39:39.201Z] ---> cbd1117ce679 14:39:39 [2019-04-22T11:39:39.201Z] Step 7/7 : EXPOSE 8080 14:39:41 [2019-04-22T11:39:41.062Z] ---> Running in 88f5dc626b92 14:39:43 [2019-04-22T11:39:43.545Z] Removing intermediate container 88f5dc626b92 14:39:43 [2019-04-22T11:39:43.545Z] ---> f8ab2b916f82 14:39:43 [2019-04-22T11:39:43.545Z] Successfully built f8ab2b916f82 14:39:43 [2019-04-22T11:39:43.545Z] Successfully tagged yasys/hub2swarm:latest 14:39:43 [2019-04-22T11:39:43.545Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:39:43 [2019-04-22T11:39:43.594Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:39:43 [2019-04-22T11:39:43.877Z] + set +x 14:39:43 [2019-04-22T11:39:43.877Z] Push yasys/hub2swarm to Docker Repository 14:39:43 [2019-04-22T11:39:43.877Z] The push refers to repository [docker.io/yasys/hub2swarm] 14:39:44 [2019-04-22T11:39:44.428Z] d78e77e440e9: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 7dc598b9a722: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 73ad47d4bc12: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] c22c27816361: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 04dba64afa87: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 500ca2ff7d52: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 782d5215f910: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 0eb22bfb707d: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] a2ae92ffcd29: Preparing 14:39:44 [2019-04-22T11:39:44.428Z] 500ca2ff7d52: Waiting 14:39:44 [2019-04-22T11:39:44.428Z] 782d5215f910: Waiting 14:39:44 [2019-04-22T11:39:44.428Z] 0eb22bfb707d: Waiting 14:39:44 [2019-04-22T11:39:44.428Z] a2ae92ffcd29: Waiting 14:39:45 [2019-04-22T11:39:45.339Z] 04dba64afa87: Layer already exists 14:39:45 [2019-04-22T11:39:45.339Z] 73ad47d4bc12: Layer already exists 14:39:45 [2019-04-22T11:39:45.339Z] c22c27816361: Layer already exists 14:39:45 [2019-04-22T11:39:45.890Z] 500ca2ff7d52: Layer already exists 14:39:45 [2019-04-22T11:39:45.890Z] 782d5215f910: Layer already exists 14:39:45 [2019-04-22T11:39:45.890Z] 0eb22bfb707d: Layer already exists 14:39:46 [2019-04-22T11:39:46.440Z] a2ae92ffcd29: Layer already exists 14:39:54 [2019-04-22T11:39:54.466Z] d78e77e440e9: Pushed 14:39:55 [2019-04-22T11:39:55.018Z] 7dc598b9a722: Pushed 14:39:59 [2019-04-22T11:39:59.141Z] latest: digest: sha256:5dc622c96c9de0372aab8e2be7eabda67d57de609718ebdb999c3e1c933980c0 size: 2211 14:39:59 [2019-04-22T11:39:59.141Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:39:59 [2019-04-22T11:39:59.192Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:39:59 [2019-04-22T11:39:59.479Z] + set +x 14:39:59 [2019-04-22T11:39:59.479Z] Moikka kyberorg! 14:39:59 [2019-04-22T11:39:59.479Z] Here is Docker Summary: 14:39:59 [2019-04-22T11:39:59.479Z] Images built and pushed: 1 14:39:59 [2019-04-22T11:39:59.479Z] [ 14:39:59 [2019-04-22T11:39:59.479Z] yasys/hub2swarm:latest 14:39:59 [2019-04-22T11:39:59.479Z] ] 14:39:59 [2019-04-22T11:39:59.479Z] 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:39:59 [2019-04-22T11:39:59.588Z] One way or another, I have finished. Tsau! [Pipeline] sh 14:39:59 [2019-04-22T11:39:59.865Z] + set +x 14:39:59 [2019-04-22T11:39:59.865Z] Making workspace writable for correct cleanup 14:39:59 [2019-04-22T11:39:59.865Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 14:39:59 [2019-04-22T11:39:59.933Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 d257da606302d0587e8189ad6a06990ac91472e46236ee6ae1a5b5d0583a33f3 $ docker rm -f d257da606302d0587e8189ad6a06990ac91472e46236ee6ae1a5b5d0583a33f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS