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 dbafd622efe07dc9b1812ec2e3871b4e9f8468eb (origin/4-swarm-login) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f dbafd622efe07dc9b1812ec2e3871b4e9f8468eb # timeout=10 Commit message: "small update" > /usr/bin/git rev-list --no-walk 658ebbcc3a1b2369c3f01b15970efe36d1d084ac # 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 dbafd622efe07dc9b1812ec2e3871b4e9f8468eb (origin/4-swarm-login) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f dbafd622efe07dc9b1812ec2e3871b4e9f8468eb # timeout=10 Commit message: "small update" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u kyberorg -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/ce89066f-1184-45af-a600-df21d927c815/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 d5294a6966f6436b5cbd440daf32c1700f331853de9f07e73613fd4f7cbe97c8 -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 13:05:40 [2019-05-05T10:05:40.015Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:05:40 [2019-05-05T10:05:40.326Z] + set +x 13:05:40 [2019-05-05T10:05:40.326Z] [Runner info] 13:05:40 [2019-05-05T10:05:40.327Z] Hostname: d5294a6966f6 13:05:40 [2019-05-05T10:05:40.579Z] Network Status: Host Online 13:05:40 [2019-05-05T10:05:40.579Z] 13:05:40 [2019-05-05T10:05:40.579Z] === Tools info === 13:05:41 [2019-05-05T10:05:41.132Z] Docker version: Docker version 18.09.5, build e8ff056dbc 13:05:41 [2019-05-05T10:05:41.132Z] 13:05:41 [2019-05-05T10:05:41.132Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 13:05:41 [2019-05-05T10:05:41.132Z] Maven home: /opt/mvn 13:05:41 [2019-05-05T10:05:41.132Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 13:05:41 [2019-05-05T10:05:41.132Z] Default locale: en, platform encoding: UTF-8 13:05:41 [2019-05-05T10:05:41.132Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 13:05:41 [2019-05-05T10:05:41.132Z] 13:05:41 [2019-05-05T10:05:41.132Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:05:41 [2019-05-05T10:05:41.293Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:05:41 [2019-05-05T10:05:41.607Z] + set +x 13:05:41 [2019-05-05T10:05:41.607Z] [Build info] 13:05:41 [2019-05-05T10:05:41.607Z] ===== Git info ===== 13:05:41 [2019-05-05T10:05:41.607Z] Git branch: 4-swarm-login 13:05:41 [2019-05-05T10:05:41.607Z] Git commit: dbafd622efe07dc9b1812ec2e3871b4e9f8468eb 13:05:41 [2019-05-05T10:05:41.607Z] Git tag: - 13:05:41 [2019-05-05T10:05:41.607Z] 13:05:41 [2019-05-05T10:05:41.607Z] ===== Jenkins info ===== 13:05:41 [2019-05-05T10:05:41.607Z] Jenkins Job #73 13:05:41 [2019-05-05T10:05:41.607Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/73/ 13:05:41 [2019-05-05T10:05:41.607Z] Jenkins Tag: jenkins-Hub2Swarm-73 13:05:41 [2019-05-05T10:05:41.608Z] 13:05:41 [2019-05-05T10:05:41.608Z] ===== Job Params ===== 13:05:41 [2019-05-05T10:05:41.608Z] 13:05:41 [2019-05-05T10:05:41.608Z] dockerRepo=yasys/hub2swarm 13:05:41 [2019-05-05T10:05:41.608Z] dockerStep=ee.yadev.pipe.commonpipe.Default@43a3b69d 13:05:41 [2019-05-05T10:05:41.608Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@1c6f1887 13:05:41 [2019-05-05T10:05:41.608Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@43a3b69d 13:05:41 [2019-05-05T10:05:41.608Z] hubUrl=https://cloud.docker.com/repository/docker 13:05:41 [2019-05-05T10:05:41.608Z] useDebugTag=false 13:05:41 [2019-05-05T10:05:41.608Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 13:05:41 [2019-05-05T10:05:41.608Z] preparationStep=ee.yadev.pipe.commonpipe.Default@43a3b69d 13:05:41 [2019-05-05T10:05:41.608Z] stepTimeout=5 13:05:41 [2019-05-05T10:05:41.608Z] hubCredentialsId=docker-hub 13:05:41 [2019-05-05T10:05:41.608Z] class=class ee.yadev.pipe.commonpipe.Params 13:05:41 [2019-05-05T10:05:41.608Z] skipMavenTests=true 13:05:41 [2019-05-05T10:05:41.608Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 13:05:41 [2019-05-05T10:05:41.608Z] verbose=false 13:05:41 [2019-05-05T10:05:41.608Z] mavenTestsTimeout=5 13:05:41 [2019-05-05T10:05:41.608Z] pipelineTimeout=15 13:05:41 [2019-05-05T10:05:41.609Z] hubUser=kyberorg 13:05:41 [2019-05-05T10:05:41.609Z] 13:05:41 [2019-05-05T10:05:41.609Z] ==== Environment Variables ===== 13:05:41 [2019-05-05T10:05:41.609Z] GIT_COMMITTER_NAME=Jenkins CI 13:05:41 [2019-05-05T10:05:41.609Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 13:05:41 [2019-05-05T10:05:41.609Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=658ebbcc3a1b2369c3f01b15970efe36d1d084ac 13:05:41 [2019-05-05T10:05:41.609Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 13:05:41 [2019-05-05T10:05:41.609Z] HOSTNAME=d5294a6966f6 13:05:41 [2019-05-05T10:05:41.609Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/73/display/redirect?page=changes 13:05:41 [2019-05-05T10:05:41.609Z] gitlabAfter=dbafd622efe07dc9b1812ec2e3871b4e9f8468eb 13:05:41 [2019-05-05T10:05:41.609Z] HUDSON_URL=https://ci.yadev.eu/ 13:05:41 [2019-05-05T10:05:41.609Z] NODE_LABELS=master 13:05:41 [2019-05-05T10:05:41.609Z] GIT_COMMIT=dbafd622efe07dc9b1812ec2e3871b4e9f8468eb 13:05:41 [2019-05-05T10:05:41.609Z] HOME=/root 13:05:41 [2019-05-05T10:05:41.609Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/73/ 13:05:41 [2019-05-05T10:05:41.609Z] gitlabTargetBranch=4-swarm-login 13:05:41 [2019-05-05T10:05:41.609Z] GIT_AUTHOR_NAME=Jenkins CI 13:05:41 [2019-05-05T10:05:41.610Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 13:05:41 [2019-05-05T10:05:41.610Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 13:05:41 [2019-05-05T10:05:41.610Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 13:05:41 [2019-05-05T10:05:41.610Z] gitlabMergeRequestLastCommit=dbafd622efe07dc9b1812ec2e3871b4e9f8468eb 13:05:41 [2019-05-05T10:05:41.610Z] JAVA_VERSION=8u212 13:05:41 [2019-05-05T10:05:41.610Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 13:05:41 [2019-05-05T10:05:41.610Z] NODE_NAME=master 13:05:41 [2019-05-05T10:05:41.610Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 13:05:41 [2019-05-05T10:05:41.610Z] EXECUTOR_NUMBER=0 13:05:41 [2019-05-05T10:05:41.610Z] GIT_BRANCH=origin/4-swarm-login 13:05:41 [2019-05-05T10:05:41.610Z] STAGE_NAME=Execution info 13:05:41 [2019-05-05T10:05:41.610Z] gitlabBranch=4-swarm-login 13:05:41 [2019-05-05T10:05:41.610Z] BUILD_DISPLAY_NAME=#73 13:05:41 [2019-05-05T10:05:41.610Z] gitlabSourceBranch=4-swarm-login 13:05:41 [2019-05-05T10:05:41.610Z] gitlabUserEmail=kyberorg@yadev.eu 13:05:41 [2019-05-05T10:05:41.610Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 13:05:41 [2019-05-05T10:05:41.610Z] JOB_BASE_NAME=Hub2Swarm 13:05:41 [2019-05-05T10:05:41.610Z] HUDSON_HOME=/var/lib/jenkins 13:05:41 [2019-05-05T10:05:41.610Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 13:05:41 [2019-05-05T10:05:41.610Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 13:05:41 [2019-05-05T10:05:41.611Z] BUILD_ID=73 13:05:41 [2019-05-05T10:05:41.611Z] BUILDING_FOR=kyberorg 13:05:41 [2019-05-05T10:05:41.611Z] BUILD_TAG=jenkins-Hub2Swarm-73 13:05:41 [2019-05-05T10:05:41.611Z] gitlabBefore=658ebbcc3a1b2369c3f01b15970efe36d1d084ac 13:05:41 [2019-05-05T10:05:41.611Z] gitlabActionType=PUSH 13:05:41 [2019-05-05T10:05:41.611Z] JENKINS_URL=https://ci.yadev.eu/ 13:05:41 [2019-05-05T10:05:41.611Z] LANG=C.UTF-8 13:05:41 [2019-05-05T10:05:41.611Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 13:05:41 [2019-05-05T10:05:41.611Z] gitlabSourceRepoName=Hub2Swarm 13:05:41 [2019-05-05T10:05:41.611Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 13:05:41 [2019-05-05T10:05:41.611Z] BUILD_NUMBER=73 13:05:41 [2019-05-05T10:05:41.611Z] gitlabSourceNamespace=Yet another Systems 13:05:41 [2019-05-05T10:05:41.611Z] JENKINS_NODE_COOKIE=fdae8eb2-3180-482f-b673-92a0ccc0f9f1 13:05:41 [2019-05-05T10:05:41.611Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/73/display/redirect 13:05:41 [2019-05-05T10:05:41.611Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 13:05:41 [2019-05-05T10:05:41.611Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 13:05:41 [2019-05-05T10:05:41.611Z] CLASSPATH= 13:05:41 [2019-05-05T10:05:41.611Z] JOB_NAME=Hub2Swarm 13:05:41 [2019-05-05T10:05:41.611Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 13:05:41 [2019-05-05T10:05:41.611Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/ce89066f-1184-45af-a600-df21d927c815 13:05:41 [2019-05-05T10:05:41.611Z] gitlabUserName=Alex Muravya 13:05:41 [2019-05-05T10:05:41.611Z] JAVA_HOME=/docker-java-home 13:05:41 [2019-05-05T10:05:41.611Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 13:05:41 [2019-05-05T10:05:41.612Z] GIT_PREVIOUS_COMMIT=658ebbcc3a1b2369c3f01b15970efe36d1d084ac 13:05:41 [2019-05-05T10:05:41.612Z] 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 13:05:42 [2019-05-05T10:05:42.110Z] + mvn clean package 13:05:43 [2019-05-05T10:05:43.979Z] [INFO] Scanning for projects... 13:05:43 [2019-05-05T10:05:43.979Z] [INFO] 13:05:43 [2019-05-05T10:05:43.979Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 13:05:43 [2019-05-05T10:05:43.979Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 13:05:43 [2019-05-05T10:05:43.979Z] [INFO] --------------------------------[ jar ]--------------------------------- 13:05:46 [2019-05-05T10:05:46.465Z] [INFO] 13:05:46 [2019-05-05T10:05:46.465Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 13:05:46 [2019-05-05T10:05:46.465Z] [INFO] 13:05:46 [2019-05-05T10:05:46.465Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 13:05:46 [2019-05-05T10:05:46.716Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 13:05:46 [2019-05-05T10:05:46.716Z] [INFO] Copying 4 resources 13:05:46 [2019-05-05T10:05:46.716Z] [INFO] Copying 4 resources 13:05:46 [2019-05-05T10:05:46.716Z] [INFO] 13:05:46 [2019-05-05T10:05:46.716Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 13:05:46 [2019-05-05T10:05:46.967Z] [INFO] Changes detected - recompiling the module! 13:05:46 [2019-05-05T10:05:46.967Z] [INFO] Compiling 35 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 13:05:51 [2019-05-05T10:05:51.091Z] [INFO] 13:05:51 [2019-05-05T10:05:51.091Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] Changes detected - recompiling the module! 13:05:51 [2019-05-05T10:05:51.092Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 13:05:51 [2019-05-05T10:05:51.643Z] [INFO] 13:05:51 [2019-05-05T10:05:51.643Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 13:05:51 [2019-05-05T10:05:51.894Z] [INFO] 13:05:51 [2019-05-05T10:05:51.894Z] [INFO] ------------------------------------------------------- 13:05:51 [2019-05-05T10:05:51.894Z] [INFO] T E S T S 13:05:51 [2019-05-05T10:05:51.894Z] [INFO] ------------------------------------------------------- 13:05:52 [2019-05-05T10:05:52.445Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 13:05:52 [2019-05-05T10:05:52.696Z] 10:05:52.588 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:52 [2019-05-05T10:05:52.697Z] 10:05:52.596 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 13:05:52 [2019-05-05T10:05:52.697Z] 10:05:52.613 [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)] 13:05:52 [2019-05-05T10:05:52.697Z] 10:05:52.690 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.733 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.744 [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 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.745 [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 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.745 [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}. 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.746 [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. 13:05:52 [2019-05-05T10:05:52.948Z] 10:05:52.875 [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] 13:05:53 [2019-05-05T10:05:53.199Z] 10:05:53.009 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 13:05:53 [2019-05-05T10:05:53.199Z] 10:05:53.010 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 13:05:53 [2019-05-05T10:05:53.199Z] 10:05:53.180 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 13:05:53 [2019-05-05T10:05:53.199Z] 10:05:53.181 [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] 13:05:53 [2019-05-05T10:05:53.450Z] 10:05:53.237 [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] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.241 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.243 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.245 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.246 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.247 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.247 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.254 [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]. 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.259 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.260 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 13:05:53 [2019-05-05T10:05:53.451Z] 10:05:53.327 [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} 13:05:53 [2019-05-05T10:05:53.702Z] 13:05:53 [2019-05-05T10:05:53.702Z] . ____ _ __ _ _ 13:05:53 [2019-05-05T10:05:53.702Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 13:05:53 [2019-05-05T10:05:53.702Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 13:05:53 [2019-05-05T10:05:53.702Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 13:05:53 [2019-05-05T10:05:53.702Z] ' |____| .__|_| |_|_| |_\__, | / / / / 13:05:53 [2019-05-05T10:05:53.702Z] =========|_|==============|___/=/_/_/_/ 13:05:53 [2019-05-05T10:05:53.702Z] :: Spring Boot :: (v2.2.0.M2) 13:05:53 [2019-05-05T10:05:53.702Z] 13:05:53 [2019-05-05T10:05:53.953Z] 2019-05-05 10:05:53.757 WARN 121 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 13:05:53 [2019-05-05T10:05:53.953Z] 13:05:53 [2019-05-05T10:05:53.953Z] Found multiple occurrences of org.json.JSONObject on the class path: 13:05:53 [2019-05-05T10:05:53.953Z] 13:05:53 [2019-05-05T10:05:53.953Z] 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 13:05:53 [2019-05-05T10:05:53.953Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 13:05:53 [2019-05-05T10:05:53.953Z] 13:05:53 [2019-05-05T10:05:53.953Z] You may wish to exclude one of them to ensure predictable runtime behavior 13:05:53 [2019-05-05T10:05:53.953Z] 13:05:53 [2019-05-05T10:05:53.953Z] 2019-05-05 10:05:53.793 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on d5294a6966f6 with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 13:05:53 [2019-05-05T10:05:53.953Z] 2019-05-05 10:05:53.794 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 13:05:55 [2019-05-05T10:05:55.816Z] 2019-05-05 10:05:55.794 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 13:05:56 [2019-05-05T10:05:56.067Z] 2019-05-05 10:05:55.966 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 151ms. Found 5 repository interfaces. 13:05:56 [2019-05-05T10:05:56.980Z] 2019-05-05 10:05:56.676 INFO 121 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$cfcfaf3c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 13:05:57 [2019-05-05T10:05:57.231Z] 2019-05-05 10:05:57.219 INFO 121 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 13:05:57 [2019-05-05T10:05:57.482Z] 2019-05-05 10:05:57.239 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 13:05:57 [2019-05-05T10:05:57.732Z] 2019-05-05 10:05:57.648 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 13:05:57 [2019-05-05T10:05:57.733Z] 2019-05-05 10:05:57.658 INFO 121 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 13:05:57 [2019-05-05T10:05:57.733Z] 2019-05-05 10:05:57.711 WARN 121 --- [ 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. 13:05:57 [2019-05-05T10:05:57.983Z] 2019-05-05 10:05:57.826 INFO 121 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 4 migrations (execution time 00:00.033s) 13:05:57 [2019-05-05T10:05:57.983Z] 2019-05-05 10:05:57.840 INFO 121 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.875 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.877 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.907 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.925 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.937 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 13:05:57 [2019-05-05T10:05:57.984Z] 2019-05-05 10:05:57.948 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 4 migrations to schema "PUBLIC" (execution time 00:00.111s) 13:05:58 [2019-05-05T10:05:58.234Z] 2019-05-05 10:05:58.219 INFO 121 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 13:05:58 [2019-05-05T10:05:58.485Z] 2019-05-05 10:05:58.378 INFO 121 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 13:05:58 [2019-05-05T10:05:58.736Z] 2019-05-05 10:05:58.688 INFO 121 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 13:05:59 [2019-05-05T10:05:59.287Z] 2019-05-05 10:05:58.992 INFO 121 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 13:06:00 [2019-05-05T10:06:00.632Z] 2019-05-05 10:06:00.202 INFO 121 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 13:06:00 [2019-05-05T10:06:00.632Z] 2019-05-05 10:06:00.207 INFO 121 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 13:06:00 [2019-05-05T10:06:00.632Z] 2019-05-05 10:06:00.354 WARN 121 --- [ 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 13:06:02 [2019-05-05T10:06:02.495Z] 2019-05-05 10:06:02.393 INFO 121 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 13:06:02 [2019-05-05T10:06:02.495Z] 13:06:02 [2019-05-05T10:06:02.495Z] Using generated security password: e103ee3f-78f6-43ac-b872-2b2680a09238 13:06:02 [2019-05-05T10:06:02.495Z] 13:06:02 [2019-05-05T10:06:02.746Z] 2019-05-05 10:06:02.700 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5dce5c03, org.springframework.security.web.context.SecurityContextPersistenceFilter@2864d34d, org.springframework.security.web.header.HeaderWriterFilter@a63643e, org.springframework.security.web.authentication.logout.LogoutFilter@25823192, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3e9b3b3c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@76220ef1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@b76b7d8, org.springframework.security.web.session.SessionManagementFilter@79c1ccf7, org.springframework.security.web.access.ExceptionTranslationFilter@3e28af44, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@14d81f2c] 13:06:03 [2019-05-05T10:06:03.658Z] 2019-05-05 10:06:03.425 INFO 121 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 13:06:05 [2019-05-05T10:06:05.002Z] 2019-05-05 10:06:04.615 INFO 121 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 13:06:05 [2019-05-05T10:06:05.003Z] 2019-05-05 10:06:04.797 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.452 seconds (JVM running for 13.009) 13:06:05 [2019-05-05T10:06:05.253Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.638 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 13:06:05 [2019-05-05T10:06:05.254Z] 2019-05-05 10:06:05.032 INFO 121 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 13:06:05 [2019-05-05T10:06:05.254Z] 2019-05-05 10:06:05.038 INFO 121 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 13:06:05 [2019-05-05T10:06:05.254Z] 2019-05-05 10:06:05.047 INFO 121 --- [ 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] 13:06:05 [2019-05-05T10:06:05.254Z] 2019-05-05 10:06:05.047 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 13:06:05 [2019-05-05T10:06:05.254Z] 2019-05-05 10:06:05.053 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 13:06:05 [2019-05-05T10:06:05.504Z] [INFO] 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] Results: 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] 13:06:05 [2019-05-05T10:06:05.505Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 13:06:05 [2019-05-05T10:06:05.756Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 13:06:06 [2019-05-05T10:06:06.007Z] [INFO] 13:06:06 [2019-05-05T10:06:06.007Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] Replacing main artifact with repackaged archive 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] ------------------------------------------------------------------------ 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] BUILD SUCCESS 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] ------------------------------------------------------------------------ 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] Total time: 23.236 s 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] Finished at: 2019-05-05T10:06:06Z 13:06:06 [2019-05-05T10:06:06.919Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 13:06:07 [2019-05-05T10:06:07.170Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:06:07 [2019-05-05T10:06:07.478Z] + set +x 13:06:07 [2019-05-05T10:06:07.479Z] Starting Docker: docker. 13:06:07 [2019-05-05T10:06:07.479Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 13:06:07 [2019-05-05T10:06:07.567Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 13:06:07 [2019-05-05T10:06:07.628Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:06:07 [2019-05-05T10:06:07.959Z] + set +x 13:06:07 [2019-05-05T10:06:07.959Z] Login as **** to Docker Repository 13:06:09 [2019-05-05T10:06:09.822Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/ce89066f-1184-45af-a600-df21d927c815/config.json. 13:06:09 [2019-05-05T10:06:09.822Z] Configure a credential helper to remove this warning. See 13:06:09 [2019-05-05T10:06:09.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:06:09 [2019-05-05T10:06:09.822Z] 13:06:09 [2019-05-05T10:06:09.822Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 13:06:09 [2019-05-05T10:06:09.986Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:06:10 [2019-05-05T10:06:10.303Z] + set +x 13:06:10 [2019-05-05T10:06:10.303Z] Building Docker Image yasys/hub2swarm with tags: [4-swarm-login-latest] 13:06:10 [2019-05-05T10:06:10.855Z] Sending build context to Docker daemon 70.58MB 13:06:10 [2019-05-05T10:06:10.855Z] Step 1/7 : FROM java:8-jre 13:06:12 [2019-05-05T10:06:12.199Z] 8-jre: Pulling from library/java 13:06:12 [2019-05-05T10:06:12.199Z] 5040bd298390: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] fce5728aad85: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] c42794440453: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] 0c0da797ba48: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] 7c9b17433752: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] 114e02586e63: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] e4c663802e9a: Pulling fs layer 13:06:12 [2019-05-05T10:06:12.200Z] 0c0da797ba48: Waiting 13:06:12 [2019-05-05T10:06:12.200Z] 7c9b17433752: Waiting 13:06:12 [2019-05-05T10:06:12.200Z] 114e02586e63: Waiting 13:06:12 [2019-05-05T10:06:12.200Z] e4c663802e9a: Waiting 13:06:12 [2019-05-05T10:06:12.753Z] c42794440453: Download complete 13:06:13 [2019-05-05T10:06:13.005Z] fce5728aad85: Verifying Checksum 13:06:13 [2019-05-05T10:06:13.005Z] fce5728aad85: Download complete 13:06:13 [2019-05-05T10:06:13.256Z] 0c0da797ba48: Verifying Checksum 13:06:13 [2019-05-05T10:06:13.256Z] 0c0da797ba48: Download complete 13:06:13 [2019-05-05T10:06:13.256Z] 5040bd298390: Download complete 13:06:13 [2019-05-05T10:06:13.507Z] 7c9b17433752: Verifying Checksum 13:06:13 [2019-05-05T10:06:13.507Z] 7c9b17433752: Download complete 13:06:14 [2019-05-05T10:06:14.058Z] e4c663802e9a: Verifying Checksum 13:06:14 [2019-05-05T10:06:14.058Z] e4c663802e9a: Download complete 13:06:14 [2019-05-05T10:06:14.610Z] 114e02586e63: Verifying Checksum 13:06:14 [2019-05-05T10:06:14.610Z] 114e02586e63: Download complete 13:06:17 [2019-05-05T10:06:17.094Z] 5040bd298390: Pull complete 13:06:19 [2019-05-05T10:06:19.578Z] fce5728aad85: Pull complete 13:06:20 [2019-05-05T10:06:20.130Z] c42794440453: Pull complete 13:06:21 [2019-05-05T10:06:21.042Z] 0c0da797ba48: Pull complete 13:06:21 [2019-05-05T10:06:21.954Z] 7c9b17433752: Pull complete 13:06:26 [2019-05-05T10:06:26.078Z] 114e02586e63: Pull complete 13:06:29 [2019-05-05T10:06:29.310Z] e4c663802e9a: Pull complete 13:06:29 [2019-05-05T10:06:29.310Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 13:06:29 [2019-05-05T10:06:29.310Z] Status: Downloaded newer image for java:8-jre 13:06:29 [2019-05-05T10:06:29.310Z] ---> e44d62cf8862 13:06:29 [2019-05-05T10:06:29.310Z] Step 2/7 : VOLUME /tmp 13:06:31 [2019-05-05T10:06:31.794Z] ---> Running in 367d5c38b743 13:06:35 [2019-05-05T10:06:35.027Z] Removing intermediate container 367d5c38b743 13:06:35 [2019-05-05T10:06:35.027Z] ---> c5c9eb6947a4 13:06:35 [2019-05-05T10:06:35.027Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 13:06:36 [2019-05-05T10:06:36.891Z] ---> Running in b2b4ea422379 13:06:39 [2019-05-05T10:06:39.376Z] Removing intermediate container b2b4ea422379 13:06:39 [2019-05-05T10:06:39.376Z] ---> 505ef9f4b3ae 13:06:39 [2019-05-05T10:06:39.376Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 13:06:42 [2019-05-05T10:06:42.606Z] ---> 020656606cb9 13:06:42 [2019-05-05T10:06:42.606Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 13:06:45 [2019-05-05T10:06:45.091Z] ---> Running in 2b39b220a627 13:06:49 [2019-05-05T10:06:49.216Z] Removing intermediate container 2b39b220a627 13:06:49 [2019-05-05T10:06:49.216Z] ---> c8c630975636 13:06:49 [2019-05-05T10:06:49.216Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 13:06:51 [2019-05-05T10:06:51.701Z] ---> Running in 0d6088e1fdab 13:06:54 [2019-05-05T10:06:54.186Z] Removing intermediate container 0d6088e1fdab 13:06:54 [2019-05-05T10:06:54.187Z] ---> a3a5d0f0ad28 13:06:54 [2019-05-05T10:06:54.187Z] Step 7/7 : EXPOSE 8080 13:06:56 [2019-05-05T10:06:56.049Z] ---> Running in 567b69391191 13:06:59 [2019-05-05T10:06:59.279Z] Removing intermediate container 567b69391191 13:06:59 [2019-05-05T10:06:59.279Z] ---> 25692282d147 13:06:59 [2019-05-05T10:06:59.279Z] Successfully built 25692282d147 13:06:59 [2019-05-05T10:06:59.279Z] Successfully tagged yasys/hub2swarm:4-swarm-login-latest 13:06:59 [2019-05-05T10:06:59.279Z] Docker image yasys/hub2swarm:[4-swarm-login-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:06:59 [2019-05-05T10:06:59.351Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:06:59 [2019-05-05T10:06:59.647Z] + set +x 13:06:59 [2019-05-05T10:06:59.647Z] Push yasys/hub2swarm to Docker Repository 13:06:59 [2019-05-05T10:06:59.647Z] The push refers to repository [docker.io/yasys/hub2swarm] 13:07:00 [2019-05-05T10:07:00.198Z] 7ed3c875904b: Preparing 13:07:00 [2019-05-05T10:07:00.198Z] b840b52c520a: Preparing 13:07:00 [2019-05-05T10:07:00.198Z] 73ad47d4bc12: Preparing 13:07:00 [2019-05-05T10:07:00.198Z] c22c27816361: Preparing 13:07:00 [2019-05-05T10:07:00.198Z] 04dba64afa87: Preparing 13:07:00 [2019-05-05T10:07:00.199Z] 500ca2ff7d52: Preparing 13:07:00 [2019-05-05T10:07:00.199Z] 782d5215f910: Preparing 13:07:00 [2019-05-05T10:07:00.199Z] 0eb22bfb707d: Preparing 13:07:00 [2019-05-05T10:07:00.199Z] a2ae92ffcd29: Preparing 13:07:00 [2019-05-05T10:07:00.199Z] 500ca2ff7d52: Waiting 13:07:00 [2019-05-05T10:07:00.199Z] 782d5215f910: Waiting 13:07:00 [2019-05-05T10:07:00.199Z] a2ae92ffcd29: Waiting 13:07:00 [2019-05-05T10:07:00.199Z] 0eb22bfb707d: Waiting 13:07:01 [2019-05-05T10:07:01.110Z] 73ad47d4bc12: Layer already exists 13:07:01 [2019-05-05T10:07:01.111Z] 04dba64afa87: Layer already exists 13:07:01 [2019-05-05T10:07:01.111Z] c22c27816361: Layer already exists 13:07:01 [2019-05-05T10:07:01.663Z] 500ca2ff7d52: Layer already exists 13:07:01 [2019-05-05T10:07:01.663Z] 0eb22bfb707d: Layer already exists 13:07:01 [2019-05-05T10:07:01.914Z] 782d5215f910: Layer already exists 13:07:02 [2019-05-05T10:07:02.166Z] a2ae92ffcd29: Layer already exists 13:07:12 [2019-05-05T10:07:12.044Z] b840b52c520a: Pushed 13:07:17 [2019-05-05T10:07:17.242Z] 7ed3c875904b: Pushed 13:07:21 [2019-05-05T10:07:21.366Z] 4-swarm-login-latest: digest: sha256:fd0516078a559617e827c903ce83ebadfb03a1d4cf61b88b1ef01acf851f8a55 size: 2211 13:07:21 [2019-05-05T10:07:21.366Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 13:07:21 [2019-05-05T10:07:21.432Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 13:07:21 [2019-05-05T10:07:21.733Z] + set +x 13:07:21 [2019-05-05T10:07:21.733Z] Moikka kyberorg! 13:07:21 [2019-05-05T10:07:21.733Z] Here is Docker Summary: 13:07:21 [2019-05-05T10:07:21.733Z] Images built and pushed: 1 13:07:21 [2019-05-05T10:07:21.733Z] [ 13:07:21 [2019-05-05T10:07:21.733Z] yasys/hub2swarm:4-swarm-login-latest 13:07:21 [2019-05-05T10:07:21.733Z] ] 13:07:21 [2019-05-05T10:07:21.733Z] 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 13:07:22 [2019-05-05T10:07:22.153Z] One way or another, I have finished. Tsau! [Pipeline] sh 13:07:22 [2019-05-05T10:07:22.456Z] + set +x 13:07:22 [2019-05-05T10:07:22.457Z] Making workspace writable for correct cleanup 13:07:22 [2019-05-05T10:07:22.457Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 13:07:22 [2019-05-05T10:07:22.583Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 d5294a6966f6436b5cbd440daf32c1700f331853de9f07e73613fd4f7cbe97c8 $ docker rm -f d5294a6966f6436b5cbd440daf32c1700f331853de9f07e73613fd4f7cbe97c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS