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 fc1fb8813be0e703554fb7275f1ef6b8ba3238ef (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f fc1fb8813be0e703554fb7275f1ef6b8ba3238ef # timeout=10 Commit message: "Stack update logic" > /usr/bin/git rev-list --no-walk 5ae1179eb4784e764cfe67902eba7cf939bcb410 # 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 fc1fb8813be0e703554fb7275f1ef6b8ba3238ef (origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f fc1fb8813be0e703554fb7275f1ef6b8ba3238ef # timeout=10 Commit message: "Stack update logic" [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/c81b7828-a003-4dab-8b5c-02e5b494f023/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 6484745216e9f32aa5262bfdbb401669af7b81c16efb4f2adb709f6051f6e221 -eo pid,comm ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 15 min [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] stage [Pipeline] { (Preparation) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Execution info) [Pipeline] script [Pipeline] { [Pipeline] timeout 14:22:44 [2019-05-06T11:22:44.618Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:22:44 [2019-05-06T11:22:44.945Z] + set +x 14:22:44 [2019-05-06T11:22:44.945Z] [Runner info] 14:22:44 [2019-05-06T11:22:44.945Z] Hostname: 6484745216e9 14:22:45 [2019-05-06T11:22:45.196Z] Network Status: Host Online 14:22:45 [2019-05-06T11:22:45.197Z] 14:22:45 [2019-05-06T11:22:45.197Z] === Tools info === 14:22:45 [2019-05-06T11:22:45.447Z] Docker version: Docker version 18.09.5, build e8ff056dbc 14:22:45 [2019-05-06T11:22:45.447Z] 14:22:45 [2019-05-06T11:22:45.447Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 14:22:45 [2019-05-06T11:22:45.447Z] Maven home: /opt/mvn 14:22:45 [2019-05-06T11:22:45.447Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 14:22:45 [2019-05-06T11:22:45.447Z] Default locale: en, platform encoding: UTF-8 14:22:45 [2019-05-06T11:22:45.447Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 14:22:45 [2019-05-06T11:22:45.447Z] 14:22:45 [2019-05-06T11:22:45.447Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:22:45 [2019-05-06T11:22:45.519Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:22:45 [2019-05-06T11:22:45.813Z] + set +x 14:22:45 [2019-05-06T11:22:45.813Z] [Build info] 14:22:45 [2019-05-06T11:22:45.813Z] ===== Git info ===== 14:22:45 [2019-05-06T11:22:45.813Z] Git branch: 5-do-stack-update 14:22:45 [2019-05-06T11:22:45.813Z] Git commit: fc1fb8813be0e703554fb7275f1ef6b8ba3238ef 14:22:45 [2019-05-06T11:22:45.813Z] Git tag: - 14:22:45 [2019-05-06T11:22:45.813Z] 14:22:45 [2019-05-06T11:22:45.813Z] ===== Jenkins info ===== 14:22:45 [2019-05-06T11:22:45.813Z] Jenkins Job #87 14:22:45 [2019-05-06T11:22:45.813Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/87/ 14:22:45 [2019-05-06T11:22:45.813Z] Jenkins Tag: jenkins-Hub2Swarm-87 14:22:45 [2019-05-06T11:22:45.813Z] 14:22:45 [2019-05-06T11:22:45.813Z] ===== Job Params ===== 14:22:45 [2019-05-06T11:22:45.813Z] 14:22:45 [2019-05-06T11:22:45.813Z] dockerRepo=yasys/hub2swarm 14:22:45 [2019-05-06T11:22:45.813Z] dockerStep=ee.yadev.pipe.commonpipe.Default@37b747cb 14:22:45 [2019-05-06T11:22:45.813Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@3f5d65e0 14:22:45 [2019-05-06T11:22:45.813Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@37b747cb 14:22:45 [2019-05-06T11:22:45.813Z] hubUrl=https://cloud.docker.com/repository/docker 14:22:45 [2019-05-06T11:22:45.813Z] useDebugTag=false 14:22:45 [2019-05-06T11:22:45.813Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 14:22:45 [2019-05-06T11:22:45.813Z] preparationStep=ee.yadev.pipe.commonpipe.Default@37b747cb 14:22:45 [2019-05-06T11:22:45.813Z] stepTimeout=5 14:22:45 [2019-05-06T11:22:45.813Z] hubCredentialsId=docker-hub 14:22:45 [2019-05-06T11:22:45.813Z] class=class ee.yadev.pipe.commonpipe.Params 14:22:45 [2019-05-06T11:22:45.813Z] skipMavenTests=true 14:22:45 [2019-05-06T11:22:45.813Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 14:22:45 [2019-05-06T11:22:45.813Z] verbose=false 14:22:45 [2019-05-06T11:22:45.813Z] mavenTestsTimeout=5 14:22:45 [2019-05-06T11:22:45.813Z] pipelineTimeout=15 14:22:45 [2019-05-06T11:22:45.813Z] hubUser=kyberorg 14:22:45 [2019-05-06T11:22:45.813Z] 14:22:45 [2019-05-06T11:22:45.813Z] ==== Environment Variables ===== 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 14:22:45 [2019-05-06T11:22:45.813Z] GIT_COMMITTER_NAME=Jenkins CI 14:22:45 [2019-05-06T11:22:45.813Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=5ae1179eb4784e764cfe67902eba7cf939bcb410 14:22:45 [2019-05-06T11:22:45.813Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 14:22:45 [2019-05-06T11:22:45.813Z] HOSTNAME=6484745216e9 14:22:45 [2019-05-06T11:22:45.813Z] gitlabAfter=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef 14:22:45 [2019-05-06T11:22:45.813Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/87/display/redirect?page=changes 14:22:45 [2019-05-06T11:22:45.813Z] HUDSON_URL=https://ci.yadev.eu/ 14:22:45 [2019-05-06T11:22:45.813Z] GIT_COMMIT=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef 14:22:45 [2019-05-06T11:22:45.813Z] NODE_LABELS=master 14:22:45 [2019-05-06T11:22:45.813Z] HOME=/root 14:22:45 [2019-05-06T11:22:45.813Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/87/ 14:22:45 [2019-05-06T11:22:45.813Z] GIT_AUTHOR_NAME=Jenkins CI 14:22:45 [2019-05-06T11:22:45.813Z] gitlabTargetBranch=5-do-stack-update 14:22:45 [2019-05-06T11:22:45.813Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 14:22:45 [2019-05-06T11:22:45.813Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 14:22:45 [2019-05-06T11:22:45.813Z] gitlabMergeRequestLastCommit=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef 14:22:45 [2019-05-06T11:22:45.813Z] JAVA_VERSION=8u212 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 14:22:45 [2019-05-06T11:22:45.813Z] NODE_NAME=master 14:22:45 [2019-05-06T11:22:45.813Z] EXECUTOR_NUMBER=1 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 14:22:45 [2019-05-06T11:22:45.813Z] GIT_BRANCH=origin/5-do-stack-update 14:22:45 [2019-05-06T11:22:45.813Z] STAGE_NAME=Execution info 14:22:45 [2019-05-06T11:22:45.813Z] gitlabBranch=5-do-stack-update 14:22:45 [2019-05-06T11:22:45.813Z] BUILD_DISPLAY_NAME=#87 14:22:45 [2019-05-06T11:22:45.813Z] gitlabUserEmail=kyberorg@yadev.eu 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceBranch=5-do-stack-update 14:22:45 [2019-05-06T11:22:45.813Z] HUDSON_HOME=/var/lib/jenkins 14:22:45 [2019-05-06T11:22:45.813Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 14:22:45 [2019-05-06T11:22:45.813Z] JOB_BASE_NAME=Hub2Swarm 14:22:45 [2019-05-06T11:22:45.813Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 14:22:45 [2019-05-06T11:22:45.813Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 14:22:45 [2019-05-06T11:22:45.813Z] BUILD_ID=87 14:22:45 [2019-05-06T11:22:45.813Z] BUILDING_FOR=kyberorg 14:22:45 [2019-05-06T11:22:45.813Z] gitlabBefore=5ae1179eb4784e764cfe67902eba7cf939bcb410 14:22:45 [2019-05-06T11:22:45.813Z] BUILD_TAG=jenkins-Hub2Swarm-87 14:22:45 [2019-05-06T11:22:45.813Z] gitlabActionType=PUSH 14:22:45 [2019-05-06T11:22:45.813Z] JENKINS_URL=https://ci.yadev.eu/ 14:22:45 [2019-05-06T11:22:45.813Z] LANG=C.UTF-8 14:22:45 [2019-05-06T11:22:45.813Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceRepoName=Hub2Swarm 14:22:45 [2019-05-06T11:22:45.813Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 14:22:45 [2019-05-06T11:22:45.813Z] BUILD_NUMBER=87 14:22:45 [2019-05-06T11:22:45.813Z] gitlabSourceNamespace=Yet another Systems 14:22:45 [2019-05-06T11:22:45.813Z] JENKINS_NODE_COOKIE=78c0e77b-af52-453d-be38-3bcd5e386ad9 14:22:45 [2019-05-06T11:22:45.813Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/87/display/redirect 14:22:45 [2019-05-06T11:22:45.813Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 14:22:45 [2019-05-06T11:22:45.813Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 14:22:45 [2019-05-06T11:22:45.813Z] CLASSPATH= 14:22:45 [2019-05-06T11:22:45.813Z] JOB_NAME=Hub2Swarm 14:22:45 [2019-05-06T11:22:45.813Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 14:22:45 [2019-05-06T11:22:45.813Z] gitlabUserName=Alex Muravya 14:22:45 [2019-05-06T11:22:45.813Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/c81b7828-a003-4dab-8b5c-02e5b494f023 14:22:45 [2019-05-06T11:22:45.813Z] JAVA_HOME=/docker-java-home 14:22:45 [2019-05-06T11:22:45.813Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 14:22:45 [2019-05-06T11:22:45.813Z] GIT_PREVIOUS_COMMIT=5ae1179eb4784e764cfe67902eba7cf939bcb410 14:22:45 [2019-05-06T11:22:45.813Z] 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 14:22:46 [2019-05-06T11:22:46.276Z] + mvn clean package 14:22:48 [2019-05-06T11:22:48.139Z] [INFO] Scanning for projects... 14:22:48 [2019-05-06T11:22:48.390Z] [INFO] 14:22:48 [2019-05-06T11:22:48.390Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 14:22:48 [2019-05-06T11:22:48.390Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 14:22:48 [2019-05-06T11:22:48.390Z] [INFO] --------------------------------[ jar ]--------------------------------- 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] Copying 4 resources 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] Copying 5 resources 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] 14:22:50 [2019-05-06T11:22:50.256Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 14:22:50 [2019-05-06T11:22:50.506Z] [INFO] Changes detected - recompiling the module! 14:22:50 [2019-05-06T11:22:50.506Z] [INFO] Compiling 38 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] Changes detected - recompiling the module! 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] 14:22:54 [2019-05-06T11:22:54.631Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 14:22:54 [2019-05-06T11:22:54.882Z] [INFO] 14:22:54 [2019-05-06T11:22:54.882Z] [INFO] ------------------------------------------------------- 14:22:54 [2019-05-06T11:22:54.882Z] [INFO] T E S T S 14:22:54 [2019-05-06T11:22:54.882Z] [INFO] ------------------------------------------------------- 14:22:55 [2019-05-06T11:22:55.793Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 14:22:55 [2019-05-06T11:22:55.793Z] 11:22:55.719 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:55 [2019-05-06T11:22:55.793Z] 11:22:55.729 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 14:22:55 [2019-05-06T11:22:55.793Z] 11:22:55.746 [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)] 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.804 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.835 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.843 [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 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.844 [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 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.844 [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}. 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.846 [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. 14:22:56 [2019-05-06T11:22:56.043Z] 11:22:55.941 [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] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.065 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.067 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.206 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.207 [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] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.236 [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] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.239 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.241 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.243 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.243 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.244 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.244 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.251 [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]. 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.254 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.294Z] 11:22:56.255 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 14:22:56 [2019-05-06T11:22:56.545Z] 11:22:56.294 [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} 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] . ____ _ __ _ _ 14:22:56 [2019-05-06T11:22:56.795Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 14:22:56 [2019-05-06T11:22:56.795Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 14:22:56 [2019-05-06T11:22:56.795Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 14:22:56 [2019-05-06T11:22:56.795Z] ' |____| .__|_| |_|_| |_\__, | / / / / 14:22:56 [2019-05-06T11:22:56.795Z] =========|_|==============|___/=/_/_/_/ 14:22:56 [2019-05-06T11:22:56.795Z] :: Spring Boot :: (v2.2.0.M2) 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] 2019-05-06 11:22:56.647 WARN 119 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] Found multiple occurrences of org.json.JSONObject on the class path: 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] 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 14:22:56 [2019-05-06T11:22:56.795Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] You may wish to exclude one of them to ensure predictable runtime behavior 14:22:56 [2019-05-06T11:22:56.795Z] 14:22:56 [2019-05-06T11:22:56.795Z] 2019-05-06 11:22:56.680 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 6484745216e9 with PID 119 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 14:22:56 [2019-05-06T11:22:56.795Z] 2019-05-06 11:22:56.681 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 14:22:58 [2019-05-06T11:22:58.657Z] 2019-05-06 11:22:58.408 INFO 119 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 14:22:58 [2019-05-06T11:22:58.657Z] 2019-05-06 11:22:58.578 INFO 119 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 155ms. Found 5 repository interfaces. 14:22:59 [2019-05-06T11:22:59.572Z] 2019-05-06 11:22:59.338 INFO 119 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$de204afd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 14:23:00 [2019-05-06T11:23:00.123Z] 2019-05-06 11:22:59.889 INFO 119 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 14:23:00 [2019-05-06T11:23:00.123Z] 2019-05-06 11:22:59.901 INFO 119 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 14:23:00 [2019-05-06T11:23:00.374Z] 2019-05-06 11:23:00.235 INFO 119 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 14:23:00 [2019-05-06T11:23:00.374Z] 2019-05-06 11:23:00.245 INFO 119 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 14:23:00 [2019-05-06T11:23:00.374Z] 2019-05-06 11:23:00.292 WARN 119 --- [ main] o.f.c.internal.database.base.Database : Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.401 INFO 119 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 5 migrations (execution time 00:00.037s) 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.419 INFO 119 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.476 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.480 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.528 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.551 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.564 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.575 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 5 - Image Replace Policy 14:23:00 [2019-05-06T11:23:00.625Z] 2019-05-06 11:23:00.597 INFO 119 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 5 migrations to schema "PUBLIC" (execution time 00:00.182s) 14:23:01 [2019-05-06T11:23:01.176Z] 2019-05-06 11:23:00.885 INFO 119 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 14:23:01 [2019-05-06T11:23:01.176Z] 2019-05-06 11:23:01.002 INFO 119 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 14:23:01 [2019-05-06T11:23:01.426Z] 2019-05-06 11:23:01.278 INFO 119 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 14:23:01 [2019-05-06T11:23:01.677Z] 2019-05-06 11:23:01.528 INFO 119 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 14:23:03 [2019-05-06T11:23:03.020Z] 2019-05-06 11:23:02.930 INFO 119 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 14:23:03 [2019-05-06T11:23:03.020Z] 2019-05-06 11:23:02.934 INFO 119 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 14:23:04 [2019-05-06T11:23:04.364Z] 2019-05-06 11:23:04.013 WARN 119 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 14:23:05 [2019-05-06T11:23:05.275Z] 2019-05-06 11:23:04.941 INFO 119 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 14:23:05 [2019-05-06T11:23:05.275Z] 14:23:05 [2019-05-06T11:23:05.275Z] Using generated security password: 86d83b62-15e6-4a0c-96d2-99d17db4fb5e 14:23:05 [2019-05-06T11:23:05.275Z] 14:23:05 [2019-05-06T11:23:05.275Z] 2019-05-06 11:23:05.222 INFO 119 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@213ceb4e, org.springframework.security.web.context.SecurityContextPersistenceFilter@7d3bcd3, org.springframework.security.web.header.HeaderWriterFilter@2f8f40cc, org.springframework.security.web.authentication.logout.LogoutFilter@1c2cdc67, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@b76b7d8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@355493bf, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@23c72128, org.springframework.security.web.session.SessionManagementFilter@bb5f9d, org.springframework.security.web.access.ExceptionTranslationFilter@d180961, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@470c4229] 14:23:06 [2019-05-06T11:23:06.186Z] 2019-05-06 11:23:06.010 INFO 119 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 14:23:07 [2019-05-06T11:23:07.530Z] 2019-05-06 11:23:07.132 INFO 119 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 14:23:07 [2019-05-06T11:23:07.530Z] 2019-05-06 11:23:07.346 INFO 119 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.036 seconds (JVM running for 12.348) 14:23:07 [2019-05-06T11:23:07.530Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.938 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 14:23:07 [2019-05-06T11:23:07.530Z] 2019-05-06 11:23:07.525 INFO 119 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 14:23:07 [2019-05-06T11:23:07.780Z] 2019-05-06 11:23:07.536 INFO 119 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 14:23:07 [2019-05-06T11:23:07.780Z] 2019-05-06 11:23:07.548 INFO 119 --- [ Thread-3] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199] 14:23:07 [2019-05-06T11:23:07.781Z] 2019-05-06 11:23:07.550 INFO 119 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 14:23:07 [2019-05-06T11:23:07.781Z] 2019-05-06 11:23:07.563 INFO 119 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] Results: 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] 14:23:08 [2019-05-06T11:23:08.031Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 14:23:08 [2019-05-06T11:23:08.282Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 14:23:08 [2019-05-06T11:23:08.532Z] [INFO] 14:23:08 [2019-05-06T11:23:08.532Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 14:23:09 [2019-05-06T11:23:09.443Z] [INFO] Replacing main artifact with repackaged archive 14:23:09 [2019-05-06T11:23:09.443Z] [INFO] ------------------------------------------------------------------------ 14:23:09 [2019-05-06T11:23:09.444Z] [INFO] BUILD SUCCESS 14:23:09 [2019-05-06T11:23:09.444Z] [INFO] ------------------------------------------------------------------------ 14:23:09 [2019-05-06T11:23:09.444Z] [INFO] Total time: 21.374 s 14:23:09 [2019-05-06T11:23:09.444Z] [INFO] Finished at: 2019-05-06T11:23:09Z 14:23:09 [2019-05-06T11:23:09.444Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 14:23:09 [2019-05-06T11:23:09.605Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:23:09 [2019-05-06T11:23:09.901Z] + set +x 14:23:09 [2019-05-06T11:23:09.901Z] Starting Docker: docker. 14:23:09 [2019-05-06T11:23:09.901Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 14:23:09 [2019-05-06T11:23:09.960Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 14:23:10 [2019-05-06T11:23:10.000Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:23:10 [2019-05-06T11:23:10.299Z] + set +x 14:23:10 [2019-05-06T11:23:10.299Z] Login as **** to Docker Repository 14:23:12 [2019-05-06T11:23:12.161Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/c81b7828-a003-4dab-8b5c-02e5b494f023/config.json. 14:23:12 [2019-05-06T11:23:12.162Z] Configure a credential helper to remove this warning. See 14:23:12 [2019-05-06T11:23:12.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:12 [2019-05-06T11:23:12.162Z] 14:23:12 [2019-05-06T11:23:12.162Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 14:23:12 [2019-05-06T11:23:12.279Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:23:12 [2019-05-06T11:23:12.576Z] + set +x 14:23:12 [2019-05-06T11:23:12.576Z] Building Docker Image yasys/hub2swarm with tags: [5-do-stack-update-latest] 14:23:13 [2019-05-06T11:23:13.127Z] Sending build context to Docker daemon 70.64MB 14:23:13 [2019-05-06T11:23:13.377Z] Step 1/7 : FROM java:8-jre 14:23:14 [2019-05-06T11:23:14.721Z] 8-jre: Pulling from library/java 14:23:14 [2019-05-06T11:23:14.721Z] 5040bd298390: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] fce5728aad85: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] c42794440453: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] 0c0da797ba48: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] 7c9b17433752: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] 114e02586e63: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] e4c663802e9a: Pulling fs layer 14:23:14 [2019-05-06T11:23:14.721Z] 0c0da797ba48: Waiting 14:23:14 [2019-05-06T11:23:14.721Z] 7c9b17433752: Waiting 14:23:14 [2019-05-06T11:23:14.721Z] 114e02586e63: Waiting 14:23:14 [2019-05-06T11:23:14.721Z] e4c663802e9a: Waiting 14:23:15 [2019-05-06T11:23:15.272Z] c42794440453: Verifying Checksum 14:23:15 [2019-05-06T11:23:15.272Z] c42794440453: Download complete 14:23:15 [2019-05-06T11:23:15.272Z] fce5728aad85: Verifying Checksum 14:23:15 [2019-05-06T11:23:15.272Z] fce5728aad85: Download complete 14:23:15 [2019-05-06T11:23:15.823Z] 0c0da797ba48: Download complete 14:23:15 [2019-05-06T11:23:15.823Z] 5040bd298390: Verifying Checksum 14:23:15 [2019-05-06T11:23:15.823Z] 5040bd298390: Download complete 14:23:15 [2019-05-06T11:23:15.823Z] 7c9b17433752: Verifying Checksum 14:23:15 [2019-05-06T11:23:15.823Z] 7c9b17433752: Download complete 14:23:16 [2019-05-06T11:23:16.073Z] e4c663802e9a: Verifying Checksum 14:23:16 [2019-05-06T11:23:16.073Z] e4c663802e9a: Download complete 14:23:16 [2019-05-06T11:23:16.984Z] 114e02586e63: Verifying Checksum 14:23:16 [2019-05-06T11:23:16.984Z] 114e02586e63: Download complete 14:23:20 [2019-05-06T11:23:20.217Z] 5040bd298390: Pull complete 14:23:22 [2019-05-06T11:23:22.079Z] fce5728aad85: Pull complete 14:23:22 [2019-05-06T11:23:22.631Z] c42794440453: Pull complete 14:23:23 [2019-05-06T11:23:23.544Z] 0c0da797ba48: Pull complete 14:23:24 [2019-05-06T11:23:24.455Z] 7c9b17433752: Pull complete 14:23:29 [2019-05-06T11:23:29.651Z] 114e02586e63: Pull complete 14:23:32 [2019-05-06T11:23:32.135Z] e4c663802e9a: Pull complete 14:23:32 [2019-05-06T11:23:32.135Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 14:23:32 [2019-05-06T11:23:32.135Z] Status: Downloaded newer image for java:8-jre 14:23:32 [2019-05-06T11:23:32.135Z] ---> e44d62cf8862 14:23:32 [2019-05-06T11:23:32.135Z] Step 2/7 : VOLUME /tmp 14:23:34 [2019-05-06T11:23:34.618Z] ---> Running in e02738c309d1 14:23:39 [2019-05-06T11:23:39.814Z] Removing intermediate container e02738c309d1 14:23:39 [2019-05-06T11:23:39.814Z] ---> 16c336c777a5 14:23:39 [2019-05-06T11:23:39.814Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 14:23:41 [2019-05-06T11:23:41.158Z] ---> Running in 1b944318a5b4 14:23:43 [2019-05-06T11:23:43.641Z] Removing intermediate container 1b944318a5b4 14:23:43 [2019-05-06T11:23:43.641Z] ---> 51b0ac7f54d6 14:23:43 [2019-05-06T11:23:43.641Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 14:23:47 [2019-05-06T11:23:47.764Z] ---> c4926805b860 14:23:47 [2019-05-06T11:23:47.764Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 14:23:50 [2019-05-06T11:23:50.249Z] ---> Running in 9ff40da6c6df 14:23:55 [2019-05-06T11:23:55.445Z] Removing intermediate container 9ff40da6c6df 14:23:55 [2019-05-06T11:23:55.445Z] ---> 1329a6e16e54 14:23:55 [2019-05-06T11:23:55.445Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 14:23:57 [2019-05-06T11:23:57.942Z] ---> Running in a780629f8602 14:24:00 [2019-05-06T11:24:00.428Z] Removing intermediate container a780629f8602 14:24:00 [2019-05-06T11:24:00.429Z] ---> a3a040900ce4 14:24:00 [2019-05-06T11:24:00.429Z] Step 7/7 : EXPOSE 8080 14:24:02 [2019-05-06T11:24:02.912Z] ---> Running in a7c3abbb3209 14:24:06 [2019-05-06T11:24:06.140Z] Removing intermediate container a7c3abbb3209 14:24:06 [2019-05-06T11:24:06.141Z] ---> 654c5b871b83 14:24:06 [2019-05-06T11:24:06.141Z] Successfully built 654c5b871b83 14:24:06 [2019-05-06T11:24:06.141Z] Successfully tagged yasys/hub2swarm:5-do-stack-update-latest 14:24:06 [2019-05-06T11:24:06.141Z] Docker image yasys/hub2swarm:[5-do-stack-update-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:24:06 [2019-05-06T11:24:06.208Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:24:06 [2019-05-06T11:24:06.503Z] + set +x 14:24:06 [2019-05-06T11:24:06.503Z] Push yasys/hub2swarm to Docker Repository 14:24:06 [2019-05-06T11:24:06.503Z] The push refers to repository [docker.io/yasys/hub2swarm] 14:24:07 [2019-05-06T11:24:07.054Z] 912497395411: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 611d185658d2: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 73ad47d4bc12: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] c22c27816361: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 04dba64afa87: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 500ca2ff7d52: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 782d5215f910: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 0eb22bfb707d: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] a2ae92ffcd29: Preparing 14:24:07 [2019-05-06T11:24:07.054Z] 782d5215f910: Waiting 14:24:07 [2019-05-06T11:24:07.054Z] 500ca2ff7d52: Waiting 14:24:07 [2019-05-06T11:24:07.054Z] a2ae92ffcd29: Waiting 14:24:07 [2019-05-06T11:24:07.054Z] 0eb22bfb707d: Waiting 14:24:07 [2019-05-06T11:24:07.965Z] 73ad47d4bc12: Layer already exists 14:24:07 [2019-05-06T11:24:07.966Z] 04dba64afa87: Layer already exists 14:24:07 [2019-05-06T11:24:07.966Z] c22c27816361: Layer already exists 14:24:08 [2019-05-06T11:24:08.516Z] 500ca2ff7d52: Layer already exists 14:24:08 [2019-05-06T11:24:08.516Z] 782d5215f910: Layer already exists 14:24:08 [2019-05-06T11:24:08.516Z] 0eb22bfb707d: Layer already exists 14:24:09 [2019-05-06T11:24:09.069Z] a2ae92ffcd29: Layer already exists 14:24:18 [2019-05-06T11:24:18.946Z] 611d185658d2: Pushed 14:24:21 [2019-05-06T11:24:21.430Z] 912497395411: Pushed 14:24:25 [2019-05-06T11:24:25.553Z] 5-do-stack-update-latest: digest: sha256:2fa2294102662cffacc7be93c7cc9c4696e918f85726129241bf610cd9e4f222 size: 2211 14:24:25 [2019-05-06T11:24:25.553Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 14:24:25 [2019-05-06T11:24:25.610Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 14:24:25 [2019-05-06T11:24:25.906Z] + set +x 14:24:25 [2019-05-06T11:24:25.906Z] Moikka kyberorg! 14:24:25 [2019-05-06T11:24:25.906Z] Here is Docker Summary: 14:24:25 [2019-05-06T11:24:25.906Z] Images built and pushed: 1 14:24:25 [2019-05-06T11:24:25.906Z] [ 14:24:25 [2019-05-06T11:24:25.906Z] yasys/hub2swarm:5-do-stack-update-latest 14:24:25 [2019-05-06T11:24:25.906Z] ] 14:24:25 [2019-05-06T11:24:25.906Z] Hub Url: https://cloud.docker.com/repository/docker/yasys/hub2swarm [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo 14:24:26 [2019-05-06T11:24:26.048Z] One way or another, I have finished. Tsau! [Pipeline] sh 14:24:26 [2019-05-06T11:24:26.342Z] + set +x 14:24:26 [2019-05-06T11:24:26.342Z] Making workspace writable for correct cleanup 14:24:26 [2019-05-06T11:24:26.342Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 14:24:26 [2019-05-06T11:24:26.423Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 6484745216e9f32aa5262bfdbb401669af7b81c16efb4f2adb709f6051f6e221 $ docker rm -f 6484745216e9f32aa5262bfdbb401669af7b81c16efb4f2adb709f6051f6e221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS