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 15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 # timeout=10 Commit message: "Shooting into leg" > /usr/bin/git rev-list --no-walk bc3d48657c81a7b75f2babe066b3fed21cc03c68 # 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 15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 # timeout=10 Commit message: "Shooting into leg" [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/c9c1a5c4-1bc1-4754-a3b3-2d1b3a265374/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 298aed884d150d7a2b719b7314aa1f6008fe7bcc008694e4f937d743c10ff164 -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 12:52:24 [2019-05-06T09:52:24.112Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:52:24 [2019-05-06T09:52:24.414Z] + set +x 12:52:24 [2019-05-06T09:52:24.414Z] [Runner info] 12:52:24 [2019-05-06T09:52:24.414Z] Hostname: 298aed884d15 12:52:24 [2019-05-06T09:52:24.674Z] Network Status: Host Online 12:52:24 [2019-05-06T09:52:24.674Z] 12:52:24 [2019-05-06T09:52:24.674Z] === Tools info === 12:52:24 [2019-05-06T09:52:24.925Z] Docker version: Docker version 18.09.5, build e8ff056dbc 12:52:24 [2019-05-06T09:52:24.925Z] 12:52:24 [2019-05-06T09:52:24.925Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 12:52:24 [2019-05-06T09:52:24.925Z] Maven home: /opt/mvn 12:52:24 [2019-05-06T09:52:24.925Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 12:52:24 [2019-05-06T09:52:24.925Z] Default locale: en, platform encoding: UTF-8 12:52:24 [2019-05-06T09:52:24.925Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 12:52:24 [2019-05-06T09:52:24.925Z] 12:52:24 [2019-05-06T09:52:24.925Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 12:52:25 [2019-05-06T09:52:25.002Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:52:25 [2019-05-06T09:52:25.294Z] + set +x 12:52:25 [2019-05-06T09:52:25.294Z] [Build info] 12:52:25 [2019-05-06T09:52:25.294Z] ===== Git info ===== 12:52:25 [2019-05-06T09:52:25.294Z] Git branch: 5-do-stack-update 12:52:25 [2019-05-06T09:52:25.294Z] Git commit: 15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 12:52:25 [2019-05-06T09:52:25.294Z] Git tag: - 12:52:25 [2019-05-06T09:52:25.294Z] 12:52:25 [2019-05-06T09:52:25.294Z] ===== Jenkins info ===== 12:52:25 [2019-05-06T09:52:25.294Z] Jenkins Job #84 12:52:25 [2019-05-06T09:52:25.294Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/84/ 12:52:25 [2019-05-06T09:52:25.294Z] Jenkins Tag: jenkins-Hub2Swarm-84 12:52:25 [2019-05-06T09:52:25.294Z] 12:52:25 [2019-05-06T09:52:25.294Z] ===== Job Params ===== 12:52:25 [2019-05-06T09:52:25.294Z] 12:52:25 [2019-05-06T09:52:25.294Z] dockerRepo=yasys/hub2swarm 12:52:25 [2019-05-06T09:52:25.294Z] dockerStep=ee.yadev.pipe.commonpipe.Default@64e3b3d3 12:52:25 [2019-05-06T09:52:25.294Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@159bf167 12:52:25 [2019-05-06T09:52:25.294Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@64e3b3d3 12:52:25 [2019-05-06T09:52:25.294Z] hubUrl=https://cloud.docker.com/repository/docker 12:52:25 [2019-05-06T09:52:25.294Z] useDebugTag=false 12:52:25 [2019-05-06T09:52:25.294Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 12:52:25 [2019-05-06T09:52:25.294Z] preparationStep=ee.yadev.pipe.commonpipe.Default@64e3b3d3 12:52:25 [2019-05-06T09:52:25.294Z] stepTimeout=5 12:52:25 [2019-05-06T09:52:25.294Z] hubCredentialsId=docker-hub 12:52:25 [2019-05-06T09:52:25.294Z] class=class ee.yadev.pipe.commonpipe.Params 12:52:25 [2019-05-06T09:52:25.294Z] skipMavenTests=true 12:52:25 [2019-05-06T09:52:25.294Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 12:52:25 [2019-05-06T09:52:25.294Z] verbose=false 12:52:25 [2019-05-06T09:52:25.294Z] mavenTestsTimeout=5 12:52:25 [2019-05-06T09:52:25.294Z] pipelineTimeout=15 12:52:25 [2019-05-06T09:52:25.294Z] hubUser=kyberorg 12:52:25 [2019-05-06T09:52:25.294Z] 12:52:25 [2019-05-06T09:52:25.294Z] ==== Environment Variables ===== 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 12:52:25 [2019-05-06T09:52:25.294Z] GIT_COMMITTER_NAME=Jenkins CI 12:52:25 [2019-05-06T09:52:25.294Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=bc3d48657c81a7b75f2babe066b3fed21cc03c68 12:52:25 [2019-05-06T09:52:25.294Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 12:52:25 [2019-05-06T09:52:25.294Z] HOSTNAME=298aed884d15 12:52:25 [2019-05-06T09:52:25.294Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/84/display/redirect?page=changes 12:52:25 [2019-05-06T09:52:25.294Z] gitlabAfter=15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 12:52:25 [2019-05-06T09:52:25.294Z] NODE_LABELS=master 12:52:25 [2019-05-06T09:52:25.294Z] HUDSON_URL=https://ci.yadev.eu/ 12:52:25 [2019-05-06T09:52:25.294Z] GIT_COMMIT=15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 12:52:25 [2019-05-06T09:52:25.294Z] HOME=/root 12:52:25 [2019-05-06T09:52:25.294Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/84/ 12:52:25 [2019-05-06T09:52:25.294Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 12:52:25 [2019-05-06T09:52:25.294Z] GIT_AUTHOR_NAME=Jenkins CI 12:52:25 [2019-05-06T09:52:25.294Z] gitlabTargetBranch=5-do-stack-update 12:52:25 [2019-05-06T09:52:25.294Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 12:52:25 [2019-05-06T09:52:25.294Z] gitlabMergeRequestLastCommit=15aa3d6ac1302a2f394ce62afaff0b39f68ae1a7 12:52:25 [2019-05-06T09:52:25.294Z] JAVA_VERSION=8u212 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 12:52:25 [2019-05-06T09:52:25.294Z] NODE_NAME=master 12:52:25 [2019-05-06T09:52:25.294Z] EXECUTOR_NUMBER=1 12:52:25 [2019-05-06T09:52:25.294Z] GIT_BRANCH=origin/5-do-stack-update 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 12:52:25 [2019-05-06T09:52:25.294Z] STAGE_NAME=Execution info 12:52:25 [2019-05-06T09:52:25.294Z] gitlabBranch=5-do-stack-update 12:52:25 [2019-05-06T09:52:25.294Z] gitlabUserEmail=kyberorg@yadev.eu 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceBranch=5-do-stack-update 12:52:25 [2019-05-06T09:52:25.294Z] BUILD_DISPLAY_NAME=#84 12:52:25 [2019-05-06T09:52:25.294Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 12:52:25 [2019-05-06T09:52:25.294Z] HUDSON_HOME=/var/lib/jenkins 12:52:25 [2019-05-06T09:52:25.294Z] JOB_BASE_NAME=Hub2Swarm 12:52:25 [2019-05-06T09:52:25.294Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 12:52:25 [2019-05-06T09:52:25.294Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 12:52:25 [2019-05-06T09:52:25.294Z] BUILD_ID=84 12:52:25 [2019-05-06T09:52:25.294Z] BUILDING_FOR=kyberorg 12:52:25 [2019-05-06T09:52:25.294Z] gitlabActionType=PUSH 12:52:25 [2019-05-06T09:52:25.294Z] gitlabBefore=bc3d48657c81a7b75f2babe066b3fed21cc03c68 12:52:25 [2019-05-06T09:52:25.294Z] BUILD_TAG=jenkins-Hub2Swarm-84 12:52:25 [2019-05-06T09:52:25.294Z] JENKINS_URL=https://ci.yadev.eu/ 12:52:25 [2019-05-06T09:52:25.294Z] LANG=C.UTF-8 12:52:25 [2019-05-06T09:52:25.294Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 12:52:25 [2019-05-06T09:52:25.294Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceRepoName=Hub2Swarm 12:52:25 [2019-05-06T09:52:25.294Z] gitlabSourceNamespace=Yet another Systems 12:52:25 [2019-05-06T09:52:25.294Z] BUILD_NUMBER=84 12:52:25 [2019-05-06T09:52:25.294Z] JENKINS_NODE_COOKIE=3293dab1-f44f-4cbf-81ee-e4cda0d853e7 12:52:25 [2019-05-06T09:52:25.294Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/84/display/redirect 12:52:25 [2019-05-06T09:52:25.294Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 12:52:25 [2019-05-06T09:52:25.294Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 12:52:25 [2019-05-06T09:52:25.294Z] CLASSPATH= 12:52:25 [2019-05-06T09:52:25.294Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 12:52:25 [2019-05-06T09:52:25.294Z] JOB_NAME=Hub2Swarm 12:52:25 [2019-05-06T09:52:25.294Z] gitlabUserName=Alex Muravya 12:52:25 [2019-05-06T09:52:25.294Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/c9c1a5c4-1bc1-4754-a3b3-2d1b3a265374 12:52:25 [2019-05-06T09:52:25.294Z] JAVA_HOME=/docker-java-home 12:52:25 [2019-05-06T09:52:25.294Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 12:52:25 [2019-05-06T09:52:25.294Z] GIT_PREVIOUS_COMMIT=bc3d48657c81a7b75f2babe066b3fed21cc03c68 12:52:25 [2019-05-06T09:52:25.294Z] 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 12:52:25 [2019-05-06T09:52:25.720Z] + mvn clean package 12:52:27 [2019-05-06T09:52:27.584Z] [INFO] Scanning for projects... 12:52:27 [2019-05-06T09:52:27.834Z] [INFO] 12:52:27 [2019-05-06T09:52:27.834Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 12:52:27 [2019-05-06T09:52:27.834Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 12:52:27 [2019-05-06T09:52:27.834Z] [INFO] --------------------------------[ jar ]--------------------------------- 12:52:29 [2019-05-06T09:52:29.179Z] [INFO] 12:52:29 [2019-05-06T09:52:29.179Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 12:52:29 [2019-05-06T09:52:29.430Z] [INFO] 12:52:29 [2019-05-06T09:52:29.430Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 12:52:29 [2019-05-06T09:52:29.430Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 12:52:29 [2019-05-06T09:52:29.430Z] [INFO] Copying 4 resources 12:52:29 [2019-05-06T09:52:29.681Z] [INFO] Copying 4 resources 12:52:29 [2019-05-06T09:52:29.681Z] [INFO] 12:52:29 [2019-05-06T09:52:29.681Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 12:52:29 [2019-05-06T09:52:29.681Z] [INFO] Changes detected - recompiling the module! 12:52:29 [2019-05-06T09:52:29.681Z] [INFO] Compiling 37 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] Changes detected - recompiling the module! 12:52:32 [2019-05-06T09:52:32.927Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 12:52:33 [2019-05-06T09:52:33.864Z] [INFO] 12:52:33 [2019-05-06T09:52:33.864Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 12:52:34 [2019-05-06T09:52:34.124Z] [INFO] 12:52:34 [2019-05-06T09:52:34.124Z] [INFO] ------------------------------------------------------- 12:52:34 [2019-05-06T09:52:34.124Z] [INFO] T E S T S 12:52:34 [2019-05-06T09:52:34.124Z] [INFO] ------------------------------------------------------- 12:52:34 [2019-05-06T09:52:34.674Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.756 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.765 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.783 [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)] 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.853 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.889 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.908 [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 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.909 [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 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.910 [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}. 12:52:34 [2019-05-06T09:52:34.925Z] 09:52:34.911 [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. 12:52:35 [2019-05-06T09:52:35.176Z] 09:52:35.012 [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] 12:52:35 [2019-05-06T09:52:35.176Z] 09:52:35.153 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 12:52:35 [2019-05-06T09:52:35.176Z] 09:52:35.155 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 12:52:35 [2019-05-06T09:52:35.426Z] 09:52:35.359 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 12:52:35 [2019-05-06T09:52:35.426Z] 09:52:35.360 [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] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.388 [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] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.391 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.392 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.394 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.395 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.395 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.396 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.403 [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]. 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.406 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.427Z] 09:52:35.406 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 12:52:35 [2019-05-06T09:52:35.677Z] 09:52:35.438 [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} 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] . ____ _ __ _ _ 12:52:35 [2019-05-06T09:52:35.928Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 12:52:35 [2019-05-06T09:52:35.928Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 12:52:35 [2019-05-06T09:52:35.928Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 12:52:35 [2019-05-06T09:52:35.928Z] ' |____| .__|_| |_|_| |_\__, | / / / / 12:52:35 [2019-05-06T09:52:35.928Z] =========|_|==============|___/=/_/_/_/ 12:52:35 [2019-05-06T09:52:35.928Z] :: Spring Boot :: (v2.2.0.M2) 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] 2019-05-06 09:52:35.816 WARN 120 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] Found multiple occurrences of org.json.JSONObject on the class path: 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] 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 12:52:35 [2019-05-06T09:52:35.928Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] You may wish to exclude one of them to ensure predictable runtime behavior 12:52:35 [2019-05-06T09:52:35.928Z] 12:52:35 [2019-05-06T09:52:35.928Z] 2019-05-06 09:52:35.836 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 298aed884d15 with PID 120 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 12:52:35 [2019-05-06T09:52:35.928Z] 2019-05-06 09:52:35.837 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 12:52:37 [2019-05-06T09:52:37.790Z] 2019-05-06 09:52:37.562 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 12:52:37 [2019-05-06T09:52:37.790Z] 2019-05-06 09:52:37.700 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 122ms. Found 5 repository interfaces. 12:52:38 [2019-05-06T09:52:38.701Z] 2019-05-06 09:52:38.411 INFO 120 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ef416a6f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 12:52:38 [2019-05-06T09:52:38.952Z] 2019-05-06 09:52:38.922 INFO 120 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 12:52:38 [2019-05-06T09:52:38.952Z] 2019-05-06 09:52:38.937 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.256 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.265 INFO 120 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.308 WARN 120 --- [ 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. 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.405 INFO 120 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 4 migrations (execution time 00:00.026s) 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.417 INFO 120 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.446 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.448 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.474 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 12:52:39 [2019-05-06T09:52:39.503Z] 2019-05-06 09:52:39.492 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 12:52:39 [2019-05-06T09:52:39.753Z] 2019-05-06 09:52:39.514 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 12:52:39 [2019-05-06T09:52:39.753Z] 2019-05-06 09:52:39.558 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 4 migrations to schema "PUBLIC" (execution time 00:00.144s) 12:52:40 [2019-05-06T09:52:40.004Z] 2019-05-06 09:52:39.851 INFO 120 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 12:52:40 [2019-05-06T09:52:40.004Z] 2019-05-06 09:52:39.981 INFO 120 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 12:52:40 [2019-05-06T09:52:40.555Z] 2019-05-06 09:52:40.259 INFO 120 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 12:52:40 [2019-05-06T09:52:40.555Z] 2019-05-06 09:52:40.487 INFO 120 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 12:52:41 [2019-05-06T09:52:41.898Z] 2019-05-06 09:52:41.831 INFO 120 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 12:52:41 [2019-05-06T09:52:41.898Z] 2019-05-06 09:52:41.834 INFO 120 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 12:52:43 [2019-05-06T09:52:43.242Z] 2019-05-06 09:52:42.834 WARN 120 --- [ 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 12:52:44 [2019-05-06T09:52:44.161Z] 2019-05-06 09:52:43.862 INFO 120 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 12:52:44 [2019-05-06T09:52:44.161Z] 12:52:44 [2019-05-06T09:52:44.161Z] Using generated security password: 95434868-982f-42af-a5d6-fd3557383cdb 12:52:44 [2019-05-06T09:52:44.161Z] 12:52:44 [2019-05-06T09:52:44.411Z] 2019-05-06 09:52:44.200 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1214c98b, org.springframework.security.web.context.SecurityContextPersistenceFilter@2862271a, org.springframework.security.web.header.HeaderWriterFilter@3e9b3b3c, org.springframework.security.web.authentication.logout.LogoutFilter@2a531637, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@78fb72cb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@25823192, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6ab50d1c, org.springframework.security.web.session.SessionManagementFilter@65ad2b42, org.springframework.security.web.access.ExceptionTranslationFilter@43294e9b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1c135f63] 12:52:44 [2019-05-06T09:52:44.962Z] 2019-05-06 09:52:44.914 INFO 120 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.317 INFO 120 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.482 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.033 seconds (JVM running for 12.444) 12:52:46 [2019-05-06T09:52:46.824Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.057 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.690 INFO 120 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.695 INFO 120 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.723 INFO 120 --- [ 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] 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.724 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 12:52:46 [2019-05-06T09:52:46.824Z] 2019-05-06 09:52:46.734 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] Results: 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 12:52:47 [2019-05-06T09:52:47.375Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 12:52:47 [2019-05-06T09:52:47.626Z] [INFO] 12:52:47 [2019-05-06T09:52:47.626Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] Replacing main artifact with repackaged archive 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] ------------------------------------------------------------------------ 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] BUILD SUCCESS 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] ------------------------------------------------------------------------ 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] Total time: 21.125 s 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] Finished at: 2019-05-06T09:52:48Z 12:52:48 [2019-05-06T09:52:48.537Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 12:52:48 [2019-05-06T09:52:48.714Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:52:49 [2019-05-06T09:52:49.010Z] + set +x 12:52:49 [2019-05-06T09:52:49.010Z] Starting Docker: docker. 12:52:49 [2019-05-06T09:52:49.010Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 12:52:49 [2019-05-06T09:52:49.074Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 12:52:49 [2019-05-06T09:52:49.141Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:52:49 [2019-05-06T09:52:49.436Z] + set +x 12:52:49 [2019-05-06T09:52:49.436Z] Login as **** to Docker Repository 12:52:51 [2019-05-06T09:52:51.298Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/c9c1a5c4-1bc1-4754-a3b3-2d1b3a265374/config.json. 12:52:51 [2019-05-06T09:52:51.299Z] Configure a credential helper to remove this warning. See 12:52:51 [2019-05-06T09:52:51.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:51 [2019-05-06T09:52:51.299Z] 12:52:51 [2019-05-06T09:52:51.299Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 12:52:51 [2019-05-06T09:52:51.418Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:52:51 [2019-05-06T09:52:51.713Z] + set +x 12:52:51 [2019-05-06T09:52:51.713Z] Building Docker Image yasys/hub2swarm with tags: [5-do-stack-update-latest] 12:52:52 [2019-05-06T09:52:52.264Z] Sending build context to Docker daemon 70.61MB 12:52:52 [2019-05-06T09:52:52.264Z] Step 1/7 : FROM java:8-jre 12:52:53 [2019-05-06T09:52:53.608Z] 8-jre: Pulling from library/java 12:52:53 [2019-05-06T09:52:53.608Z] 5040bd298390: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] fce5728aad85: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] c42794440453: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] 0c0da797ba48: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] 7c9b17433752: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] 114e02586e63: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] e4c663802e9a: Pulling fs layer 12:52:53 [2019-05-06T09:52:53.608Z] 7c9b17433752: Waiting 12:52:53 [2019-05-06T09:52:53.608Z] e4c663802e9a: Waiting 12:52:53 [2019-05-06T09:52:53.608Z] 114e02586e63: Waiting 12:52:54 [2019-05-06T09:52:54.159Z] c42794440453: Download complete 12:52:54 [2019-05-06T09:52:54.414Z] fce5728aad85: Verifying Checksum 12:52:54 [2019-05-06T09:52:54.414Z] fce5728aad85: Download complete 12:52:54 [2019-05-06T09:52:54.664Z] 0c0da797ba48: Verifying Checksum 12:52:54 [2019-05-06T09:52:54.664Z] 0c0da797ba48: Download complete 12:52:54 [2019-05-06T09:52:54.664Z] 5040bd298390: Verifying Checksum 12:52:54 [2019-05-06T09:52:54.664Z] 5040bd298390: Download complete 12:52:54 [2019-05-06T09:52:54.915Z] 7c9b17433752: Verifying Checksum 12:52:54 [2019-05-06T09:52:54.915Z] 7c9b17433752: Download complete 12:52:55 [2019-05-06T09:52:55.165Z] e4c663802e9a: Verifying Checksum 12:52:55 [2019-05-06T09:52:55.165Z] e4c663802e9a: Download complete 12:52:55 [2019-05-06T09:52:55.716Z] 114e02586e63: Verifying Checksum 12:52:55 [2019-05-06T09:52:55.716Z] 114e02586e63: Download complete 12:52:58 [2019-05-06T09:52:58.944Z] 5040bd298390: Pull complete 12:53:00 [2019-05-06T09:53:00.807Z] fce5728aad85: Pull complete 12:53:01 [2019-05-06T09:53:01.357Z] c42794440453: Pull complete 12:53:02 [2019-05-06T09:53:02.269Z] 0c0da797ba48: Pull complete 12:53:03 [2019-05-06T09:53:03.612Z] 7c9b17433752: Pull complete 12:53:08 [2019-05-06T09:53:08.808Z] 114e02586e63: Pull complete 12:53:11 [2019-05-06T09:53:11.292Z] e4c663802e9a: Pull complete 12:53:11 [2019-05-06T09:53:11.292Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 12:53:11 [2019-05-06T09:53:11.292Z] Status: Downloaded newer image for java:8-jre 12:53:11 [2019-05-06T09:53:11.292Z] ---> e44d62cf8862 12:53:11 [2019-05-06T09:53:11.292Z] Step 2/7 : VOLUME /tmp 12:53:13 [2019-05-06T09:53:13.779Z] ---> Running in ffdec008eee3 12:53:17 [2019-05-06T09:53:17.903Z] Removing intermediate container ffdec008eee3 12:53:17 [2019-05-06T09:53:17.904Z] ---> 756b5724e8eb 12:53:17 [2019-05-06T09:53:17.904Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 12:53:20 [2019-05-06T09:53:20.387Z] ---> Running in 2d2e66ec97a5 12:53:22 [2019-05-06T09:53:22.871Z] Removing intermediate container 2d2e66ec97a5 12:53:22 [2019-05-06T09:53:22.871Z] ---> bdfc0b1094e0 12:53:22 [2019-05-06T09:53:22.871Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 12:53:26 [2019-05-06T09:53:26.102Z] ---> e571aa02628e 12:53:26 [2019-05-06T09:53:26.102Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 12:53:29 [2019-05-06T09:53:29.331Z] ---> Running in 65a492fbace2 12:53:34 [2019-05-06T09:53:34.527Z] Removing intermediate container 65a492fbace2 12:53:34 [2019-05-06T09:53:34.527Z] ---> 56f1cc201ee2 12:53:34 [2019-05-06T09:53:34.527Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 12:53:37 [2019-05-06T09:53:37.012Z] ---> Running in 0109a2903b92 12:53:39 [2019-05-06T09:53:39.497Z] Removing intermediate container 0109a2903b92 12:53:39 [2019-05-06T09:53:39.497Z] ---> e1f891d79746 12:53:39 [2019-05-06T09:53:39.497Z] Step 7/7 : EXPOSE 8080 12:53:41 [2019-05-06T09:53:41.980Z] ---> Running in 4734bb4151f1 12:53:45 [2019-05-06T09:53:45.209Z] Removing intermediate container 4734bb4151f1 12:53:45 [2019-05-06T09:53:45.209Z] ---> 43c465ecc33c 12:53:45 [2019-05-06T09:53:45.209Z] Successfully built 43c465ecc33c 12:53:45 [2019-05-06T09:53:45.209Z] Successfully tagged yasys/hub2swarm:5-do-stack-update-latest 12:53:45 [2019-05-06T09:53:45.209Z] Docker image yasys/hub2swarm:[5-do-stack-update-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 12:53:45 [2019-05-06T09:53:45.272Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:53:45 [2019-05-06T09:53:45.573Z] + set +x 12:53:45 [2019-05-06T09:53:45.573Z] Push yasys/hub2swarm to Docker Repository 12:53:45 [2019-05-06T09:53:45.824Z] The push refers to repository [docker.io/yasys/hub2swarm] 12:53:46 [2019-05-06T09:53:46.075Z] b2b3e075ea80: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 644cd3e64dec: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 73ad47d4bc12: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] c22c27816361: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 04dba64afa87: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 500ca2ff7d52: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 782d5215f910: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 0eb22bfb707d: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] a2ae92ffcd29: Preparing 12:53:46 [2019-05-06T09:53:46.075Z] 0eb22bfb707d: Waiting 12:53:46 [2019-05-06T09:53:46.075Z] 500ca2ff7d52: Waiting 12:53:46 [2019-05-06T09:53:46.075Z] 782d5215f910: Waiting 12:53:46 [2019-05-06T09:53:46.075Z] a2ae92ffcd29: Waiting 12:53:46 [2019-05-06T09:53:46.986Z] 04dba64afa87: Layer already exists 12:53:46 [2019-05-06T09:53:46.986Z] 73ad47d4bc12: Layer already exists 12:53:46 [2019-05-06T09:53:46.986Z] c22c27816361: Layer already exists 12:53:47 [2019-05-06T09:53:47.537Z] 0eb22bfb707d: Layer already exists 12:53:47 [2019-05-06T09:53:47.537Z] 782d5215f910: Layer already exists 12:53:47 [2019-05-06T09:53:47.537Z] 500ca2ff7d52: Layer already exists 12:53:48 [2019-05-06T09:53:48.088Z] a2ae92ffcd29: Layer already exists 12:53:57 [2019-05-06T09:53:57.966Z] b2b3e075ea80: Pushed 12:53:57 [2019-05-06T09:53:57.966Z] 644cd3e64dec: Pushed 12:54:02 [2019-05-06T09:54:02.089Z] 5-do-stack-update-latest: digest: sha256:4e198e51077b507b4eb34eff6b49503d3bc542fbe469c629b19dd018c7f02b25 size: 2211 12:54:02 [2019-05-06T09:54:02.089Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 12:54:02 [2019-05-06T09:54:02.180Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 12:54:02 [2019-05-06T09:54:02.500Z] + set +x 12:54:02 [2019-05-06T09:54:02.501Z] Moikka kyberorg! 12:54:02 [2019-05-06T09:54:02.501Z] Here is Docker Summary: 12:54:02 [2019-05-06T09:54:02.501Z] Images built and pushed: 1 12:54:02 [2019-05-06T09:54:02.501Z] [ 12:54:02 [2019-05-06T09:54:02.501Z] yasys/hub2swarm:5-do-stack-update-latest 12:54:02 [2019-05-06T09:54:02.501Z] ] 12:54:02 [2019-05-06T09:54:02.501Z] 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 12:54:02 [2019-05-06T09:54:02.665Z] One way or another, I have finished. Tsau! [Pipeline] sh 12:54:02 [2019-05-06T09:54:02.952Z] + set +x 12:54:02 [2019-05-06T09:54:02.952Z] Making workspace writable for correct cleanup 12:54:02 [2019-05-06T09:54:02.952Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 12:54:03 [2019-05-06T09:54:03.036Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 298aed884d150d7a2b719b7314aa1f6008fe7bcc008694e4f937d743c10ff164 $ docker rm -f 298aed884d150d7a2b719b7314aa1f6008fe7bcc008694e4f937d743c10ff164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS