Started by GitLab push by Alex Muravya
Lightweight checkout support not available, falling back to full checkout.
Checking out git https://gitlab.com/yasys/hub2swarm.git into /var/lib/jenkins/workspace/Hub2Swarm@script to read Jenkinsfile
using credential kyberorg_gl
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/5-do-stack-update, since it originates from another repository
Seen branch in repository origin/1-simple-navigation
Seen branch in repository origin/2-service-mapping
Seen branch in repository origin/3-mvp-auth
Seen branch in repository origin/4-swarm-login
Seen branch in repository origin/5-do-stack-update
Seen branch in repository origin/auth
Seen branch in repository origin/master
Seen branch in repository origin/trunk
Seen 8 remote branches
> /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 87b08067ba4f06c3fd3e49a7298329f68c88f89a (origin/5-do-stack-update)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 87b08067ba4f06c3fd3e49a7298329f68c88f89a # timeout=10
Commit message: "clean all"
> /usr/bin/git rev-list --no-walk fc1fb8813be0e703554fb7275f1ef6b8ba3238ef # timeout=10
Running in Durability level: MAX_SURVIVABILITY
Loading library common-pipe@2.3.3
Attempting to resolve 2.3.3 from remote references...
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git ls-remote -h https://gitlab.com/yasys/common-pipe.git # timeout=10
Could not find 2.3.3 in remote references. Pulling heads to local for deep search...
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://gitlab.com/yasys/common-pipe.git
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
> /usr/bin/git --version # timeout=10
> /usr/bin/git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10
> /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d
using credential kyberorg_gl
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10
Fetching without tags
Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/5-do-stack-update, since it originates from another repository
Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
Commit message: "Merge branch 'steps-fix' into 'master'"
> /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10
[Pipeline] Start of Pipeline
Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature.
[Pipeline] getContext
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/Hub2Swarm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential kyberorg_gl
Cloning the remote Git repository
Cloning repository https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git init /var/lib/jenkins/workspace/Hub2Swarm # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10
> /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10
Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git
using GIT_ASKPASS to set credentials Kyberorg GitLab
> /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit remotes/origin/5-do-stack-update, since it originates from another repository
Seen branch in repository origin/5-do-stack-update
Seen branch in repository origin/auth
Seen branch in repository origin/master
Seen branch in repository origin/trunk
Seen 4 remote branches
> /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 87b08067ba4f06c3fd3e49a7298329f68c88f89a (origin/5-do-stack-update)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 87b08067ba4f06c3fd3e49a7298329f68c88f89a # timeout=10
Commit message: "clean all"
[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/c952388b-588d-4ee6-ad24-063017bedac0/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 e607ff24a0dc30ad88bc27803efc4c975a826485306b29c1d89c0dc3277e1cb2 -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
14:25:59 [2019-05-06T11:25:59.629Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:25:59 [2019-05-06T11:25:59.925Z] + set +x
14:25:59 [2019-05-06T11:25:59.925Z] [Runner info]
14:25:59 [2019-05-06T11:25:59.926Z] Hostname: e607ff24a0dc
14:26:00 [2019-05-06T11:26:00.176Z] Network Status: Host Online
14:26:00 [2019-05-06T11:26:00.176Z]
14:26:00 [2019-05-06T11:26:00.176Z] === Tools info ===
14:26:00 [2019-05-06T11:26:00.427Z] Docker version: Docker version 18.09.5, build e8ff056dbc
14:26:00 [2019-05-06T11:26:00.427Z]
14:26:00 [2019-05-06T11:26:00.427Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
14:26:00 [2019-05-06T11:26:00.427Z] Maven home: /opt/mvn
14:26:00 [2019-05-06T11:26:00.427Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
14:26:00 [2019-05-06T11:26:00.427Z] Default locale: en, platform encoding: UTF-8
14:26:00 [2019-05-06T11:26:00.427Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix"
14:26:00 [2019-05-06T11:26:00.427Z]
14:26:00 [2019-05-06T11:26:00.427Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:26:00 [2019-05-06T11:26:00.506Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:26:00 [2019-05-06T11:26:00.857Z] + set +x
14:26:00 [2019-05-06T11:26:00.857Z] [Build info]
14:26:00 [2019-05-06T11:26:00.857Z] ===== Git info =====
14:26:00 [2019-05-06T11:26:00.857Z] Git branch: 5-do-stack-update
14:26:00 [2019-05-06T11:26:00.857Z] Git commit: 87b08067ba4f06c3fd3e49a7298329f68c88f89a
14:26:00 [2019-05-06T11:26:00.857Z] Git tag: -
14:26:00 [2019-05-06T11:26:00.857Z]
14:26:00 [2019-05-06T11:26:00.857Z] ===== Jenkins info =====
14:26:00 [2019-05-06T11:26:00.857Z] Jenkins Job #88
14:26:00 [2019-05-06T11:26:00.857Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/88/
14:26:00 [2019-05-06T11:26:00.857Z] Jenkins Tag: jenkins-Hub2Swarm-88
14:26:00 [2019-05-06T11:26:00.857Z]
14:26:00 [2019-05-06T11:26:00.857Z] ===== Job Params =====
14:26:00 [2019-05-06T11:26:00.857Z]
14:26:00 [2019-05-06T11:26:00.857Z] dockerRepo=yasys/hub2swarm
14:26:00 [2019-05-06T11:26:00.857Z] dockerStep=ee.yadev.pipe.commonpipe.Default@473577e6
14:26:00 [2019-05-06T11:26:00.857Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@47519
14:26:00 [2019-05-06T11:26:00.857Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@473577e6
14:26:00 [2019-05-06T11:26:00.857Z] hubUrl=https://cloud.docker.com/repository/docker
14:26:00 [2019-05-06T11:26:00.857Z] useDebugTag=false
14:26:00 [2019-05-06T11:26:00.857Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false}
14:26:00 [2019-05-06T11:26:00.857Z] preparationStep=ee.yadev.pipe.commonpipe.Default@473577e6
14:26:00 [2019-05-06T11:26:00.857Z] stepTimeout=5
14:26:00 [2019-05-06T11:26:00.857Z] hubCredentialsId=docker-hub
14:26:00 [2019-05-06T11:26:00.857Z] class=class ee.yadev.pipe.commonpipe.Params
14:26:00 [2019-05-06T11:26:00.857Z] skipMavenTests=true
14:26:00 [2019-05-06T11:26:00.857Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2}
14:26:00 [2019-05-06T11:26:00.857Z] verbose=false
14:26:00 [2019-05-06T11:26:00.857Z] mavenTestsTimeout=5
14:26:00 [2019-05-06T11:26:00.857Z] pipelineTimeout=15
14:26:00 [2019-05-06T11:26:00.857Z] hubUser=kyberorg
14:26:00 [2019-05-06T11:26:00.857Z]
14:26:00 [2019-05-06T11:26:00.857Z] ==== Environment Variables =====
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git
14:26:00 [2019-05-06T11:26:00.857Z] GIT_COMMITTER_NAME=Jenkins CI
14:26:00 [2019-05-06T11:26:00.857Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef
14:26:00 [2019-05-06T11:26:00.857Z] GIT_AUTHOR_EMAIL=ci@yadev.eu
14:26:00 [2019-05-06T11:26:00.857Z] HOSTNAME=e607ff24a0dc
14:26:00 [2019-05-06T11:26:00.857Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/88/display/redirect?page=changes
14:26:00 [2019-05-06T11:26:00.857Z] gitlabAfter=87b08067ba4f06c3fd3e49a7298329f68c88f89a
14:26:00 [2019-05-06T11:26:00.857Z] HUDSON_URL=https://ci.yadev.eu/
14:26:00 [2019-05-06T11:26:00.857Z] NODE_LABELS=master
14:26:00 [2019-05-06T11:26:00.857Z] GIT_COMMIT=87b08067ba4f06c3fd3e49a7298329f68c88f89a
14:26:00 [2019-05-06T11:26:00.857Z] HOME=/root
14:26:00 [2019-05-06T11:26:00.857Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/88/
14:26:00 [2019-05-06T11:26:00.857Z] GIT_AUTHOR_NAME=Jenkins CI
14:26:00 [2019-05-06T11:26:00.857Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d
14:26:00 [2019-05-06T11:26:00.857Z] gitlabTargetBranch=5-do-stack-update
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git
14:26:00 [2019-05-06T11:26:00.857Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm
14:26:00 [2019-05-06T11:26:00.857Z] gitlabMergeRequestLastCommit=87b08067ba4f06c3fd3e49a7298329f68c88f89a
14:26:00 [2019-05-06T11:26:00.857Z] JAVA_VERSION=8u212
14:26:00 [2019-05-06T11:26:00.857Z] NODE_NAME=master
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm
14:26:00 [2019-05-06T11:26:00.857Z] GIT_BRANCH=origin/5-do-stack-update
14:26:00 [2019-05-06T11:26:00.857Z] EXECUTOR_NUMBER=1
14:26:00 [2019-05-06T11:26:00.857Z] STAGE_NAME=Execution info
14:26:00 [2019-05-06T11:26:00.857Z] gitlabBranch=5-do-stack-update
14:26:00 [2019-05-06T11:26:00.857Z] gitlabUserEmail=kyberorg@yadev.eu
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceBranch=5-do-stack-update
14:26:00 [2019-05-06T11:26:00.857Z] BUILD_DISPLAY_NAME=#88
14:26:00 [2019-05-06T11:26:00.857Z] JOB_BASE_NAME=Hub2Swarm
14:26:00 [2019-05-06T11:26:00.857Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/
14:26:00 [2019-05-06T11:26:00.857Z] HUDSON_HOME=/var/lib/jenkins
14:26:00 [2019-05-06T11:26:00.857Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
14:26:00 [2019-05-06T11:26:00.857Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
14:26:00 [2019-05-06T11:26:00.857Z] BUILD_ID=88
14:26:00 [2019-05-06T11:26:00.857Z] BUILDING_FOR=kyberorg
14:26:00 [2019-05-06T11:26:00.857Z] gitlabBefore=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef
14:26:00 [2019-05-06T11:26:00.857Z] gitlabActionType=PUSH
14:26:00 [2019-05-06T11:26:00.857Z] BUILD_TAG=jenkins-Hub2Swarm-88
14:26:00 [2019-05-06T11:26:00.857Z] JENKINS_URL=https://ci.yadev.eu/
14:26:00 [2019-05-06T11:26:00.857Z] LANG=C.UTF-8
14:26:00 [2019-05-06T11:26:00.857Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceRepoName=Hub2Swarm
14:26:00 [2019-05-06T11:26:00.857Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git
14:26:00 [2019-05-06T11:26:00.857Z] gitlabSourceNamespace=Yet another Systems
14:26:00 [2019-05-06T11:26:00.857Z] BUILD_NUMBER=88
14:26:00 [2019-05-06T11:26:00.857Z] JENKINS_NODE_COOKIE=dc6e120a-0918-41f8-914f-811f726eee7b
14:26:00 [2019-05-06T11:26:00.857Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/88/display/redirect
14:26:00 [2019-05-06T11:26:00.857Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd
14:26:00 [2019-05-06T11:26:00.857Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect
14:26:00 [2019-05-06T11:26:00.857Z] CLASSPATH=
14:26:00 [2019-05-06T11:26:00.857Z] GIT_COMMITTER_EMAIL=ci@yadev.eu
14:26:00 [2019-05-06T11:26:00.857Z] JOB_NAME=Hub2Swarm
14:26:00 [2019-05-06T11:26:00.857Z] gitlabUserName=Alex Muravya
14:26:00 [2019-05-06T11:26:00.857Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/c952388b-588d-4ee6-ad24-063017bedac0
14:26:00 [2019-05-06T11:26:00.857Z] JAVA_HOME=/docker-java-home
14:26:00 [2019-05-06T11:26:00.857Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm
14:26:00 [2019-05-06T11:26:00.857Z] GIT_PREVIOUS_COMMIT=fc1fb8813be0e703554fb7275f1ef6b8ba3238ef
14:26:00 [2019-05-06T11:26:00.857Z] Requested by kyberorg
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (JavaApp: Build and Test)
[Pipeline] script
[Pipeline] {
Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature.
[Pipeline] sh
14:26:01 [2019-05-06T11:26:01.293Z] + mvn clean package
14:26:03 [2019-05-06T11:26:03.157Z] [INFO] Scanning for projects...
14:26:03 [2019-05-06T11:26:03.407Z] [INFO]
14:26:03 [2019-05-06T11:26:03.407Z] [INFO] ------------------------< eu.yatech:hub2swarm >-------------------------
14:26:03 [2019-05-06T11:26:03.407Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT
14:26:03 [2019-05-06T11:26:03.407Z] [INFO] --------------------------------[ jar ]---------------------------------
14:26:05 [2019-05-06T11:26:05.271Z] [INFO]
14:26:05 [2019-05-06T11:26:05.271Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm ---
14:26:05 [2019-05-06T11:26:05.271Z] [INFO]
14:26:05 [2019-05-06T11:26:05.271Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm ---
14:26:05 [2019-05-06T11:26:05.521Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
14:26:05 [2019-05-06T11:26:05.521Z] [INFO] Copying 4 resources
14:26:05 [2019-05-06T11:26:05.521Z] [INFO] Copying 5 resources
14:26:05 [2019-05-06T11:26:05.521Z] [INFO]
14:26:05 [2019-05-06T11:26:05.521Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm ---
14:26:05 [2019-05-06T11:26:05.773Z] [INFO] Changes detected - recompiling the module!
14:26:05 [2019-05-06T11:26:05.773Z] [INFO] Compiling 38 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes
14:26:09 [2019-05-06T11:26:09.001Z] [INFO]
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm ---
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources
14:26:09 [2019-05-06T11:26:09.001Z] [INFO]
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm ---
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] Changes detected - recompiling the module!
14:26:09 [2019-05-06T11:26:09.001Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes
14:26:09 [2019-05-06T11:26:09.912Z] [INFO]
14:26:09 [2019-05-06T11:26:09.912Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm ---
14:26:10 [2019-05-06T11:26:10.163Z] [INFO]
14:26:10 [2019-05-06T11:26:10.163Z] [INFO] -------------------------------------------------------
14:26:10 [2019-05-06T11:26:10.163Z] [INFO] T E S T S
14:26:10 [2019-05-06T11:26:10.163Z] [INFO] -------------------------------------------------------
14:26:11 [2019-05-06T11:26:11.074Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests
14:26:11 [2019-05-06T11:26:11.074Z] 11:26:10.949 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.074Z] 11:26:10.958 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
14:26:11 [2019-05-06T11:26:11.074Z] 11:26:10.974 [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)]
14:26:11 [2019-05-06T11:26:11.074Z] 11:26:11.039 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
14:26:11 [2019-05-06T11:26:11.074Z] 11:26:11.072 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader
14:26:11 [2019-05-06T11:26:11.324Z] 11:26:11.081 [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
14:26:11 [2019-05-06T11:26:11.324Z] 11:26:11.082 [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
14:26:11 [2019-05-06T11:26:11.324Z] 11:26:11.082 [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}.
14:26:11 [2019-05-06T11:26:11.324Z] 11:26:11.084 [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.
14:26:11 [2019-05-06T11:26:11.324Z] 11:26:11.191 [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]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.325 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.327 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.509 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults.
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.510 [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]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.533 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4e50c791, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7530ad9c, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@58a9760d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@71e9ddb4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@394df057, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4961f6af, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5aebe890, org.springframework.test.context.event.EventPublishingTestExecutionListener@65d09a04, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@33c911a1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@75db5df9, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@707194ba, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1190200a, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@6a2f6f80]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.536 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.538 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.540 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.540 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.541 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.541 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.547 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@5c90e579 testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@58ea606c testClass = Hub2swarmApplicationTests, locations = '{}', classes = '{class eu.yatech.hub2swarm.Hub2swarmApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@46238e3f, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4e4aea35, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@23bb8443, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@49070868], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.550 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.575Z] 11:26:11.551 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]
14:26:11 [2019-05-06T11:26:11.826Z] 11:26:11.586 [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}
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] . ____ _ __ _ _
14:26:12 [2019-05-06T11:26:12.076Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
14:26:12 [2019-05-06T11:26:12.076Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
14:26:12 [2019-05-06T11:26:12.076Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) )
14:26:12 [2019-05-06T11:26:12.076Z] ' |____| .__|_| |_|_| |_\__, | / / / /
14:26:12 [2019-05-06T11:26:12.076Z] =========|_|==============|___/=/_/_/_/
14:26:12 [2019-05-06T11:26:12.076Z] :: Spring Boot :: (v2.2.0.M2)
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] 2019-05-06 11:26:11.985 WARN 121 --- [ main] ory$DuplicateJsonObjectContextCustomizer :
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] Found multiple occurrences of org.json.JSONObject on the class path:
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] 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
14:26:12 [2019-05-06T11:26:12.076Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] You may wish to exclude one of them to ensure predictable runtime behavior
14:26:12 [2019-05-06T11:26:12.076Z]
14:26:12 [2019-05-06T11:26:12.076Z] 2019-05-06 11:26:12.020 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on e607ff24a0dc with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm)
14:26:12 [2019-05-06T11:26:12.076Z] 2019-05-06 11:26:12.023 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default
14:26:13 [2019-05-06T11:26:13.938Z] 2019-05-06 11:26:13.804 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
14:26:14 [2019-05-06T11:26:14.189Z] 2019-05-06 11:26:13.970 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 148ms. Found 5 repository interfaces.
14:26:15 [2019-05-06T11:26:15.100Z] 2019-05-06 11:26:14.877 INFO 121 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c0b510da] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
14:26:15 [2019-05-06T11:26:15.651Z] 2019-05-06 11:26:15.440 INFO 121 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse
14:26:15 [2019-05-06T11:26:15.651Z] 2019-05-06 11:26:15.454 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
14:26:15 [2019-05-06T11:26:15.901Z] 2019-05-06 11:26:15.864 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
14:26:15 [2019-05-06T11:26:15.901Z] 2019-05-06 11:26:15.874 INFO 121 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4)
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:15.938 WARN 121 --- [ main] o.f.c.internal.database.base.Database : Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested.
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:16.049 INFO 121 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 5 migrations (execution time 00:00.028s)
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:16.063 INFO 121 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history"
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:16.104 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >>
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:16.106 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables
14:26:16 [2019-05-06T11:26:16.152Z] 2019-05-06 11:26:16.133 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table
14:26:16 [2019-05-06T11:26:16.402Z] 2019-05-06 11:26:16.160 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table
14:26:16 [2019-05-06T11:26:16.402Z] 2019-05-06 11:26:16.180 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table
14:26:16 [2019-05-06T11:26:16.402Z] 2019-05-06 11:26:16.200 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 5 - Image Replace Policy
14:26:16 [2019-05-06T11:26:16.402Z] 2019-05-06 11:26:16.232 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 5 migrations to schema "PUBLIC" (execution time 00:00.173s)
14:26:16 [2019-05-06T11:26:16.653Z] 2019-05-06 11:26:16.490 INFO 121 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
14:26:16 [2019-05-06T11:26:16.653Z] 2019-05-06 11:26:16.623 INFO 121 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final}
14:26:16 [2019-05-06T11:26:16.904Z] 2019-05-06 11:26:16.870 INFO 121 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
14:26:17 [2019-05-06T11:26:17.154Z] 2019-05-06 11:26:17.127 INFO 121 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
14:26:19 [2019-05-06T11:26:19.016Z] 2019-05-06 11:26:18.539 INFO 121 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
14:26:19 [2019-05-06T11:26:19.016Z] 2019-05-06 11:26:18.542 INFO 121 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
14:26:19 [2019-05-06T11:26:19.567Z] 2019-05-06 11:26:19.548 WARN 121 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
14:26:20 [2019-05-06T11:26:20.911Z] 2019-05-06 11:26:20.581 INFO 121 --- [ main] .s.s.UserDetailsServiceAutoConfiguration :
14:26:20 [2019-05-06T11:26:20.911Z]
14:26:20 [2019-05-06T11:26:20.911Z] Using generated security password: 473c60ab-b081-49e8-af29-e81b4b557e75
14:26:20 [2019-05-06T11:26:20.911Z]
14:26:20 [2019-05-06T11:26:20.911Z] 2019-05-06 11:26:20.809 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@73b8ab2c, org.springframework.security.web.context.SecurityContextPersistenceFilter@774013dc, org.springframework.security.web.header.HeaderWriterFilter@71ee2fff, org.springframework.security.web.authentication.logout.LogoutFilter@1214c98b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@76e9eed8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5dce5c03, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5600a278, org.springframework.security.web.session.SessionManagementFilter@2f8f40cc, org.springframework.security.web.access.ExceptionTranslationFilter@5b59c3d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5b64f771]
14:26:21 [2019-05-06T11:26:21.822Z] 2019-05-06 11:26:21.515 INFO 121 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
14:26:23 [2019-05-06T11:26:23.166Z] 2019-05-06 11:26:22.842 INFO 121 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
14:26:23 [2019-05-06T11:26:23.166Z] 2019-05-06 11:26:23.035 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.435 seconds (JVM running for 12.771)
14:26:23 [2019-05-06T11:26:23.416Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.453 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests
14:26:23 [2019-05-06T11:26:23.416Z] 2019-05-06 11:26:23.259 INFO 121 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
14:26:23 [2019-05-06T11:26:23.416Z] 2019-05-06 11:26:23.267 INFO 121 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
14:26:23 [2019-05-06T11:26:23.416Z] 2019-05-06 11:26:23.279 INFO 121 --- [ Thread-3] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199]
14:26:23 [2019-05-06T11:26:23.416Z] 2019-05-06 11:26:23.282 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
14:26:23 [2019-05-06T11:26:23.416Z] 2019-05-06 11:26:23.289 INFO 121 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
14:26:23 [2019-05-06T11:26:23.667Z] [INFO]
14:26:23 [2019-05-06T11:26:23.667Z] [INFO] Results:
14:26:23 [2019-05-06T11:26:23.667Z] [INFO]
14:26:23 [2019-05-06T11:26:23.667Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
14:26:23 [2019-05-06T11:26:23.667Z] [INFO]
14:26:23 [2019-05-06T11:26:23.667Z] [INFO]
14:26:23 [2019-05-06T11:26:23.667Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm ---
14:26:23 [2019-05-06T11:26:23.917Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar
14:26:24 [2019-05-06T11:26:24.168Z] [INFO]
14:26:24 [2019-05-06T11:26:24.168Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm ---
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] Replacing main artifact with repackaged archive
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] ------------------------------------------------------------------------
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] BUILD SUCCESS
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] ------------------------------------------------------------------------
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] Total time: 22.043 s
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] Finished at: 2019-05-06T11:26:24Z
14:26:25 [2019-05-06T11:26:25.079Z] [INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker: Build and Push)
[Pipeline] script
[Pipeline] {
[Pipeline] timeout
14:26:25 [2019-05-06T11:26:25.252Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:26:25 [2019-05-06T11:26:25.556Z] + set +x
14:26:25 [2019-05-06T11:26:25.556Z] Starting Docker: docker.
14:26:25 [2019-05-06T11:26:25.556Z] Daemon started. kyberorg, go ahead!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] withCredentials
14:26:25 [2019-05-06T11:26:25.616Z] Masking only exact matches of $USR or $PASS
[Pipeline] {
[Pipeline] timeout
14:26:25 [2019-05-06T11:26:25.658Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:26:25 [2019-05-06T11:26:25.952Z] + set +x
14:26:25 [2019-05-06T11:26:25.952Z] Login as **** to Docker Repository
14:26:27 [2019-05-06T11:26:27.814Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/c952388b-588d-4ee6-ad24-063017bedac0/config.json.
14:26:27 [2019-05-06T11:26:27.814Z] Configure a credential helper to remove this warning. See
14:26:27 [2019-05-06T11:26:27.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
14:26:27 [2019-05-06T11:26:27.814Z]
14:26:27 [2019-05-06T11:26:27.814Z] Login Succeeded
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] timeout
14:26:27 [2019-05-06T11:26:27.909Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:26:28 [2019-05-06T11:26:28.203Z] + set +x
14:26:28 [2019-05-06T11:26:28.203Z] Building Docker Image yasys/hub2swarm with tags: [5-do-stack-update-latest]
14:26:28 [2019-05-06T11:26:28.754Z] Sending build context to Docker daemon 70.64MB
14:26:28 [2019-05-06T11:26:28.754Z] Step 1/7 : FROM java:8-jre
14:26:30 [2019-05-06T11:26:30.098Z] 8-jre: Pulling from library/java
14:26:30 [2019-05-06T11:26:30.098Z] 5040bd298390: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] fce5728aad85: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] c42794440453: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] 0c0da797ba48: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] 7c9b17433752: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] 114e02586e63: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] e4c663802e9a: Pulling fs layer
14:26:30 [2019-05-06T11:26:30.098Z] 7c9b17433752: Waiting
14:26:30 [2019-05-06T11:26:30.098Z] 114e02586e63: Waiting
14:26:30 [2019-05-06T11:26:30.098Z] e4c663802e9a: Waiting
14:26:30 [2019-05-06T11:26:30.098Z] 0c0da797ba48: Waiting
14:26:30 [2019-05-06T11:26:30.649Z] c42794440453: Verifying Checksum
14:26:30 [2019-05-06T11:26:30.649Z] c42794440453: Download complete
14:26:30 [2019-05-06T11:26:30.900Z] fce5728aad85: Verifying Checksum
14:26:30 [2019-05-06T11:26:30.900Z] fce5728aad85: Download complete
14:26:31 [2019-05-06T11:26:31.151Z] 0c0da797ba48: Verifying Checksum
14:26:31 [2019-05-06T11:26:31.151Z] 0c0da797ba48: Download complete
14:26:31 [2019-05-06T11:26:31.401Z] 5040bd298390: Verifying Checksum
14:26:31 [2019-05-06T11:26:31.401Z] 5040bd298390: Download complete
14:26:31 [2019-05-06T11:26:31.401Z] 7c9b17433752: Verifying Checksum
14:26:31 [2019-05-06T11:26:31.401Z] 7c9b17433752: Download complete
14:26:31 [2019-05-06T11:26:31.952Z] e4c663802e9a: Verifying Checksum
14:26:31 [2019-05-06T11:26:31.952Z] e4c663802e9a: Download complete
14:26:32 [2019-05-06T11:26:32.202Z] 114e02586e63: Verifying Checksum
14:26:32 [2019-05-06T11:26:32.202Z] 114e02586e63: Download complete
14:26:35 [2019-05-06T11:26:35.430Z] 5040bd298390: Pull complete
14:26:37 [2019-05-06T11:26:37.292Z] fce5728aad85: Pull complete
14:26:37 [2019-05-06T11:26:37.843Z] c42794440453: Pull complete
14:26:38 [2019-05-06T11:26:38.754Z] 0c0da797ba48: Pull complete
14:26:39 [2019-05-06T11:26:39.667Z] 7c9b17433752: Pull complete
14:26:44 [2019-05-06T11:26:44.864Z] 114e02586e63: Pull complete
14:26:46 [2019-05-06T11:26:46.726Z] e4c663802e9a: Pull complete
14:26:46 [2019-05-06T11:26:46.726Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0
14:26:46 [2019-05-06T11:26:46.726Z] Status: Downloaded newer image for java:8-jre
14:26:46 [2019-05-06T11:26:46.726Z] ---> e44d62cf8862
14:26:46 [2019-05-06T11:26:46.726Z] Step 2/7 : VOLUME /tmp
14:26:49 [2019-05-06T11:26:49.954Z] ---> Running in 02686d6b03e9
14:26:54 [2019-05-06T11:26:54.080Z] Removing intermediate container 02686d6b03e9
14:26:54 [2019-05-06T11:26:54.080Z] ---> 8fed935355bb
14:26:54 [2019-05-06T11:26:54.080Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu>
14:26:55 [2019-05-06T11:26:55.942Z] ---> Running in 48cfcec74cf9
14:26:58 [2019-05-06T11:26:58.426Z] Removing intermediate container 48cfcec74cf9
14:26:58 [2019-05-06T11:26:58.426Z] ---> 50ee3f44db08
14:26:58 [2019-05-06T11:26:58.426Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/
14:27:01 [2019-05-06T11:27:01.655Z] ---> b754d831ea1e
14:27:01 [2019-05-06T11:27:01.655Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar'
14:27:04 [2019-05-06T11:27:04.138Z] ---> Running in 1b96d46b7d69
14:27:08 [2019-05-06T11:27:08.261Z] Removing intermediate container 1b96d46b7d69
14:27:08 [2019-05-06T11:27:08.261Z] ---> 71fabcc5bcbc
14:27:08 [2019-05-06T11:27:08.261Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar
14:27:10 [2019-05-06T11:27:10.747Z] ---> Running in 2dcd43bb2cfd
14:27:13 [2019-05-06T11:27:13.989Z] Removing intermediate container 2dcd43bb2cfd
14:27:13 [2019-05-06T11:27:13.989Z] ---> 3df402eb534b
14:27:13 [2019-05-06T11:27:13.989Z] Step 7/7 : EXPOSE 8080
14:27:15 [2019-05-06T11:27:15.851Z] ---> Running in de22d151ee66
14:27:19 [2019-05-06T11:27:19.084Z] Removing intermediate container de22d151ee66
14:27:19 [2019-05-06T11:27:19.084Z] ---> da630ec5733a
14:27:19 [2019-05-06T11:27:19.084Z] Successfully built da630ec5733a
14:27:19 [2019-05-06T11:27:19.084Z] Successfully tagged yasys/hub2swarm:5-do-stack-update-latest
14:27:19 [2019-05-06T11:27:19.084Z] Docker image yasys/hub2swarm:[5-do-stack-update-latest] for kyberorg created
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:27:19 [2019-05-06T11:27:19.138Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:27:19 [2019-05-06T11:27:19.431Z] + set +x
14:27:19 [2019-05-06T11:27:19.431Z] Push yasys/hub2swarm to Docker Repository
14:27:19 [2019-05-06T11:27:19.431Z] The push refers to repository [docker.io/yasys/hub2swarm]
14:27:19 [2019-05-06T11:27:19.982Z] 588f246cf29f: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 1ae0a883f8d7: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 73ad47d4bc12: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] c22c27816361: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 04dba64afa87: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 500ca2ff7d52: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 782d5215f910: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 0eb22bfb707d: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] a2ae92ffcd29: Preparing
14:27:19 [2019-05-06T11:27:19.982Z] 500ca2ff7d52: Waiting
14:27:19 [2019-05-06T11:27:19.982Z] 782d5215f910: Waiting
14:27:19 [2019-05-06T11:27:19.982Z] 0eb22bfb707d: Waiting
14:27:19 [2019-05-06T11:27:19.982Z] a2ae92ffcd29: Waiting
14:27:20 [2019-05-06T11:27:20.893Z] 04dba64afa87: Layer already exists
14:27:20 [2019-05-06T11:27:20.893Z] c22c27816361: Layer already exists
14:27:20 [2019-05-06T11:27:20.893Z] 73ad47d4bc12: Layer already exists
14:27:21 [2019-05-06T11:27:21.444Z] 500ca2ff7d52: Layer already exists
14:27:21 [2019-05-06T11:27:21.444Z] 782d5215f910: Layer already exists
14:27:21 [2019-05-06T11:27:21.444Z] 0eb22bfb707d: Layer already exists
14:27:21 [2019-05-06T11:27:21.995Z] a2ae92ffcd29: Layer already exists
14:27:30 [2019-05-06T11:27:30.023Z] 1ae0a883f8d7: Pushed
14:27:30 [2019-05-06T11:27:30.273Z] 588f246cf29f: Pushed
14:27:34 [2019-05-06T11:27:34.396Z] 5-do-stack-update-latest: digest: sha256:ce6c4c1365dd772033737ba02a433d134603c510bd8d369c8ffe414b2d41314a size: 2211
14:27:34 [2019-05-06T11:27:34.396Z] Docker image successfully pushed for kyberorg. Enjoy!
[Pipeline] }
[Pipeline] // timeout
[Pipeline] timeout
14:27:34 [2019-05-06T11:27:34.451Z] Timeout set to expire in 5 min 0 sec
[Pipeline] {
[Pipeline] sh
14:27:34 [2019-05-06T11:27:34.754Z] + set +x
14:27:34 [2019-05-06T11:27:34.754Z] Moikka kyberorg!
14:27:34 [2019-05-06T11:27:34.754Z] Here is Docker Summary:
14:27:34 [2019-05-06T11:27:34.754Z] Images built and pushed: 1
14:27:34 [2019-05-06T11:27:34.754Z] [
14:27:34 [2019-05-06T11:27:34.754Z] yasys/hub2swarm:5-do-stack-update-latest
14:27:34 [2019-05-06T11:27:34.754Z] ]
14:27:34 [2019-05-06T11:27:34.754Z] 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
14:27:34 [2019-05-06T11:27:34.899Z] One way or another, I have finished. Tsau!
[Pipeline] sh
14:27:35 [2019-05-06T11:27:35.191Z] + set +x
14:27:35 [2019-05-06T11:27:35.191Z] Making workspace writable for correct cleanup
14:27:35 [2019-05-06T11:27:35.191Z] Done for kyberorg
[Pipeline] deleteDir
[Pipeline] echo
14:27:35 [2019-05-06T11:27:35.268Z] Great success!
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 e607ff24a0dc30ad88bc27803efc4c975a826485306b29c1d89c0dc3277e1cb2
$ docker rm -f e607ff24a0dc30ad88bc27803efc4c975a826485306b29c1d89c0dc3277e1cb2
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withDockerRegistry
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS