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/master, since it originates from another repository Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 # timeout=10 Commit message: "Updates" > /usr/bin/git rev-list --no-walk 5f10f02678421fa4107540a351bb4db674ceb439 # 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/master, 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/master, since it originates from another repository Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 # timeout=10 Commit message: "Updates" [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/215e9a72-0908-4ed3-b247-28d68398c098/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 ab8fb9b5523c0b849732ba5aadf1fe177be02acb2150881f1066e08e1131b60b -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 17:53:58 [2019-04-24T14:53:58.443Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:53:58 [2019-04-24T14:53:58.744Z] + set +x 17:53:58 [2019-04-24T14:53:58.744Z] [Runner info] 17:53:58 [2019-04-24T14:53:58.744Z] Hostname: ab8fb9b5523c 17:53:58 [2019-04-24T14:53:58.995Z] Network Status: Host Online 17:53:58 [2019-04-24T14:53:58.996Z] 17:53:58 [2019-04-24T14:53:58.996Z] === Tools info === 17:53:59 [2019-04-24T14:53:59.246Z] Docker version: Docker version 18.09.5, build e8ff056dbc 17:53:59 [2019-04-24T14:53:59.246Z] 17:53:59 [2019-04-24T14:53:59.246Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 17:53:59 [2019-04-24T14:53:59.246Z] Maven home: /opt/mvn 17:53:59 [2019-04-24T14:53:59.246Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 17:53:59 [2019-04-24T14:53:59.246Z] Default locale: en, platform encoding: UTF-8 17:53:59 [2019-04-24T14:53:59.246Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 17:53:59 [2019-04-24T14:53:59.246Z] 17:53:59 [2019-04-24T14:53:59.246Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 17:53:59 [2019-04-24T14:53:59.325Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:53:59 [2019-04-24T14:53:59.616Z] + set +x 17:53:59 [2019-04-24T14:53:59.616Z] [Build info] 17:53:59 [2019-04-24T14:53:59.616Z] ===== Git info ===== 17:53:59 [2019-04-24T14:53:59.616Z] Git branch: master 17:53:59 [2019-04-24T14:53:59.616Z] Git commit: fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 17:53:59 [2019-04-24T14:53:59.616Z] Git tag: - 17:53:59 [2019-04-24T14:53:59.616Z] 17:53:59 [2019-04-24T14:53:59.616Z] ===== Jenkins info ===== 17:53:59 [2019-04-24T14:53:59.616Z] Jenkins Job #29 17:53:59 [2019-04-24T14:53:59.616Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/29/ 17:53:59 [2019-04-24T14:53:59.616Z] Jenkins Tag: jenkins-Hub2Swarm-29 17:53:59 [2019-04-24T14:53:59.616Z] 17:53:59 [2019-04-24T14:53:59.616Z] ===== Job Params ===== 17:53:59 [2019-04-24T14:53:59.616Z] 17:53:59 [2019-04-24T14:53:59.616Z] dockerRepo=yasys/hub2swarm 17:53:59 [2019-04-24T14:53:59.616Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7edacf50 17:53:59 [2019-04-24T14:53:59.616Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@c968946 17:53:59 [2019-04-24T14:53:59.616Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7edacf50 17:53:59 [2019-04-24T14:53:59.616Z] hubUrl=https://cloud.docker.com/repository/docker 17:53:59 [2019-04-24T14:53:59.616Z] useDebugTag=false 17:53:59 [2019-04-24T14:53:59.616Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 17:53:59 [2019-04-24T14:53:59.616Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7edacf50 17:53:59 [2019-04-24T14:53:59.616Z] stepTimeout=5 17:53:59 [2019-04-24T14:53:59.616Z] hubCredentialsId=docker-hub 17:53:59 [2019-04-24T14:53:59.616Z] class=class ee.yadev.pipe.commonpipe.Params 17:53:59 [2019-04-24T14:53:59.616Z] skipMavenTests=true 17:53:59 [2019-04-24T14:53:59.616Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 17:53:59 [2019-04-24T14:53:59.616Z] verbose=false 17:53:59 [2019-04-24T14:53:59.616Z] mavenTestsTimeout=5 17:53:59 [2019-04-24T14:53:59.616Z] pipelineTimeout=15 17:53:59 [2019-04-24T14:53:59.616Z] hubUser=kyberorg 17:53:59 [2019-04-24T14:53:59.616Z] 17:53:59 [2019-04-24T14:53:59.616Z] ==== Environment Variables ===== 17:53:59 [2019-04-24T14:53:59.616Z] GIT_COMMITTER_NAME=Jenkins CI 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 17:53:59 [2019-04-24T14:53:59.616Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=5f10f02678421fa4107540a351bb4db674ceb439 17:53:59 [2019-04-24T14:53:59.616Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 17:53:59 [2019-04-24T14:53:59.616Z] HOSTNAME=ab8fb9b5523c 17:53:59 [2019-04-24T14:53:59.616Z] gitlabAfter=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 17:53:59 [2019-04-24T14:53:59.616Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/29/display/redirect?page=changes 17:53:59 [2019-04-24T14:53:59.616Z] NODE_LABELS=master 17:53:59 [2019-04-24T14:53:59.616Z] HUDSON_URL=https://ci.yadev.eu/ 17:53:59 [2019-04-24T14:53:59.616Z] GIT_COMMIT=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 17:53:59 [2019-04-24T14:53:59.616Z] HOME=/root 17:53:59 [2019-04-24T14:53:59.616Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/29/ 17:53:59 [2019-04-24T14:53:59.616Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 17:53:59 [2019-04-24T14:53:59.616Z] GIT_AUTHOR_NAME=Jenkins CI 17:53:59 [2019-04-24T14:53:59.616Z] gitlabTargetBranch=master 17:53:59 [2019-04-24T14:53:59.616Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 17:53:59 [2019-04-24T14:53:59.616Z] gitlabMergeRequestLastCommit=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 17:53:59 [2019-04-24T14:53:59.616Z] JAVA_VERSION=8u212 17:53:59 [2019-04-24T14:53:59.616Z] NODE_NAME=master 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 17:53:59 [2019-04-24T14:53:59.616Z] EXECUTOR_NUMBER=0 17:53:59 [2019-04-24T14:53:59.616Z] GIT_BRANCH=origin/master 17:53:59 [2019-04-24T14:53:59.616Z] STAGE_NAME=Execution info 17:53:59 [2019-04-24T14:53:59.616Z] gitlabBranch=master 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceBranch=master 17:53:59 [2019-04-24T14:53:59.616Z] gitlabUserEmail=kyberorg@yadev.eu 17:53:59 [2019-04-24T14:53:59.616Z] BUILD_DISPLAY_NAME=#29 17:53:59 [2019-04-24T14:53:59.616Z] JOB_BASE_NAME=Hub2Swarm 17:53:59 [2019-04-24T14:53:59.616Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 17:53:59 [2019-04-24T14:53:59.616Z] HUDSON_HOME=/var/lib/jenkins 17:53:59 [2019-04-24T14:53:59.616Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 17:53:59 [2019-04-24T14:53:59.616Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 17:53:59 [2019-04-24T14:53:59.616Z] BUILD_ID=29 17:53:59 [2019-04-24T14:53:59.616Z] BUILDING_FOR=kyberorg 17:53:59 [2019-04-24T14:53:59.616Z] BUILD_TAG=jenkins-Hub2Swarm-29 17:53:59 [2019-04-24T14:53:59.616Z] gitlabActionType=PUSH 17:53:59 [2019-04-24T14:53:59.616Z] gitlabBefore=5f10f02678421fa4107540a351bb4db674ceb439 17:53:59 [2019-04-24T14:53:59.616Z] JENKINS_URL=https://ci.yadev.eu/ 17:53:59 [2019-04-24T14:53:59.616Z] LANG=C.UTF-8 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceRepoName=Hub2Swarm 17:53:59 [2019-04-24T14:53:59.616Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 17:53:59 [2019-04-24T14:53:59.616Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 17:53:59 [2019-04-24T14:53:59.616Z] gitlabSourceNamespace=Yet another Systems 17:53:59 [2019-04-24T14:53:59.616Z] BUILD_NUMBER=29 17:53:59 [2019-04-24T14:53:59.616Z] JENKINS_NODE_COOKIE=d71ae6e2-5e23-4626-9ce2-23138e698c72 17:53:59 [2019-04-24T14:53:59.616Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/29/display/redirect 17:53:59 [2019-04-24T14:53:59.616Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 17:53:59 [2019-04-24T14:53:59.616Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 17:53:59 [2019-04-24T14:53:59.616Z] CLASSPATH= 17:53:59 [2019-04-24T14:53:59.616Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 17:53:59 [2019-04-24T14:53:59.616Z] JOB_NAME=Hub2Swarm 17:53:59 [2019-04-24T14:53:59.616Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/215e9a72-0908-4ed3-b247-28d68398c098 17:53:59 [2019-04-24T14:53:59.616Z] gitlabUserName=Alex Muravya 17:53:59 [2019-04-24T14:53:59.616Z] JAVA_HOME=/docker-java-home 17:53:59 [2019-04-24T14:53:59.616Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 17:53:59 [2019-04-24T14:53:59.616Z] GIT_PREVIOUS_COMMIT=5f10f02678421fa4107540a351bb4db674ceb439 17:53:59 [2019-04-24T14:53:59.616Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:00 [2019-04-24T14:54:00.050Z] + mvn clean package -PproductionMode 17:54:01 [2019-04-24T14:54:01.912Z] [INFO] Scanning for projects... 17:54:01 [2019-04-24T14:54:01.912Z] [INFO] 17:54:01 [2019-04-24T14:54:01.912Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 17:54:01 [2019-04-24T14:54:01.912Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 17:54:01 [2019-04-24T14:54:01.912Z] [INFO] --------------------------------[ jar ]--------------------------------- 17:54:03 [2019-04-24T14:54:03.256Z] [INFO] 17:54:03 [2019-04-24T14:54:03.256Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 17:54:03 [2019-04-24T14:54:03.506Z] [INFO] 17:54:03 [2019-04-24T14:54:03.506Z] [INFO] --- vaadin-maven-plugin:13.0.4:copy-production-files (default) @ hub2swarm --- 17:54:03 [2019-04-24T14:54:03.757Z] [INFO] Copying web application files to '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' 17:54:04 [2019-04-24T14:54:04.007Z] [INFO] 17:54:04 [2019-04-24T14:54:04.007Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] Copying 3 resources 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] Copying 1 resource 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] Changes detected - recompiling the module! 17:54:04 [2019-04-24T14:54:04.258Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 17:54:06 [2019-04-24T14:54:06.741Z] [INFO] 17:54:06 [2019-04-24T14:54:06.741Z] [INFO] --- vaadin-maven-plugin:13.0.4:package-for-production (default) @ hub2swarm --- 17:54:10 [2019-04-24T14:54:10.864Z] [WARNING] The translated URL 'frontend://bower_components/vaadin-upload/theme/lumo/vaadin-upload-file.html' has no corresponding file on the filesystem, the file is addressed by path='/var/lib/jenkins/workspace/Hub2Swarm/target/frontend/bower_components/vaadin-upload/theme/lumo/vaadin-upload-file.html' 17:54:10 [2019-04-24T14:54:10.864Z] [INFO] Installing node version v8.11.1 17:54:10 [2019-04-24T14:54:10.864Z] [INFO] Downloading https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.gz to /var/lib/jenkins/workspace/Hub2Swarm/target/cache/node-v8.11.1-linux-x64.tar.gz 17:54:10 [2019-04-24T14:54:10.864Z] [INFO] No proxies configured 17:54:10 [2019-04-24T14:54:10.864Z] [INFO] No proxy was configured, downloading directly 17:54:12 [2019-04-24T14:54:12.726Z] [INFO] Unpacking /var/lib/jenkins/workspace/Hub2Swarm/target/cache/node-v8.11.1-linux-x64.tar.gz into /var/lib/jenkins/workspace/Hub2Swarm/target/node/tmp 17:54:13 [2019-04-24T14:54:13.277Z] [INFO] Copying node binary from /var/lib/jenkins/workspace/Hub2Swarm/target/node/tmp/node-v8.11.1-linux-x64/bin/node to /var/lib/jenkins/workspace/Hub2Swarm/target/node/node 17:54:13 [2019-04-24T14:54:13.527Z] [INFO] Installed node locally. 17:54:13 [2019-04-24T14:54:13.528Z] [INFO] Installing Yarn version v1.6.0 17:54:13 [2019-04-24T14:54:13.528Z] [INFO] Downloading https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn-v1.6.0.tar.gz to /var/lib/jenkins/workspace/Hub2Swarm/target/cache/yarn-v1.6.0.tar.gz 17:54:13 [2019-04-24T14:54:13.528Z] [INFO] No proxies configured 17:54:13 [2019-04-24T14:54:13.528Z] [INFO] No proxy was configured, downloading directly 17:54:13 [2019-04-24T14:54:13.778Z] Apr 24, 2019 2:54:13 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies 17:54:13 [2019-04-24T14:54:13.778Z] WARNING: Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Wed, 24 Apr 2019 15:54:13 -0000". Invalid 'expires' attribute: Wed, 24 Apr 2019 15:54:13 -0000 17:54:13 [2019-04-24T14:54:13.778Z] Apr 24, 2019 2:54:13 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies 17:54:13 [2019-04-24T14:54:13.778Z] WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 24 Apr 2039 14:54:13 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sun, 24 Apr 2039 14:54:13 -0000 17:54:15 [2019-04-24T14:54:15.640Z] [INFO] Unpacking /var/lib/jenkins/workspace/Hub2Swarm/target/cache/yarn-v1.6.0.tar.gz into /var/lib/jenkins/workspace/Hub2Swarm/target/node/yarn 17:54:15 [2019-04-24T14:54:15.640Z] [INFO] Installed Yarn locally. 17:54:15 [2019-04-24T14:54:15.640Z] [INFO] Installing required frontend tools to '/var/lib/jenkins/workspace/Hub2Swarm/target' 17:54:15 [2019-04-24T14:54:15.640Z] [INFO] Running 'yarn install' in /var/lib/jenkins/workspace/Hub2Swarm/target 17:54:15 [2019-04-24T14:54:15.891Z] [INFO] yarn install v1.6.0 17:54:16 [2019-04-24T14:54:16.141Z] [INFO] [1/4] Resolving packages... 17:54:16 [2019-04-24T14:54:16.692Z] [INFO] [2/4] Fetching packages... 17:54:23 [2019-04-24T14:54:23.174Z] [INFO] [3/4] Linking dependencies... 17:54:23 [2019-04-24T14:54:23.174Z] [ERROR] warning "polymer-build > polymer-project-config@3.13.0" has incorrect peer dependency "polymer-analyzer@^3.0.0-pre.17 || ^3.0.0". 17:54:25 [2019-04-24T14:54:25.035Z] [INFO] [4/4] Building fresh packages... 17:54:25 [2019-04-24T14:54:25.947Z] [INFO] Done in 10.08s. 17:54:26 [2019-04-24T14:54:26.197Z] [INFO] Processing frontend files from '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' 17:54:26 [2019-04-24T14:54:26.197Z] [INFO] Running 'gulp build_es6' in /var/lib/jenkins/workspace/Hub2Swarm/target 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js 17:54:27 [2019-04-24T14:54:27.541Z] [ERROR] (node:158) Warning: N-API is an experimental feature and could change at any time. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Starting 'build_es6'... 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 directory... 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Finished 'build_es6' after 8.07 ms 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Starting to process frontend files. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Will minify frontend files. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Will bundle frontend files. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Will hash bundle file names. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Will copy files to target directory '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6'. 17:54:27 [2019-04-24T14:54:27.541Z] [INFO] Starting operations stated above, this might take a while. 17:54:53 [2019-04-24T14:54:53.943Z] [INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6/vaadin-flow-bundle-manifest.json' 17:54:53 [2019-04-24T14:54:53.943Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 complete! 17:54:53 [2019-04-24T14:54:53.943Z] [INFO] Running 'gulp build_es5' in /var/lib/jenkins/workspace/Hub2Swarm/target 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js 17:54:55 [2019-04-24T14:54:55.287Z] [ERROR] (node:190) Warning: N-API is an experimental feature and could change at any time. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Starting 'build_es5'... 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Starting ES5 transpilation. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 directory... 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] ES5 transpilation completed. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Finished 'build_es5' after 7.94 ms 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Starting to process frontend files. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Will transpile frontend files. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Will minify frontend files. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Will bundle frontend files. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Will hash bundle file names. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Will copy files to target directory '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5'. 17:54:55 [2019-04-24T14:54:55.287Z] [INFO] Starting operations stated above, this might take a while. 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5/vaadin-flow-bundle-manifest.json' 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 complete! 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Changes detected - recompiling the module! 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] ------------------------------------------------------- 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] T E S T S 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] ------------------------------------------------------- 17:55:41 [2019-04-24T14:55:41.796Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.819 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.828 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.843 [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)] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.907 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.941 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.950 [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 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.951 [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 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.951 [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}. 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:36.953 [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. 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:37.047 [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] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:37.162 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:37.164 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 17:55:41 [2019-04-24T14:55:41.796Z] 14:55:37.293 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.294 [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] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.319 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7dc0f706, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4009e306, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@43c1b556, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@587e5365, org.springframework.test.context.support.DirtiesContextTestExecutionListener@22fcf7ab, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2de23121, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@63475ace, org.springframework.test.context.event.EventPublishingTestExecutionListener@4988d8b8, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@c0c2f8d, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@305b7c14, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@6913c1fb, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@66d18979, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@bccb269] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.322 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.324 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.326 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.326 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.327 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.327 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.333 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@561b6512 testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2e377400 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@76b10754, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2df32bf7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2bbaf4f0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@5606c0b], 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]. 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.336 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.336 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 17:55:41 [2019-04-24T14:55:41.797Z] 14:55:37.368 [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} 17:55:41 [2019-04-24T14:55:41.797Z] 17:55:41 [2019-04-24T14:55:41.797Z] . ____ _ __ _ _ 17:55:41 [2019-04-24T14:55:41.797Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 17:55:41 [2019-04-24T14:55:41.797Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 17:55:41 [2019-04-24T14:55:41.797Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 17:55:41 [2019-04-24T14:55:41.797Z] ' |____| .__|_| |_|_| |_\__, | / / / / 17:55:41 [2019-04-24T14:55:41.797Z] =========|_|==============|___/=/_/_/_/ 17:55:41 [2019-04-24T14:55:41.797Z] :: Spring Boot :: (v2.2.0.M2) 17:55:41 [2019-04-24T14:55:41.797Z] 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:37.689 INFO 243 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on ab8fb9b5523c with PID 243 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:37.691 INFO 243 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:39.156 INFO 243 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:39.264 INFO 243 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 93ms. Found 1 repository interfaces. 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:39.992 INFO 243 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$da5536c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.370 INFO 243 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.383 INFO 243 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.864 INFO 243 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.875 INFO 243 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.934 WARN 243 --- [ 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. 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.047 INFO 243 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 1 migration (execution time 00:00.026s) 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.065 INFO 243 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.103 INFO 243 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.105 INFO 243 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.143 INFO 243 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 1 migration to schema "PUBLIC" (execution time 00:00.081s) 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.422 INFO 243 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 17:55:41 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:41.556 INFO 243 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 17:55:42 [2019-04-24T14:55:42.047Z] 2019-04-24 14:55:41.812 INFO 243 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 17:55:42 [2019-04-24T14:55:42.048Z] 2019-04-24 14:55:42.031 INFO 243 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 17:55:43 [2019-04-24T14:55:43.391Z] 2019-04-24 14:55:43.155 INFO 243 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 17:55:43 [2019-04-24T14:55:43.391Z] 2019-04-24 14:55:43.157 INFO 243 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 17:55:44 [2019-04-24T14:55:44.735Z] 2019-04-24 14:55:44.323 WARN 243 --- [ 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 17:55:45 [2019-04-24T14:55:45.285Z] 2019-04-24 14:55:45.151 INFO 243 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 17:55:46 [2019-04-24T14:55:46.197Z] 2019-04-24 14:55:46.142 INFO 243 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 17:55:46 [2019-04-24T14:55:46.447Z] 2019-04-24 14:55:46.255 INFO 243 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 8.873 seconds (JVM running for 10.064) 17:55:46 [2019-04-24T14:55:46.447Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.742 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 17:55:46 [2019-04-24T14:55:46.447Z] 2019-04-24 14:55:46.431 INFO 243 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 17:55:46 [2019-04-24T14:55:46.447Z] 2019-04-24 14:55:46.439 INFO 243 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 17:55:46 [2019-04-24T14:55:46.698Z] 2019-04-24 14:55:46.455 INFO 243 --- [ 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] 17:55:46 [2019-04-24T14:55:46.698Z] 2019-04-24 14:55:46.455 INFO 243 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 17:55:46 [2019-04-24T14:55:46.698Z] 2019-04-24 14:55:46.469 INFO 243 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] Results: 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] 17:55:46 [2019-04-24T14:55:46.948Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 17:55:47 [2019-04-24T14:55:47.499Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 17:55:48 [2019-04-24T14:55:48.410Z] [INFO] 17:55:48 [2019-04-24T14:55:48.410Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] Replacing main artifact with repackaged archive 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] ------------------------------------------------------------------------ 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] BUILD SUCCESS 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] ------------------------------------------------------------------------ 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] Total time: 01:48 min 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] Finished at: 2019-04-24T14:55:49Z 17:55:50 [2019-04-24T14:55:50.272Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 17:55:50 [2019-04-24T14:55:50.449Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:55:50 [2019-04-24T14:55:50.742Z] + set +x 17:55:50 [2019-04-24T14:55:50.742Z] Starting Docker: docker. 17:55:50 [2019-04-24T14:55:50.742Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 17:55:50 [2019-04-24T14:55:50.807Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 17:55:50 [2019-04-24T14:55:50.855Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:55:51 [2019-04-24T14:55:51.143Z] + set +x 17:55:51 [2019-04-24T14:55:51.144Z] Login as **** to Docker Repository 17:55:53 [2019-04-24T14:55:53.006Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/215e9a72-0908-4ed3-b247-28d68398c098/config.json. 17:55:53 [2019-04-24T14:55:53.006Z] Configure a credential helper to remove this warning. See 17:55:53 [2019-04-24T14:55:53.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:53 [2019-04-24T14:55:53.006Z] 17:55:53 [2019-04-24T14:55:53.006Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 17:55:53 [2019-04-24T14:55:53.105Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:55:53 [2019-04-24T14:55:53.395Z] + set +x 17:55:53 [2019-04-24T14:55:53.395Z] Building Docker Image yasys/hub2swarm with tags: [latest] 17:55:55 [2019-04-24T14:55:55.878Z] Sending build context to Docker daemon 218.9MB 17:55:55 [2019-04-24T14:55:55.878Z] Step 1/8 : FROM java:8-jre 17:55:57 [2019-04-24T14:55:57.222Z] 8-jre: Pulling from library/java 17:55:57 [2019-04-24T14:55:57.222Z] 5040bd298390: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] fce5728aad85: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] c42794440453: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] 0c0da797ba48: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] 7c9b17433752: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] 114e02586e63: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] e4c663802e9a: Pulling fs layer 17:55:57 [2019-04-24T14:55:57.222Z] 0c0da797ba48: Waiting 17:55:57 [2019-04-24T14:55:57.222Z] 7c9b17433752: Waiting 17:55:57 [2019-04-24T14:55:57.222Z] 114e02586e63: Waiting 17:55:57 [2019-04-24T14:55:57.222Z] e4c663802e9a: Waiting 17:55:57 [2019-04-24T14:55:57.778Z] c42794440453: Verifying Checksum 17:55:57 [2019-04-24T14:55:57.778Z] c42794440453: Download complete 17:55:58 [2019-04-24T14:55:58.029Z] fce5728aad85: Verifying Checksum 17:55:58 [2019-04-24T14:55:58.029Z] fce5728aad85: Download complete 17:55:58 [2019-04-24T14:55:58.279Z] 5040bd298390: Verifying Checksum 17:55:58 [2019-04-24T14:55:58.280Z] 5040bd298390: Download complete 17:55:58 [2019-04-24T14:55:58.280Z] 0c0da797ba48: Verifying Checksum 17:55:58 [2019-04-24T14:55:58.280Z] 0c0da797ba48: Download complete 17:55:58 [2019-04-24T14:55:58.530Z] 7c9b17433752: Verifying Checksum 17:55:58 [2019-04-24T14:55:58.530Z] 7c9b17433752: Download complete 17:55:58 [2019-04-24T14:55:58.780Z] e4c663802e9a: Verifying Checksum 17:55:58 [2019-04-24T14:55:58.780Z] e4c663802e9a: Download complete 17:55:59 [2019-04-24T14:55:59.331Z] 114e02586e63: Verifying Checksum 17:55:59 [2019-04-24T14:55:59.331Z] 114e02586e63: Download complete 17:56:01 [2019-04-24T14:56:01.814Z] 5040bd298390: Pull complete 17:56:03 [2019-04-24T14:56:03.675Z] fce5728aad85: Pull complete 17:56:04 [2019-04-24T14:56:04.587Z] c42794440453: Pull complete 17:56:05 [2019-04-24T14:56:05.931Z] 0c0da797ba48: Pull complete 17:56:06 [2019-04-24T14:56:06.843Z] 7c9b17433752: Pull complete 17:56:12 [2019-04-24T14:56:12.646Z] 114e02586e63: Pull complete 17:56:12 [2019-04-24T14:56:12.897Z] e4c663802e9a: Pull complete 17:56:12 [2019-04-24T14:56:12.897Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 17:56:12 [2019-04-24T14:56:12.897Z] Status: Downloaded newer image for java:8-jre 17:56:12 [2019-04-24T14:56:12.897Z] ---> e44d62cf8862 17:56:12 [2019-04-24T14:56:12.897Z] Step 2/8 : VOLUME /tmp 17:56:16 [2019-04-24T14:56:16.126Z] ---> Running in d0f33c409ea3 17:56:18 [2019-04-24T14:56:18.610Z] Removing intermediate container d0f33c409ea3 17:56:18 [2019-04-24T14:56:18.610Z] ---> b952fab74f27 17:56:18 [2019-04-24T14:56:18.610Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 17:56:20 [2019-04-24T14:56:20.471Z] ---> Running in 86be2e8c07cb 17:56:22 [2019-04-24T14:56:22.954Z] Removing intermediate container 86be2e8c07cb 17:56:22 [2019-04-24T14:56:22.954Z] ---> 5add0f094273 17:56:22 [2019-04-24T14:56:22.954Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/ 17:56:26 [2019-04-24T14:56:26.183Z] ---> 8aad4f5385f7 17:56:26 [2019-04-24T14:56:26.183Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar' 17:56:28 [2019-04-24T14:56:28.047Z] ---> Running in 5a5068c69be2 17:56:32 [2019-04-24T14:56:32.170Z] Removing intermediate container 5a5068c69be2 17:56:32 [2019-04-24T14:56:32.170Z] ---> 325e64410064 17:56:32 [2019-04-24T14:56:32.170Z] Step 6/8 : ENV spring_profiles_active=prod 17:56:34 [2019-04-24T14:56:34.032Z] ---> Running in a17225cbc0c2 17:56:37 [2019-04-24T14:56:37.260Z] Removing intermediate container a17225cbc0c2 17:56:37 [2019-04-24T14:56:37.260Z] ---> e745937fd324 17:56:37 [2019-04-24T14:56:37.260Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 17:56:38 [2019-04-24T14:56:38.604Z] ---> Running in 0cbcd09a38ba 17:56:41 [2019-04-24T14:56:41.833Z] Removing intermediate container 0cbcd09a38ba 17:56:41 [2019-04-24T14:56:41.833Z] ---> 5749d84c673a 17:56:41 [2019-04-24T14:56:41.833Z] Step 8/8 : EXPOSE 8080 17:56:43 [2019-04-24T14:56:43.176Z] ---> Running in 68d209fca3a3 17:56:46 [2019-04-24T14:56:46.405Z] Removing intermediate container 68d209fca3a3 17:56:46 [2019-04-24T14:56:46.405Z] ---> 3c12a85320a9 17:56:46 [2019-04-24T14:56:46.405Z] Successfully built 3c12a85320a9 17:56:46 [2019-04-24T14:56:46.656Z] Successfully tagged yasys/hub2swarm:latest 17:56:46 [2019-04-24T14:56:46.656Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 17:56:46 [2019-04-24T14:56:46.957Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:56:47 [2019-04-24T14:56:47.253Z] + set +x 17:56:47 [2019-04-24T14:56:47.253Z] Push yasys/hub2swarm to Docker Repository 17:56:47 [2019-04-24T14:56:47.505Z] The push refers to repository [docker.io/yasys/hub2swarm] 17:56:47 [2019-04-24T14:56:47.755Z] 4bbc72c77cae: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 176bf6c8834d: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 73ad47d4bc12: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] c22c27816361: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 04dba64afa87: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 500ca2ff7d52: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 782d5215f910: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 0eb22bfb707d: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] a2ae92ffcd29: Preparing 17:56:47 [2019-04-24T14:56:47.755Z] 500ca2ff7d52: Waiting 17:56:47 [2019-04-24T14:56:47.755Z] 782d5215f910: Waiting 17:56:47 [2019-04-24T14:56:47.755Z] 0eb22bfb707d: Waiting 17:56:47 [2019-04-24T14:56:47.755Z] a2ae92ffcd29: Waiting 17:56:48 [2019-04-24T14:56:48.668Z] c22c27816361: Layer already exists 17:56:48 [2019-04-24T14:56:48.668Z] 73ad47d4bc12: Layer already exists 17:56:48 [2019-04-24T14:56:48.919Z] 04dba64afa87: Layer already exists 17:56:49 [2019-04-24T14:56:49.170Z] 500ca2ff7d52: Layer already exists 17:56:49 [2019-04-24T14:56:49.170Z] 782d5215f910: Layer already exists 17:56:49 [2019-04-24T14:56:49.420Z] 0eb22bfb707d: Layer already exists 17:56:49 [2019-04-24T14:56:49.671Z] a2ae92ffcd29: Layer already exists 17:56:59 [2019-04-24T14:56:59.547Z] 4bbc72c77cae: Pushed 17:56:59 [2019-04-24T14:56:59.547Z] 176bf6c8834d: Pushed 17:57:02 [2019-04-24T14:57:02.031Z] latest: digest: sha256:f474f517f36412bb4e10701fb3a2a626c0e671684dbf706a5fd403313a9692a2 size: 2211 17:57:02 [2019-04-24T14:57:02.031Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 17:57:02 [2019-04-24T14:57:02.087Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 17:57:02 [2019-04-24T14:57:02.386Z] + set +x 17:57:02 [2019-04-24T14:57:02.386Z] Moikka kyberorg! 17:57:02 [2019-04-24T14:57:02.386Z] Here is Docker Summary: 17:57:02 [2019-04-24T14:57:02.386Z] Images built and pushed: 1 17:57:02 [2019-04-24T14:57:02.386Z] [ 17:57:02 [2019-04-24T14:57:02.386Z] yasys/hub2swarm:latest 17:57:02 [2019-04-24T14:57:02.386Z] ] 17:57:02 [2019-04-24T14:57:02.386Z] 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 17:57:02 [2019-04-24T14:57:02.523Z] One way or another, I have finished. Tsau! [Pipeline] sh 17:57:02 [2019-04-24T14:57:02.803Z] + set +x 17:57:02 [2019-04-24T14:57:02.803Z] Making workspace writable for correct cleanup 17:57:02 [2019-04-24T14:57:02.803Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 17:57:03 [2019-04-24T14:57:03.829Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 ab8fb9b5523c0b849732ba5aadf1fe177be02acb2150881f1066e08e1131b60b $ docker rm -f ab8fb9b5523c0b849732ba5aadf1fe177be02acb2150881f1066e08e1131b60b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS