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/5-do-stack-update, 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 5c3f0f0baa11063893b0bd616bce7c3f0d246f05 (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 5c3f0f0baa11063893b0bd616bce7c3f0d246f05 # timeout=10 Commit message: "API fix" > /usr/bin/git rev-list --no-walk 1c74edb90df383b7df51ffade904bcbbfbda940e # 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/5-do-stack-update, 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/5-do-stack-update, since it originates from another repository 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 4 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 5c3f0f0baa11063893b0bd616bce7c3f0d246f05 (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 5c3f0f0baa11063893b0bd616bce7c3f0d246f05 # timeout=10 Commit message: "API fix" [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/17afacb2-a8d1-4f44-b6f4-fecc54b607c3/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 76aee592fde8fc1ee12212dfa65da6afc25abdec8d52c53ec937d52bd58685cd -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 11:21:30 [2019-05-06T08:21:30.448Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:21:30 [2019-05-06T08:21:30.743Z] + set +x 11:21:30 [2019-05-06T08:21:30.743Z] [Runner info] 11:21:30 [2019-05-06T08:21:30.743Z] Hostname: 76aee592fde8 11:21:30 [2019-05-06T08:21:30.743Z] Network Status: Host Online 11:21:30 [2019-05-06T08:21:30.743Z] 11:21:30 [2019-05-06T08:21:30.743Z] === Tools info === 11:21:30 [2019-05-06T08:21:30.995Z] Docker version: Docker version 18.09.5, build e8ff056dbc 11:21:30 [2019-05-06T08:21:30.995Z] 11:21:30 [2019-05-06T08:21:30.995Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 11:21:30 [2019-05-06T08:21:30.995Z] Maven home: /opt/mvn 11:21:30 [2019-05-06T08:21:30.995Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 11:21:30 [2019-05-06T08:21:30.995Z] Default locale: en, platform encoding: UTF-8 11:21:30 [2019-05-06T08:21:30.995Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 11:21:30 [2019-05-06T08:21:30.995Z] 11:21:30 [2019-05-06T08:21:30.995Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 11:21:31 [2019-05-06T08:21:31.083Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:21:31 [2019-05-06T08:21:31.387Z] + set +x 11:21:31 [2019-05-06T08:21:31.387Z] [Build info] 11:21:31 [2019-05-06T08:21:31.387Z] ===== Git info ===== 11:21:31 [2019-05-06T08:21:31.387Z] Git branch: 5-do-stack-update 11:21:31 [2019-05-06T08:21:31.387Z] Git commit: 5c3f0f0baa11063893b0bd616bce7c3f0d246f05 11:21:31 [2019-05-06T08:21:31.387Z] Git tag: - 11:21:31 [2019-05-06T08:21:31.387Z] 11:21:31 [2019-05-06T08:21:31.387Z] ===== Jenkins info ===== 11:21:31 [2019-05-06T08:21:31.387Z] Jenkins Job #80 11:21:31 [2019-05-06T08:21:31.387Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/80/ 11:21:31 [2019-05-06T08:21:31.387Z] Jenkins Tag: jenkins-Hub2Swarm-80 11:21:31 [2019-05-06T08:21:31.387Z] 11:21:31 [2019-05-06T08:21:31.387Z] ===== Job Params ===== 11:21:31 [2019-05-06T08:21:31.387Z] 11:21:31 [2019-05-06T08:21:31.387Z] dockerRepo=yasys/hub2swarm 11:21:31 [2019-05-06T08:21:31.387Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7e00400a 11:21:31 [2019-05-06T08:21:31.387Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@40cfede7 11:21:31 [2019-05-06T08:21:31.387Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7e00400a 11:21:31 [2019-05-06T08:21:31.387Z] hubUrl=https://cloud.docker.com/repository/docker 11:21:31 [2019-05-06T08:21:31.387Z] useDebugTag=false 11:21:31 [2019-05-06T08:21:31.387Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 11:21:31 [2019-05-06T08:21:31.387Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7e00400a 11:21:31 [2019-05-06T08:21:31.387Z] stepTimeout=5 11:21:31 [2019-05-06T08:21:31.387Z] hubCredentialsId=docker-hub 11:21:31 [2019-05-06T08:21:31.387Z] class=class ee.yadev.pipe.commonpipe.Params 11:21:31 [2019-05-06T08:21:31.387Z] skipMavenTests=true 11:21:31 [2019-05-06T08:21:31.387Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 11:21:31 [2019-05-06T08:21:31.387Z] verbose=false 11:21:31 [2019-05-06T08:21:31.387Z] mavenTestsTimeout=5 11:21:31 [2019-05-06T08:21:31.387Z] pipelineTimeout=15 11:21:31 [2019-05-06T08:21:31.387Z] hubUser=kyberorg 11:21:31 [2019-05-06T08:21:31.387Z] 11:21:31 [2019-05-06T08:21:31.387Z] ==== Environment Variables ===== 11:21:31 [2019-05-06T08:21:31.387Z] GIT_COMMITTER_NAME=Jenkins CI 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 11:21:31 [2019-05-06T08:21:31.387Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=1c74edb90df383b7df51ffade904bcbbfbda940e 11:21:31 [2019-05-06T08:21:31.387Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 11:21:31 [2019-05-06T08:21:31.387Z] HOSTNAME=76aee592fde8 11:21:31 [2019-05-06T08:21:31.387Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/80/display/redirect?page=changes 11:21:31 [2019-05-06T08:21:31.387Z] gitlabAfter=5c3f0f0baa11063893b0bd616bce7c3f0d246f05 11:21:31 [2019-05-06T08:21:31.387Z] HUDSON_URL=https://ci.yadev.eu/ 11:21:31 [2019-05-06T08:21:31.387Z] GIT_COMMIT=5c3f0f0baa11063893b0bd616bce7c3f0d246f05 11:21:31 [2019-05-06T08:21:31.387Z] NODE_LABELS=master 11:21:31 [2019-05-06T08:21:31.387Z] HOME=/root 11:21:31 [2019-05-06T08:21:31.387Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/80/ 11:21:31 [2019-05-06T08:21:31.387Z] GIT_AUTHOR_NAME=Jenkins CI 11:21:31 [2019-05-06T08:21:31.387Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 11:21:31 [2019-05-06T08:21:31.387Z] gitlabTargetBranch=5-do-stack-update 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 11:21:31 [2019-05-06T08:21:31.387Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 11:21:31 [2019-05-06T08:21:31.387Z] gitlabMergeRequestLastCommit=5c3f0f0baa11063893b0bd616bce7c3f0d246f05 11:21:31 [2019-05-06T08:21:31.387Z] JAVA_VERSION=8u212 11:21:31 [2019-05-06T08:21:31.387Z] NODE_NAME=master 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 11:21:31 [2019-05-06T08:21:31.387Z] EXECUTOR_NUMBER=1 11:21:31 [2019-05-06T08:21:31.387Z] GIT_BRANCH=origin/5-do-stack-update 11:21:31 [2019-05-06T08:21:31.387Z] STAGE_NAME=Execution info 11:21:31 [2019-05-06T08:21:31.387Z] gitlabBranch=5-do-stack-update 11:21:31 [2019-05-06T08:21:31.387Z] gitlabUserEmail=kyberorg@yadev.eu 11:21:31 [2019-05-06T08:21:31.387Z] BUILD_DISPLAY_NAME=#80 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceBranch=5-do-stack-update 11:21:31 [2019-05-06T08:21:31.387Z] HUDSON_HOME=/var/lib/jenkins 11:21:31 [2019-05-06T08:21:31.387Z] JOB_BASE_NAME=Hub2Swarm 11:21:31 [2019-05-06T08:21:31.387Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 11:21:31 [2019-05-06T08:21:31.387Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 11:21:31 [2019-05-06T08:21:31.387Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 11:21:31 [2019-05-06T08:21:31.387Z] BUILD_ID=80 11:21:31 [2019-05-06T08:21:31.387Z] BUILDING_FOR=kyberorg 11:21:31 [2019-05-06T08:21:31.387Z] BUILD_TAG=jenkins-Hub2Swarm-80 11:21:31 [2019-05-06T08:21:31.387Z] gitlabActionType=PUSH 11:21:31 [2019-05-06T08:21:31.387Z] gitlabBefore=1c74edb90df383b7df51ffade904bcbbfbda940e 11:21:31 [2019-05-06T08:21:31.387Z] JENKINS_URL=https://ci.yadev.eu/ 11:21:31 [2019-05-06T08:21:31.387Z] LANG=C.UTF-8 11:21:31 [2019-05-06T08:21:31.387Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 11:21:31 [2019-05-06T08:21:31.387Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceRepoName=Hub2Swarm 11:21:31 [2019-05-06T08:21:31.387Z] BUILD_NUMBER=80 11:21:31 [2019-05-06T08:21:31.387Z] gitlabSourceNamespace=Yet another Systems 11:21:31 [2019-05-06T08:21:31.387Z] JENKINS_NODE_COOKIE=4129d3d5-1f38-470e-9752-ccd80e96cfad 11:21:31 [2019-05-06T08:21:31.387Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/80/display/redirect 11:21:31 [2019-05-06T08:21:31.387Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 11:21:31 [2019-05-06T08:21:31.387Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 11:21:31 [2019-05-06T08:21:31.387Z] CLASSPATH= 11:21:31 [2019-05-06T08:21:31.387Z] JOB_NAME=Hub2Swarm 11:21:31 [2019-05-06T08:21:31.387Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 11:21:31 [2019-05-06T08:21:31.387Z] gitlabUserName=Alex Muravya 11:21:31 [2019-05-06T08:21:31.387Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/17afacb2-a8d1-4f44-b6f4-fecc54b607c3 11:21:31 [2019-05-06T08:21:31.387Z] JAVA_HOME=/docker-java-home 11:21:31 [2019-05-06T08:21:31.387Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 11:21:31 [2019-05-06T08:21:31.387Z] GIT_PREVIOUS_COMMIT=1c74edb90df383b7df51ffade904bcbbfbda940e 11:21:31 [2019-05-06T08:21:31.387Z] 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 11:21:31 [2019-05-06T08:21:31.813Z] + mvn clean package 11:21:33 [2019-05-06T08:21:33.679Z] [INFO] Scanning for projects... 11:21:33 [2019-05-06T08:21:33.679Z] [INFO] 11:21:33 [2019-05-06T08:21:33.679Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 11:21:33 [2019-05-06T08:21:33.679Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 11:21:33 [2019-05-06T08:21:33.679Z] [INFO] --------------------------------[ jar ]--------------------------------- 11:21:35 [2019-05-06T08:21:35.542Z] [INFO] 11:21:35 [2019-05-06T08:21:35.542Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 11:21:35 [2019-05-06T08:21:35.542Z] [INFO] 11:21:35 [2019-05-06T08:21:35.542Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] Copying 4 resources 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] Copying 4 resources 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] Changes detected - recompiling the module! 11:21:35 [2019-05-06T08:21:35.793Z] [INFO] Compiling 37 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] Changes detected - recompiling the module! 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] 11:21:39 [2019-05-06T08:21:39.920Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 11:21:40 [2019-05-06T08:21:40.472Z] [INFO] 11:21:40 [2019-05-06T08:21:40.472Z] [INFO] ------------------------------------------------------- 11:21:40 [2019-05-06T08:21:40.472Z] [INFO] T E S T S 11:21:40 [2019-05-06T08:21:40.472Z] [INFO] ------------------------------------------------------- 11:21:41 [2019-05-06T08:21:41.023Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 11:21:41 [2019-05-06T08:21:41.273Z] 08:21:41.131 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:41 [2019-05-06T08:21:41.273Z] 08:21:41.140 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 11:21:41 [2019-05-06T08:21:41.273Z] 08:21:41.158 [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)] 11:21:41 [2019-05-06T08:21:41.273Z] 08:21:41.237 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.281 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.328 [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 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.330 [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 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.333 [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}. 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.336 [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. 11:21:41 [2019-05-06T08:21:41.524Z] 08:21:41.476 [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] 11:21:41 [2019-05-06T08:21:41.775Z] 08:21:41.714 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 11:21:41 [2019-05-06T08:21:41.775Z] 08:21:41.715 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.877 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.878 [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] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.906 [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] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.909 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.911 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.913 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.914 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.915 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.915 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.921 [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]. 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.924 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.925 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 11:21:42 [2019-05-06T08:21:42.025Z] 08:21:41.965 [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} 11:21:42 [2019-05-06T08:21:42.276Z] 11:21:42 [2019-05-06T08:21:42.276Z] . ____ _ __ _ _ 11:21:42 [2019-05-06T08:21:42.276Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 11:21:42 [2019-05-06T08:21:42.276Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 11:21:42 [2019-05-06T08:21:42.276Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 11:21:42 [2019-05-06T08:21:42.276Z] ' |____| .__|_| |_|_| |_\__, | / / / / 11:21:42 [2019-05-06T08:21:42.276Z] =========|_|==============|___/=/_/_/_/ 11:21:42 [2019-05-06T08:21:42.276Z] :: Spring Boot :: (v2.2.0.M2) 11:21:42 [2019-05-06T08:21:42.276Z] 11:21:42 [2019-05-06T08:21:42.526Z] 2019-05-06 08:21:42.332 WARN 119 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 11:21:42 [2019-05-06T08:21:42.526Z] 11:21:42 [2019-05-06T08:21:42.526Z] Found multiple occurrences of org.json.JSONObject on the class path: 11:21:42 [2019-05-06T08:21:42.526Z] 11:21:42 [2019-05-06T08:21:42.526Z] 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 11:21:42 [2019-05-06T08:21:42.526Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 11:21:42 [2019-05-06T08:21:42.526Z] 11:21:42 [2019-05-06T08:21:42.526Z] You may wish to exclude one of them to ensure predictable runtime behavior 11:21:42 [2019-05-06T08:21:42.526Z] 11:21:42 [2019-05-06T08:21:42.526Z] 2019-05-06 08:21:42.353 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 76aee592fde8 with PID 119 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 11:21:42 [2019-05-06T08:21:42.526Z] 2019-05-06 08:21:42.354 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 11:21:44 [2019-05-06T08:21:44.388Z] 2019-05-06 08:21:44.079 INFO 119 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 11:21:44 [2019-05-06T08:21:44.388Z] 2019-05-06 08:21:44.240 INFO 119 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 147ms. Found 5 repository interfaces. 11:21:45 [2019-05-06T08:21:45.299Z] 2019-05-06 08:21:44.961 INFO 119 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3cb307c3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 11:21:45 [2019-05-06T08:21:45.850Z] 2019-05-06 08:21:45.634 INFO 119 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 11:21:45 [2019-05-06T08:21:45.850Z] 2019-05-06 08:21:45.649 INFO 119 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 11:21:46 [2019-05-06T08:21:46.101Z] 2019-05-06 08:21:46.014 INFO 119 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 11:21:46 [2019-05-06T08:21:46.101Z] 2019-05-06 08:21:46.025 INFO 119 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.109 WARN 119 --- [ 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. 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.222 INFO 119 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 4 migrations (execution time 00:00.027s) 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.237 INFO 119 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.274 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.276 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.303 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.320 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.332 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 11:21:46 [2019-05-06T08:21:46.352Z] 2019-05-06 08:21:46.343 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 4 migrations to schema "PUBLIC" (execution time 00:00.110s) 11:21:46 [2019-05-06T08:21:46.903Z] 2019-05-06 08:21:46.608 INFO 119 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 11:21:46 [2019-05-06T08:21:46.903Z] 2019-05-06 08:21:46.757 INFO 119 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 11:21:47 [2019-05-06T08:21:47.153Z] 2019-05-06 08:21:47.084 INFO 119 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 11:21:47 [2019-05-06T08:21:47.404Z] 2019-05-06 08:21:47.363 INFO 119 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 11:21:48 [2019-05-06T08:21:48.747Z] 2019-05-06 08:21:48.612 INFO 119 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 11:21:48 [2019-05-06T08:21:48.748Z] 2019-05-06 08:21:48.616 INFO 119 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 11:21:50 [2019-05-06T08:21:50.091Z] 2019-05-06 08:21:49.735 WARN 119 --- [ 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 11:21:51 [2019-05-06T08:21:51.002Z] 2019-05-06 08:21:50.684 INFO 119 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 11:21:51 [2019-05-06T08:21:51.002Z] 11:21:51 [2019-05-06T08:21:51.002Z] Using generated security password: af71c838-158b-4ccc-a334-e93793df4893 11:21:51 [2019-05-06T08:21:51.002Z] 11:21:51 [2019-05-06T08:21:51.253Z] 2019-05-06 08:21:51.003 INFO 119 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4cadd4d4, org.springframework.security.web.context.SecurityContextPersistenceFilter@64544ee4, org.springframework.security.web.header.HeaderWriterFilter@398694a6, org.springframework.security.web.authentication.logout.LogoutFilter@3639b04, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@18692e80, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@539ee811, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7538cfe6, org.springframework.security.web.session.SessionManagementFilter@5c25daad, org.springframework.security.web.access.ExceptionTranslationFilter@32e7b78d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3eb0fd88] 11:21:51 [2019-05-06T08:21:51.804Z] 2019-05-06 08:21:51.711 INFO 119 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 11:21:53 [2019-05-06T08:21:53.147Z] 2019-05-06 08:21:52.904 INFO 119 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 11:21:53 [2019-05-06T08:21:53.147Z] 2019-05-06 08:21:53.108 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.129 seconds (JVM running for 12.715) 11:21:53 [2019-05-06T08:21:53.398Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.356 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 11:21:53 [2019-05-06T08:21:53.398Z] 2019-05-06 08:21:53.332 INFO 119 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 11:21:53 [2019-05-06T08:21:53.398Z] 2019-05-06 08:21:53.337 INFO 119 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 11:21:53 [2019-05-06T08:21:53.398Z] 2019-05-06 08:21:53.345 INFO 119 --- [ 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] 11:21:53 [2019-05-06T08:21:53.398Z] 2019-05-06 08:21:53.346 INFO 119 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 11:21:53 [2019-05-06T08:21:53.398Z] 2019-05-06 08:21:53.351 INFO 119 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] Results: 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 11:21:53 [2019-05-06T08:21:53.949Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 11:21:54 [2019-05-06T08:21:54.200Z] [INFO] 11:21:54 [2019-05-06T08:21:54.200Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 11:21:54 [2019-05-06T08:21:54.750Z] [INFO] Replacing main artifact with repackaged archive 11:21:54 [2019-05-06T08:21:54.750Z] [INFO] ------------------------------------------------------------------------ 11:21:54 [2019-05-06T08:21:54.750Z] [INFO] BUILD SUCCESS 11:21:54 [2019-05-06T08:21:54.750Z] [INFO] ------------------------------------------------------------------------ 11:21:54 [2019-05-06T08:21:54.750Z] [INFO] Total time: 21.517 s 11:21:54 [2019-05-06T08:21:54.751Z] [INFO] Finished at: 2019-05-06T08:21:54Z 11:21:54 [2019-05-06T08:21:54.751Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 11:21:55 [2019-05-06T08:21:55.214Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:21:55 [2019-05-06T08:21:55.506Z] + set +x 11:21:55 [2019-05-06T08:21:55.506Z] Starting Docker: docker. 11:21:55 [2019-05-06T08:21:55.506Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 11:21:55 [2019-05-06T08:21:55.555Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 11:21:55 [2019-05-06T08:21:55.609Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:21:55 [2019-05-06T08:21:55.897Z] + set +x 11:21:55 [2019-05-06T08:21:55.897Z] Login as **** to Docker Repository 11:21:57 [2019-05-06T08:21:57.759Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/17afacb2-a8d1-4f44-b6f4-fecc54b607c3/config.json. 11:21:57 [2019-05-06T08:21:57.759Z] Configure a credential helper to remove this warning. See 11:21:57 [2019-05-06T08:21:57.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:57 [2019-05-06T08:21:57.759Z] 11:21:57 [2019-05-06T08:21:57.759Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 11:21:57 [2019-05-06T08:21:57.868Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:21:58 [2019-05-06T08:21:58.162Z] + set +x 11:21:58 [2019-05-06T08:21:58.162Z] Building Docker Image yasys/hub2swarm with tags: [5-do-stack-update-latest] 11:21:59 [2019-05-06T08:21:59.073Z] Sending build context to Docker daemon 70.61MB 11:21:59 [2019-05-06T08:21:59.073Z] Step 1/7 : FROM java:8-jre 11:22:00 [2019-05-06T08:22:00.417Z] 8-jre: Pulling from library/java 11:22:00 [2019-05-06T08:22:00.417Z] 5040bd298390: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] fce5728aad85: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] c42794440453: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] 0c0da797ba48: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] 7c9b17433752: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] 114e02586e63: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] e4c663802e9a: Pulling fs layer 11:22:00 [2019-05-06T08:22:00.417Z] 7c9b17433752: Waiting 11:22:00 [2019-05-06T08:22:00.417Z] 114e02586e63: Waiting 11:22:00 [2019-05-06T08:22:00.417Z] 0c0da797ba48: Waiting 11:22:00 [2019-05-06T08:22:00.417Z] e4c663802e9a: Waiting 11:22:00 [2019-05-06T08:22:00.667Z] c42794440453: Verifying Checksum 11:22:00 [2019-05-06T08:22:00.667Z] c42794440453: Download complete 11:22:00 [2019-05-06T08:22:00.918Z] fce5728aad85: Verifying Checksum 11:22:00 [2019-05-06T08:22:00.918Z] fce5728aad85: Download complete 11:22:01 [2019-05-06T08:22:01.168Z] 5040bd298390: Verifying Checksum 11:22:01 [2019-05-06T08:22:01.168Z] 5040bd298390: Download complete 11:22:01 [2019-05-06T08:22:01.168Z] 0c0da797ba48: Verifying Checksum 11:22:01 [2019-05-06T08:22:01.168Z] 0c0da797ba48: Download complete 11:22:01 [2019-05-06T08:22:01.419Z] 7c9b17433752: Verifying Checksum 11:22:01 [2019-05-06T08:22:01.419Z] 7c9b17433752: Download complete 11:22:01 [2019-05-06T08:22:01.669Z] e4c663802e9a: Download complete 11:22:02 [2019-05-06T08:22:02.221Z] 114e02586e63: Verifying Checksum 11:22:02 [2019-05-06T08:22:02.221Z] 114e02586e63: Download complete 11:22:05 [2019-05-06T08:22:05.450Z] 5040bd298390: Pull complete 11:22:07 [2019-05-06T08:22:07.311Z] fce5728aad85: Pull complete 11:22:08 [2019-05-06T08:22:08.223Z] c42794440453: Pull complete 11:22:09 [2019-05-06T08:22:09.134Z] 0c0da797ba48: Pull complete 11:22:10 [2019-05-06T08:22:10.045Z] 7c9b17433752: Pull complete 11:22:16 [2019-05-06T08:22:16.278Z] 114e02586e63: Pull complete 11:22:17 [2019-05-06T08:22:17.621Z] e4c663802e9a: Pull complete 11:22:17 [2019-05-06T08:22:17.621Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 11:22:17 [2019-05-06T08:22:17.621Z] Status: Downloaded newer image for java:8-jre 11:22:17 [2019-05-06T08:22:17.621Z] ---> e44d62cf8862 11:22:17 [2019-05-06T08:22:17.621Z] Step 2/7 : VOLUME /tmp 11:22:20 [2019-05-06T08:22:20.104Z] ---> Running in b993d6b6e020 11:22:24 [2019-05-06T08:22:24.228Z] Removing intermediate container b993d6b6e020 11:22:24 [2019-05-06T08:22:24.228Z] ---> a6d268e009eb 11:22:24 [2019-05-06T08:22:24.228Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 11:22:26 [2019-05-06T08:22:26.090Z] ---> Running in 51b521103268 11:22:28 [2019-05-06T08:22:28.574Z] Removing intermediate container 51b521103268 11:22:28 [2019-05-06T08:22:28.574Z] ---> d4eeb647151c 11:22:28 [2019-05-06T08:22:28.574Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 11:22:31 [2019-05-06T08:22:31.803Z] ---> 94cee45e25bf 11:22:31 [2019-05-06T08:22:31.803Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 11:22:34 [2019-05-06T08:22:34.291Z] ---> Running in f3c448908af8 11:22:38 [2019-05-06T08:22:38.414Z] Removing intermediate container f3c448908af8 11:22:38 [2019-05-06T08:22:38.414Z] ---> 522768f69099 11:22:38 [2019-05-06T08:22:38.414Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 11:22:40 [2019-05-06T08:22:40.898Z] ---> Running in 530ab0e3c546 11:22:44 [2019-05-06T08:22:44.128Z] Removing intermediate container 530ab0e3c546 11:22:44 [2019-05-06T08:22:44.128Z] ---> 80b2e810a266 11:22:44 [2019-05-06T08:22:44.128Z] Step 7/7 : EXPOSE 8080 11:22:45 [2019-05-06T08:22:45.990Z] ---> Running in a4e87a16fe4e 11:22:49 [2019-05-06T08:22:49.219Z] Removing intermediate container a4e87a16fe4e 11:22:49 [2019-05-06T08:22:49.219Z] ---> 90b6bcc19ce0 11:22:49 [2019-05-06T08:22:49.219Z] Successfully built 90b6bcc19ce0 11:22:49 [2019-05-06T08:22:49.219Z] Successfully tagged yasys/hub2swarm:5-do-stack-update-latest 11:22:49 [2019-05-06T08:22:49.219Z] Docker image yasys/hub2swarm:[5-do-stack-update-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 11:22:49 [2019-05-06T08:22:49.288Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:22:49 [2019-05-06T08:22:49.593Z] + set +x 11:22:49 [2019-05-06T08:22:49.593Z] Push yasys/hub2swarm to Docker Repository 11:22:49 [2019-05-06T08:22:49.844Z] The push refers to repository [docker.io/yasys/hub2swarm] 11:22:50 [2019-05-06T08:22:50.094Z] 18244d1e2a60: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 4085810acac5: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 73ad47d4bc12: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] c22c27816361: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 04dba64afa87: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 500ca2ff7d52: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 782d5215f910: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 0eb22bfb707d: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] a2ae92ffcd29: Preparing 11:22:50 [2019-05-06T08:22:50.095Z] 500ca2ff7d52: Waiting 11:22:50 [2019-05-06T08:22:50.095Z] 782d5215f910: Waiting 11:22:50 [2019-05-06T08:22:50.095Z] 0eb22bfb707d: Waiting 11:22:50 [2019-05-06T08:22:50.095Z] a2ae92ffcd29: Waiting 11:22:51 [2019-05-06T08:22:51.006Z] 04dba64afa87: Layer already exists 11:22:51 [2019-05-06T08:22:51.006Z] 73ad47d4bc12: Layer already exists 11:22:51 [2019-05-06T08:22:51.006Z] c22c27816361: Layer already exists 11:22:51 [2019-05-06T08:22:51.557Z] 0eb22bfb707d: Layer already exists 11:22:51 [2019-05-06T08:22:51.557Z] 500ca2ff7d52: Layer already exists 11:22:51 [2019-05-06T08:22:51.807Z] 782d5215f910: Layer already exists 11:22:52 [2019-05-06T08:22:52.058Z] a2ae92ffcd29: Layer already exists 11:23:01 [2019-05-06T08:23:01.938Z] 4085810acac5: Pushed 11:23:01 [2019-05-06T08:23:01.938Z] 18244d1e2a60: Pushed 11:23:05 [2019-05-06T08:23:05.166Z] 5-do-stack-update-latest: digest: sha256:2696bddc7314891b088672aead8c7e2a006d40f246ba77de80ac81142da7bf2e size: 2211 11:23:05 [2019-05-06T08:23:05.166Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 11:23:05 [2019-05-06T08:23:05.238Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:23:05 [2019-05-06T08:23:05.531Z] + set +x 11:23:05 [2019-05-06T08:23:05.531Z] Moikka kyberorg! 11:23:05 [2019-05-06T08:23:05.532Z] Here is Docker Summary: 11:23:05 [2019-05-06T08:23:05.532Z] Images built and pushed: 1 11:23:05 [2019-05-06T08:23:05.532Z] [ 11:23:05 [2019-05-06T08:23:05.532Z] yasys/hub2swarm:5-do-stack-update-latest 11:23:05 [2019-05-06T08:23:05.532Z] ] 11:23:05 [2019-05-06T08:23:05.532Z] 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 11:23:05 [2019-05-06T08:23:05.664Z] One way or another, I have finished. Tsau! [Pipeline] sh 11:23:05 [2019-05-06T08:23:05.947Z] + set +x 11:23:05 [2019-05-06T08:23:05.947Z] Making workspace writable for correct cleanup 11:23:05 [2019-05-06T08:23:05.947Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 11:23:06 [2019-05-06T08:23:06.022Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 76aee592fde8fc1ee12212dfa65da6afc25abdec8d52c53ec937d52bd58685cd $ docker rm -f 76aee592fde8fc1ee12212dfa65da6afc25abdec8d52c53ec937d52bd58685cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS