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 04d6ca4801e037de313873407451f95a62a4e161 (origin/deployments) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 04d6ca4801e037de313873407451f95a62a4e161 # timeout=10 Commit message: "Order it right" > /usr/bin/git rev-list --no-walk 6bdc81ba88e78d76814d2bc1d97277db4eadbcf7 # 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 04d6ca4801e037de313873407451f95a62a4e161 (origin/deployments) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 04d6ca4801e037de313873407451f95a62a4e161 # timeout=10 Commit message: "Order it right" [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/32499cc4-cdd7-434a-8a39-64147b0d1ad9/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 93988fc01cf741f426448e9ee0b2e764e8a5ba5a2bdb5a1d36beab8bb89b93a5 -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 10:58:38 [2019-05-24T07:58:38.108Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 10:58:38 [2019-05-24T07:58:38.427Z] + set +x 10:58:38 [2019-05-24T07:58:38.427Z] [Runner info] 10:58:38 [2019-05-24T07:58:38.427Z] Hostname: 93988fc01cf7 10:58:38 [2019-05-24T07:58:38.679Z] Network Status: Host Online 10:58:38 [2019-05-24T07:58:38.679Z] 10:58:38 [2019-05-24T07:58:38.679Z] === Tools info === 10:58:38 [2019-05-24T07:58:38.930Z] Docker version: Docker version 18.09.5, build e8ff056dbc 10:58:38 [2019-05-24T07:58:38.930Z] 10:58:38 [2019-05-24T07:58:38.930Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 10:58:38 [2019-05-24T07:58:38.930Z] Maven home: /opt/mvn 10:58:38 [2019-05-24T07:58:38.930Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 10:58:38 [2019-05-24T07:58:38.930Z] Default locale: en, platform encoding: UTF-8 10:58:38 [2019-05-24T07:58:38.930Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 10:58:38 [2019-05-24T07:58:38.930Z] 10:58:38 [2019-05-24T07:58:38.930Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 10:58:39 [2019-05-24T07:58:39.062Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 10:58:39 [2019-05-24T07:58:39.371Z] + set +x 10:58:39 [2019-05-24T07:58:39.372Z] [Build info] 10:58:39 [2019-05-24T07:58:39.372Z] ===== Git info ===== 10:58:39 [2019-05-24T07:58:39.372Z] Git branch: deployments 10:58:39 [2019-05-24T07:58:39.372Z] Git commit: 04d6ca4801e037de313873407451f95a62a4e161 10:58:39 [2019-05-24T07:58:39.372Z] Git tag: - 10:58:39 [2019-05-24T07:58:39.372Z] 10:58:39 [2019-05-24T07:58:39.372Z] ===== Jenkins info ===== 10:58:39 [2019-05-24T07:58:39.372Z] Jenkins Job #149 10:58:39 [2019-05-24T07:58:39.372Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/149/ 10:58:39 [2019-05-24T07:58:39.372Z] Jenkins Tag: jenkins-Hub2Swarm-149 10:58:39 [2019-05-24T07:58:39.372Z] 10:58:39 [2019-05-24T07:58:39.372Z] ===== Job Params ===== 10:58:39 [2019-05-24T07:58:39.372Z] 10:58:39 [2019-05-24T07:58:39.372Z] dockerRepo=yasys/hub2swarm 10:58:39 [2019-05-24T07:58:39.372Z] dockerStep=ee.yadev.pipe.commonpipe.Default@50ae9665 10:58:39 [2019-05-24T07:58:39.372Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@292c46fe 10:58:39 [2019-05-24T07:58:39.372Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@50ae9665 10:58:39 [2019-05-24T07:58:39.372Z] hubUrl=https://cloud.docker.com/repository/docker 10:58:39 [2019-05-24T07:58:39.372Z] useDebugTag=false 10:58:39 [2019-05-24T07:58:39.372Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 10:58:39 [2019-05-24T07:58:39.372Z] preparationStep=ee.yadev.pipe.commonpipe.Default@50ae9665 10:58:39 [2019-05-24T07:58:39.372Z] stepTimeout=5 10:58:39 [2019-05-24T07:58:39.372Z] hubCredentialsId=docker-hub 10:58:39 [2019-05-24T07:58:39.372Z] class=class ee.yadev.pipe.commonpipe.Params 10:58:39 [2019-05-24T07:58:39.372Z] skipMavenTests=true 10:58:39 [2019-05-24T07:58:39.372Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 10:58:39 [2019-05-24T07:58:39.372Z] verbose=false 10:58:39 [2019-05-24T07:58:39.372Z] mavenTestsTimeout=5 10:58:39 [2019-05-24T07:58:39.372Z] pipelineTimeout=15 10:58:39 [2019-05-24T07:58:39.372Z] hubUser=kyberorg 10:58:39 [2019-05-24T07:58:39.372Z] 10:58:39 [2019-05-24T07:58:39.372Z] ==== Environment Variables ===== 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 10:58:39 [2019-05-24T07:58:39.372Z] GIT_COMMITTER_NAME=Jenkins CI 10:58:39 [2019-05-24T07:58:39.372Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=ceec6ab8a0940dc1ed170116b9fdf947fc442b85 10:58:39 [2019-05-24T07:58:39.372Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 10:58:39 [2019-05-24T07:58:39.372Z] HOSTNAME=93988fc01cf7 10:58:39 [2019-05-24T07:58:39.372Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/149/display/redirect?page=changes 10:58:39 [2019-05-24T07:58:39.372Z] gitlabAfter=04d6ca4801e037de313873407451f95a62a4e161 10:58:39 [2019-05-24T07:58:39.372Z] GIT_COMMIT=04d6ca4801e037de313873407451f95a62a4e161 10:58:39 [2019-05-24T07:58:39.372Z] HUDSON_URL=https://ci.yadev.eu/ 10:58:39 [2019-05-24T07:58:39.372Z] NODE_LABELS=master 10:58:39 [2019-05-24T07:58:39.372Z] HOME=/root 10:58:39 [2019-05-24T07:58:39.372Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/149/ 10:58:39 [2019-05-24T07:58:39.372Z] gitlabTargetBranch=deployments 10:58:39 [2019-05-24T07:58:39.372Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 10:58:39 [2019-05-24T07:58:39.372Z] GIT_AUTHOR_NAME=Jenkins CI 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 10:58:39 [2019-05-24T07:58:39.372Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 10:58:39 [2019-05-24T07:58:39.372Z] gitlabMergeRequestLastCommit=04d6ca4801e037de313873407451f95a62a4e161 10:58:39 [2019-05-24T07:58:39.372Z] JAVA_VERSION=8u212 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 10:58:39 [2019-05-24T07:58:39.372Z] NODE_NAME=master 10:58:39 [2019-05-24T07:58:39.372Z] EXECUTOR_NUMBER=1 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 10:58:39 [2019-05-24T07:58:39.372Z] GIT_BRANCH=origin/deployments 10:58:39 [2019-05-24T07:58:39.372Z] STAGE_NAME=Execution info 10:58:39 [2019-05-24T07:58:39.372Z] gitlabBranch=deployments 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceBranch=deployments 10:58:39 [2019-05-24T07:58:39.372Z] BUILD_DISPLAY_NAME=#149 10:58:39 [2019-05-24T07:58:39.372Z] gitlabUserEmail=kyberorg@yadev.eu 10:58:39 [2019-05-24T07:58:39.372Z] JOB_BASE_NAME=Hub2Swarm 10:58:39 [2019-05-24T07:58:39.372Z] HUDSON_HOME=/var/lib/jenkins 10:58:39 [2019-05-24T07:58:39.372Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 10:58:39 [2019-05-24T07:58:39.372Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 10:58:39 [2019-05-24T07:58:39.372Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 10:58:39 [2019-05-24T07:58:39.372Z] BUILD_ID=149 10:58:39 [2019-05-24T07:58:39.372Z] BUILDING_FOR=kyberorg 10:58:39 [2019-05-24T07:58:39.372Z] gitlabBefore=6bdc81ba88e78d76814d2bc1d97277db4eadbcf7 10:58:39 [2019-05-24T07:58:39.372Z] BUILD_TAG=jenkins-Hub2Swarm-149 10:58:39 [2019-05-24T07:58:39.372Z] gitlabActionType=PUSH 10:58:39 [2019-05-24T07:58:39.372Z] JENKINS_URL=https://ci.yadev.eu/ 10:58:39 [2019-05-24T07:58:39.372Z] LANG=C.UTF-8 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceRepoName=Hub2Swarm 10:58:39 [2019-05-24T07:58:39.372Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 10:58:39 [2019-05-24T07:58:39.372Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 10:58:39 [2019-05-24T07:58:39.372Z] BUILD_NUMBER=149 10:58:39 [2019-05-24T07:58:39.372Z] gitlabSourceNamespace=Yet another Systems 10:58:39 [2019-05-24T07:58:39.372Z] JENKINS_NODE_COOKIE=ca2e72a9-2233-4a80-a535-ddb4b0625e74 10:58:39 [2019-05-24T07:58:39.372Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/149/display/redirect 10:58:39 [2019-05-24T07:58:39.372Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 10:58:39 [2019-05-24T07:58:39.372Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 10:58:39 [2019-05-24T07:58:39.372Z] CLASSPATH= 10:58:39 [2019-05-24T07:58:39.372Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 10:58:39 [2019-05-24T07:58:39.372Z] JOB_NAME=Hub2Swarm 10:58:39 [2019-05-24T07:58:39.372Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/32499cc4-cdd7-434a-8a39-64147b0d1ad9 10:58:39 [2019-05-24T07:58:39.372Z] gitlabUserName=Alex Muravya 10:58:39 [2019-05-24T07:58:39.372Z] JAVA_HOME=/docker-java-home 10:58:39 [2019-05-24T07:58:39.372Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 10:58:39 [2019-05-24T07:58:39.372Z] GIT_PREVIOUS_COMMIT=6bdc81ba88e78d76814d2bc1d97277db4eadbcf7 10:58:39 [2019-05-24T07:58:39.372Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] sh 10:58:39 [2019-05-24T07:58:39.891Z] + mvn clean package 10:58:41 [2019-05-24T07:58:41.755Z] [INFO] Scanning for projects... 10:58:42 [2019-05-24T07:58:42.006Z] [INFO] 10:58:42 [2019-05-24T07:58:42.006Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 10:58:42 [2019-05-24T07:58:42.006Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 10:58:42 [2019-05-24T07:58:42.006Z] [INFO] --------------------------------[ jar ]--------------------------------- 10:58:43 [2019-05-24T07:58:43.868Z] [INFO] 10:58:43 [2019-05-24T07:58:43.868Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 10:58:43 [2019-05-24T07:58:43.868Z] [INFO] 10:58:43 [2019-05-24T07:58:43.868Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 10:58:43 [2019-05-24T07:58:43.868Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 10:58:43 [2019-05-24T07:58:43.869Z] [INFO] Copying 4 resources 10:58:43 [2019-05-24T07:58:43.869Z] [INFO] Copying 12 resources 10:58:43 [2019-05-24T07:58:43.869Z] [INFO] 10:58:43 [2019-05-24T07:58:43.869Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 10:58:44 [2019-05-24T07:58:44.119Z] [INFO] Changes detected - recompiling the module! 10:58:44 [2019-05-24T07:58:44.119Z] [INFO] Compiling 54 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] Changes detected - recompiling the module! 10:58:48 [2019-05-24T07:58:48.243Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 10:58:48 [2019-05-24T07:58:48.794Z] [INFO] 10:58:48 [2019-05-24T07:58:48.794Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 10:58:49 [2019-05-24T07:58:49.045Z] [INFO] 10:58:49 [2019-05-24T07:58:49.045Z] [INFO] ------------------------------------------------------- 10:58:49 [2019-05-24T07:58:49.045Z] [INFO] T E S T S 10:58:49 [2019-05-24T07:58:49.045Z] [INFO] ------------------------------------------------------- 10:58:49 [2019-05-24T07:58:49.956Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:49.963 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:49.971 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:49.984 [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)] 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:50.041 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:50.083 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:50.093 [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 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:50.095 [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 10:58:50 [2019-05-24T07:58:50.206Z] 07:58:50.095 [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}. 10:58:50 [2019-05-24T07:58:50.207Z] 07:58:50.097 [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. 10:58:50 [2019-05-24T07:58:50.207Z] 07:58:50.198 [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] 10:58:50 [2019-05-24T07:58:50.457Z] 07:58:50.328 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 10:58:50 [2019-05-24T07:58:50.457Z] 07:58:50.329 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 10:58:50 [2019-05-24T07:58:50.707Z] 07:58:50.476 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.477 [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] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.500 [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] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.503 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.504 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.506 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.506 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.507 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.507 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.513 [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]. 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.515 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.515 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 10:58:50 [2019-05-24T07:58:50.708Z] 07:58:50.552 [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} 10:58:50 [2019-05-24T07:58:50.959Z] __ __ __ ___ _____ 10:58:50 [2019-05-24T07:58:50.959Z] / / / / __ __ / /_ |__ \ / ___/ _ __ ____ _ _____ ____ ___ 10:58:50 [2019-05-24T07:58:50.959Z] / /_/ / / / / / / __ \ __/ / \__ \ | | /| / / / __ `/ / ___/ / __ `__ \ 10:58:50 [2019-05-24T07:58:50.959Z] / __ / / /_/ / / /_/ / / __/ ___/ / | |/ |/ / / /_/ / / / / / / / / / 10:58:50 [2019-05-24T07:58:50.959Z] /_/ /_/ \__,_/ /_.___/ /____/ /____/ |__/|__/ \__,_/ /_/ /_/ /_/ /_/ 10:58:50 [2019-05-24T07:58:50.959Z] 10:58:51 [2019-05-24T07:58:51.209Z] [main] WARN org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer:86 {logDuplicateJsonObjectsWarning}: 10:58:51 [2019-05-24T07:58:51.209Z] 10:58:51 [2019-05-24T07:58:51.209Z] Found multiple occurrences of org.json.JSONObject on the class path: 10:58:51 [2019-05-24T07:58:51.209Z] 10:58:51 [2019-05-24T07:58:51.209Z] 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 10:58:51 [2019-05-24T07:58:51.209Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 10:58:51 [2019-05-24T07:58:51.209Z] 10:58:51 [2019-05-24T07:58:51.209Z] You may wish to exclude one of them to ensure predictable runtime behavior 10:58:51 [2019-05-24T07:58:51.209Z] 10:58:51 [2019-05-24T07:58:51.209Z] [main] INFO org.springframework.boot.StartupInfoLogger:50 {logStarting}: Starting Hub2swarmApplicationTests on 93988fc01cf7 with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 10:58:51 [2019-05-24T07:58:51.209Z] [main] INFO org.springframework.boot.SpringApplication:682 {logStartupProfileInfo}: No active profile set, falling back to default profiles: default 10:58:53 [2019-05-24T07:58:53.071Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:126 {registerRepositoriesIn}: Bootstrapping Spring Data repositories in DEFAULT mode. 10:58:53 [2019-05-24T07:58:53.071Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:182 {registerRepositoriesIn}: Finished Spring Data repository scanning in 144ms. Found 7 repository interfaces. 10:58:53 [2019-05-24T07:58:53.986Z] [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 {postProcessAfterInitialization}: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$21f532cb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 10:58:54 [2019-05-24T07:58:54.537Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Flyway Community Edition 5.2.4 by Boxfuse 10:58:54 [2019-05-24T07:58:54.537Z] [main] INFO com.zaxxer.hikari.HikariDataSource:110 {getConnection}: HikariPool-1 - Starting... 10:58:54 [2019-05-24T07:58:54.787Z] [main] INFO com.zaxxer.hikari.HikariDataSource:123 {getConnection}: HikariPool-1 - Start completed. 10:58:54 [2019-05-24T07:58:54.787Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Database: jdbc:h2:mem:testdb (H2 1.4) 10:58:54 [2019-05-24T07:58:54.787Z] [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. 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully validated 7 migrations (execution time 00:00.093s) 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Creating Schema History table: "PUBLIC"."flyway_schema_history" 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Current version of schema "PUBLIC": << Empty Schema >> 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 1 - Tables 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 2 - Stack Table 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 3 - Creds Table 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 4 - Token Table 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 5 - Image Replace Policy 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 6 - User Table 10:58:55 [2019-05-24T07:58:55.038Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 7 - Deployment Table 10:58:55 [2019-05-24T07:58:55.288Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully applied 7 migrations to schema "PUBLIC" (execution time 00:00.199s) 10:58:55 [2019-05-24T07:58:55.539Z] [main] INFO org.hibernate.jpa.internal.util.LogHelper:31 {logPersistenceUnitInformation}: HHH000204: Processing PersistenceUnitInfo [name: default] 10:58:55 [2019-05-24T07:58:55.539Z] [main] INFO org.hibernate.Version:46 {logVersion}: HHH000412: Hibernate Core {5.4.2.Final} 10:58:55 [2019-05-24T07:58:55.789Z] [main] INFO org.hibernate.annotations.common.reflection.java.JavaReflectionManager:49 {<clinit>}: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 10:58:56 [2019-05-24T07:58:56.040Z] [main] INFO org.hibernate.dialect.Dialect:158 {<init>}: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 10:58:57 [2019-05-24T07:58:57.384Z] [main] INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator:52 {initiateService}: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 10:58:57 [2019-05-24T07:58:57.384Z] [main] INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:415 {buildNativeEntityManagerFactory}: Initialized JPA EntityManagerFactory for persistence unit 'default' 10:58:58 [2019-05-24T07:58:58.728Z] [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 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/hub'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/VAADIN/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/favicon.ico'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/robots.txt'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/manifest.webmanifest'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/sw.js'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/offline-page.html'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/src/main/webapp/icons/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/images/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/icons/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/img/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/webjars/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/h2-console/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend-es5/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: Ant [pattern='/frontend-es6/**'], [] 10:58:59 [2019-05-24T07:58:59.639Z] [main] INFO org.springframework.security.web.DefaultSecurityFilterChain:43 {<init>}: Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@31dbf5bb, org.springframework.security.web.context.SecurityContextPersistenceFilter@1c8e2850, org.springframework.security.web.header.HeaderWriterFilter@3856d0cb, org.springframework.security.web.authentication.logout.LogoutFilter@57afe44b, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@217b0952, org.springframework.security.web.session.ConcurrentSessionFilter@7a247711, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4bf10fe1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@34fc315d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1f19d423, org.springframework.security.web.session.SessionManagementFilter@d190639, org.springframework.security.web.access.ExceptionTranslationFilter@df6f19b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@68f79b7c] 10:59:00 [2019-05-24T07:59:00.551Z] [main] INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:171 {initialize}: Initializing ExecutorService 'applicationTaskExecutor' 10:59:01 [2019-05-24T07:59:01.463Z] [main] INFO org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver:59 {<init>}: Exposing 2 endpoint(s) beneath base path '/actuator' 10:59:02 [2019-05-24T07:59:02.375Z] [main] INFO org.springframework.boot.StartupInfoLogger:59 {logStarted}: Started Hub2swarmApplicationTests in 11.542 seconds (JVM running for 12.937) 10:59:02 [2019-05-24T07:59:02.375Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.541 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 10:59:02 [2019-05-24T07:59:02.375Z] [Thread-3] INFO org.springframework.scheduling.concurrent.ExecutorConfigurationSupport:208 {shutdown}: Shutting down ExecutorService 'applicationTaskExecutor' 10:59:02 [2019-05-24T07:59:02.375Z] [Thread-3] INFO org.springframework.orm.jpa.AbstractEntityManagerFactoryBean:597 {destroy}: Closing JPA EntityManagerFactory for persistence unit 'default' 10:59:02 [2019-05-24T07:59:02.625Z] [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] 10:59:02 [2019-05-24T07:59:02.625Z] [Thread-3] INFO com.zaxxer.hikari.HikariDataSource:350 {close}: HikariPool-1 - Shutdown initiated... 10:59:02 [2019-05-24T07:59:02.625Z] [Thread-3] INFO com.zaxxer.hikari.HikariDataSource:352 {close}: HikariPool-1 - Shutdown completed. 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] Results: 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] 10:59:02 [2019-05-24T07:59:02.876Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 10:59:03 [2019-05-24T07:59:03.126Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 10:59:03 [2019-05-24T07:59:03.126Z] [INFO] 10:59:03 [2019-05-24T07:59:03.126Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] Replacing main artifact with repackaged archive 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] ------------------------------------------------------------------------ 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] BUILD SUCCESS 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] ------------------------------------------------------------------------ 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] Total time: 22.352 s 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] Finished at: 2019-05-24T07:59:03Z 10:59:04 [2019-05-24T07:59:04.038Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 10:59:04 [2019-05-24T07:59:04.313Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 10:59:04 [2019-05-24T07:59:04.629Z] + set +x 10:59:04 [2019-05-24T07:59:04.880Z] Starting Docker: docker. 10:59:04 [2019-05-24T07:59:04.880Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 10:59:04 [2019-05-24T07:59:04.961Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 10:59:05 [2019-05-24T07:59:05.035Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 10:59:05 [2019-05-24T07:59:05.345Z] + set +x 10:59:05 [2019-05-24T07:59:05.345Z] Login as **** to Docker Repository 10:59:07 [2019-05-24T07:59:07.207Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/32499cc4-cdd7-434a-8a39-64147b0d1ad9/config.json. 10:59:07 [2019-05-24T07:59:07.207Z] Configure a credential helper to remove this warning. See 10:59:07 [2019-05-24T07:59:07.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:07 [2019-05-24T07:59:07.207Z] 10:59:07 [2019-05-24T07:59:07.207Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 10:59:07 [2019-05-24T07:59:07.356Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 10:59:07 [2019-05-24T07:59:07.662Z] + set +x 10:59:07 [2019-05-24T07:59:07.662Z] Building Docker Image yasys/hub2swarm with tags: [deployments-latest] 10:59:08 [2019-05-24T07:59:08.573Z] Sending build context to Docker daemon 72.9MB 10:59:08 [2019-05-24T07:59:08.824Z] Step 1/7 : FROM java:8-jre 10:59:10 [2019-05-24T07:59:10.171Z] 8-jre: Pulling from library/java 10:59:10 [2019-05-24T07:59:10.171Z] 5040bd298390: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] fce5728aad85: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] c42794440453: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] 0c0da797ba48: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] 7c9b17433752: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] 114e02586e63: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] e4c663802e9a: Pulling fs layer 10:59:10 [2019-05-24T07:59:10.171Z] 0c0da797ba48: Waiting 10:59:10 [2019-05-24T07:59:10.171Z] 114e02586e63: Waiting 10:59:10 [2019-05-24T07:59:10.171Z] e4c663802e9a: Waiting 10:59:10 [2019-05-24T07:59:10.171Z] 7c9b17433752: Waiting 10:59:10 [2019-05-24T07:59:10.724Z] c42794440453: Verifying Checksum 10:59:10 [2019-05-24T07:59:10.724Z] c42794440453: Download complete 10:59:10 [2019-05-24T07:59:10.724Z] fce5728aad85: Verifying Checksum 10:59:10 [2019-05-24T07:59:10.724Z] fce5728aad85: Download complete 10:59:11 [2019-05-24T07:59:11.275Z] 0c0da797ba48: Verifying Checksum 10:59:11 [2019-05-24T07:59:11.276Z] 0c0da797ba48: Download complete 10:59:11 [2019-05-24T07:59:11.276Z] 7c9b17433752: Verifying Checksum 10:59:11 [2019-05-24T07:59:11.276Z] 7c9b17433752: Download complete 10:59:11 [2019-05-24T07:59:11.526Z] 5040bd298390: Verifying Checksum 10:59:11 [2019-05-24T07:59:11.526Z] 5040bd298390: Download complete 10:59:12 [2019-05-24T07:59:12.077Z] e4c663802e9a: Verifying Checksum 10:59:12 [2019-05-24T07:59:12.077Z] e4c663802e9a: Download complete 10:59:12 [2019-05-24T07:59:12.328Z] 114e02586e63: Verifying Checksum 10:59:12 [2019-05-24T07:59:12.328Z] 114e02586e63: Download complete 10:59:18 [2019-05-24T07:59:18.810Z] 5040bd298390: Pull complete 10:59:22 [2019-05-24T07:59:22.039Z] fce5728aad85: Pull complete 10:59:22 [2019-05-24T07:59:22.951Z] c42794440453: Pull complete 10:59:23 [2019-05-24T07:59:23.862Z] 0c0da797ba48: Pull complete 10:59:24 [2019-05-24T07:59:24.773Z] 7c9b17433752: Pull complete 10:59:34 [2019-05-24T07:59:34.649Z] 114e02586e63: Pull complete 10:59:34 [2019-05-24T07:59:34.649Z] e4c663802e9a: Pull complete 10:59:34 [2019-05-24T07:59:34.649Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 10:59:34 [2019-05-24T07:59:34.649Z] Status: Downloaded newer image for java:8-jre 10:59:34 [2019-05-24T07:59:34.649Z] ---> e44d62cf8862 10:59:34 [2019-05-24T07:59:34.649Z] Step 2/7 : VOLUME /tmp 10:59:38 [2019-05-24T07:59:38.773Z] ---> Running in 428ea3eb0975 10:59:42 [2019-05-24T07:59:42.002Z] Removing intermediate container 428ea3eb0975 10:59:42 [2019-05-24T07:59:42.002Z] ---> d0a8e5ed3655 10:59:42 [2019-05-24T07:59:42.002Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 10:59:43 [2019-05-24T07:59:43.347Z] ---> Running in 2135a50c4d41 10:59:46 [2019-05-24T07:59:46.583Z] Removing intermediate container 2135a50c4d41 10:59:46 [2019-05-24T07:59:46.583Z] ---> 46b1385a304d 10:59:46 [2019-05-24T07:59:46.583Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 10:59:50 [2019-05-24T07:59:50.707Z] ---> 7826e2d5d641 10:59:50 [2019-05-24T07:59:50.707Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 10:59:52 [2019-05-24T07:59:52.570Z] ---> Running in 659bd16e075d 10:59:57 [2019-05-24T07:59:57.766Z] Removing intermediate container 659bd16e075d 10:59:57 [2019-05-24T07:59:57.766Z] ---> a7db1047881a 10:59:57 [2019-05-24T07:59:57.766Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 11:00:00 [2019-05-24T08:00:00.250Z] ---> Running in 158fdd806973 11:00:03 [2019-05-24T08:00:03.479Z] Removing intermediate container 158fdd806973 11:00:03 [2019-05-24T08:00:03.479Z] ---> bf333a60df70 11:00:03 [2019-05-24T08:00:03.479Z] Step 7/7 : EXPOSE 8080 11:00:05 [2019-05-24T08:00:05.965Z] ---> Running in d4936939091e 11:00:09 [2019-05-24T08:00:09.201Z] Removing intermediate container d4936939091e 11:00:09 [2019-05-24T08:00:09.201Z] ---> 845ac96b5859 11:00:09 [2019-05-24T08:00:09.201Z] Successfully built 845ac96b5859 11:00:09 [2019-05-24T08:00:09.201Z] Successfully tagged yasys/hub2swarm:deployments-latest 11:00:09 [2019-05-24T08:00:09.201Z] Docker image yasys/hub2swarm:[deployments-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 11:00:09 [2019-05-24T08:00:09.294Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:00:09 [2019-05-24T08:00:09.607Z] + set +x 11:00:09 [2019-05-24T08:00:09.607Z] Push yasys/hub2swarm to Docker Repository 11:00:09 [2019-05-24T08:00:09.858Z] The push refers to repository [docker.io/yasys/hub2swarm] 11:00:10 [2019-05-24T08:00:10.109Z] 319f48605682: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 783484da479d: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 73ad47d4bc12: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] c22c27816361: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 04dba64afa87: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 500ca2ff7d52: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 782d5215f910: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 0eb22bfb707d: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] a2ae92ffcd29: Preparing 11:00:10 [2019-05-24T08:00:10.109Z] 500ca2ff7d52: Waiting 11:00:10 [2019-05-24T08:00:10.109Z] 782d5215f910: Waiting 11:00:10 [2019-05-24T08:00:10.109Z] 0eb22bfb707d: Waiting 11:00:10 [2019-05-24T08:00:10.109Z] a2ae92ffcd29: Waiting 11:00:11 [2019-05-24T08:00:11.452Z] 73ad47d4bc12: Layer already exists 11:00:11 [2019-05-24T08:00:11.452Z] 04dba64afa87: Layer already exists 11:00:11 [2019-05-24T08:00:11.452Z] c22c27816361: Layer already exists 11:00:11 [2019-05-24T08:00:11.703Z] 500ca2ff7d52: Layer already exists 11:00:11 [2019-05-24T08:00:11.703Z] 782d5215f910: Layer already exists 11:00:11 [2019-05-24T08:00:11.703Z] 0eb22bfb707d: Layer already exists 11:00:12 [2019-05-24T08:00:12.255Z] a2ae92ffcd29: Layer already exists 11:00:24 [2019-05-24T08:00:24.355Z] 783484da479d: Pushed 11:00:24 [2019-05-24T08:00:24.605Z] 319f48605682: Pushed 11:00:28 [2019-05-24T08:00:28.729Z] deployments-latest: digest: sha256:416aa8c6e3b82fb1621bc781511bd12b6e1b65f41c063b1627ce652e8a65b628 size: 2211 11:00:28 [2019-05-24T08:00:28.729Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 11:00:28 [2019-05-24T08:00:28.832Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 11:00:29 [2019-05-24T08:00:29.143Z] + set +x 11:00:29 [2019-05-24T08:00:29.143Z] Moikka kyberorg! 11:00:29 [2019-05-24T08:00:29.143Z] Here is Docker Summary: 11:00:29 [2019-05-24T08:00:29.143Z] Images built and pushed: 1 11:00:29 [2019-05-24T08:00:29.143Z] [ 11:00:29 [2019-05-24T08:00:29.143Z] yasys/hub2swarm:deployments-latest 11:00:29 [2019-05-24T08:00:29.143Z] ] 11:00:29 [2019-05-24T08:00:29.143Z] 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 11:00:29 [2019-05-24T08:00:29.364Z] One way or another, I have finished. Tsau! [Pipeline] sh 11:00:29 [2019-05-24T08:00:29.667Z] + set +x 11:00:29 [2019-05-24T08:00:29.667Z] Making workspace writable for correct cleanup 11:00:29 [2019-05-24T08:00:29.667Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 11:00:29 [2019-05-24T08:00:29.794Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 93988fc01cf741f426448e9ee0b2e764e8a5ba5a2bdb5a1d36beab8bb89b93a5 $ docker rm -f 93988fc01cf741f426448e9ee0b2e764e8a5ba5a2bdb5a1d36beab8bb89b93a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS