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/deployments, 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/deployments 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 13 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 10806d8189f82c1027abb725cbbfb291020771bc (origin/deployments) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 10806d8189f82c1027abb725cbbfb291020771bc # timeout=10 Commit message: "flex grow 1 and icon" > /usr/bin/git rev-list --no-walk 1df134dc6841fccf8c9ae7992fcdc72f7363ba51 # 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/deployments, 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 [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/deployments, since it originates from another repository Seen branch in repository origin/auth Seen branch in repository origin/deployments 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 10806d8189f82c1027abb725cbbfb291020771bc (origin/deployments) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 10806d8189f82c1027abb725cbbfb291020771bc # timeout=10 Commit message: "flex grow 1 and icon" [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/3f19387a-95ce-44bf-aded-180ad76a0fdb/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 97ac11556b02cef1b8521bdad2c86836ce047b5f38753db10f5c3b5c6dd74366 -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 16:56:48 [2019-05-23T13:56:48.773Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:56:49 [2019-05-23T13:56:49.093Z] + set +x 16:56:49 [2019-05-23T13:56:49.093Z] [Runner info] 16:56:49 [2019-05-23T13:56:49.093Z] Hostname: 97ac11556b02 16:56:49 [2019-05-23T13:56:49.345Z] Network Status: Host Online 16:56:49 [2019-05-23T13:56:49.345Z] 16:56:49 [2019-05-23T13:56:49.345Z] === Tools info === 16:56:49 [2019-05-23T13:56:49.596Z] Docker version: Docker version 18.09.5, build e8ff056dbc 16:56:49 [2019-05-23T13:56:49.596Z] 16:56:49 [2019-05-23T13:56:49.596Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 16:56:49 [2019-05-23T13:56:49.596Z] Maven home: /opt/mvn 16:56:49 [2019-05-23T13:56:49.596Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 16:56:49 [2019-05-23T13:56:49.596Z] Default locale: en, platform encoding: UTF-8 16:56:49 [2019-05-23T13:56:49.596Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 16:56:49 [2019-05-23T13:56:49.596Z] 16:56:49 [2019-05-23T13:56:49.596Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 16:56:49 [2019-05-23T13:56:49.739Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:56:50 [2019-05-23T13:56:50.061Z] + set +x 16:56:50 [2019-05-23T13:56:50.061Z] [Build info] 16:56:50 [2019-05-23T13:56:50.061Z] ===== Git info ===== 16:56:50 [2019-05-23T13:56:50.061Z] Git branch: deployments 16:56:50 [2019-05-23T13:56:50.061Z] Git commit: 10806d8189f82c1027abb725cbbfb291020771bc 16:56:50 [2019-05-23T13:56:50.061Z] Git tag: - 16:56:50 [2019-05-23T13:56:50.061Z] 16:56:50 [2019-05-23T13:56:50.061Z] ===== Jenkins info ===== 16:56:50 [2019-05-23T13:56:50.061Z] Jenkins Job #141 16:56:50 [2019-05-23T13:56:50.061Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/141/ 16:56:50 [2019-05-23T13:56:50.061Z] Jenkins Tag: jenkins-Hub2Swarm-141 16:56:50 [2019-05-23T13:56:50.061Z] 16:56:50 [2019-05-23T13:56:50.061Z] ===== Job Params ===== 16:56:50 [2019-05-23T13:56:50.061Z] 16:56:50 [2019-05-23T13:56:50.061Z] dockerRepo=yasys/hub2swarm 16:56:50 [2019-05-23T13:56:50.061Z] dockerStep=ee.yadev.pipe.commonpipe.Default@3fe9ba85 16:56:50 [2019-05-23T13:56:50.061Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@786040ad 16:56:50 [2019-05-23T13:56:50.061Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@3fe9ba85 16:56:50 [2019-05-23T13:56:50.061Z] hubUrl=https://cloud.docker.com/repository/docker 16:56:50 [2019-05-23T13:56:50.061Z] useDebugTag=false 16:56:50 [2019-05-23T13:56:50.061Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 16:56:50 [2019-05-23T13:56:50.061Z] preparationStep=ee.yadev.pipe.commonpipe.Default@3fe9ba85 16:56:50 [2019-05-23T13:56:50.061Z] stepTimeout=5 16:56:50 [2019-05-23T13:56:50.061Z] hubCredentialsId=docker-hub 16:56:50 [2019-05-23T13:56:50.061Z] class=class ee.yadev.pipe.commonpipe.Params 16:56:50 [2019-05-23T13:56:50.061Z] skipMavenTests=true 16:56:50 [2019-05-23T13:56:50.061Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 16:56:50 [2019-05-23T13:56:50.061Z] verbose=false 16:56:50 [2019-05-23T13:56:50.061Z] mavenTestsTimeout=5 16:56:50 [2019-05-23T13:56:50.061Z] pipelineTimeout=15 16:56:50 [2019-05-23T13:56:50.061Z] hubUser=kyberorg 16:56:50 [2019-05-23T13:56:50.061Z] 16:56:50 [2019-05-23T13:56:50.061Z] ==== Environment Variables ===== 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 16:56:50 [2019-05-23T13:56:50.061Z] GIT_COMMITTER_NAME=Jenkins CI 16:56:50 [2019-05-23T13:56:50.061Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=1df134dc6841fccf8c9ae7992fcdc72f7363ba51 16:56:50 [2019-05-23T13:56:50.061Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 16:56:50 [2019-05-23T13:56:50.061Z] HOSTNAME=97ac11556b02 16:56:50 [2019-05-23T13:56:50.061Z] gitlabAfter=10806d8189f82c1027abb725cbbfb291020771bc 16:56:50 [2019-05-23T13:56:50.061Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/141/display/redirect?page=changes 16:56:50 [2019-05-23T13:56:50.061Z] HUDSON_URL=https://ci.yadev.eu/ 16:56:50 [2019-05-23T13:56:50.061Z] NODE_LABELS=master 16:56:50 [2019-05-23T13:56:50.061Z] GIT_COMMIT=10806d8189f82c1027abb725cbbfb291020771bc 16:56:50 [2019-05-23T13:56:50.061Z] HOME=/root 16:56:50 [2019-05-23T13:56:50.061Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/141/ 16:56:50 [2019-05-23T13:56:50.061Z] GIT_AUTHOR_NAME=Jenkins CI 16:56:50 [2019-05-23T13:56:50.061Z] gitlabTargetBranch=deployments 16:56:50 [2019-05-23T13:56:50.061Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 16:56:50 [2019-05-23T13:56:50.061Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 16:56:50 [2019-05-23T13:56:50.061Z] gitlabMergeRequestLastCommit=10806d8189f82c1027abb725cbbfb291020771bc 16:56:50 [2019-05-23T13:56:50.061Z] JAVA_VERSION=8u212 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 16:56:50 [2019-05-23T13:56:50.061Z] NODE_NAME=master 16:56:50 [2019-05-23T13:56:50.061Z] GIT_BRANCH=origin/deployments 16:56:50 [2019-05-23T13:56:50.061Z] EXECUTOR_NUMBER=0 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 16:56:50 [2019-05-23T13:56:50.061Z] STAGE_NAME=Execution info 16:56:50 [2019-05-23T13:56:50.061Z] gitlabBranch=deployments 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceBranch=deployments 16:56:50 [2019-05-23T13:56:50.061Z] gitlabUserEmail=kyberorg@yadev.eu 16:56:50 [2019-05-23T13:56:50.061Z] BUILD_DISPLAY_NAME=#141 16:56:50 [2019-05-23T13:56:50.061Z] JOB_BASE_NAME=Hub2Swarm 16:56:50 [2019-05-23T13:56:50.061Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 16:56:50 [2019-05-23T13:56:50.061Z] HUDSON_HOME=/var/lib/jenkins 16:56:50 [2019-05-23T13:56:50.061Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 16:56:50 [2019-05-23T13:56:50.061Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 16:56:50 [2019-05-23T13:56:50.061Z] BUILD_ID=141 16:56:50 [2019-05-23T13:56:50.061Z] BUILDING_FOR=kyberorg 16:56:50 [2019-05-23T13:56:50.061Z] gitlabActionType=PUSH 16:56:50 [2019-05-23T13:56:50.061Z] gitlabBefore=1df134dc6841fccf8c9ae7992fcdc72f7363ba51 16:56:50 [2019-05-23T13:56:50.061Z] BUILD_TAG=jenkins-Hub2Swarm-141 16:56:50 [2019-05-23T13:56:50.061Z] JENKINS_URL=https://ci.yadev.eu/ 16:56:50 [2019-05-23T13:56:50.061Z] LANG=C.UTF-8 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceRepoName=Hub2Swarm 16:56:50 [2019-05-23T13:56:50.061Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 16:56:50 [2019-05-23T13:56:50.061Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 16:56:50 [2019-05-23T13:56:50.061Z] gitlabSourceNamespace=Yet another Systems 16:56:50 [2019-05-23T13:56:50.061Z] BUILD_NUMBER=141 16:56:50 [2019-05-23T13:56:50.061Z] JENKINS_NODE_COOKIE=296d7834-34d6-4178-aa6a-347c9796a573 16:56:50 [2019-05-23T13:56:50.061Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/141/display/redirect 16:56:50 [2019-05-23T13:56:50.061Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 16:56:50 [2019-05-23T13:56:50.061Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 16:56:50 [2019-05-23T13:56:50.061Z] CLASSPATH= 16:56:50 [2019-05-23T13:56:50.061Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 16:56:50 [2019-05-23T13:56:50.061Z] JOB_NAME=Hub2Swarm 16:56:50 [2019-05-23T13:56:50.061Z] gitlabUserName=Alex Muravya 16:56:50 [2019-05-23T13:56:50.061Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/3f19387a-95ce-44bf-aded-180ad76a0fdb 16:56:50 [2019-05-23T13:56:50.061Z] JAVA_HOME=/docker-java-home 16:56:50 [2019-05-23T13:56:50.061Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 16:56:50 [2019-05-23T13:56:50.061Z] GIT_PREVIOUS_COMMIT=1df134dc6841fccf8c9ae7992fcdc72f7363ba51 16:56:50 [2019-05-23T13:56:50.061Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:50 [2019-05-23T13:56:50.582Z] + mvn clean package 16:56:52 [2019-05-23T13:56:52.447Z] [INFO] Scanning for projects... 16:56:52 [2019-05-23T13:56:52.697Z] [INFO] 16:56:52 [2019-05-23T13:56:52.697Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 16:56:52 [2019-05-23T13:56:52.697Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 16:56:52 [2019-05-23T13:56:52.697Z] [INFO] --------------------------------[ jar ]--------------------------------- 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] Copying 4 resources 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] Copying 12 resources 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] Changes detected - recompiling the module! 16:56:54 [2019-05-23T13:56:54.560Z] [INFO] Compiling 53 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] Changes detected - recompiling the module! 16:56:58 [2019-05-23T13:56:58.694Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 16:56:59 [2019-05-23T13:56:59.245Z] [INFO] 16:56:59 [2019-05-23T13:56:59.245Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 16:56:59 [2019-05-23T13:56:59.495Z] [INFO] 16:56:59 [2019-05-23T13:56:59.496Z] [INFO] ------------------------------------------------------- 16:56:59 [2019-05-23T13:56:59.496Z] [INFO] T E S T S 16:56:59 [2019-05-23T13:56:59.496Z] [INFO] ------------------------------------------------------- 16:57:00 [2019-05-23T13:57:00.407Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.416 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.425 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.441 [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)] 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.508 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.540 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.549 [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 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.550 [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 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.551 [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}. 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.552 [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. 16:57:00 [2019-05-23T13:57:00.657Z] 13:57:00.650 [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] 16:57:00 [2019-05-23T13:57:00.908Z] 13:57:00.763 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 16:57:00 [2019-05-23T13:57:00.908Z] 13:57:00.764 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.909 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.909 [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] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.933 [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] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.936 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.937 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.939 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.939 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.940 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.940 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.945 [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]. 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.947 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.948 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 16:57:01 [2019-05-23T13:57:01.159Z] 13:57:00.988 [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} 16:57:01 [2019-05-23T13:57:01.409Z] __ __ __ ___ _____ 16:57:01 [2019-05-23T13:57:01.409Z] / / / / __ __ / /_ |__ \ / ___/ _ __ ____ _ _____ ____ ___ 16:57:01 [2019-05-23T13:57:01.409Z] / /_/ / / / / / / __ \ __/ / \__ \ | | /| / / / __ `/ / ___/ / __ `__ \ 16:57:01 [2019-05-23T13:57:01.409Z] / __ / / /_/ / / /_/ / / __/ ___/ / | |/ |/ / / /_/ / / / / / / / / / 16:57:01 [2019-05-23T13:57:01.409Z] /_/ /_/ \__,_/ /_.___/ /____/ /____/ |__/|__/ \__,_/ /_/ /_/ /_/ /_/ 16:57:01 [2019-05-23T13:57:01.409Z] 16:57:01 [2019-05-23T13:57:01.660Z] [main] WARN org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer:86 {logDuplicateJsonObjectsWarning}: 16:57:01 [2019-05-23T13:57:01.660Z] 16:57:01 [2019-05-23T13:57:01.660Z] Found multiple occurrences of org.json.JSONObject on the class path: 16:57:01 [2019-05-23T13:57:01.660Z] 16:57:01 [2019-05-23T13:57:01.660Z] 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 16:57:01 [2019-05-23T13:57:01.660Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 16:57:01 [2019-05-23T13:57:01.660Z] 16:57:01 [2019-05-23T13:57:01.660Z] You may wish to exclude one of them to ensure predictable runtime behavior 16:57:01 [2019-05-23T13:57:01.660Z] 16:57:01 [2019-05-23T13:57:01.660Z] [main] INFO org.springframework.boot.StartupInfoLogger:50 {logStarting}: Starting Hub2swarmApplicationTests on 97ac11556b02 with PID 123 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 16:57:01 [2019-05-23T13:57:01.660Z] [main] INFO org.springframework.boot.SpringApplication:682 {logStartupProfileInfo}: No active profile set, falling back to default profiles: default 16:57:03 [2019-05-23T13:57:03.522Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:126 {registerRepositoriesIn}: Bootstrapping Spring Data repositories in DEFAULT mode. 16:57:03 [2019-05-23T13:57:03.522Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:182 {registerRepositoriesIn}: Finished Spring Data repository scanning in 150ms. Found 7 repository interfaces. 16:57:04 [2019-05-23T13:57:04.433Z] [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 {postProcessAfterInitialization}: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$595e4435] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 16:57:04 [2019-05-23T13:57:04.684Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Flyway Community Edition 5.2.4 by Boxfuse 16:57:04 [2019-05-23T13:57:04.684Z] [main] INFO com.zaxxer.hikari.HikariDataSource:110 {getConnection}: HikariPool-1 - Starting... 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO com.zaxxer.hikari.HikariDataSource:123 {getConnection}: HikariPool-1 - Start completed. 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Database: jdbc:h2:mem:testdb (H2 1.4) 16:57:05 [2019-05-23T13:57:05.235Z] [main] WARN org.flywaydb.core.internal.logging.slf4j.Slf4jLog:53 {warn}: Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully validated 7 migrations (execution time 00:00.028s) 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Creating Schema History table: "PUBLIC"."flyway_schema_history" 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Current version of schema "PUBLIC": << Empty Schema >> 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 1 - Tables 16:57:05 [2019-05-23T13:57:05.235Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 2 - Stack Table 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 3 - Creds Table 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 4 - Token Table 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 5 - Image Replace Policy 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 6 - User Table 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 7 - Deployment Table 16:57:05 [2019-05-23T13:57:05.485Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully applied 7 migrations to schema "PUBLIC" (execution time 00:00.182s) 16:57:05 [2019-05-23T13:57:05.736Z] [main] INFO org.hibernate.jpa.internal.util.LogHelper:31 {logPersistenceUnitInformation}: HHH000204: Processing PersistenceUnitInfo [name: default] 16:57:05 [2019-05-23T13:57:05.736Z] [main] INFO org.hibernate.Version:46 {logVersion}: HHH000412: Hibernate Core {5.4.2.Final} 16:57:06 [2019-05-23T13:57:06.287Z] [main] INFO org.hibernate.annotations.common.reflection.java.JavaReflectionManager:49 {<clinit>}: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 16:57:06 [2019-05-23T13:57:06.287Z] [main] INFO org.hibernate.dialect.Dialect:158 {<init>}: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 16:57:07 [2019-05-23T13:57:07.631Z] [main] INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator:52 {initiateService}: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 16:57:07 [2019-05-23T13:57:07.631Z] [main] INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:415 {buildNativeEntityManagerFactory}: Initialized JPA EntityManagerFactory for persistence unit 'default' 16:57:08 [2019-05-23T13:57:08.975Z] [main] WARN org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration$JpaWebConfiguration:230 {openEntityManagerInViewInterceptor}: 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 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/hub'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/VAADIN/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/favicon.ico'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/robots.txt'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/manifest.webmanifest'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/sw.js'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/offline-page.html'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/src/main/webapp/icons/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/images/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/icons/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/img/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/webjars/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/h2-console/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend-es5/**'], [] 16:57:09 [2019-05-23T13:57:09.526Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend-es6/**'], [] 16:57:09 [2019-05-23T13:57:09.777Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6071631f, org.springframework.security.web.context.SecurityContextPersistenceFilter@495e8a3, org.springframework.security.web.header.HeaderWriterFilter@7e94de5f, org.springframework.security.web.authentication.logout.LogoutFilter@45832b85, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@14d18029, org.springframework.security.web.session.ConcurrentSessionFilter@7c5ac0, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6eded11a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@50e8ed74, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2ca132ad, org.springframework.security.web.session.SessionManagementFilter@74badf19, org.springframework.security.web.access.ExceptionTranslationFilter@166ddfb7, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@674ed201] 16:57:10 [2019-05-23T13:57:10.688Z] [main] INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:171 {initialize}: Initializing ExecutorService 'applicationTaskExecutor' 16:57:11 [2019-05-23T13:57:11.599Z] [main] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver:59 {<init>}: Exposing 2 endpoint(s) beneath base path '/actuator' 16:57:12 [2019-05-23T13:57:12.150Z] [main] INFO org.springframework.boot.StartupInfoLogger:59 {logStarted}: Started Hub2swarmApplicationTests in 10.951 seconds (JVM running for 12.357) 16:57:12 [2019-05-23T13:57:12.401Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.95 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 16:57:12 [2019-05-23T13:57:12.401Z] [Thread-3] INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:208 {shutdown}: Shutting down ExecutorService 'applicationTaskExecutor' 16:57:12 [2019-05-23T13:57:12.401Z] [Thread-3] INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:597 {destroy}: Closing JPA EntityManagerFactory for persistence unit 'default' 16:57:12 [2019-05-23T13:57:12.401Z] [Thread-3] INFO org.springframework.beans.factory.support.DisposableBeanAdapter:265 {destroy}: 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] 16:57:12 [2019-05-23T13:57:12.401Z] [Thread-3] INFO com.zaxxer.hikari.HikariDataSource:350 {close}: HikariPool-1 - Shutdown initiated... 16:57:12 [2019-05-23T13:57:12.401Z] [Thread-3] INFO com.zaxxer.hikari.HikariDataSource:352 {close}: HikariPool-1 - Shutdown completed. 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] Results: 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] 16:57:12 [2019-05-23T13:57:12.651Z] [INFO] 16:57:12 [2019-05-23T13:57:12.652Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 16:57:12 [2019-05-23T13:57:12.902Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 16:57:13 [2019-05-23T13:57:13.153Z] [INFO] 16:57:13 [2019-05-23T13:57:13.153Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] Replacing main artifact with repackaged archive 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] ------------------------------------------------------------------------ 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] BUILD SUCCESS 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] ------------------------------------------------------------------------ 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] Total time: 21.520 s 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] Finished at: 2019-05-23T13:57:13Z 16:57:13 [2019-05-23T13:57:13.704Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 16:57:14 [2019-05-23T13:57:14.228Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:57:14 [2019-05-23T13:57:14.525Z] + set +x 16:57:14 [2019-05-23T13:57:14.776Z] Starting Docker: docker. 16:57:14 [2019-05-23T13:57:14.776Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 16:57:14 [2019-05-23T13:57:14.853Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 16:57:14 [2019-05-23T13:57:14.914Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:57:15 [2019-05-23T13:57:15.221Z] + set +x 16:57:15 [2019-05-23T13:57:15.221Z] Login as **** to Docker Repository 16:57:17 [2019-05-23T13:57:17.083Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/3f19387a-95ce-44bf-aded-180ad76a0fdb/config.json. 16:57:17 [2019-05-23T13:57:17.083Z] Configure a credential helper to remove this warning. See 16:57:17 [2019-05-23T13:57:17.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:17 [2019-05-23T13:57:17.083Z] 16:57:17 [2019-05-23T13:57:17.083Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 16:57:17 [2019-05-23T13:57:17.225Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:57:17 [2019-05-23T13:57:17.535Z] + set +x 16:57:17 [2019-05-23T13:57:17.535Z] Building Docker Image yasys/hub2swarm with tags: [deployments-latest] 16:57:18 [2019-05-23T13:57:18.446Z] Sending build context to Docker daemon 72.88MB 16:57:18 [2019-05-23T13:57:18.697Z] Step 1/7 : FROM java:8-jre 16:57:20 [2019-05-23T13:57:20.040Z] 8-jre: Pulling from library/java 16:57:20 [2019-05-23T13:57:20.040Z] 5040bd298390: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.040Z] fce5728aad85: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.040Z] c42794440453: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.040Z] 0c0da797ba48: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.040Z] 7c9b17433752: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.041Z] 114e02586e63: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.041Z] e4c663802e9a: Pulling fs layer 16:57:20 [2019-05-23T13:57:20.041Z] 7c9b17433752: Waiting 16:57:20 [2019-05-23T13:57:20.041Z] 114e02586e63: Waiting 16:57:20 [2019-05-23T13:57:20.041Z] e4c663802e9a: Waiting 16:57:20 [2019-05-23T13:57:20.041Z] 0c0da797ba48: Waiting 16:57:20 [2019-05-23T13:57:20.591Z] c42794440453: Verifying Checksum 16:57:20 [2019-05-23T13:57:20.591Z] c42794440453: Download complete 16:57:20 [2019-05-23T13:57:20.842Z] fce5728aad85: Verifying Checksum 16:57:20 [2019-05-23T13:57:20.842Z] fce5728aad85: Download complete 16:57:21 [2019-05-23T13:57:21.093Z] 0c0da797ba48: Download complete 16:57:21 [2019-05-23T13:57:21.343Z] 7c9b17433752: Verifying Checksum 16:57:21 [2019-05-23T13:57:21.343Z] 7c9b17433752: Download complete 16:57:21 [2019-05-23T13:57:21.343Z] 5040bd298390: Verifying Checksum 16:57:21 [2019-05-23T13:57:21.343Z] 5040bd298390: Download complete 16:57:21 [2019-05-23T13:57:21.894Z] e4c663802e9a: Download complete 16:57:22 [2019-05-23T13:57:22.145Z] 114e02586e63: Verifying Checksum 16:57:22 [2019-05-23T13:57:22.145Z] 114e02586e63: Download complete 16:57:30 [2019-05-23T13:57:30.172Z] 5040bd298390: Pull complete 16:57:32 [2019-05-23T13:57:32.660Z] fce5728aad85: Pull complete 16:57:33 [2019-05-23T13:57:33.211Z] c42794440453: Pull complete 16:57:34 [2019-05-23T13:57:34.123Z] 0c0da797ba48: Pull complete 16:57:35 [2019-05-23T13:57:35.035Z] 7c9b17433752: Pull complete 16:57:45 [2019-05-23T13:57:45.863Z] 114e02586e63: Pull complete 16:57:47 [2019-05-23T13:57:47.208Z] e4c663802e9a: Pull complete 16:57:47 [2019-05-23T13:57:47.208Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 16:57:47 [2019-05-23T13:57:47.208Z] Status: Downloaded newer image for java:8-jre 16:57:47 [2019-05-23T13:57:47.208Z] ---> e44d62cf8862 16:57:47 [2019-05-23T13:57:47.208Z] Step 2/7 : VOLUME /tmp 16:57:49 [2019-05-23T13:57:49.070Z] ---> Running in 68f089de661d 16:57:52 [2019-05-23T13:57:52.299Z] Removing intermediate container 68f089de661d 16:57:52 [2019-05-23T13:57:52.299Z] ---> 4c5c9772fe31 16:57:52 [2019-05-23T13:57:52.299Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 16:57:54 [2019-05-23T13:57:54.162Z] ---> Running in af79eb5c38fe 16:57:57 [2019-05-23T13:57:57.393Z] Removing intermediate container af79eb5c38fe 16:57:57 [2019-05-23T13:57:57.393Z] ---> 631764df4160 16:57:57 [2019-05-23T13:57:57.393Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 16:58:01 [2019-05-23T13:58:01.516Z] ---> 8793341fa4bf 16:58:01 [2019-05-23T13:58:01.516Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 16:58:03 [2019-05-23T13:58:03.378Z] ---> Running in 704c39eec98b 16:58:11 [2019-05-23T13:58:11.404Z] Removing intermediate container 704c39eec98b 16:58:11 [2019-05-23T13:58:11.404Z] ---> cd49c6248b86 16:58:11 [2019-05-23T13:58:11.404Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 16:58:12 [2019-05-23T13:58:12.321Z] ---> Running in b92cc2acd13a 16:58:15 [2019-05-23T13:58:15.550Z] Removing intermediate container b92cc2acd13a 16:58:15 [2019-05-23T13:58:15.550Z] ---> 09e1b9b8b546 16:58:15 [2019-05-23T13:58:15.550Z] Step 7/7 : EXPOSE 8080 16:58:18 [2019-05-23T13:58:18.041Z] ---> Running in 622780dc2d1e 16:58:20 [2019-05-23T13:58:20.525Z] Removing intermediate container 622780dc2d1e 16:58:20 [2019-05-23T13:58:20.525Z] ---> 7dc988ef0483 16:58:20 [2019-05-23T13:58:20.525Z] Successfully built 7dc988ef0483 16:58:20 [2019-05-23T13:58:20.525Z] Successfully tagged yasys/hub2swarm:deployments-latest 16:58:20 [2019-05-23T13:58:20.525Z] Docker image yasys/hub2swarm:[deployments-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 16:58:20 [2019-05-23T13:58:20.618Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:58:20 [2019-05-23T13:58:20.929Z] + set +x 16:58:20 [2019-05-23T13:58:20.930Z] Push yasys/hub2swarm to Docker Repository 16:58:21 [2019-05-23T13:58:21.180Z] The push refers to repository [docker.io/yasys/hub2swarm] 16:58:21 [2019-05-23T13:58:21.731Z] a8247f53d264: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] e589568c9164: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 73ad47d4bc12: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] c22c27816361: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 04dba64afa87: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 500ca2ff7d52: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 782d5215f910: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 0eb22bfb707d: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] a2ae92ffcd29: Preparing 16:58:21 [2019-05-23T13:58:21.731Z] 0eb22bfb707d: Waiting 16:58:21 [2019-05-23T13:58:21.732Z] 500ca2ff7d52: Waiting 16:58:21 [2019-05-23T13:58:21.732Z] 782d5215f910: Waiting 16:58:21 [2019-05-23T13:58:21.732Z] a2ae92ffcd29: Waiting 16:58:22 [2019-05-23T13:58:22.645Z] c22c27816361: Layer already exists 16:58:22 [2019-05-23T13:58:22.645Z] 04dba64afa87: Layer already exists 16:58:22 [2019-05-23T13:58:22.645Z] 73ad47d4bc12: Layer already exists 16:58:23 [2019-05-23T13:58:23.196Z] 500ca2ff7d52: Layer already exists 16:58:23 [2019-05-23T13:58:23.196Z] 0eb22bfb707d: Layer already exists 16:58:23 [2019-05-23T13:58:23.446Z] 782d5215f910: Layer already exists 16:58:23 [2019-05-23T13:58:23.697Z] a2ae92ffcd29: Layer already exists 16:58:35 [2019-05-23T13:58:35.797Z] a8247f53d264: Pushed 16:58:35 [2019-05-23T13:58:35.797Z] e589568c9164: Pushed 16:58:39 [2019-05-23T13:58:39.027Z] deployments-latest: digest: sha256:2f76c94c86524997ab8ace3e99a3a27fd567a53037c936cad9ae5442ef08f64f size: 2211 16:58:39 [2019-05-23T13:58:39.027Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 16:58:39 [2019-05-23T13:58:39.103Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 16:58:39 [2019-05-23T13:58:39.409Z] + set +x 16:58:39 [2019-05-23T13:58:39.409Z] Moikka kyberorg! 16:58:39 [2019-05-23T13:58:39.409Z] Here is Docker Summary: 16:58:39 [2019-05-23T13:58:39.409Z] Images built and pushed: 1 16:58:39 [2019-05-23T13:58:39.409Z] [ 16:58:39 [2019-05-23T13:58:39.409Z] yasys/hub2swarm:deployments-latest 16:58:39 [2019-05-23T13:58:39.409Z] ] 16:58:39 [2019-05-23T13:58:39.409Z] 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 16:58:39 [2019-05-23T13:58:39.634Z] One way or another, I have finished. Tsau! [Pipeline] sh 16:58:39 [2019-05-23T13:58:39.940Z] + set +x 16:58:39 [2019-05-23T13:58:39.940Z] Making workspace writable for correct cleanup 16:58:39 [2019-05-23T13:58:39.940Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 16:58:40 [2019-05-23T13:58:40.071Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 97ac11556b02cef1b8521bdad2c86836ce047b5f38753db10f5c3b5c6dd74366 $ docker rm -f 97ac11556b02cef1b8521bdad2c86836ce047b5f38753db10f5c3b5c6dd74366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS