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/logging, 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/8-replacePolicy Seen branch in repository origin/auth Seen branch in repository origin/auth2 Seen branch in repository origin/logging Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/ui Seen 12 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision dff6dc7f2fcd984b6756873b050e8b64571ceca5 (origin/logging) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f dff6dc7f2fcd984b6756873b050e8b64571ceca5 # timeout=10 Commit message: "Logger version 1" First time build. Skipping changelog. 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/logging, 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/logging, since it originates from another repository Seen branch in repository origin/auth Seen branch in repository origin/logging Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/ui Seen 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision dff6dc7f2fcd984b6756873b050e8b64571ceca5 (origin/logging) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f dff6dc7f2fcd984b6756873b050e8b64571ceca5 # timeout=10 Commit message: "Logger version 1" [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/fbf09cba-c2d1-4ed3-b6cf-2ed6300b759b/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 ******** yasys/jobbari:1.7.0 cat $ docker top e5ddd1bac479bf3c764ce58b64ec251176a2fcc5fc58d7cf9bcf9cb0058adde6 -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 [2019-05-15T11:38:07.562Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:38:07.882Z] + set +x [2019-05-15T11:38:07.882Z] [Runner info] [2019-05-15T11:38:07.882Z] Hostname: e5ddd1bac479 [2019-05-15T11:38:08.134Z] Network Status: Host Online [2019-05-15T11:38:08.134Z] [2019-05-15T11:38:08.134Z] === Tools info === [2019-05-15T11:38:08.385Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-05-15T11:38:08.385Z] [2019-05-15T11:38:08.385Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-05-15T11:38:08.385Z] Maven home: /opt/mvn [2019-05-15T11:38:08.385Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-05-15T11:38:08.385Z] Default locale: en, platform encoding: UTF-8 [2019-05-15T11:38:08.385Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-05-15T11:38:08.385Z] [2019-05-15T11:38:08.385Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-15T11:38:08.511Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:38:08.826Z] + set +x [2019-05-15T11:38:08.826Z] [Build info] [2019-05-15T11:38:08.826Z] ===== Git info ===== [2019-05-15T11:38:08.826Z] Git branch: logging [2019-05-15T11:38:08.826Z] Git commit: dff6dc7f2fcd984b6756873b050e8b64571ceca5 [2019-05-15T11:38:08.826Z] Git tag: - [2019-05-15T11:38:08.826Z] [2019-05-15T11:38:08.826Z] ===== Jenkins info ===== [2019-05-15T11:38:08.826Z] Jenkins Job #123 [2019-05-15T11:38:08.826Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/123/ [2019-05-15T11:38:08.826Z] Jenkins Tag: jenkins-Hub2Swarm-123 [2019-05-15T11:38:08.826Z] [2019-05-15T11:38:08.826Z] ===== Job Params ===== [2019-05-15T11:38:08.826Z] [2019-05-15T11:38:08.826Z] dockerRepo=yasys/hub2swarm [2019-05-15T11:38:08.826Z] dockerStep=ee.yadev.pipe.commonpipe.Default@14d1f82a [2019-05-15T11:38:08.826Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@2c4b7d7c [2019-05-15T11:38:08.826Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@14d1f82a [2019-05-15T11:38:08.826Z] hubUrl=https://cloud.docker.com/repository/docker [2019-05-15T11:38:08.826Z] useDebugTag=false [2019-05-15T11:38:08.826Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-05-15T11:38:08.826Z] preparationStep=ee.yadev.pipe.commonpipe.Default@14d1f82a [2019-05-15T11:38:08.826Z] stepTimeout=5 [2019-05-15T11:38:08.826Z] hubCredentialsId=docker-hub [2019-05-15T11:38:08.826Z] class=class ee.yadev.pipe.commonpipe.Params [2019-05-15T11:38:08.826Z] skipMavenTests=true [2019-05-15T11:38:08.826Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-05-15T11:38:08.826Z] verbose=false [2019-05-15T11:38:08.826Z] mavenTestsTimeout=5 [2019-05-15T11:38:08.826Z] pipelineTimeout=15 [2019-05-15T11:38:08.826Z] hubUser=kyberorg [2019-05-15T11:38:08.826Z] [2019-05-15T11:38:08.826Z] ==== Environment Variables ===== [2019-05-15T11:38:08.826Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-05-15T11:38:08.827Z] GIT_COMMITTER_NAME=Jenkins CI [2019-05-15T11:38:08.827Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-05-15T11:38:08.827Z] HOSTNAME=e5ddd1bac479 [2019-05-15T11:38:08.827Z] gitlabAfter=dff6dc7f2fcd984b6756873b050e8b64571ceca5 [2019-05-15T11:38:08.827Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/123/display/redirect?page=changes [2019-05-15T11:38:08.827Z] HUDSON_URL=https://ci.yadev.eu/ [2019-05-15T11:38:08.827Z] GIT_COMMIT=dff6dc7f2fcd984b6756873b050e8b64571ceca5 [2019-05-15T11:38:08.827Z] NODE_LABELS=master [2019-05-15T11:38:08.827Z] HOME=/root [2019-05-15T11:38:08.827Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/123/ [2019-05-15T11:38:08.827Z] gitlabTargetBranch=logging [2019-05-15T11:38:08.827Z] GIT_AUTHOR_NAME=Jenkins CI [2019-05-15T11:38:08.827Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-05-15T11:38:08.827Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-05-15T11:38:08.827Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-15T11:38:08.827Z] gitlabMergeRequestLastCommit=dff6dc7f2fcd984b6756873b050e8b64571ceca5 [2019-05-15T11:38:08.827Z] JAVA_VERSION=8u212 [2019-05-15T11:38:08.827Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-05-15T11:38:08.827Z] NODE_NAME=master [2019-05-15T11:38:08.827Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-05-15T11:38:08.827Z] GIT_BRANCH=origin/logging [2019-05-15T11:38:08.827Z] EXECUTOR_NUMBER=1 [2019-05-15T11:38:08.827Z] STAGE_NAME=Execution info [2019-05-15T11:38:08.827Z] gitlabBranch=logging [2019-05-15T11:38:08.827Z] BUILD_DISPLAY_NAME=#123 [2019-05-15T11:38:08.827Z] gitlabUserEmail=kyberorg@yadev.eu [2019-05-15T11:38:08.827Z] gitlabSourceBranch=logging [2019-05-15T11:38:08.827Z] JOB_BASE_NAME=Hub2Swarm [2019-05-15T11:38:08.827Z] HUDSON_HOME=/var/lib/jenkins [2019-05-15T11:38:08.827Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-05-15T11:38:08.827Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-05-15T11:38:08.827Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-05-15T11:38:08.827Z] BUILD_ID=123 [2019-05-15T11:38:08.827Z] BUILDING_FOR=kyberorg [2019-05-15T11:38:08.827Z] BUILD_TAG=jenkins-Hub2Swarm-123 [2019-05-15T11:38:08.827Z] gitlabBefore=0000000000000000000000000000000000000000 [2019-05-15T11:38:08.827Z] gitlabActionType=PUSH [2019-05-15T11:38:08.827Z] JENKINS_URL=https://ci.yadev.eu/ [2019-05-15T11:38:08.827Z] LANG=C.UTF-8 [2019-05-15T11:38:08.827Z] gitlabSourceRepoName=Hub2Swarm [2019-05-15T11:38:08.827Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-05-15T11:38:08.827Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-05-15T11:38:08.827Z] gitlabSourceNamespace=Yet another Systems [2019-05-15T11:38:08.827Z] BUILD_NUMBER=123 [2019-05-15T11:38:08.827Z] JENKINS_NODE_COOKIE=73193847-9ba7-4e67-8de8-6aa78eaf9529 [2019-05-15T11:38:08.827Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/123/display/redirect [2019-05-15T11:38:08.827Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-05-15T11:38:08.827Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-05-15T11:38:08.827Z] CLASSPATH= [2019-05-15T11:38:08.827Z] JOB_NAME=Hub2Swarm [2019-05-15T11:38:08.827Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-05-15T11:38:08.827Z] gitlabUserName=Alex Muravya [2019-05-15T11:38:08.827Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/fbf09cba-c2d1-4ed3-b6cf-2ed6300b759b [2019-05-15T11:38:08.827Z] JAVA_HOME=/docker-java-home [2019-05-15T11:38:08.827Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-15T11:38:08.827Z] 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 [2019-05-15T11:38:09.346Z] + mvn clean package [2019-05-15T11:38:10.691Z] [INFO] Scanning for projects... [2019-05-15T11:38:11.242Z] [INFO] [2019-05-15T11:38:11.255Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-05-15T11:38:11.255Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-05-15T11:38:11.255Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-05-15T11:38:12.599Z] [INFO] [2019-05-15T11:38:12.599Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-05-15T11:38:12.599Z] [INFO] [2019-05-15T11:38:12.599Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-05-15T11:38:12.850Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-15T11:38:12.850Z] [INFO] Copying 4 resources [2019-05-15T11:38:12.850Z] [INFO] Copying 11 resources [2019-05-15T11:38:12.850Z] [INFO] [2019-05-15T11:38:12.850Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-05-15T11:38:12.850Z] [INFO] Changes detected - recompiling the module! [2019-05-15T11:38:12.850Z] [INFO] Compiling 47 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-05-15T11:38:16.080Z] [INFO] [2019-05-15T11:38:16.080Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-05-15T11:38:16.080Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-15T11:38:16.080Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources [2019-05-15T11:38:16.080Z] [INFO] [2019-05-15T11:38:16.080Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-05-15T11:38:16.080Z] [INFO] Changes detected - recompiling the module! [2019-05-15T11:38:16.080Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes [2019-05-15T11:38:16.631Z] [INFO] [2019-05-15T11:38:16.631Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-05-15T11:38:17.182Z] [INFO] [2019-05-15T11:38:17.182Z] [INFO] ------------------------------------------------------- [2019-05-15T11:38:17.182Z] [INFO] T E S T S [2019-05-15T11:38:17.182Z] [INFO] ------------------------------------------------------- [2019-05-15T11:38:17.732Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-15T11:38:17.983Z] 11:38:17.867 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:17.983Z] 11:38:17.876 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] [2019-05-15T11:38:17.983Z] 11:38:17.889 [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)] [2019-05-15T11:38:17.983Z] 11:38:17.945 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] [2019-05-15T11:38:17.983Z] 11:38:17.973 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader [2019-05-15T11:38:18.234Z] 11:38:17.981 [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 [2019-05-15T11:38:18.234Z] 11:38:17.982 [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 [2019-05-15T11:38:18.234Z] 11:38:17.983 [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}. [2019-05-15T11:38:18.234Z] 11:38:17.984 [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. [2019-05-15T11:38:18.234Z] 11:38:18.091 [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] [2019-05-15T11:38:18.234Z] 11:38:18.211 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] [2019-05-15T11:38:18.234Z] 11:38:18.212 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-15T11:38:18.485Z] 11:38:18.354 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. [2019-05-15T11:38:18.485Z] 11:38:18.355 [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] [2019-05-15T11:38:18.485Z] 11:38:18.381 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6a2f6f80, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@45b4c3a9, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@399c4be1, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@291caca8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@385e9564, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5b94b04d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@8c3b9d, org.springframework.test.context.event.EventPublishingTestExecutionListener@4c39bec8, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@f79e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@7ee8290b, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1f59a598, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1e178745, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@192c3f1e] [2019-05-15T11:38:18.485Z] 11:38:18.384 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.385 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.387 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.388 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.388 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.388 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.394 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@117e949d testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@6db9f5a4 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@5cdd8682, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@799d4f69, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1445d7f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@797badd3], 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]. [2019-05-15T11:38:18.485Z] 11:38:18.396 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.397 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-15T11:38:18.485Z] 11:38:18.432 [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} [2019-05-15T11:38:19.036Z] __ __ __ ___ _____ [2019-05-15T11:38:19.036Z] / / / / __ __ / /_ |__ \ / ___/ _ __ ____ _ _____ ____ ___ [2019-05-15T11:38:19.036Z] / /_/ / / / / / / __ \ __/ / \__ \ | | /| / / / __ `/ / ___/ / __ `__ \ [2019-05-15T11:38:19.036Z] / __ / / /_/ / / /_/ / / __/ ___/ / | |/ |/ / / /_/ / / / / / / / / / [2019-05-15T11:38:19.036Z] /_/ /_/ \__,_/ /_.___/ /____/ /____/ |__/|__/ \__,_/ /_/ /_/ /_/ /_/ [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] 2019-05-15 11:38:18.917 WARN org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer:86 [logDuplicateJsonObjectsWarning]: [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] Found multiple occurrences of org.json.JSONObject on the class path: [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] 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 [2019-05-15T11:38:19.036Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] You may wish to exclude one of them to ensure predictable runtime behavior [2019-05-15T11:38:19.036Z] [2019-05-15T11:38:19.036Z] 2019-05-15 11:38:18.942 INFO org.springframework.boot.StartupInfoLogger:50 [logStarting]: [2019-05-15T11:38:19.036Z] Starting Hub2swarmApplicationTests on e5ddd1bac479 with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) [2019-05-15T11:38:19.036Z] 2019-05-15 11:38:18.942 INFO org.springframework.boot.SpringApplication:682 [logStartupProfileInfo]: [2019-05-15T11:38:19.036Z] No active profile set, falling back to default profiles: default [2019-05-15T11:38:20.898Z] 2019-05-15 11:38:20.528 INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:126 [registerRepositoriesIn]: [2019-05-15T11:38:20.898Z] Bootstrapping Spring Data repositories in DEFAULT mode. [2019-05-15T11:38:20.898Z] 2019-05-15 11:38:20.642 INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:182 [registerRepositoriesIn]: [2019-05-15T11:38:20.898Z] Finished Spring Data repository scanning in 103ms. Found 6 repository interfaces. [2019-05-15T11:38:21.449Z] 2019-05-15 11:38:21.269 INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 [postProcessAfterInitialization]: [2019-05-15T11:38:21.449Z] Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$4f2b79c1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2019-05-15T11:38:21.699Z] 2019-05-15 11:38:21.678 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:21.699Z] Flyway Community Edition 5.2.4 by Boxfuse [2019-05-15T11:38:21.699Z] 2019-05-15 11:38:21.691 INFO com.zaxxer.hikari.HikariDataSource:110 [getConnection]: [2019-05-15T11:38:21.699Z] HikariPool-1 - Starting... [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:21.958 INFO com.zaxxer.hikari.HikariDataSource:123 [getConnection]: [2019-05-15T11:38:22.250Z] HikariPool-1 - Start completed. [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:21.966 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Database: jdbc:h2:mem:testdb (H2 1.4) [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.008 WARN org.flywaydb.core.internal.logging.slf4j.Slf4jLog:53 [warn]: [2019-05-15T11:38:22.250Z] Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.132 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Successfully validated 6 migrations (execution time 00:00.064s) [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.151 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Creating Schema History table: "PUBLIC"."flyway_schema_history" [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.185 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Current version of schema "PUBLIC": << Empty Schema >> [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.187 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Migrating schema "PUBLIC" to version 1 - Tables [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.221 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Migrating schema "PUBLIC" to version 2 - Stack Table [2019-05-15T11:38:22.250Z] 2019-05-15 11:38:22.245 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.250Z] Migrating schema "PUBLIC" to version 3 - Creds Table [2019-05-15T11:38:22.501Z] 2019-05-15 11:38:22.267 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.501Z] Migrating schema "PUBLIC" to version 4 - Token Table [2019-05-15T11:38:22.501Z] 2019-05-15 11:38:22.282 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.501Z] Migrating schema "PUBLIC" to version 5 - Image Replace Policy [2019-05-15T11:38:22.501Z] 2019-05-15 11:38:22.304 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.501Z] Migrating schema "PUBLIC" to version 6 - User Table [2019-05-15T11:38:22.501Z] 2019-05-15 11:38:22.316 INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 [info]: [2019-05-15T11:38:22.501Z] Successfully applied 6 migrations to schema "PUBLIC" (execution time 00:00.168s) [2019-05-15T11:38:22.751Z] 2019-05-15 11:38:22.548 INFO org.hibernate.jpa.internal.util.LogHelper:31 [logPersistenceUnitInformation]: [2019-05-15T11:38:22.751Z] HHH000204: Processing PersistenceUnitInfo [name: default] [2019-05-15T11:38:22.751Z] 2019-05-15 11:38:22.667 INFO org.hibernate.Version:46 [logVersion]: [2019-05-15T11:38:22.751Z] HHH000412: Hibernate Core {5.4.2.Final} [2019-05-15T11:38:23.002Z] 2019-05-15 11:38:22.934 INFO org.hibernate.annotations.common.reflection.java.JavaReflectionManager:49 []: [2019-05-15T11:38:23.002Z] HCANN000001: Hibernate Commons Annotations {5.1.0.Final} [2019-05-15T11:38:23.253Z] 2019-05-15 11:38:23.135 INFO org.hibernate.dialect.Dialect:158 []: [2019-05-15T11:38:23.253Z] HHH000400: Using dialect: org.hibernate.dialect.H2Dialect [2019-05-15T11:38:24.597Z] 2019-05-15 11:38:24.372 INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator:52 [initiateService]: [2019-05-15T11:38:24.597Z] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [2019-05-15T11:38:24.597Z] 2019-05-15 11:38:24.376 INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:415 [buildNativeEntityManagerFactory]: [2019-05-15T11:38:24.597Z] Initialized JPA EntityManagerFactory for persistence unit 'default' [2019-05-15T11:38:25.509Z] 2019-05-15 11:38:25.478 WARN org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration$JpaWebConfiguration:230 [openEntityManagerInViewInterceptor]: [2019-05-15T11:38:25.509Z] 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 [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.564 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/hub'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.565 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/VAADIN/**'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.566 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/favicon.ico'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.566 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/robots.txt'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.566 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/manifest.webmanifest'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.566 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/sw.js'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.566 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/offline-page.html'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.567 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/src/main/webapp/icons/**'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.567 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/images/**'], [] [2019-05-15T11:38:26.852Z] 2019-05-15 11:38:26.567 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.852Z] Creating filter chain: Ant [pattern='/icons/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.567 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/img/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.568 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/frontend/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.568 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/webjars/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.569 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/h2-console/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.569 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/frontend-es5/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.569 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: Ant [pattern='/frontend-es6/**'], [] [2019-05-15T11:38:26.853Z] 2019-05-15 11:38:26.738 INFO org.springframework.security.web.DefaultSecurityFilterChain:43 []: [2019-05-15T11:38:26.853Z] Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@66b90ab3, org.springframework.security.web.context.SecurityContextPersistenceFilter@55e5415d, org.springframework.security.web.header.HeaderWriterFilter@7b8cb283, org.springframework.security.web.authentication.logout.LogoutFilter@673a9db4, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@63a72cc6, org.springframework.security.web.session.ConcurrentSessionFilter@6a0e97fc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@52d59507, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@146833a2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@16e4db59, org.springframework.security.web.session.SessionManagementFilter@7619fbe7, org.springframework.security.web.access.ExceptionTranslationFilter@45d38165, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7831d1aa] [2019-05-15T11:38:27.404Z] 2019-05-15 11:38:27.365 INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:171 [initialize]: [2019-05-15T11:38:27.404Z] Initializing ExecutorService 'applicationTaskExecutor' [2019-05-15T11:38:28.315Z] 2019-05-15 11:38:28.195 INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver:59 []: [2019-05-15T11:38:28.315Z] Exposing 2 endpoint(s) beneath base path '/actuator' [2019-05-15T11:38:28.866Z] 2019-05-15 11:38:28.773 INFO org.springframework.boot.StartupInfoLogger:59 [logStarted]: [2019-05-15T11:38:28.866Z] Started Hub2swarmApplicationTests in 10.328 seconds (JVM running for 11.638) [2019-05-15T11:38:29.117Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.253 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-15T11:38:29.117Z] 2019-05-15 11:38:28.955 INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:208 [shutdown]: [2019-05-15T11:38:29.117Z] Shutting down ExecutorService 'applicationTaskExecutor' [2019-05-15T11:38:29.117Z] 2019-05-15 11:38:28.964 INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:597 [destroy]: [2019-05-15T11:38:29.117Z] Closing JPA EntityManagerFactory for persistence unit 'default' [2019-05-15T11:38:29.117Z] 2019-05-15 11:38:28.979 INFO org.springframework.beans.factory.support.DisposableBeanAdapter:265 [destroy]: [2019-05-15T11:38:29.117Z] 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] [2019-05-15T11:38:29.117Z] 2019-05-15 11:38:28.980 INFO com.zaxxer.hikari.HikariDataSource:350 [close]: [2019-05-15T11:38:29.117Z] HikariPool-1 - Shutdown initiated... [2019-05-15T11:38:29.117Z] 2019-05-15 11:38:28.992 INFO com.zaxxer.hikari.HikariDataSource:352 [close]: [2019-05-15T11:38:29.117Z] HikariPool-1 - Shutdown completed. [2019-05-15T11:38:29.668Z] [INFO] [2019-05-15T11:38:29.668Z] [INFO] Results: [2019-05-15T11:38:29.668Z] [INFO] [2019-05-15T11:38:29.668Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [2019-05-15T11:38:29.668Z] [INFO] [2019-05-15T11:38:29.668Z] [INFO] [2019-05-15T11:38:29.668Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- [2019-05-15T11:38:29.919Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar [2019-05-15T11:38:29.919Z] [INFO] [2019-05-15T11:38:29.919Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- [2019-05-15T11:38:30.470Z] [INFO] Replacing main artifact with repackaged archive [2019-05-15T11:38:30.470Z] [INFO] ------------------------------------------------------------------------ [2019-05-15T11:38:30.470Z] [INFO] BUILD SUCCESS [2019-05-15T11:38:30.470Z] [INFO] ------------------------------------------------------------------------ [2019-05-15T11:38:30.470Z] [INFO] Total time: 19.855 s [2019-05-15T11:38:30.470Z] [INFO] Finished at: 2019-05-15T11:38:30Z [2019-05-15T11:38:30.470Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout [2019-05-15T11:38:31.000Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:38:31.317Z] + set +x [2019-05-15T11:38:31.567Z] Starting Docker: docker. [2019-05-15T11:38:31.567Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-05-15T11:38:31.640Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-05-15T11:38:31.697Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:38:32.006Z] + set +x [2019-05-15T11:38:32.006Z] Login as **** to Docker Repository [2019-05-15T11:38:33.869Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/fbf09cba-c2d1-4ed3-b6cf-2ed6300b759b/config.json. [2019-05-15T11:38:33.869Z] Configure a credential helper to remove this warning. See [2019-05-15T11:38:33.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-05-15T11:38:33.869Z] [2019-05-15T11:38:33.869Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-05-15T11:38:34.033Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:38:34.354Z] + set +x [2019-05-15T11:38:34.354Z] Building Docker Image yasys/hub2swarm with tags: [logging-latest] [2019-05-15T11:38:35.698Z] Sending build context to Docker daemon 72.8MB [2019-05-15T11:38:35.698Z] Step 1/7 : FROM java:8-jre [2019-05-15T11:38:37.043Z] 8-jre: Pulling from library/java [2019-05-15T11:38:37.043Z] 5040bd298390: Pulling fs layer [2019-05-15T11:38:37.043Z] fce5728aad85: Pulling fs layer [2019-05-15T11:38:37.043Z] c42794440453: Pulling fs layer [2019-05-15T11:38:37.043Z] 0c0da797ba48: Pulling fs layer [2019-05-15T11:38:37.043Z] 7c9b17433752: Pulling fs layer [2019-05-15T11:38:37.043Z] 114e02586e63: Pulling fs layer [2019-05-15T11:38:37.043Z] e4c663802e9a: Pulling fs layer [2019-05-15T11:38:37.043Z] 0c0da797ba48: Waiting [2019-05-15T11:38:37.043Z] 7c9b17433752: Waiting [2019-05-15T11:38:37.043Z] 114e02586e63: Waiting [2019-05-15T11:38:37.043Z] e4c663802e9a: Waiting [2019-05-15T11:38:37.293Z] c42794440453: Verifying Checksum [2019-05-15T11:38:37.294Z] c42794440453: Download complete [2019-05-15T11:38:37.847Z] fce5728aad85: Verifying Checksum [2019-05-15T11:38:37.847Z] fce5728aad85: Download complete [2019-05-15T11:38:37.847Z] 0c0da797ba48: Verifying Checksum [2019-05-15T11:38:37.847Z] 0c0da797ba48: Download complete [2019-05-15T11:38:38.398Z] 5040bd298390: Verifying Checksum [2019-05-15T11:38:38.398Z] 5040bd298390: Download complete [2019-05-15T11:38:38.648Z] 7c9b17433752: Verifying Checksum [2019-05-15T11:38:38.648Z] 7c9b17433752: Download complete [2019-05-15T11:38:38.899Z] e4c663802e9a: Verifying Checksum [2019-05-15T11:38:38.899Z] e4c663802e9a: Download complete [2019-05-15T11:38:39.150Z] 114e02586e63: Verifying Checksum [2019-05-15T11:38:39.150Z] 114e02586e63: Download complete [2019-05-15T11:38:47.176Z] 5040bd298390: Pull complete [2019-05-15T11:38:49.659Z] fce5728aad85: Pull complete [2019-05-15T11:38:50.210Z] c42794440453: Pull complete [2019-05-15T11:38:51.122Z] 0c0da797ba48: Pull complete [2019-05-15T11:38:52.984Z] 7c9b17433752: Pull complete [2019-05-15T11:39:02.861Z] 114e02586e63: Pull complete [2019-05-15T11:39:03.413Z] e4c663802e9a: Pull complete [2019-05-15T11:39:03.663Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 [2019-05-15T11:39:03.663Z] Status: Downloaded newer image for java:8-jre [2019-05-15T11:39:03.664Z] ---> e44d62cf8862 [2019-05-15T11:39:03.664Z] Step 2/7 : VOLUME /tmp [2019-05-15T11:39:06.147Z] ---> Running in 4f54dfce6001 [2019-05-15T11:39:10.272Z] Removing intermediate container 4f54dfce6001 [2019-05-15T11:39:10.272Z] ---> 3e21336c42b0 [2019-05-15T11:39:10.272Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) [2019-05-15T11:39:12.135Z] ---> Running in 4a742d4c1e09 [2019-05-15T11:39:14.620Z] Removing intermediate container 4a742d4c1e09 [2019-05-15T11:39:14.620Z] ---> 4175ac94d560 [2019-05-15T11:39:14.620Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ [2019-05-15T11:39:18.744Z] ---> 9c94fc944641 [2019-05-15T11:39:18.745Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' [2019-05-15T11:39:21.229Z] ---> Running in 55fe74a4483f [2019-05-15T11:39:27.711Z] Removing intermediate container 55fe74a4483f [2019-05-15T11:39:27.711Z] ---> 0bc33b5247b2 [2019-05-15T11:39:27.711Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar [2019-05-15T11:39:29.598Z] ---> Running in 8baef56fb227 [2019-05-15T11:39:33.722Z] Removing intermediate container 8baef56fb227 [2019-05-15T11:39:33.722Z] ---> ca6e7aebae88 [2019-05-15T11:39:33.722Z] Step 7/7 : EXPOSE 8080 [2019-05-15T11:39:35.584Z] ---> Running in 9d4e35b5de2c [2019-05-15T11:39:38.814Z] Removing intermediate container 9d4e35b5de2c [2019-05-15T11:39:38.814Z] ---> 29feb94fff86 [2019-05-15T11:39:38.814Z] Successfully built 29feb94fff86 [2019-05-15T11:39:39.365Z] Successfully tagged yasys/hub2swarm:logging-latest [2019-05-15T11:39:39.365Z] Docker image yasys/hub2swarm:[logging-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-15T11:39:39.451Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:39:39.759Z] + set +x [2019-05-15T11:39:39.759Z] Push yasys/hub2swarm to Docker Repository [2019-05-15T11:39:40.010Z] The push refers to repository [docker.io/yasys/hub2swarm] [2019-05-15T11:39:40.261Z] 3c62be4d60fb: Preparing [2019-05-15T11:39:40.261Z] ffb3c0b220d5: Preparing [2019-05-15T11:39:40.261Z] 73ad47d4bc12: Preparing [2019-05-15T11:39:40.261Z] c22c27816361: Preparing [2019-05-15T11:39:40.261Z] 04dba64afa87: Preparing [2019-05-15T11:39:40.261Z] 500ca2ff7d52: Preparing [2019-05-15T11:39:40.261Z] 782d5215f910: Preparing [2019-05-15T11:39:40.261Z] 0eb22bfb707d: Preparing [2019-05-15T11:39:40.261Z] a2ae92ffcd29: Preparing [2019-05-15T11:39:40.261Z] 500ca2ff7d52: Waiting [2019-05-15T11:39:40.261Z] 782d5215f910: Waiting [2019-05-15T11:39:40.261Z] 0eb22bfb707d: Waiting [2019-05-15T11:39:40.261Z] a2ae92ffcd29: Waiting [2019-05-15T11:39:41.610Z] 73ad47d4bc12: Layer already exists [2019-05-15T11:39:41.610Z] c22c27816361: Layer already exists [2019-05-15T11:39:41.610Z] 04dba64afa87: Layer already exists [2019-05-15T11:39:41.861Z] 500ca2ff7d52: Layer already exists [2019-05-15T11:39:41.861Z] 782d5215f910: Layer already exists [2019-05-15T11:39:41.861Z] 0eb22bfb707d: Layer already exists [2019-05-15T11:39:42.412Z] a2ae92ffcd29: Layer already exists [2019-05-15T11:39:54.513Z] ffb3c0b220d5: Pushed [2019-05-15T11:39:54.514Z] 3c62be4d60fb: Pushed [2019-05-15T11:39:57.743Z] logging-latest: digest: sha256:d1df04becd5f766ee5b530487998b4337b6520ce652e74df0a9d86b80d519a9d size: 2211 [2019-05-15T11:39:57.743Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-15T11:39:57.847Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-15T11:39:58.165Z] + set +x [2019-05-15T11:39:58.166Z] Moikka kyberorg! [2019-05-15T11:39:58.166Z] Here is Docker Summary: [2019-05-15T11:39:58.166Z] Images built and pushed: 1 [2019-05-15T11:39:58.166Z] [ [2019-05-15T11:39:58.166Z] yasys/hub2swarm:logging-latest [2019-05-15T11:39:58.166Z] ] [2019-05-15T11:39:58.166Z] 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 [2019-05-15T11:39:58.406Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-05-15T11:39:58.715Z] + set +x [2019-05-15T11:39:58.716Z] Making workspace writable for correct cleanup [2019-05-15T11:39:58.716Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-05-15T11:39:58.849Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 e5ddd1bac479bf3c764ce58b64ec251176a2fcc5fc58d7cf9bcf9cb0058adde6 $ docker rm -f e5ddd1bac479bf3c764ce58b64ec251176a2fcc5fc58d7cf9bcf9cb0058adde6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS