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 cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 (origin/trunk, origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 # timeout=10 Commit message: "Merge branch '4-swarm-login' into 'trunk'" > /usr/bin/git rev-list --no-walk cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 # 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 cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 (origin/trunk, origin/5-do-stack-update) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 # timeout=10 Commit message: "Merge branch '4-swarm-login' into 'trunk'" [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/11182c2e-f8d8-47cc-a340-14e8ad37ab06/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 51a94749722d5b60dc9f1e84e12b2212d6a9f3d79a53fb1b7bb565f9acbbf003 -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 09:40:25 [2019-05-06T06:40:25.867Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:40:26 [2019-05-06T06:40:26.162Z] + set +x 09:40:26 [2019-05-06T06:40:26.162Z] [Runner info] 09:40:26 [2019-05-06T06:40:26.162Z] Hostname: 51a94749722d 09:40:26 [2019-05-06T06:40:26.162Z] Network Status: Host Online 09:40:26 [2019-05-06T06:40:26.162Z] 09:40:26 [2019-05-06T06:40:26.162Z] === Tools info === 09:40:26 [2019-05-06T06:40:26.714Z] Docker version: Docker version 18.09.5, build e8ff056dbc 09:40:26 [2019-05-06T06:40:26.714Z] 09:40:26 [2019-05-06T06:40:26.714Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 09:40:26 [2019-05-06T06:40:26.714Z] Maven home: /opt/mvn 09:40:26 [2019-05-06T06:40:26.714Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 09:40:26 [2019-05-06T06:40:26.714Z] Default locale: en, platform encoding: UTF-8 09:40:26 [2019-05-06T06:40:26.714Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 09:40:26 [2019-05-06T06:40:26.714Z] 09:40:26 [2019-05-06T06:40:26.714Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 09:40:26 [2019-05-06T06:40:26.793Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:40:27 [2019-05-06T06:40:27.090Z] + set +x 09:40:27 [2019-05-06T06:40:27.091Z] [Build info] 09:40:27 [2019-05-06T06:40:27.091Z] ===== Git info ===== 09:40:27 [2019-05-06T06:40:27.091Z] Git branch: trunk 09:40:27 [2019-05-06T06:40:27.091Z] Git commit: cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] Git tag: - 09:40:27 [2019-05-06T06:40:27.091Z] 09:40:27 [2019-05-06T06:40:27.091Z] ===== Jenkins info ===== 09:40:27 [2019-05-06T06:40:27.091Z] Jenkins Job #78 09:40:27 [2019-05-06T06:40:27.091Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/78/ 09:40:27 [2019-05-06T06:40:27.091Z] Jenkins Tag: jenkins-Hub2Swarm-78 09:40:27 [2019-05-06T06:40:27.091Z] 09:40:27 [2019-05-06T06:40:27.091Z] ===== Job Params ===== 09:40:27 [2019-05-06T06:40:27.091Z] 09:40:27 [2019-05-06T06:40:27.091Z] dockerRepo=yasys/hub2swarm 09:40:27 [2019-05-06T06:40:27.091Z] dockerStep=ee.yadev.pipe.commonpipe.Default@746ef8aa 09:40:27 [2019-05-06T06:40:27.091Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@6aa45e3d 09:40:27 [2019-05-06T06:40:27.091Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@746ef8aa 09:40:27 [2019-05-06T06:40:27.091Z] hubUrl=https://cloud.docker.com/repository/docker 09:40:27 [2019-05-06T06:40:27.091Z] useDebugTag=false 09:40:27 [2019-05-06T06:40:27.091Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 09:40:27 [2019-05-06T06:40:27.091Z] preparationStep=ee.yadev.pipe.commonpipe.Default@746ef8aa 09:40:27 [2019-05-06T06:40:27.091Z] stepTimeout=5 09:40:27 [2019-05-06T06:40:27.091Z] hubCredentialsId=docker-hub 09:40:27 [2019-05-06T06:40:27.091Z] class=class ee.yadev.pipe.commonpipe.Params 09:40:27 [2019-05-06T06:40:27.091Z] skipMavenTests=true 09:40:27 [2019-05-06T06:40:27.091Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 09:40:27 [2019-05-06T06:40:27.091Z] verbose=false 09:40:27 [2019-05-06T06:40:27.091Z] mavenTestsTimeout=5 09:40:27 [2019-05-06T06:40:27.091Z] pipelineTimeout=15 09:40:27 [2019-05-06T06:40:27.091Z] hubUser=kyberorg 09:40:27 [2019-05-06T06:40:27.091Z] 09:40:27 [2019-05-06T06:40:27.091Z] ==== Environment Variables ===== 09:40:27 [2019-05-06T06:40:27.091Z] GIT_COMMITTER_NAME=Jenkins CI 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 09:40:27 [2019-05-06T06:40:27.091Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 09:40:27 [2019-05-06T06:40:27.091Z] HOSTNAME=51a94749722d 09:40:27 [2019-05-06T06:40:27.091Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/78/display/redirect?page=changes 09:40:27 [2019-05-06T06:40:27.091Z] gitlabAfter=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] NODE_LABELS=master 09:40:27 [2019-05-06T06:40:27.091Z] GIT_COMMIT=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] HUDSON_URL=https://ci.yadev.eu/ 09:40:27 [2019-05-06T06:40:27.091Z] HOME=/root 09:40:27 [2019-05-06T06:40:27.091Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/78/ 09:40:27 [2019-05-06T06:40:27.091Z] gitlabTargetBranch=5-do-stack-update 09:40:27 [2019-05-06T06:40:27.091Z] GIT_AUTHOR_NAME=Jenkins CI 09:40:27 [2019-05-06T06:40:27.091Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 09:40:27 [2019-05-06T06:40:27.091Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 09:40:27 [2019-05-06T06:40:27.091Z] gitlabMergeRequestLastCommit=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] JAVA_VERSION=8u212 09:40:27 [2019-05-06T06:40:27.091Z] NODE_NAME=master 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 09:40:27 [2019-05-06T06:40:27.091Z] EXECUTOR_NUMBER=1 09:40:27 [2019-05-06T06:40:27.091Z] GIT_BRANCH=origin/trunk 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 09:40:27 [2019-05-06T06:40:27.091Z] STAGE_NAME=Execution info 09:40:27 [2019-05-06T06:40:27.091Z] gitlabBranch=5-do-stack-update 09:40:27 [2019-05-06T06:40:27.091Z] BUILD_DISPLAY_NAME=#78 09:40:27 [2019-05-06T06:40:27.091Z] gitlabUserEmail=kyberorg@yadev.eu 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceBranch=5-do-stack-update 09:40:27 [2019-05-06T06:40:27.091Z] HUDSON_HOME=/var/lib/jenkins 09:40:27 [2019-05-06T06:40:27.091Z] JOB_BASE_NAME=Hub2Swarm 09:40:27 [2019-05-06T06:40:27.091Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 09:40:27 [2019-05-06T06:40:27.091Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 09:40:27 [2019-05-06T06:40:27.091Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 09:40:27 [2019-05-06T06:40:27.091Z] BUILD_ID=78 09:40:27 [2019-05-06T06:40:27.091Z] BUILDING_FOR=kyberorg 09:40:27 [2019-05-06T06:40:27.091Z] gitlabBefore=0000000000000000000000000000000000000000 09:40:27 [2019-05-06T06:40:27.091Z] BUILD_TAG=jenkins-Hub2Swarm-78 09:40:27 [2019-05-06T06:40:27.091Z] gitlabActionType=PUSH 09:40:27 [2019-05-06T06:40:27.091Z] JENKINS_URL=https://ci.yadev.eu/ 09:40:27 [2019-05-06T06:40:27.091Z] LANG=C.UTF-8 09:40:27 [2019-05-06T06:40:27.091Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceRepoName=Hub2Swarm 09:40:27 [2019-05-06T06:40:27.091Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 09:40:27 [2019-05-06T06:40:27.091Z] BUILD_NUMBER=78 09:40:27 [2019-05-06T06:40:27.091Z] gitlabSourceNamespace=Yet another Systems 09:40:27 [2019-05-06T06:40:27.091Z] JENKINS_NODE_COOKIE=611fb447-077a-4253-b616-0c4a22b03411 09:40:27 [2019-05-06T06:40:27.091Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/78/display/redirect 09:40:27 [2019-05-06T06:40:27.091Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 09:40:27 [2019-05-06T06:40:27.091Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 09:40:27 [2019-05-06T06:40:27.091Z] CLASSPATH= 09:40:27 [2019-05-06T06:40:27.091Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 09:40:27 [2019-05-06T06:40:27.091Z] JOB_NAME=Hub2Swarm 09:40:27 [2019-05-06T06:40:27.091Z] gitlabUserName=Alex Muravya 09:40:27 [2019-05-06T06:40:27.091Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/11182c2e-f8d8-47cc-a340-14e8ad37ab06 09:40:27 [2019-05-06T06:40:27.091Z] JAVA_HOME=/docker-java-home 09:40:27 [2019-05-06T06:40:27.091Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 09:40:27 [2019-05-06T06:40:27.091Z] GIT_PREVIOUS_COMMIT=cdd4fdca150161e4f50c80db4cdc7e4f5a72cb03 09:40:27 [2019-05-06T06:40:27.091Z] 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 09:40:27 [2019-05-06T06:40:27.516Z] + mvn clean package 09:40:29 [2019-05-06T06:40:29.380Z] [INFO] Scanning for projects... 09:40:29 [2019-05-06T06:40:29.631Z] [INFO] 09:40:29 [2019-05-06T06:40:29.631Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 09:40:29 [2019-05-06T06:40:29.631Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 09:40:29 [2019-05-06T06:40:29.631Z] [INFO] --------------------------------[ jar ]--------------------------------- 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] Copying 4 resources 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] Copying 4 resources 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] 09:40:31 [2019-05-06T06:40:31.494Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 09:40:31 [2019-05-06T06:40:31.745Z] [INFO] Changes detected - recompiling the module! 09:40:31 [2019-05-06T06:40:31.745Z] [INFO] Compiling 36 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 09:40:35 [2019-05-06T06:40:35.870Z] [INFO] 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] Changes detected - recompiling the module! 09:40:35 [2019-05-06T06:40:35.871Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 09:40:36 [2019-05-06T06:40:36.121Z] [INFO] 09:40:36 [2019-05-06T06:40:36.121Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 09:40:36 [2019-05-06T06:40:36.372Z] [INFO] 09:40:36 [2019-05-06T06:40:36.372Z] [INFO] ------------------------------------------------------- 09:40:36 [2019-05-06T06:40:36.372Z] [INFO] T E S T S 09:40:36 [2019-05-06T06:40:36.372Z] [INFO] ------------------------------------------------------- 09:40:37 [2019-05-06T06:40:37.283Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 09:40:37 [2019-05-06T06:40:37.283Z] 06:40:37.201 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.283Z] 06:40:37.208 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 09:40:37 [2019-05-06T06:40:37.283Z] 06:40:37.222 [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)] 09:40:37 [2019-05-06T06:40:37.533Z] 06:40:37.289 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 09:40:37 [2019-05-06T06:40:37.533Z] 06:40:37.319 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 09:40:37 [2019-05-06T06:40:37.534Z] 06:40:37.327 [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 09:40:37 [2019-05-06T06:40:37.534Z] 06:40:37.328 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: class path resource [eu/yatech/hub2swarm/Hub2swarmApplicationTestsContext.groovy] does not exist 09:40:37 [2019-05-06T06:40:37.534Z] 06:40:37.329 [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}. 09:40:37 [2019-05-06T06:40:37.534Z] 06:40:37.330 [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. 09:40:37 [2019-05-06T06:40:37.534Z] 06:40:37.425 [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] 09:40:37 [2019-05-06T06:40:37.784Z] 06:40:37.557 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 09:40:37 [2019-05-06T06:40:37.784Z] 06:40:37.559 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 09:40:37 [2019-05-06T06:40:37.784Z] 06:40:37.709 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.709 [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] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.734 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@58a9760d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@71e9ddb4, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@394df057, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4961f6af, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5aebe890, org.springframework.test.context.transaction.TransactionalTestExecutionListener@65d09a04, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@33c911a1, org.springframework.test.context.event.EventPublishingTestExecutionListener@75db5df9, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@707194ba, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@1190200a, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@6a2f6f80, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@45b4c3a9, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@399c4be1] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.737 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.739 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.741 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.742 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.743 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.743 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.750 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@6f45df59 testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@38e79ae3 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@32464a14, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1efee8e7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@120d6fe6, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@38364841], 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]. 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.754 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:37 [2019-05-06T06:40:37.785Z] 06:40:37.754 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 09:40:38 [2019-05-06T06:40:38.035Z] 06:40:37.797 [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} 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] . ____ _ __ _ _ 09:40:38 [2019-05-06T06:40:38.286Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 09:40:38 [2019-05-06T06:40:38.286Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 09:40:38 [2019-05-06T06:40:38.286Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 09:40:38 [2019-05-06T06:40:38.286Z] ' |____| .__|_| |_|_| |_\__, | / / / / 09:40:38 [2019-05-06T06:40:38.286Z] =========|_|==============|___/=/_/_/_/ 09:40:38 [2019-05-06T06:40:38.286Z] :: Spring Boot :: (v2.2.0.M2) 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] 2019-05-06 06:40:38.165 WARN 121 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] Found multiple occurrences of org.json.JSONObject on the class path: 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] 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 09:40:38 [2019-05-06T06:40:38.286Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] You may wish to exclude one of them to ensure predictable runtime behavior 09:40:38 [2019-05-06T06:40:38.286Z] 09:40:38 [2019-05-06T06:40:38.286Z] 2019-05-06 06:40:38.191 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 51a94749722d with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 09:40:38 [2019-05-06T06:40:38.286Z] 2019-05-06 06:40:38.192 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 09:40:40 [2019-05-06T06:40:40.769Z] 2019-05-06 06:40:40.235 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 09:40:40 [2019-05-06T06:40:40.769Z] 2019-05-06 06:40:40.383 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 135ms. Found 5 repository interfaces. 09:40:41 [2019-05-06T06:40:41.320Z] 2019-05-06 06:40:41.123 INFO 121 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8ce23dca] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 09:40:41 [2019-05-06T06:40:41.571Z] 2019-05-06 06:40:41.506 INFO 121 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 09:40:41 [2019-05-06T06:40:41.571Z] 2019-05-06 06:40:41.518 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 09:40:42 [2019-05-06T06:40:42.122Z] 2019-05-06 06:40:41.964 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 09:40:42 [2019-05-06T06:40:42.122Z] 2019-05-06 06:40:41.976 INFO 121 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 09:40:42 [2019-05-06T06:40:42.122Z] 2019-05-06 06:40:42.033 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. 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.143 INFO 121 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 4 migrations (execution time 00:00.037s) 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.159 INFO 121 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.194 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.196 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.227 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.249 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.266 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 09:40:42 [2019-05-06T06:40:42.372Z] 2019-05-06 06:40:42.283 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 4 migrations to schema "PUBLIC" (execution time 00:00.127s) 09:40:42 [2019-05-06T06:40:42.623Z] 2019-05-06 06:40:42.544 INFO 121 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 09:40:42 [2019-05-06T06:40:42.874Z] 2019-05-06 06:40:42.673 INFO 121 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 09:40:43 [2019-05-06T06:40:43.124Z] 2019-05-06 06:40:42.944 INFO 121 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 09:40:43 [2019-05-06T06:40:43.376Z] 2019-05-06 06:40:43.198 INFO 121 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 09:40:44 [2019-05-06T06:40:44.719Z] 2019-05-06 06:40:44.534 INFO 121 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 09:40:44 [2019-05-06T06:40:44.719Z] 2019-05-06 06:40:44.538 INFO 121 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 09:40:46 [2019-05-06T06:40:46.063Z] 2019-05-06 06:40:45.723 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 09:40:46 [2019-05-06T06:40:46.974Z] 2019-05-06 06:40:46.702 INFO 121 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : 09:40:46 [2019-05-06T06:40:46.974Z] 09:40:46 [2019-05-06T06:40:46.974Z] Using generated security password: 3e8bee7b-b71d-4006-bf11-6563dca7bfae 09:40:46 [2019-05-06T06:40:46.974Z] 09:40:47 [2019-05-06T06:40:47.224Z] 2019-05-06 06:40:47.016 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2f8f40cc, org.springframework.security.web.context.SecurityContextPersistenceFilter@6143b2b1, org.springframework.security.web.header.HeaderWriterFilter@3e28af44, org.springframework.security.web.authentication.logout.LogoutFilter@65ad2b42, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@43294e9b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@79c1ccf7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@14d81f2c, org.springframework.security.web.session.SessionManagementFilter@5ec6a1b6, org.springframework.security.web.access.ExceptionTranslationFilter@2aa07d80, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4af7ac25] 09:40:48 [2019-05-06T06:40:48.135Z] 2019-05-06 06:40:47.775 INFO 121 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 09:40:49 [2019-05-06T06:40:49.047Z] 2019-05-06 06:40:48.870 INFO 121 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 09:40:49 [2019-05-06T06:40:49.297Z] 2019-05-06 06:40:49.088 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.277 seconds (JVM running for 12.59) 09:40:49 [2019-05-06T06:40:49.297Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.257 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 09:40:49 [2019-05-06T06:40:49.297Z] 2019-05-06 06:40:49.288 INFO 121 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 09:40:49 [2019-05-06T06:40:49.297Z] 2019-05-06 06:40:49.294 INFO 121 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 09:40:49 [2019-05-06T06:40:49.548Z] 2019-05-06 06:40:49.304 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] 09:40:49 [2019-05-06T06:40:49.548Z] 2019-05-06 06:40:49.305 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 09:40:49 [2019-05-06T06:40:49.548Z] 2019-05-06 06:40:49.310 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] Results: 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] 09:40:49 [2019-05-06T06:40:49.798Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 09:40:50 [2019-05-06T06:40:50.049Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 09:40:50 [2019-05-06T06:40:50.049Z] [INFO] 09:40:50 [2019-05-06T06:40:50.049Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] Replacing main artifact with repackaged archive 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] ------------------------------------------------------------------------ 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] BUILD SUCCESS 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] ------------------------------------------------------------------------ 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] Total time: 21.801 s 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] Finished at: 2019-05-06T06:40:50Z 09:40:50 [2019-05-06T06:40:50.960Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 09:40:51 [2019-05-06T06:40:51.199Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:40:51 [2019-05-06T06:40:51.545Z] + set +x 09:40:51 [2019-05-06T06:40:51.545Z] Starting Docker: docker. 09:40:51 [2019-05-06T06:40:51.545Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 09:40:51 [2019-05-06T06:40:51.622Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 09:40:51 [2019-05-06T06:40:51.713Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:40:52 [2019-05-06T06:40:52.014Z] + set +x 09:40:52 [2019-05-06T06:40:52.014Z] Login as **** to Docker Repository 09:40:53 [2019-05-06T06:40:53.876Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/11182c2e-f8d8-47cc-a340-14e8ad37ab06/config.json. 09:40:53 [2019-05-06T06:40:53.876Z] Configure a credential helper to remove this warning. See 09:40:53 [2019-05-06T06:40:53.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:53 [2019-05-06T06:40:53.876Z] 09:40:53 [2019-05-06T06:40:53.876Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 09:40:53 [2019-05-06T06:40:53.972Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:40:54 [2019-05-06T06:40:54.261Z] + set +x 09:40:54 [2019-05-06T06:40:54.261Z] Building Docker Image yasys/hub2swarm with tags: [trunk] 09:40:54 [2019-05-06T06:40:54.812Z] Sending build context to Docker daemon 70.59MB 09:40:54 [2019-05-06T06:40:54.812Z] Step 1/7 : FROM java:8-jre 09:40:56 [2019-05-06T06:40:56.155Z] 8-jre: Pulling from library/java 09:40:56 [2019-05-06T06:40:56.155Z] 5040bd298390: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] fce5728aad85: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] c42794440453: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] 0c0da797ba48: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] 7c9b17433752: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] 114e02586e63: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] e4c663802e9a: Pulling fs layer 09:40:56 [2019-05-06T06:40:56.155Z] 0c0da797ba48: Waiting 09:40:56 [2019-05-06T06:40:56.155Z] 7c9b17433752: Waiting 09:40:56 [2019-05-06T06:40:56.155Z] 114e02586e63: Waiting 09:40:56 [2019-05-06T06:40:56.155Z] e4c663802e9a: Waiting 09:40:56 [2019-05-06T06:40:56.706Z] c42794440453: Verifying Checksum 09:40:56 [2019-05-06T06:40:56.706Z] c42794440453: Download complete 09:40:56 [2019-05-06T06:40:56.957Z] fce5728aad85: Verifying Checksum 09:40:56 [2019-05-06T06:40:56.957Z] fce5728aad85: Download complete 09:40:57 [2019-05-06T06:40:57.207Z] 0c0da797ba48: Download complete 09:40:57 [2019-05-06T06:40:57.458Z] 7c9b17433752: Download complete 09:40:57 [2019-05-06T06:40:57.458Z] 5040bd298390: Verifying Checksum 09:40:57 [2019-05-06T06:40:57.458Z] 5040bd298390: Download complete 09:40:58 [2019-05-06T06:40:58.009Z] e4c663802e9a: Download complete 09:40:58 [2019-05-06T06:40:58.260Z] 114e02586e63: Verifying Checksum 09:40:58 [2019-05-06T06:40:58.260Z] 114e02586e63: Download complete 09:41:01 [2019-05-06T06:41:01.489Z] 5040bd298390: Pull complete 09:41:03 [2019-05-06T06:41:03.351Z] fce5728aad85: Pull complete 09:41:04 [2019-05-06T06:41:04.694Z] c42794440453: Pull complete 09:41:05 [2019-05-06T06:41:05.606Z] 0c0da797ba48: Pull complete 09:41:06 [2019-05-06T06:41:06.517Z] 7c9b17433752: Pull complete 09:41:12 [2019-05-06T06:41:12.774Z] 114e02586e63: Pull complete 09:41:13 [2019-05-06T06:41:13.686Z] e4c663802e9a: Pull complete 09:41:13 [2019-05-06T06:41:13.686Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 09:41:13 [2019-05-06T06:41:13.686Z] Status: Downloaded newer image for java:8-jre 09:41:13 [2019-05-06T06:41:13.686Z] ---> e44d62cf8862 09:41:13 [2019-05-06T06:41:13.686Z] Step 2/7 : VOLUME /tmp 09:41:16 [2019-05-06T06:41:16.172Z] ---> Running in d4d5dafd7102 09:41:20 [2019-05-06T06:41:20.324Z] Removing intermediate container d4d5dafd7102 09:41:20 [2019-05-06T06:41:20.324Z] ---> cf44dad5747f 09:41:20 [2019-05-06T06:41:20.324Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 09:41:22 [2019-05-06T06:41:22.186Z] ---> Running in e22a1ba51060 09:41:24 [2019-05-06T06:41:24.670Z] Removing intermediate container e22a1ba51060 09:41:24 [2019-05-06T06:41:24.670Z] ---> a4f23f002cbe 09:41:24 [2019-05-06T06:41:24.670Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 09:41:27 [2019-05-06T06:41:27.899Z] ---> dd58a117ec8c 09:41:27 [2019-05-06T06:41:27.899Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 09:41:30 [2019-05-06T06:41:30.382Z] ---> Running in 46bb9db0a789 09:41:34 [2019-05-06T06:41:34.505Z] Removing intermediate container 46bb9db0a789 09:41:34 [2019-05-06T06:41:34.505Z] ---> 835f246b5a9f 09:41:34 [2019-05-06T06:41:34.505Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 09:41:36 [2019-05-06T06:41:36.368Z] ---> Running in e17863df01af 09:41:39 [2019-05-06T06:41:39.599Z] Removing intermediate container e17863df01af 09:41:39 [2019-05-06T06:41:39.599Z] ---> b5ca89d67fc0 09:41:39 [2019-05-06T06:41:39.599Z] Step 7/7 : EXPOSE 8080 09:41:41 [2019-05-06T06:41:41.461Z] ---> Running in 6b38223c95a9 09:41:44 [2019-05-06T06:41:44.690Z] Removing intermediate container 6b38223c95a9 09:41:44 [2019-05-06T06:41:44.690Z] ---> 8fc5c2be36c6 09:41:44 [2019-05-06T06:41:44.690Z] Successfully built 8fc5c2be36c6 09:41:44 [2019-05-06T06:41:44.690Z] Successfully tagged yasys/hub2swarm:trunk 09:41:44 [2019-05-06T06:41:44.690Z] Docker image yasys/hub2swarm:[trunk] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 09:41:44 [2019-05-06T06:41:44.757Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:41:45 [2019-05-06T06:41:45.060Z] + set +x 09:41:45 [2019-05-06T06:41:45.060Z] Push yasys/hub2swarm to Docker Repository 09:41:45 [2019-05-06T06:41:45.310Z] The push refers to repository [docker.io/yasys/hub2swarm] 09:41:45 [2019-05-06T06:41:45.561Z] 7182936e86c3: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] f57d52a08209: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 73ad47d4bc12: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] c22c27816361: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 04dba64afa87: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 500ca2ff7d52: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 782d5215f910: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 0eb22bfb707d: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] a2ae92ffcd29: Preparing 09:41:45 [2019-05-06T06:41:45.561Z] 500ca2ff7d52: Waiting 09:41:45 [2019-05-06T06:41:45.561Z] 782d5215f910: Waiting 09:41:45 [2019-05-06T06:41:45.561Z] 0eb22bfb707d: Waiting 09:41:45 [2019-05-06T06:41:45.561Z] a2ae92ffcd29: Waiting 09:41:46 [2019-05-06T06:41:46.905Z] 04dba64afa87: Layer already exists 09:41:46 [2019-05-06T06:41:46.905Z] c22c27816361: Layer already exists 09:41:46 [2019-05-06T06:41:46.905Z] 73ad47d4bc12: Layer already exists 09:41:47 [2019-05-06T06:41:47.155Z] 500ca2ff7d52: Layer already exists 09:41:47 [2019-05-06T06:41:47.155Z] 782d5215f910: Layer already exists 09:41:47 [2019-05-06T06:41:47.155Z] 0eb22bfb707d: Layer already exists 09:41:47 [2019-05-06T06:41:47.706Z] a2ae92ffcd29: Layer already exists 09:41:57 [2019-05-06T06:41:57.584Z] f57d52a08209: Pushed 09:42:01 [2019-05-06T06:42:01.708Z] 7182936e86c3: Pushed 09:42:05 [2019-05-06T06:42:05.832Z] trunk: digest: sha256:81ece878139922c9565637f45fe7aada0169f6934f0b379e1ccbb6c98aa9d2c1 size: 2211 09:42:05 [2019-05-06T06:42:05.832Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 09:42:05 [2019-05-06T06:42:05.890Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 09:42:06 [2019-05-06T06:42:06.174Z] + set +x 09:42:06 [2019-05-06T06:42:06.174Z] Moikka kyberorg! 09:42:06 [2019-05-06T06:42:06.174Z] Here is Docker Summary: 09:42:06 [2019-05-06T06:42:06.174Z] Images built and pushed: 1 09:42:06 [2019-05-06T06:42:06.174Z] [ 09:42:06 [2019-05-06T06:42:06.174Z] yasys/hub2swarm:trunk 09:42:06 [2019-05-06T06:42:06.174Z] ] 09:42:06 [2019-05-06T06:42:06.174Z] 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 09:42:06 [2019-05-06T06:42:06.312Z] One way or another, I have finished. Tsau! [Pipeline] sh 09:42:06 [2019-05-06T06:42:06.596Z] + set +x 09:42:06 [2019-05-06T06:42:06.596Z] Making workspace writable for correct cleanup 09:42:06 [2019-05-06T06:42:06.596Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 09:42:06 [2019-05-06T06:42:06.668Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 51a94749722d5b60dc9f1e84e12b2212d6a9f3d79a53fb1b7bb565f9acbbf003 $ docker rm -f 51a94749722d5b60dc9f1e84e12b2212d6a9f3d79a53fb1b7bb565f9acbbf003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS