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/4-swarm-login, 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/auth Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 7 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision bd4eef1f034bac26a5a0857405c61be8f768b4bf (origin/4-swarm-login) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f bd4eef1f034bac26a5a0857405c61be8f768b4bf # timeout=10 Commit message: "changes" > /usr/bin/git rev-list --no-walk 4c22765ec45ef8247f00a9a39e8d8e115c618e5d # 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/4-swarm-login, 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/4-swarm-login, since it originates from another repository Seen branch in repository origin/4-swarm-login 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 bd4eef1f034bac26a5a0857405c61be8f768b4bf (origin/4-swarm-login) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f bd4eef1f034bac26a5a0857405c61be8f768b4bf # timeout=10 Commit message: "changes" [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/ec6d28fc-12d7-40d1-8436-f2225c798754/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 3d80d4907f2e33ce4bd0c9fb87d1573ecabc4873de6f750d9a95196309bcb334 -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 19:17:32 [2019-05-05T16:17:32.845Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:17:33 [2019-05-05T16:17:33.158Z] + set +x 19:17:33 [2019-05-05T16:17:33.158Z] [Runner info] 19:17:33 [2019-05-05T16:17:33.158Z] Hostname: 3d80d4907f2e 19:17:33 [2019-05-05T16:17:33.158Z] Network Status: Host Online 19:17:33 [2019-05-05T16:17:33.158Z] 19:17:33 [2019-05-05T16:17:33.158Z] === Tools info === 19:17:33 [2019-05-05T16:17:33.710Z] Docker version: Docker version 18.09.5, build e8ff056dbc 19:17:33 [2019-05-05T16:17:33.710Z] 19:17:33 [2019-05-05T16:17:33.710Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 19:17:33 [2019-05-05T16:17:33.710Z] Maven home: /opt/mvn 19:17:33 [2019-05-05T16:17:33.710Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 19:17:33 [2019-05-05T16:17:33.710Z] Default locale: en, platform encoding: UTF-8 19:17:33 [2019-05-05T16:17:33.710Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 19:17:33 [2019-05-05T16:17:33.710Z] 19:17:33 [2019-05-05T16:17:33.710Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 19:17:33 [2019-05-05T16:17:33.813Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:17:34 [2019-05-05T16:17:34.121Z] + set +x 19:17:34 [2019-05-05T16:17:34.121Z] [Build info] 19:17:34 [2019-05-05T16:17:34.121Z] ===== Git info ===== 19:17:34 [2019-05-05T16:17:34.121Z] Git branch: 4-swarm-login 19:17:34 [2019-05-05T16:17:34.121Z] Git commit: bd4eef1f034bac26a5a0857405c61be8f768b4bf 19:17:34 [2019-05-05T16:17:34.121Z] Git tag: - 19:17:34 [2019-05-05T16:17:34.121Z] 19:17:34 [2019-05-05T16:17:34.121Z] ===== Jenkins info ===== 19:17:34 [2019-05-05T16:17:34.121Z] Jenkins Job #75 19:17:34 [2019-05-05T16:17:34.121Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/75/ 19:17:34 [2019-05-05T16:17:34.121Z] Jenkins Tag: jenkins-Hub2Swarm-75 19:17:34 [2019-05-05T16:17:34.121Z] 19:17:34 [2019-05-05T16:17:34.121Z] ===== Job Params ===== 19:17:34 [2019-05-05T16:17:34.121Z] 19:17:34 [2019-05-05T16:17:34.121Z] dockerRepo=yasys/hub2swarm 19:17:34 [2019-05-05T16:17:34.121Z] dockerStep=ee.yadev.pipe.commonpipe.Default@42b27d4b 19:17:34 [2019-05-05T16:17:34.121Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@1e36ecba 19:17:34 [2019-05-05T16:17:34.121Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@42b27d4b 19:17:34 [2019-05-05T16:17:34.121Z] hubUrl=https://cloud.docker.com/repository/docker 19:17:34 [2019-05-05T16:17:34.121Z] useDebugTag=false 19:17:34 [2019-05-05T16:17:34.121Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 19:17:34 [2019-05-05T16:17:34.122Z] preparationStep=ee.yadev.pipe.commonpipe.Default@42b27d4b 19:17:34 [2019-05-05T16:17:34.122Z] stepTimeout=5 19:17:34 [2019-05-05T16:17:34.122Z] hubCredentialsId=docker-hub 19:17:34 [2019-05-05T16:17:34.122Z] class=class ee.yadev.pipe.commonpipe.Params 19:17:34 [2019-05-05T16:17:34.122Z] skipMavenTests=true 19:17:34 [2019-05-05T16:17:34.122Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 19:17:34 [2019-05-05T16:17:34.122Z] verbose=false 19:17:34 [2019-05-05T16:17:34.122Z] mavenTestsTimeout=5 19:17:34 [2019-05-05T16:17:34.122Z] pipelineTimeout=15 19:17:34 [2019-05-05T16:17:34.122Z] hubUser=kyberorg 19:17:34 [2019-05-05T16:17:34.122Z] 19:17:34 [2019-05-05T16:17:34.122Z] ==== Environment Variables ===== 19:17:34 [2019-05-05T16:17:34.122Z] GIT_COMMITTER_NAME=Jenkins CI 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 19:17:34 [2019-05-05T16:17:34.122Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=4c22765ec45ef8247f00a9a39e8d8e115c618e5d 19:17:34 [2019-05-05T16:17:34.122Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 19:17:34 [2019-05-05T16:17:34.122Z] HOSTNAME=3d80d4907f2e 19:17:34 [2019-05-05T16:17:34.122Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/75/display/redirect?page=changes 19:17:34 [2019-05-05T16:17:34.122Z] gitlabAfter=bd4eef1f034bac26a5a0857405c61be8f768b4bf 19:17:34 [2019-05-05T16:17:34.122Z] GIT_COMMIT=bd4eef1f034bac26a5a0857405c61be8f768b4bf 19:17:34 [2019-05-05T16:17:34.122Z] NODE_LABELS=master 19:17:34 [2019-05-05T16:17:34.122Z] HUDSON_URL=https://ci.yadev.eu/ 19:17:34 [2019-05-05T16:17:34.122Z] HOME=/root 19:17:34 [2019-05-05T16:17:34.122Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/75/ 19:17:34 [2019-05-05T16:17:34.122Z] GIT_AUTHOR_NAME=Jenkins CI 19:17:34 [2019-05-05T16:17:34.122Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 19:17:34 [2019-05-05T16:17:34.122Z] gitlabTargetBranch=4-swarm-login 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 19:17:34 [2019-05-05T16:17:34.122Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 19:17:34 [2019-05-05T16:17:34.122Z] gitlabMergeRequestLastCommit=bd4eef1f034bac26a5a0857405c61be8f768b4bf 19:17:34 [2019-05-05T16:17:34.122Z] JAVA_VERSION=8u212 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 19:17:34 [2019-05-05T16:17:34.122Z] NODE_NAME=master 19:17:34 [2019-05-05T16:17:34.122Z] EXECUTOR_NUMBER=1 19:17:34 [2019-05-05T16:17:34.122Z] GIT_BRANCH=origin/4-swarm-login 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 19:17:34 [2019-05-05T16:17:34.122Z] STAGE_NAME=Execution info 19:17:34 [2019-05-05T16:17:34.122Z] gitlabBranch=4-swarm-login 19:17:34 [2019-05-05T16:17:34.122Z] gitlabUserEmail=kyberorg@yadev.eu 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceBranch=4-swarm-login 19:17:34 [2019-05-05T16:17:34.122Z] BUILD_DISPLAY_NAME=#75 19:17:34 [2019-05-05T16:17:34.122Z] HUDSON_HOME=/var/lib/jenkins 19:17:34 [2019-05-05T16:17:34.122Z] JOB_BASE_NAME=Hub2Swarm 19:17:34 [2019-05-05T16:17:34.122Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 19:17:34 [2019-05-05T16:17:34.122Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 19:17:34 [2019-05-05T16:17:34.122Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 19:17:34 [2019-05-05T16:17:34.122Z] BUILD_ID=75 19:17:34 [2019-05-05T16:17:34.122Z] BUILDING_FOR=kyberorg 19:17:34 [2019-05-05T16:17:34.122Z] gitlabActionType=PUSH 19:17:34 [2019-05-05T16:17:34.122Z] gitlabBefore=4c22765ec45ef8247f00a9a39e8d8e115c618e5d 19:17:34 [2019-05-05T16:17:34.122Z] BUILD_TAG=jenkins-Hub2Swarm-75 19:17:34 [2019-05-05T16:17:34.122Z] JENKINS_URL=https://ci.yadev.eu/ 19:17:34 [2019-05-05T16:17:34.122Z] LANG=C.UTF-8 19:17:34 [2019-05-05T16:17:34.122Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceRepoName=Hub2Swarm 19:17:34 [2019-05-05T16:17:34.122Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 19:17:34 [2019-05-05T16:17:34.122Z] gitlabSourceNamespace=Yet another Systems 19:17:34 [2019-05-05T16:17:34.122Z] BUILD_NUMBER=75 19:17:34 [2019-05-05T16:17:34.122Z] JENKINS_NODE_COOKIE=6d6b3aca-0ea2-4ba7-8b62-47adc9d0a06e 19:17:34 [2019-05-05T16:17:34.122Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/75/display/redirect 19:17:34 [2019-05-05T16:17:34.122Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 19:17:34 [2019-05-05T16:17:34.122Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 19:17:34 [2019-05-05T16:17:34.122Z] CLASSPATH= 19:17:34 [2019-05-05T16:17:34.122Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 19:17:34 [2019-05-05T16:17:34.122Z] JOB_NAME=Hub2Swarm 19:17:34 [2019-05-05T16:17:34.122Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/ec6d28fc-12d7-40d1-8436-f2225c798754 19:17:34 [2019-05-05T16:17:34.122Z] gitlabUserName=Alex Muravya 19:17:34 [2019-05-05T16:17:34.122Z] JAVA_HOME=/docker-java-home 19:17:34 [2019-05-05T16:17:34.122Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 19:17:34 [2019-05-05T16:17:34.122Z] GIT_PREVIOUS_COMMIT=4c22765ec45ef8247f00a9a39e8d8e115c618e5d 19:17:34 [2019-05-05T16:17:34.122Z] 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 19:17:34 [2019-05-05T16:17:34.901Z] + mvn clean package 19:17:36 [2019-05-05T16:17:36.246Z] [INFO] Scanning for projects... 19:17:36 [2019-05-05T16:17:36.497Z] [INFO] 19:17:36 [2019-05-05T16:17:36.497Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 19:17:36 [2019-05-05T16:17:36.497Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 19:17:36 [2019-05-05T16:17:36.497Z] [INFO] --------------------------------[ jar ]--------------------------------- 19:17:38 [2019-05-05T16:17:38.360Z] [INFO] 19:17:38 [2019-05-05T16:17:38.361Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 19:17:38 [2019-05-05T16:17:38.361Z] [INFO] 19:17:38 [2019-05-05T16:17:38.361Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] Copying 4 resources 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] Copying 4 resources 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] Changes detected - recompiling the module! 19:17:38 [2019-05-05T16:17:38.611Z] [INFO] Compiling 36 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] Changes detected - recompiling the module! 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] 19:17:42 [2019-05-05T16:17:42.736Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 19:17:42 [2019-05-05T16:17:42.987Z] [INFO] 19:17:42 [2019-05-05T16:17:42.987Z] [INFO] ------------------------------------------------------- 19:17:42 [2019-05-05T16:17:42.987Z] [INFO] T E S T S 19:17:42 [2019-05-05T16:17:42.987Z] [INFO] ------------------------------------------------------- 19:17:43 [2019-05-05T16:17:43.899Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.761 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.770 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.785 [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)] 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.857 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.887 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.896 [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 19:17:43 [2019-05-05T16:17:43.899Z] 16:17:43.897 [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 19:17:44 [2019-05-05T16:17:44.150Z] 16:17:43.897 [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}. 19:17:44 [2019-05-05T16:17:44.150Z] 16:17:43.898 [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. 19:17:44 [2019-05-05T16:17:44.150Z] 16:17:44.000 [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] 19:17:44 [2019-05-05T16:17:44.150Z] 16:17:44.118 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 19:17:44 [2019-05-05T16:17:44.150Z] 16:17:44.120 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.251 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.252 [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] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.276 [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] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.279 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.281 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.283 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.283 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.284 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.284 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.290 [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]. 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.292 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.293 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 19:17:44 [2019-05-05T16:17:44.401Z] 16:17:44.324 [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} 19:17:44 [2019-05-05T16:17:44.652Z] 19:17:44 [2019-05-05T16:17:44.652Z] . ____ _ __ _ _ 19:17:44 [2019-05-05T16:17:44.652Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 19:17:44 [2019-05-05T16:17:44.652Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 19:17:44 [2019-05-05T16:17:44.652Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 19:17:44 [2019-05-05T16:17:44.652Z] ' |____| .__|_| |_|_| |_\__, | / / / / 19:17:44 [2019-05-05T16:17:44.652Z] =========|_|==============|___/=/_/_/_/ 19:17:44 [2019-05-05T16:17:44.652Z] :: Spring Boot :: (v2.2.0.M2) 19:17:44 [2019-05-05T16:17:44.652Z] 19:17:44 [2019-05-05T16:17:44.902Z] 2019-05-05 16:17:44.707 WARN 120 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 19:17:44 [2019-05-05T16:17:44.903Z] 19:17:44 [2019-05-05T16:17:44.903Z] Found multiple occurrences of org.json.JSONObject on the class path: 19:17:44 [2019-05-05T16:17:44.903Z] 19:17:44 [2019-05-05T16:17:44.903Z] 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 19:17:44 [2019-05-05T16:17:44.903Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 19:17:44 [2019-05-05T16:17:44.903Z] 19:17:44 [2019-05-05T16:17:44.903Z] You may wish to exclude one of them to ensure predictable runtime behavior 19:17:44 [2019-05-05T16:17:44.903Z] 19:17:44 [2019-05-05T16:17:44.903Z] 2019-05-05 16:17:44.736 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 3d80d4907f2e with PID 120 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 19:17:44 [2019-05-05T16:17:44.903Z] 2019-05-05 16:17:44.738 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 19:17:46 [2019-05-05T16:17:46.765Z] 2019-05-05 16:17:46.557 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 19:17:46 [2019-05-05T16:17:46.765Z] 2019-05-05 16:17:46.748 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 172ms. Found 5 repository interfaces. 19:17:48 [2019-05-05T16:17:48.108Z] 2019-05-05 16:17:47.681 INFO 120 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$1df0afee] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 19:17:48 [2019-05-05T16:17:48.359Z] 2019-05-05 16:17:48.190 INFO 120 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 19:17:48 [2019-05-05T16:17:48.359Z] 2019-05-05 16:17:48.201 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 19:17:48 [2019-05-05T16:17:48.611Z] 2019-05-05 16:17:48.476 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 19:17:48 [2019-05-05T16:17:48.611Z] 2019-05-05 16:17:48.484 INFO 120 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 19:17:48 [2019-05-05T16:17:48.611Z] 2019-05-05 16:17:48.539 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. 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.626 INFO 120 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 4 migrations (execution time 00:00.028s) 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.641 INFO 120 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.674 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.676 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.722 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.745 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.760 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 19:17:48 [2019-05-05T16:17:48.862Z] 2019-05-05 16:17:48.776 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 4 migrations to schema "PUBLIC" (execution time 00:00.139s) 19:17:49 [2019-05-05T16:17:49.112Z] 2019-05-05 16:17:49.053 INFO 120 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 19:17:49 [2019-05-05T16:17:49.363Z] 2019-05-05 16:17:49.192 INFO 120 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 19:17:49 [2019-05-05T16:17:49.614Z] 2019-05-05 16:17:49.469 INFO 120 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 19:17:49 [2019-05-05T16:17:49.864Z] 2019-05-05 16:17:49.708 INFO 120 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 19:17:51 [2019-05-05T16:17:51.212Z] 2019-05-05 16:17:50.927 INFO 120 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 19:17:51 [2019-05-05T16:17:51.212Z] 2019-05-05 16:17:50.930 INFO 120 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 19:17:52 [2019-05-05T16:17:52.123Z] 2019-05-05 16:17:51.971 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 19:17:53 [2019-05-05T16:17:53.035Z] 2019-05-05 16:17:52.959 INFO 120 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 19:17:53 [2019-05-05T16:17:53.035Z] 19:17:53 [2019-05-05T16:17:53.035Z] Using generated security password: 9fda0dd3-9393-40e5-959f-21aec4415931 19:17:53 [2019-05-05T16:17:53.035Z] 19:17:53 [2019-05-05T16:17:53.286Z] 2019-05-05 16:17:53.251 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@355493bf, org.springframework.security.web.context.SecurityContextPersistenceFilter@2ec92631, org.springframework.security.web.header.HeaderWriterFilter@79c1ccf7, org.springframework.security.web.authentication.logout.LogoutFilter@779b4f9c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@65ad2b42, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@653e7b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7ebc5be6, org.springframework.security.web.session.SessionManagementFilter@4583b617, org.springframework.security.web.access.ExceptionTranslationFilter@5ec6a1b6, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@391dfe7c] 19:17:54 [2019-05-05T16:17:54.197Z] 2019-05-05 16:17:54.031 INFO 120 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 19:17:55 [2019-05-05T16:17:55.541Z] 2019-05-05 16:17:55.266 INFO 120 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 19:17:55 [2019-05-05T16:17:55.541Z] 2019-05-05 16:17:55.429 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.092 seconds (JVM running for 12.367) 19:17:55 [2019-05-05T16:17:55.792Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.973 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 19:17:55 [2019-05-05T16:17:55.792Z] 2019-05-05 16:17:55.668 INFO 120 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 19:17:55 [2019-05-05T16:17:55.792Z] 2019-05-05 16:17:55.673 INFO 120 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 19:17:55 [2019-05-05T16:17:55.793Z] 2019-05-05 16:17:55.683 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] 19:17:55 [2019-05-05T16:17:55.793Z] 2019-05-05 16:17:55.685 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 19:17:55 [2019-05-05T16:17:55.793Z] 2019-05-05 16:17:55.692 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 19:17:56 [2019-05-05T16:17:56.343Z] [INFO] 19:17:56 [2019-05-05T16:17:56.343Z] [INFO] Results: 19:17:56 [2019-05-05T16:17:56.343Z] [INFO] 19:17:56 [2019-05-05T16:17:56.344Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 19:17:56 [2019-05-05T16:17:56.344Z] [INFO] 19:17:56 [2019-05-05T16:17:56.344Z] [INFO] 19:17:56 [2019-05-05T16:17:56.344Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 19:17:56 [2019-05-05T16:17:56.344Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 19:17:56 [2019-05-05T16:17:56.594Z] [INFO] 19:17:56 [2019-05-05T16:17:56.594Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] Replacing main artifact with repackaged archive 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] ------------------------------------------------------------------------ 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] BUILD SUCCESS 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] ------------------------------------------------------------------------ 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] Total time: 21.050 s 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] Finished at: 2019-05-05T16:17:57Z 19:17:57 [2019-05-05T16:17:57.145Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 19:17:57 [2019-05-05T16:17:57.607Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:17:57 [2019-05-05T16:17:57.918Z] + set +x 19:17:58 [2019-05-05T16:17:58.168Z] Starting Docker: docker. 19:17:58 [2019-05-05T16:17:58.168Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 19:17:58 [2019-05-05T16:17:58.228Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 19:17:58 [2019-05-05T16:17:58.274Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:17:58 [2019-05-05T16:17:58.564Z] + set +x 19:17:58 [2019-05-05T16:17:58.564Z] Login as **** to Docker Repository 19:17:59 [2019-05-05T16:17:59.907Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/ec6d28fc-12d7-40d1-8436-f2225c798754/config.json. 19:17:59 [2019-05-05T16:17:59.907Z] Configure a credential helper to remove this warning. See 19:17:59 [2019-05-05T16:17:59.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:59 [2019-05-05T16:17:59.907Z] 19:17:59 [2019-05-05T16:17:59.907Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 19:18:00 [2019-05-05T16:18:00.261Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:18:00 [2019-05-05T16:18:00.557Z] + set +x 19:18:00 [2019-05-05T16:18:00.557Z] Building Docker Image yasys/hub2swarm with tags: [4-swarm-login-latest] 19:18:01 [2019-05-05T16:18:01.108Z] Sending build context to Docker daemon 70.59MB 19:18:01 [2019-05-05T16:18:01.359Z] Step 1/7 : FROM java:8-jre 19:18:02 [2019-05-05T16:18:02.702Z] 8-jre: Pulling from library/java 19:18:02 [2019-05-05T16:18:02.703Z] 5040bd298390: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] fce5728aad85: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] c42794440453: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] 0c0da797ba48: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] 7c9b17433752: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] 114e02586e63: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] e4c663802e9a: Pulling fs layer 19:18:02 [2019-05-05T16:18:02.703Z] 7c9b17433752: Waiting 19:18:02 [2019-05-05T16:18:02.703Z] 114e02586e63: Waiting 19:18:02 [2019-05-05T16:18:02.703Z] 0c0da797ba48: Waiting 19:18:02 [2019-05-05T16:18:02.703Z] e4c663802e9a: Waiting 19:18:02 [2019-05-05T16:18:02.954Z] c42794440453: Download complete 19:18:03 [2019-05-05T16:18:03.505Z] fce5728aad85: Download complete 19:18:03 [2019-05-05T16:18:03.505Z] 0c0da797ba48: Verifying Checksum 19:18:03 [2019-05-05T16:18:03.505Z] 0c0da797ba48: Download complete 19:18:04 [2019-05-05T16:18:04.057Z] 5040bd298390: Verifying Checksum 19:18:04 [2019-05-05T16:18:04.057Z] 5040bd298390: Download complete 19:18:04 [2019-05-05T16:18:04.057Z] 7c9b17433752: Verifying Checksum 19:18:04 [2019-05-05T16:18:04.057Z] 7c9b17433752: Download complete 19:18:04 [2019-05-05T16:18:04.608Z] e4c663802e9a: Download complete 19:18:04 [2019-05-05T16:18:04.858Z] 114e02586e63: Verifying Checksum 19:18:04 [2019-05-05T16:18:04.858Z] 114e02586e63: Download complete 19:18:08 [2019-05-05T16:18:08.093Z] 5040bd298390: Pull complete 19:18:09 [2019-05-05T16:18:09.955Z] fce5728aad85: Pull complete 19:18:10 [2019-05-05T16:18:10.867Z] c42794440453: Pull complete 19:18:11 [2019-05-05T16:18:11.778Z] 0c0da797ba48: Pull complete 19:18:12 [2019-05-05T16:18:12.697Z] 7c9b17433752: Pull complete 19:18:17 [2019-05-05T16:18:17.893Z] 114e02586e63: Pull complete 19:18:20 [2019-05-05T16:18:20.378Z] e4c663802e9a: Pull complete 19:18:20 [2019-05-05T16:18:20.378Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 19:18:20 [2019-05-05T16:18:20.378Z] Status: Downloaded newer image for java:8-jre 19:18:20 [2019-05-05T16:18:20.378Z] ---> e44d62cf8862 19:18:20 [2019-05-05T16:18:20.378Z] Step 2/7 : VOLUME /tmp 19:18:22 [2019-05-05T16:18:22.862Z] ---> Running in 5f972a88bdaa 19:18:26 [2019-05-05T16:18:26.995Z] Removing intermediate container 5f972a88bdaa 19:18:26 [2019-05-05T16:18:26.995Z] ---> 4f407245d012 19:18:26 [2019-05-05T16:18:26.995Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 19:18:28 [2019-05-05T16:18:28.858Z] ---> Running in 5546d95d2062 19:18:31 [2019-05-05T16:18:31.342Z] Removing intermediate container 5546d95d2062 19:18:31 [2019-05-05T16:18:31.342Z] ---> 4cc0ec32408b 19:18:31 [2019-05-05T16:18:31.342Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 19:18:34 [2019-05-05T16:18:34.572Z] ---> d55380cead2a 19:18:34 [2019-05-05T16:18:34.572Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 19:18:37 [2019-05-05T16:18:37.813Z] ---> Running in 33b250954e0a 19:18:41 [2019-05-05T16:18:41.047Z] Removing intermediate container 33b250954e0a 19:18:41 [2019-05-05T16:18:41.047Z] ---> ec6aeb2b0274 19:18:41 [2019-05-05T16:18:41.047Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 19:18:43 [2019-05-05T16:18:43.531Z] ---> Running in 19515b573c90 19:18:46 [2019-05-05T16:18:46.761Z] Removing intermediate container 19515b573c90 19:18:46 [2019-05-05T16:18:46.761Z] ---> e1ba35e60d7b 19:18:46 [2019-05-05T16:18:46.761Z] Step 7/7 : EXPOSE 8080 19:18:49 [2019-05-05T16:18:49.245Z] ---> Running in e440b2da9db9 19:18:51 [2019-05-05T16:18:51.729Z] Removing intermediate container e440b2da9db9 19:18:51 [2019-05-05T16:18:51.729Z] ---> a65acdd164f6 19:18:51 [2019-05-05T16:18:51.729Z] Successfully built a65acdd164f6 19:18:51 [2019-05-05T16:18:51.980Z] Successfully tagged yasys/hub2swarm:4-swarm-login-latest 19:18:51 [2019-05-05T16:18:51.980Z] Docker image yasys/hub2swarm:[4-swarm-login-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 19:18:52 [2019-05-05T16:18:52.051Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:18:52 [2019-05-05T16:18:52.351Z] + set +x 19:18:52 [2019-05-05T16:18:52.351Z] Push yasys/hub2swarm to Docker Repository 19:18:52 [2019-05-05T16:18:52.351Z] The push refers to repository [docker.io/yasys/hub2swarm] 19:18:52 [2019-05-05T16:18:52.903Z] ebf8dceb2477: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 45e3a3d10b5e: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 73ad47d4bc12: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] c22c27816361: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 04dba64afa87: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 500ca2ff7d52: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 782d5215f910: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 0eb22bfb707d: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] a2ae92ffcd29: Preparing 19:18:52 [2019-05-05T16:18:52.903Z] 500ca2ff7d52: Waiting 19:18:52 [2019-05-05T16:18:52.903Z] 782d5215f910: Waiting 19:18:52 [2019-05-05T16:18:52.903Z] 0eb22bfb707d: Waiting 19:18:52 [2019-05-05T16:18:52.903Z] a2ae92ffcd29: Waiting 19:18:53 [2019-05-05T16:18:53.814Z] 73ad47d4bc12: Layer already exists 19:18:53 [2019-05-05T16:18:53.814Z] 04dba64afa87: Layer already exists 19:18:53 [2019-05-05T16:18:53.814Z] c22c27816361: Layer already exists 19:18:54 [2019-05-05T16:18:54.365Z] 782d5215f910: Layer already exists 19:18:54 [2019-05-05T16:18:54.365Z] 500ca2ff7d52: Layer already exists 19:18:54 [2019-05-05T16:18:54.365Z] 0eb22bfb707d: Layer already exists 19:18:54 [2019-05-05T16:18:54.916Z] a2ae92ffcd29: Layer already exists 19:19:02 [2019-05-05T16:19:02.944Z] 45e3a3d10b5e: Pushed 19:19:04 [2019-05-05T16:19:04.809Z] ebf8dceb2477: Pushed 19:19:08 [2019-05-05T16:19:08.933Z] 4-swarm-login-latest: digest: sha256:e9b96791d72cedab4cc940d4f3ea6f2ee51cac753c16ae3b9d60ffeb5a1f10cf size: 2211 19:19:08 [2019-05-05T16:19:08.933Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 19:19:09 [2019-05-05T16:19:09.000Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 19:19:09 [2019-05-05T16:19:09.304Z] + set +x 19:19:09 [2019-05-05T16:19:09.304Z] Moikka kyberorg! 19:19:09 [2019-05-05T16:19:09.304Z] Here is Docker Summary: 19:19:09 [2019-05-05T16:19:09.304Z] Images built and pushed: 1 19:19:09 [2019-05-05T16:19:09.304Z] [ 19:19:09 [2019-05-05T16:19:09.304Z] yasys/hub2swarm:4-swarm-login-latest 19:19:09 [2019-05-05T16:19:09.304Z] ] 19:19:09 [2019-05-05T16:19:09.304Z] 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 19:19:09 [2019-05-05T16:19:09.467Z] One way or another, I have finished. Tsau! [Pipeline] sh 19:19:09 [2019-05-05T16:19:09.763Z] + set +x 19:19:09 [2019-05-05T16:19:09.763Z] Making workspace writable for correct cleanup 19:19:09 [2019-05-05T16:19:09.763Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 19:19:09 [2019-05-05T16:19:09.912Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 3d80d4907f2e33ce4bd0c9fb87d1573ecabc4873de6f750d9a95196309bcb334 $ docker rm -f 3d80d4907f2e33ce4bd0c9fb87d1573ecabc4873de6f750d9a95196309bcb334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS