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/trunk, since it originates from another repository Seen branch in repository origin/1-simple-navigation Seen branch in repository origin/2-service-mapping Seen branch in repository origin/3-mvp-auth Seen branch in repository origin/4-swarm-login Seen branch in repository origin/5-do-stack-update Seen branch in repository origin/auth Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 8 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 (origin/trunk) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 # timeout=10 Commit message: "Resolve "Do Stack Update"" > /usr/bin/git rev-list --no-walk cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 # 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/trunk, 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 Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. [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/trunk, since it originates from another repository Seen branch in repository origin/auth Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 3 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 (origin/trunk) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 # timeout=10 Commit message: "Resolve "Do Stack Update"" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u kyberorg -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/fd8625a6-e246-4547-8618-9d274e92defe/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 2998de9fcaddb3fb78da259ddd91cfe62b15d057f75eeda4cb0822f43a3493ae -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 15:53:26 [2019-05-06T12:53:26.181Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:53:26 [2019-05-06T12:53:26.480Z] + set +x 15:53:26 [2019-05-06T12:53:26.480Z] [Runner info] 15:53:26 [2019-05-06T12:53:26.480Z] Hostname: 2998de9fcadd 15:53:26 [2019-05-06T12:53:26.480Z] Network Status: Host Online 15:53:26 [2019-05-06T12:53:26.480Z] 15:53:26 [2019-05-06T12:53:26.480Z] === Tools info === 15:53:27 [2019-05-06T12:53:27.032Z] Docker version: Docker version 18.09.5, build e8ff056dbc 15:53:27 [2019-05-06T12:53:27.032Z] 15:53:27 [2019-05-06T12:53:27.032Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 15:53:27 [2019-05-06T12:53:27.032Z] Maven home: /opt/mvn 15:53:27 [2019-05-06T12:53:27.032Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 15:53:27 [2019-05-06T12:53:27.032Z] Default locale: en, platform encoding: UTF-8 15:53:27 [2019-05-06T12:53:27.032Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 15:53:27 [2019-05-06T12:53:27.032Z] 15:53:27 [2019-05-06T12:53:27.032Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 15:53:27 [2019-05-06T12:53:27.165Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:53:27 [2019-05-06T12:53:27.476Z] + set +x 15:53:27 [2019-05-06T12:53:27.476Z] [Build info] 15:53:27 [2019-05-06T12:53:27.476Z] ===== Git info ===== 15:53:27 [2019-05-06T12:53:27.476Z] Git branch: trunk 15:53:27 [2019-05-06T12:53:27.476Z] Git commit: d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 15:53:27 [2019-05-06T12:53:27.476Z] Git tag: - 15:53:27 [2019-05-06T12:53:27.476Z] 15:53:27 [2019-05-06T12:53:27.476Z] ===== Jenkins info ===== 15:53:27 [2019-05-06T12:53:27.476Z] Jenkins Job #91 15:53:27 [2019-05-06T12:53:27.476Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/91/ 15:53:27 [2019-05-06T12:53:27.476Z] Jenkins Tag: jenkins-Hub2Swarm-91 15:53:27 [2019-05-06T12:53:27.476Z] 15:53:27 [2019-05-06T12:53:27.476Z] ===== Job Params ===== 15:53:27 [2019-05-06T12:53:27.476Z] 15:53:27 [2019-05-06T12:53:27.476Z] dockerRepo=yasys/hub2swarm 15:53:27 [2019-05-06T12:53:27.476Z] dockerStep=ee.yadev.pipe.commonpipe.Default@38c2f35b 15:53:27 [2019-05-06T12:53:27.476Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@475b37ae 15:53:27 [2019-05-06T12:53:27.476Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@38c2f35b 15:53:27 [2019-05-06T12:53:27.476Z] hubUrl=https://cloud.docker.com/repository/docker 15:53:27 [2019-05-06T12:53:27.476Z] useDebugTag=false 15:53:27 [2019-05-06T12:53:27.476Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 15:53:27 [2019-05-06T12:53:27.476Z] preparationStep=ee.yadev.pipe.commonpipe.Default@38c2f35b 15:53:27 [2019-05-06T12:53:27.476Z] stepTimeout=5 15:53:27 [2019-05-06T12:53:27.476Z] hubCredentialsId=docker-hub 15:53:27 [2019-05-06T12:53:27.476Z] class=class ee.yadev.pipe.commonpipe.Params 15:53:27 [2019-05-06T12:53:27.476Z] skipMavenTests=true 15:53:27 [2019-05-06T12:53:27.476Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 15:53:27 [2019-05-06T12:53:27.476Z] verbose=false 15:53:27 [2019-05-06T12:53:27.476Z] mavenTestsTimeout=5 15:53:27 [2019-05-06T12:53:27.476Z] pipelineTimeout=15 15:53:27 [2019-05-06T12:53:27.476Z] hubUser=kyberorg 15:53:27 [2019-05-06T12:53:27.476Z] 15:53:27 [2019-05-06T12:53:27.476Z] ==== Environment Variables ===== 15:53:27 [2019-05-06T12:53:27.476Z] GIT_COMMITTER_NAME=Jenkins CI 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 15:53:27 [2019-05-06T12:53:27.476Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 15:53:27 [2019-05-06T12:53:27.476Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 15:53:27 [2019-05-06T12:53:27.476Z] HOSTNAME=2998de9fcadd 15:53:27 [2019-05-06T12:53:27.476Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/91/display/redirect?page=changes 15:53:27 [2019-05-06T12:53:27.476Z] gitlabAfter=d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 15:53:27 [2019-05-06T12:53:27.476Z] NODE_LABELS=master 15:53:27 [2019-05-06T12:53:27.476Z] HUDSON_URL=https://ci.yadev.eu/ 15:53:27 [2019-05-06T12:53:27.476Z] GIT_COMMIT=d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 15:53:27 [2019-05-06T12:53:27.476Z] HOME=/root 15:53:27 [2019-05-06T12:53:27.476Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/91/ 15:53:27 [2019-05-06T12:53:27.476Z] gitlabTargetBranch=trunk 15:53:27 [2019-05-06T12:53:27.476Z] GIT_AUTHOR_NAME=Jenkins CI 15:53:27 [2019-05-06T12:53:27.476Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 15:53:27 [2019-05-06T12:53:27.476Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 15:53:27 [2019-05-06T12:53:27.476Z] gitlabMergeRequestLastCommit=d1c5beb5dd6a39a115c964a4161e905e3bf4a7f3 15:53:27 [2019-05-06T12:53:27.476Z] JAVA_VERSION=8u212 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 15:53:27 [2019-05-06T12:53:27.476Z] NODE_NAME=master 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 15:53:27 [2019-05-06T12:53:27.476Z] GIT_BRANCH=origin/trunk 15:53:27 [2019-05-06T12:53:27.476Z] EXECUTOR_NUMBER=1 15:53:27 [2019-05-06T12:53:27.476Z] STAGE_NAME=Execution info 15:53:27 [2019-05-06T12:53:27.476Z] gitlabBranch=trunk 15:53:27 [2019-05-06T12:53:27.476Z] BUILD_DISPLAY_NAME=#91 15:53:27 [2019-05-06T12:53:27.476Z] gitlabUserEmail=kyberorg@yadev.eu 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceBranch=trunk 15:53:27 [2019-05-06T12:53:27.476Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 15:53:27 [2019-05-06T12:53:27.476Z] HUDSON_HOME=/var/lib/jenkins 15:53:27 [2019-05-06T12:53:27.476Z] JOB_BASE_NAME=Hub2Swarm 15:53:27 [2019-05-06T12:53:27.476Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 15:53:27 [2019-05-06T12:53:27.476Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 15:53:27 [2019-05-06T12:53:27.476Z] BUILD_ID=91 15:53:27 [2019-05-06T12:53:27.476Z] BUILDING_FOR=kyberorg 15:53:27 [2019-05-06T12:53:27.476Z] gitlabActionType=PUSH 15:53:27 [2019-05-06T12:53:27.476Z] BUILD_TAG=jenkins-Hub2Swarm-91 15:53:27 [2019-05-06T12:53:27.476Z] gitlabBefore=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 15:53:27 [2019-05-06T12:53:27.476Z] JENKINS_URL=https://ci.yadev.eu/ 15:53:27 [2019-05-06T12:53:27.476Z] LANG=C.UTF-8 15:53:27 [2019-05-06T12:53:27.476Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 15:53:27 [2019-05-06T12:53:27.476Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceRepoName=Hub2Swarm 15:53:27 [2019-05-06T12:53:27.476Z] BUILD_NUMBER=91 15:53:27 [2019-05-06T12:53:27.476Z] gitlabSourceNamespace=Yet another Systems 15:53:27 [2019-05-06T12:53:27.476Z] JENKINS_NODE_COOKIE=08ed0bd4-3aa8-4b4a-8eaa-ad4384b43461 15:53:27 [2019-05-06T12:53:27.476Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/91/display/redirect 15:53:27 [2019-05-06T12:53:27.476Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 15:53:27 [2019-05-06T12:53:27.476Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 15:53:27 [2019-05-06T12:53:27.476Z] CLASSPATH= 15:53:27 [2019-05-06T12:53:27.476Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 15:53:27 [2019-05-06T12:53:27.476Z] JOB_NAME=Hub2Swarm 15:53:27 [2019-05-06T12:53:27.476Z] gitlabUserName=Alex Muravya 15:53:27 [2019-05-06T12:53:27.476Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/fd8625a6-e246-4547-8618-9d274e92defe 15:53:27 [2019-05-06T12:53:27.476Z] JAVA_HOME=/docker-java-home 15:53:27 [2019-05-06T12:53:27.476Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 15:53:27 [2019-05-06T12:53:27.476Z] GIT_PREVIOUS_COMMIT=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 15:53:27 [2019-05-06T12:53:27.476Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. [Pipeline] sh 15:53:27 [2019-05-06T12:53:27.923Z] + mvn clean package 15:53:29 [2019-05-06T12:53:29.788Z] [INFO] Scanning for projects... 15:53:30 [2019-05-06T12:53:30.039Z] [INFO] 15:53:30 [2019-05-06T12:53:30.039Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 15:53:30 [2019-05-06T12:53:30.039Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 15:53:30 [2019-05-06T12:53:30.039Z] [INFO] --------------------------------[ jar ]--------------------------------- 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] Copying 4 resources 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] Copying 5 resources 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] 15:53:31 [2019-05-06T12:53:31.902Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 15:53:32 [2019-05-06T12:53:32.153Z] [INFO] Changes detected - recompiling the module! 15:53:32 [2019-05-06T12:53:32.153Z] [INFO] Compiling 38 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] Changes detected - recompiling the module! 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] 15:53:36 [2019-05-06T12:53:36.278Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 15:53:36 [2019-05-06T12:53:36.829Z] [INFO] 15:53:36 [2019-05-06T12:53:36.829Z] [INFO] ------------------------------------------------------- 15:53:36 [2019-05-06T12:53:36.829Z] [INFO] T E S T S 15:53:36 [2019-05-06T12:53:36.829Z] [INFO] ------------------------------------------------------- 15:53:37 [2019-05-06T12:53:37.380Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.436 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.443 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.455 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)] 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.509 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.539 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.549 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: class path resource [eu/yatech/hub2swarm/Hub2swarmApplicationTests-context.xml] does not exist 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.550 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: class path resource [eu/yatech/hub2swarm/Hub2swarmApplicationTestsContext.groovy] does not exist 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.550 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. 15:53:37 [2019-05-06T12:53:37.630Z] 12:53:37.552 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: Hub2swarmApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 15:53:37 [2019-05-06T12:53:37.881Z] 12:53:37.647 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:37 [2019-05-06T12:53:37.881Z] 12:53:37.751 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 15:53:37 [2019-05-06T12:53:37.881Z] 12:53:37.752 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.952 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.953 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.984 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4e50c791, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7530ad9c, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@58a9760d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@71e9ddb4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@394df057, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4961f6af, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5aebe890, org.springframework.test.context.event.EventPublishingTestExecutionListener@65d09a04, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@33c911a1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75db5df9, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@707194ba, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1190200a, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@6a2f6f80] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.988 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.990 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.992 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.993 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.994 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:37.994 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:38.001 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@5c90e579 testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@58ea606c testClass = Hub2swarmApplicationTests, locations = '{}', classes = '{class eu.yatech.hub2swarm.Hub2swarmApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@46238e3f, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4e4aea35, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@23bb8443, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@49070868], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null]. 15:53:38 [2019-05-06T12:53:38.131Z] 12:53:38.004 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.132Z] 12:53:38.005 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 15:53:38 [2019-05-06T12:53:38.132Z] 12:53:38.044 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1} 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] . ____ _ __ _ _ 15:53:38 [2019-05-06T12:53:38.382Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 15:53:38 [2019-05-06T12:53:38.382Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 15:53:38 [2019-05-06T12:53:38.382Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 15:53:38 [2019-05-06T12:53:38.382Z] ' |____| .__|_| |_|_| |_\__, | / / / / 15:53:38 [2019-05-06T12:53:38.382Z] =========|_|==============|___/=/_/_/_/ 15:53:38 [2019-05-06T12:53:38.382Z] :: Spring Boot :: (v2.2.0.M2) 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] 2019-05-06 12:53:38.329 WARN 122 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] Found multiple occurrences of org.json.JSONObject on the class path: 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] jar:file:/root/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 15:53:38 [2019-05-06T12:53:38.382Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] You may wish to exclude one of them to ensure predictable runtime behavior 15:53:38 [2019-05-06T12:53:38.382Z] 15:53:38 [2019-05-06T12:53:38.382Z] 2019-05-06 12:53:38.350 INFO 122 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 2998de9fcadd with PID 122 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 15:53:38 [2019-05-06T12:53:38.382Z] 2019-05-06 12:53:38.350 INFO 122 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 15:53:40 [2019-05-06T12:53:40.865Z] 2019-05-06 12:53:40.251 INFO 122 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 15:53:40 [2019-05-06T12:53:40.865Z] 2019-05-06 12:53:40.399 INFO 122 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 129ms. Found 5 repository interfaces. 15:53:41 [2019-05-06T12:53:41.416Z] 2019-05-06 12:53:41.260 INFO 122 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3863ff20] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 15:53:41 [2019-05-06T12:53:41.967Z] 2019-05-06 12:53:41.892 INFO 122 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 15:53:41 [2019-05-06T12:53:41.967Z] 2019-05-06 12:53:41.907 INFO 122 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 15:53:42 [2019-05-06T12:53:42.518Z] 2019-05-06 12:53:42.302 INFO 122 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 15:53:42 [2019-05-06T12:53:42.518Z] 2019-05-06 12:53:42.315 INFO 122 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 15:53:42 [2019-05-06T12:53:42.518Z] 2019-05-06 12:53:42.371 WARN 122 --- [ main] o.f.c.internal.database.base.Database : Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. 15:53:42 [2019-05-06T12:53:42.518Z] 2019-05-06 12:53:42.500 INFO 122 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 5 migrations (execution time 00:00.038s) 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.517 INFO 122 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.564 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.567 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.612 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.637 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.656 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.671 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 5 - Image Replace Policy 15:53:42 [2019-05-06T12:53:42.769Z] 2019-05-06 12:53:42.705 INFO 122 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 5 migrations to schema "PUBLIC" (execution time 00:00.191s) 15:53:43 [2019-05-06T12:53:43.320Z] 2019-05-06 12:53:43.029 INFO 122 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 15:53:43 [2019-05-06T12:53:43.320Z] 2019-05-06 12:53:43.166 INFO 122 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 15:53:43 [2019-05-06T12:53:43.570Z] 2019-05-06 12:53:43.446 INFO 122 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 15:53:43 [2019-05-06T12:53:43.821Z] 2019-05-06 12:53:43.710 INFO 122 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 15:53:45 [2019-05-06T12:53:45.164Z] 2019-05-06 12:53:45.109 INFO 122 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 15:53:45 [2019-05-06T12:53:45.164Z] 2019-05-06 12:53:45.113 INFO 122 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 15:53:46 [2019-05-06T12:53:46.508Z] 2019-05-06 12:53:46.130 WARN 122 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 15:53:47 [2019-05-06T12:53:47.419Z] 2019-05-06 12:53:47.150 INFO 122 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 15:53:47 [2019-05-06T12:53:47.419Z] 15:53:47 [2019-05-06T12:53:47.419Z] Using generated security password: 9795a5e7-dea8-4bc1-811e-1109c4216234 15:53:47 [2019-05-06T12:53:47.419Z] 15:53:47 [2019-05-06T12:53:47.670Z] 2019-05-06 12:53:47.468 INFO 122 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7e691624, org.springframework.security.web.context.SecurityContextPersistenceFilter@d180961, org.springframework.security.web.header.HeaderWriterFilter@56b751b1, org.springframework.security.web.authentication.logout.LogoutFilter@702cfbde, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@d978ab9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@77998ea7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7ef60c02, org.springframework.security.web.session.SessionManagementFilter@1d0b447b, org.springframework.security.web.access.ExceptionTranslationFilter@30133a11, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6a9df5] 15:53:48 [2019-05-06T12:53:48.581Z] 2019-05-06 12:53:48.264 INFO 122 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 15:53:49 [2019-05-06T12:53:49.924Z] 2019-05-06 12:53:49.533 INFO 122 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 15:53:49 [2019-05-06T12:53:49.924Z] 2019-05-06 12:53:49.765 INFO 122 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.707 seconds (JVM running for 12.996) 15:53:50 [2019-05-06T12:53:50.175Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.623 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 15:53:50 [2019-05-06T12:53:50.175Z] 2019-05-06 12:53:49.988 INFO 122 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 15:53:50 [2019-05-06T12:53:50.175Z] 2019-05-06 12:53:49.995 INFO 122 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 15:53:50 [2019-05-06T12:53:50.175Z] 2019-05-06 12:53:50.008 INFO 122 --- [ Thread-3] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199] 15:53:50 [2019-05-06T12:53:50.175Z] 2019-05-06 12:53:50.009 INFO 122 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 15:53:50 [2019-05-06T12:53:50.175Z] 2019-05-06 12:53:50.016 INFO 122 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] Results: 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] 15:53:50 [2019-05-06T12:53:50.426Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 15:53:50 [2019-05-06T12:53:50.976Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 15:53:50 [2019-05-06T12:53:50.976Z] [INFO] 15:53:50 [2019-05-06T12:53:50.976Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] Replacing main artifact with repackaged archive 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] ------------------------------------------------------------------------ 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] BUILD SUCCESS 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] ------------------------------------------------------------------------ 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] Total time: 22.225 s 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] Finished at: 2019-05-06T12:53:51Z 15:53:51 [2019-05-06T12:53:51.888Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 15:53:52 [2019-05-06T12:53:52.247Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:53:52 [2019-05-06T12:53:52.567Z] + set +x 15:53:52 [2019-05-06T12:53:52.567Z] Starting Docker: docker. 15:53:52 [2019-05-06T12:53:52.567Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 15:53:52 [2019-05-06T12:53:52.652Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 15:53:52 [2019-05-06T12:53:52.710Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:53:53 [2019-05-06T12:53:53.089Z] + set +x 15:53:53 [2019-05-06T12:53:53.089Z] Login as **** to Docker Repository 15:53:54 [2019-05-06T12:53:54.951Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/fd8625a6-e246-4547-8618-9d274e92defe/config.json. 15:53:54 [2019-05-06T12:53:54.951Z] Configure a credential helper to remove this warning. See 15:53:54 [2019-05-06T12:53:54.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:54 [2019-05-06T12:53:54.951Z] 15:53:54 [2019-05-06T12:53:54.951Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 15:53:55 [2019-05-06T12:53:55.048Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:53:55 [2019-05-06T12:53:55.341Z] + set +x 15:53:55 [2019-05-06T12:53:55.341Z] Building Docker Image yasys/hub2swarm with tags: [trunk] 15:53:55 [2019-05-06T12:53:55.908Z] Sending build context to Docker daemon 70.63MB 15:53:55 [2019-05-06T12:53:55.908Z] Step 1/7 : FROM java:8-jre 15:53:57 [2019-05-06T12:53:57.252Z] 8-jre: Pulling from library/java 15:53:57 [2019-05-06T12:53:57.253Z] 5040bd298390: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] fce5728aad85: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] c42794440453: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] 0c0da797ba48: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] 7c9b17433752: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] 114e02586e63: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] e4c663802e9a: Pulling fs layer 15:53:57 [2019-05-06T12:53:57.253Z] 7c9b17433752: Waiting 15:53:57 [2019-05-06T12:53:57.253Z] 114e02586e63: Waiting 15:53:57 [2019-05-06T12:53:57.253Z] e4c663802e9a: Waiting 15:53:57 [2019-05-06T12:53:57.253Z] 0c0da797ba48: Waiting 15:53:57 [2019-05-06T12:53:57.803Z] c42794440453: Verifying Checksum 15:53:57 [2019-05-06T12:53:57.803Z] c42794440453: Download complete 15:53:58 [2019-05-06T12:53:58.054Z] fce5728aad85: Verifying Checksum 15:53:58 [2019-05-06T12:53:58.054Z] fce5728aad85: Download complete 15:53:58 [2019-05-06T12:53:58.304Z] 5040bd298390: Verifying Checksum 15:53:58 [2019-05-06T12:53:58.304Z] 5040bd298390: Download complete 15:53:58 [2019-05-06T12:53:58.304Z] 0c0da797ba48: Verifying Checksum 15:53:58 [2019-05-06T12:53:58.304Z] 0c0da797ba48: Download complete 15:53:58 [2019-05-06T12:53:58.555Z] 7c9b17433752: Verifying Checksum 15:53:58 [2019-05-06T12:53:58.555Z] 7c9b17433752: Download complete 15:53:58 [2019-05-06T12:53:58.805Z] e4c663802e9a: Verifying Checksum 15:53:58 [2019-05-06T12:53:58.805Z] e4c663802e9a: Download complete 15:53:59 [2019-05-06T12:53:59.717Z] 114e02586e63: Verifying Checksum 15:53:59 [2019-05-06T12:53:59.717Z] 114e02586e63: Download complete 15:54:02 [2019-05-06T12:54:02.945Z] 5040bd298390: Pull complete 15:54:04 [2019-05-06T12:54:04.289Z] fce5728aad85: Pull complete 15:54:05 [2019-05-06T12:54:05.632Z] c42794440453: Pull complete 15:54:06 [2019-05-06T12:54:06.544Z] 0c0da797ba48: Pull complete 15:54:07 [2019-05-06T12:54:07.455Z] 7c9b17433752: Pull complete 15:54:12 [2019-05-06T12:54:12.658Z] 114e02586e63: Pull complete 15:54:14 [2019-05-06T12:54:14.574Z] e4c663802e9a: Pull complete 15:54:14 [2019-05-06T12:54:14.574Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 15:54:14 [2019-05-06T12:54:14.574Z] Status: Downloaded newer image for java:8-jre 15:54:14 [2019-05-06T12:54:14.574Z] ---> e44d62cf8862 15:54:14 [2019-05-06T12:54:14.574Z] Step 2/7 : VOLUME /tmp 15:54:17 [2019-05-06T12:54:17.058Z] ---> Running in 7716c67c1cb4 15:54:20 [2019-05-06T12:54:20.286Z] Removing intermediate container 7716c67c1cb4 15:54:20 [2019-05-06T12:54:20.286Z] ---> 9a291cbe5bc7 15:54:20 [2019-05-06T12:54:20.286Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 15:54:22 [2019-05-06T12:54:22.148Z] ---> Running in f525618dd6f6 15:54:25 [2019-05-06T12:54:25.380Z] Removing intermediate container f525618dd6f6 15:54:25 [2019-05-06T12:54:25.380Z] ---> d6a88ef51dc1 15:54:25 [2019-05-06T12:54:25.380Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 15:54:28 [2019-05-06T12:54:28.608Z] ---> a3e646b19235 15:54:28 [2019-05-06T12:54:28.608Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 15:54:31 [2019-05-06T12:54:31.842Z] ---> Running in c2b070ba157f 15:54:35 [2019-05-06T12:54:35.072Z] Removing intermediate container c2b070ba157f 15:54:35 [2019-05-06T12:54:35.072Z] ---> 5c666809d945 15:54:35 [2019-05-06T12:54:35.072Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 15:54:38 [2019-05-06T12:54:38.303Z] ---> Running in e29cf61f0f36 15:54:40 [2019-05-06T12:54:40.801Z] Removing intermediate container e29cf61f0f36 15:54:40 [2019-05-06T12:54:40.801Z] ---> f65d9247fdbf 15:54:40 [2019-05-06T12:54:40.801Z] Step 7/7 : EXPOSE 8080 15:54:43 [2019-05-06T12:54:43.290Z] ---> Running in 0af73543d2a5 15:54:46 [2019-05-06T12:54:46.255Z] Removing intermediate container 0af73543d2a5 15:54:46 [2019-05-06T12:54:46.255Z] ---> a51b286a76e4 15:54:46 [2019-05-06T12:54:46.255Z] Successfully built a51b286a76e4 15:54:46 [2019-05-06T12:54:46.255Z] Successfully tagged yasys/hub2swarm:trunk 15:54:46 [2019-05-06T12:54:46.255Z] Docker image yasys/hub2swarm:[trunk] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 15:54:46 [2019-05-06T12:54:46.314Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:54:46 [2019-05-06T12:54:46.605Z] + set +x 15:54:46 [2019-05-06T12:54:46.605Z] Push yasys/hub2swarm to Docker Repository 15:54:46 [2019-05-06T12:54:46.856Z] The push refers to repository [docker.io/yasys/hub2swarm] 15:54:47 [2019-05-06T12:54:47.106Z] a7946dc70b3d: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 9e60a94f1aa0: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 73ad47d4bc12: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] c22c27816361: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 04dba64afa87: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 500ca2ff7d52: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 782d5215f910: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 0eb22bfb707d: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] a2ae92ffcd29: Preparing 15:54:47 [2019-05-06T12:54:47.106Z] 500ca2ff7d52: Waiting 15:54:47 [2019-05-06T12:54:47.106Z] 782d5215f910: Waiting 15:54:47 [2019-05-06T12:54:47.106Z] 0eb22bfb707d: Waiting 15:54:47 [2019-05-06T12:54:47.106Z] a2ae92ffcd29: Waiting 15:54:48 [2019-05-06T12:54:48.018Z] c22c27816361: Layer already exists 15:54:48 [2019-05-06T12:54:48.018Z] 73ad47d4bc12: Layer already exists 15:54:48 [2019-05-06T12:54:48.018Z] 04dba64afa87: Layer already exists 15:54:48 [2019-05-06T12:54:48.569Z] 500ca2ff7d52: Layer already exists 15:54:48 [2019-05-06T12:54:48.569Z] 782d5215f910: Layer already exists 15:54:48 [2019-05-06T12:54:48.569Z] 0eb22bfb707d: Layer already exists 15:54:49 [2019-05-06T12:54:49.119Z] a2ae92ffcd29: Layer already exists 15:54:57 [2019-05-06T12:54:57.146Z] a7946dc70b3d: Pushed 15:54:59 [2019-05-06T12:54:59.629Z] 9e60a94f1aa0: Pushed 15:55:03 [2019-05-06T12:55:03.752Z] trunk: digest: sha256:ac4742324954c08175f68d891cb9e79f73a00d497fe9e674de969d660febba28 size: 2211 15:55:03 [2019-05-06T12:55:03.752Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 15:55:03 [2019-05-06T12:55:03.806Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 15:55:04 [2019-05-06T12:55:04.132Z] + set +x 15:55:04 [2019-05-06T12:55:04.132Z] Moikka kyberorg! 15:55:04 [2019-05-06T12:55:04.132Z] Here is Docker Summary: 15:55:04 [2019-05-06T12:55:04.132Z] Images built and pushed: 1 15:55:04 [2019-05-06T12:55:04.132Z] [ 15:55:04 [2019-05-06T12:55:04.132Z] yasys/hub2swarm:trunk 15:55:04 [2019-05-06T12:55:04.132Z] ] 15:55:04 [2019-05-06T12:55:04.132Z] 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 15:55:04 [2019-05-06T12:55:04.293Z] One way or another, I have finished. Tsau! [Pipeline] sh 15:55:04 [2019-05-06T12:55:04.582Z] + set +x 15:55:04 [2019-05-06T12:55:04.582Z] Making workspace writable for correct cleanup 15:55:04 [2019-05-06T12:55:04.582Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 15:55:04 [2019-05-06T12:55:04.721Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 2998de9fcaddb3fb78da259ddd91cfe62b15d057f75eeda4cb0822f43a3493ae $ docker rm -f 2998de9fcaddb3fb78da259ddd91cfe62b15d057f75eeda4cb0822f43a3493ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS