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 [2019-04-24T14:53:58.443Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:53:58.744Z] + set +x [2019-04-24T14:53:58.744Z] [Runner info] [2019-04-24T14:53:58.744Z] Hostname: ab8fb9b5523c [2019-04-24T14:53:58.995Z] Network Status: Host Online [2019-04-24T14:53:58.996Z] [2019-04-24T14:53:58.996Z] === Tools info === [2019-04-24T14:53:59.246Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-04-24T14:53:59.246Z] [2019-04-24T14:53:59.246Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-04-24T14:53:59.246Z] Maven home: /opt/mvn [2019-04-24T14:53:59.246Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-04-24T14:53:59.246Z] Default locale: en, platform encoding: UTF-8 [2019-04-24T14:53:59.246Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-04-24T14:53:59.246Z] [2019-04-24T14:53:59.246Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T14:53:59.325Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:53:59.616Z] + set +x [2019-04-24T14:53:59.616Z] [Build info] [2019-04-24T14:53:59.616Z] ===== Git info ===== [2019-04-24T14:53:59.616Z] Git branch: master [2019-04-24T14:53:59.616Z] Git commit: fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 [2019-04-24T14:53:59.616Z] Git tag: - [2019-04-24T14:53:59.616Z] [2019-04-24T14:53:59.616Z] ===== Jenkins info ===== [2019-04-24T14:53:59.616Z] Jenkins Job #29 [2019-04-24T14:53:59.616Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/29/ [2019-04-24T14:53:59.616Z] Jenkins Tag: jenkins-Hub2Swarm-29 [2019-04-24T14:53:59.616Z] [2019-04-24T14:53:59.616Z] ===== Job Params ===== [2019-04-24T14:53:59.616Z] [2019-04-24T14:53:59.616Z] dockerRepo=yasys/hub2swarm [2019-04-24T14:53:59.616Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7edacf50 [2019-04-24T14:53:59.616Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@c968946 [2019-04-24T14:53:59.616Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7edacf50 [2019-04-24T14:53:59.616Z] hubUrl=https://cloud.docker.com/repository/docker [2019-04-24T14:53:59.616Z] useDebugTag=false [2019-04-24T14:53:59.616Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-04-24T14:53:59.616Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7edacf50 [2019-04-24T14:53:59.616Z] stepTimeout=5 [2019-04-24T14:53:59.616Z] hubCredentialsId=docker-hub [2019-04-24T14:53:59.616Z] class=class ee.yadev.pipe.commonpipe.Params [2019-04-24T14:53:59.616Z] skipMavenTests=true [2019-04-24T14:53:59.616Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-04-24T14:53:59.616Z] verbose=false [2019-04-24T14:53:59.616Z] mavenTestsTimeout=5 [2019-04-24T14:53:59.616Z] pipelineTimeout=15 [2019-04-24T14:53:59.616Z] hubUser=kyberorg [2019-04-24T14:53:59.616Z] [2019-04-24T14:53:59.616Z] ==== Environment Variables ===== [2019-04-24T14:53:59.616Z] GIT_COMMITTER_NAME=Jenkins CI [2019-04-24T14:53:59.616Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-04-24T14:53:59.616Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=5f10f02678421fa4107540a351bb4db674ceb439 [2019-04-24T14:53:59.616Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-04-24T14:53:59.616Z] HOSTNAME=ab8fb9b5523c [2019-04-24T14:53:59.616Z] gitlabAfter=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 [2019-04-24T14:53:59.616Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/29/display/redirect?page=changes [2019-04-24T14:53:59.616Z] NODE_LABELS=master [2019-04-24T14:53:59.616Z] HUDSON_URL=https://ci.yadev.eu/ [2019-04-24T14:53:59.616Z] GIT_COMMIT=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 [2019-04-24T14:53:59.616Z] HOME=/root [2019-04-24T14:53:59.616Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/29/ [2019-04-24T14:53:59.616Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-04-24T14:53:59.616Z] GIT_AUTHOR_NAME=Jenkins CI [2019-04-24T14:53:59.616Z] gitlabTargetBranch=master [2019-04-24T14:53:59.616Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-24T14:53:59.616Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-04-24T14:53:59.616Z] gitlabMergeRequestLastCommit=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 [2019-04-24T14:53:59.616Z] JAVA_VERSION=8u212 [2019-04-24T14:53:59.616Z] NODE_NAME=master [2019-04-24T14:53:59.616Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-04-24T14:53:59.616Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-04-24T14:53:59.616Z] EXECUTOR_NUMBER=0 [2019-04-24T14:53:59.616Z] GIT_BRANCH=origin/master [2019-04-24T14:53:59.616Z] STAGE_NAME=Execution info [2019-04-24T14:53:59.616Z] gitlabBranch=master [2019-04-24T14:53:59.616Z] gitlabSourceBranch=master [2019-04-24T14:53:59.616Z] gitlabUserEmail=kyberorg@yadev.eu [2019-04-24T14:53:59.616Z] BUILD_DISPLAY_NAME=#29 [2019-04-24T14:53:59.616Z] JOB_BASE_NAME=Hub2Swarm [2019-04-24T14:53:59.616Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-04-24T14:53:59.616Z] HUDSON_HOME=/var/lib/jenkins [2019-04-24T14:53:59.616Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-04-24T14:53:59.616Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-04-24T14:53:59.616Z] BUILD_ID=29 [2019-04-24T14:53:59.616Z] BUILDING_FOR=kyberorg [2019-04-24T14:53:59.616Z] BUILD_TAG=jenkins-Hub2Swarm-29 [2019-04-24T14:53:59.616Z] gitlabActionType=PUSH [2019-04-24T14:53:59.616Z] gitlabBefore=5f10f02678421fa4107540a351bb4db674ceb439 [2019-04-24T14:53:59.616Z] JENKINS_URL=https://ci.yadev.eu/ [2019-04-24T14:53:59.616Z] LANG=C.UTF-8 [2019-04-24T14:53:59.616Z] gitlabSourceRepoName=Hub2Swarm [2019-04-24T14:53:59.616Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-04-24T14:53:59.616Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-04-24T14:53:59.616Z] gitlabSourceNamespace=Yet another Systems [2019-04-24T14:53:59.616Z] BUILD_NUMBER=29 [2019-04-24T14:53:59.616Z] JENKINS_NODE_COOKIE=d71ae6e2-5e23-4626-9ce2-23138e698c72 [2019-04-24T14:53:59.616Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/29/display/redirect [2019-04-24T14:53:59.616Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-04-24T14:53:59.616Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-04-24T14:53:59.616Z] CLASSPATH= [2019-04-24T14:53:59.616Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-04-24T14:53:59.616Z] JOB_NAME=Hub2Swarm [2019-04-24T14:53:59.616Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/215e9a72-0908-4ed3-b247-28d68398c098 [2019-04-24T14:53:59.616Z] gitlabUserName=Alex Muravya [2019-04-24T14:53:59.616Z] JAVA_HOME=/docker-java-home [2019-04-24T14:53:59.616Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-24T14:53:59.616Z] GIT_PREVIOUS_COMMIT=5f10f02678421fa4107540a351bb4db674ceb439 [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 [2019-04-24T14:54:00.050Z] + mvn clean package -PproductionMode [2019-04-24T14:54:01.912Z] [INFO] Scanning for projects... [2019-04-24T14:54:01.912Z] [INFO] [2019-04-24T14:54:01.912Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-04-24T14:54:01.912Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-04-24T14:54:01.912Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-04-24T14:54:03.256Z] [INFO] [2019-04-24T14:54:03.256Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-04-24T14:54:03.506Z] [INFO] [2019-04-24T14:54:03.506Z] [INFO] --- vaadin-maven-plugin:13.0.4:copy-production-files (default) @ hub2swarm --- [2019-04-24T14:54:03.757Z] [INFO] Copying web application files to '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' [2019-04-24T14:54:04.007Z] [INFO] [2019-04-24T14:54:04.007Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-04-24T14:54:04.258Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-04-24T14:54:04.258Z] [INFO] Copying 3 resources [2019-04-24T14:54:04.258Z] [INFO] Copying 1 resource [2019-04-24T14:54:04.258Z] [INFO] [2019-04-24T14:54:04.258Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-04-24T14:54:04.258Z] [INFO] Changes detected - recompiling the module! [2019-04-24T14:54:04.258Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-04-24T14:54:06.741Z] [INFO] [2019-04-24T14:54:06.741Z] [INFO] --- vaadin-maven-plugin:13.0.4:package-for-production (default) @ hub2swarm --- [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' [2019-04-24T14:54:10.864Z] [INFO] Installing node version v8.11.1 [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 [2019-04-24T14:54:10.864Z] [INFO] No proxies configured [2019-04-24T14:54:10.864Z] [INFO] No proxy was configured, downloading directly [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 [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 [2019-04-24T14:54:13.527Z] [INFO] Installed node locally. [2019-04-24T14:54:13.528Z] [INFO] Installing Yarn version v1.6.0 [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 [2019-04-24T14:54:13.528Z] [INFO] No proxies configured [2019-04-24T14:54:13.528Z] [INFO] No proxy was configured, downloading directly [2019-04-24T14:54:13.778Z] Apr 24, 2019 2:54:13 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies [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 [2019-04-24T14:54:13.778Z] Apr 24, 2019 2:54:13 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies [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 [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 [2019-04-24T14:54:15.640Z] [INFO] Installed Yarn locally. [2019-04-24T14:54:15.640Z] [INFO] Installing required frontend tools to '/var/lib/jenkins/workspace/Hub2Swarm/target' [2019-04-24T14:54:15.640Z] [INFO] Running 'yarn install' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T14:54:15.891Z] [INFO] yarn install v1.6.0 [2019-04-24T14:54:16.141Z] [INFO] [1/4] Resolving packages... [2019-04-24T14:54:16.692Z] [INFO] [2/4] Fetching packages... [2019-04-24T14:54:23.174Z] [INFO] [3/4] Linking dependencies... [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". [2019-04-24T14:54:25.035Z] [INFO] [4/4] Building fresh packages... [2019-04-24T14:54:25.947Z] [INFO] Done in 10.08s. [2019-04-24T14:54:26.197Z] [INFO] Processing frontend files from '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' [2019-04-24T14:54:26.197Z] [INFO] Running 'gulp build_es6' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js [2019-04-24T14:54:27.541Z] [ERROR] (node:158) Warning: N-API is an experimental feature and could change at any time. [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Starting 'build_es6'... [2019-04-24T14:54:27.541Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 directory... [2019-04-24T14:54:27.541Z] [INFO] [14:54:27] Finished 'build_es6' after 8.07 ms [2019-04-24T14:54:27.541Z] [INFO] Starting to process frontend files. [2019-04-24T14:54:27.541Z] [INFO] Will minify frontend files. [2019-04-24T14:54:27.541Z] [INFO] Will bundle frontend files. [2019-04-24T14:54:27.541Z] [INFO] Will hash bundle file names. [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'. [2019-04-24T14:54:27.541Z] [INFO] Starting operations stated above, this might take a while. [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' [2019-04-24T14:54:53.943Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 complete! [2019-04-24T14:54:53.943Z] [INFO] Running 'gulp build_es5' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js [2019-04-24T14:54:55.287Z] [ERROR] (node:190) Warning: N-API is an experimental feature and could change at any time. [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Starting 'build_es5'... [2019-04-24T14:54:55.287Z] [INFO] Starting ES5 transpilation. [2019-04-24T14:54:55.287Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 directory... [2019-04-24T14:54:55.287Z] [INFO] ES5 transpilation completed. [2019-04-24T14:54:55.287Z] [INFO] [14:54:55] Finished 'build_es5' after 7.94 ms [2019-04-24T14:54:55.287Z] [INFO] Starting to process frontend files. [2019-04-24T14:54:55.287Z] [INFO] Will transpile frontend files. [2019-04-24T14:54:55.287Z] [INFO] Will minify frontend files. [2019-04-24T14:54:55.287Z] [INFO] Will bundle frontend files. [2019-04-24T14:54:55.287Z] [INFO] Will hash bundle file names. [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'. [2019-04-24T14:54:55.287Z] [INFO] Starting operations stated above, this might take a while. [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' [2019-04-24T14:55:41.796Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 complete! [2019-04-24T14:55:41.796Z] [INFO] [2019-04-24T14:55:41.796Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-04-24T14:55:41.796Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-04-24T14:55:41.796Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources [2019-04-24T14:55:41.796Z] [INFO] [2019-04-24T14:55:41.796Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-04-24T14:55:41.796Z] [INFO] Changes detected - recompiling the module! [2019-04-24T14:55:41.796Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes [2019-04-24T14:55:41.796Z] [INFO] [2019-04-24T14:55:41.796Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-04-24T14:55:41.796Z] [INFO] [2019-04-24T14:55:41.796Z] [INFO] ------------------------------------------------------- [2019-04-24T14:55:41.796Z] [INFO] T E S T S [2019-04-24T14:55:41.796Z] [INFO] ------------------------------------------------------- [2019-04-24T14:55:41.796Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests [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] [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] [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)] [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] [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 [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 [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 [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}. [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. [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] [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] [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 [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. [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] [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] [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] [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] [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] [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] [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] [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] [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]. [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] [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] [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} [2019-04-24T14:55:41.797Z] [2019-04-24T14:55:41.797Z] . ____ _ __ _ _ [2019-04-24T14:55:41.797Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ [2019-04-24T14:55:41.797Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ [2019-04-24T14:55:41.797Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) [2019-04-24T14:55:41.797Z] ' |____| .__|_| |_|_| |_\__, | / / / / [2019-04-24T14:55:41.797Z] =========|_|==============|___/=/_/_/_/ [2019-04-24T14:55:41.797Z] :: Spring Boot :: (v2.2.0.M2) [2019-04-24T14:55:41.797Z] [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) [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 [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. [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. [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) [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 [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.383 INFO 243 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... [2019-04-24T14:55:41.797Z] 2019-04-24 14:55:40.864 INFO 243 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. [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) [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. [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) [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" [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 >> [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 [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) [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] [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} [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} [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 [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] [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' [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 [2019-04-24T14:55:45.285Z] 2019-04-24 14:55:45.151 INFO 243 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' [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' [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) [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 [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' [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' [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] [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... [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. [2019-04-24T14:55:46.948Z] [INFO] [2019-04-24T14:55:46.948Z] [INFO] Results: [2019-04-24T14:55:46.948Z] [INFO] [2019-04-24T14:55:46.948Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [2019-04-24T14:55:46.948Z] [INFO] [2019-04-24T14:55:46.948Z] [INFO] [2019-04-24T14:55:46.948Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- [2019-04-24T14:55:47.499Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar [2019-04-24T14:55:48.410Z] [INFO] [2019-04-24T14:55:48.410Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- [2019-04-24T14:55:50.272Z] [INFO] Replacing main artifact with repackaged archive [2019-04-24T14:55:50.272Z] [INFO] ------------------------------------------------------------------------ [2019-04-24T14:55:50.272Z] [INFO] BUILD SUCCESS [2019-04-24T14:55:50.272Z] [INFO] ------------------------------------------------------------------------ [2019-04-24T14:55:50.272Z] [INFO] Total time: 01:48 min [2019-04-24T14:55:50.272Z] [INFO] Finished at: 2019-04-24T14:55:49Z [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 [2019-04-24T14:55:50.449Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:55:50.742Z] + set +x [2019-04-24T14:55:50.742Z] Starting Docker: docker. [2019-04-24T14:55:50.742Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-04-24T14:55:50.807Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-04-24T14:55:50.855Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:55:51.143Z] + set +x [2019-04-24T14:55:51.144Z] Login as **** to Docker Repository [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. [2019-04-24T14:55:53.006Z] Configure a credential helper to remove this warning. See [2019-04-24T14:55:53.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-04-24T14:55:53.006Z] [2019-04-24T14:55:53.006Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-04-24T14:55:53.105Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:55:53.395Z] + set +x [2019-04-24T14:55:53.395Z] Building Docker Image yasys/hub2swarm with tags: [latest] [2019-04-24T14:55:55.878Z] Sending build context to Docker daemon 218.9MB [2019-04-24T14:55:55.878Z] Step 1/8 : FROM java:8-jre [2019-04-24T14:55:57.222Z] 8-jre: Pulling from library/java [2019-04-24T14:55:57.222Z] 5040bd298390: Pulling fs layer [2019-04-24T14:55:57.222Z] fce5728aad85: Pulling fs layer [2019-04-24T14:55:57.222Z] c42794440453: Pulling fs layer [2019-04-24T14:55:57.222Z] 0c0da797ba48: Pulling fs layer [2019-04-24T14:55:57.222Z] 7c9b17433752: Pulling fs layer [2019-04-24T14:55:57.222Z] 114e02586e63: Pulling fs layer [2019-04-24T14:55:57.222Z] e4c663802e9a: Pulling fs layer [2019-04-24T14:55:57.222Z] 0c0da797ba48: Waiting [2019-04-24T14:55:57.222Z] 7c9b17433752: Waiting [2019-04-24T14:55:57.222Z] 114e02586e63: Waiting [2019-04-24T14:55:57.222Z] e4c663802e9a: Waiting [2019-04-24T14:55:57.778Z] c42794440453: Verifying Checksum [2019-04-24T14:55:57.778Z] c42794440453: Download complete [2019-04-24T14:55:58.029Z] fce5728aad85: Verifying Checksum [2019-04-24T14:55:58.029Z] fce5728aad85: Download complete [2019-04-24T14:55:58.279Z] 5040bd298390: Verifying Checksum [2019-04-24T14:55:58.280Z] 5040bd298390: Download complete [2019-04-24T14:55:58.280Z] 0c0da797ba48: Verifying Checksum [2019-04-24T14:55:58.280Z] 0c0da797ba48: Download complete [2019-04-24T14:55:58.530Z] 7c9b17433752: Verifying Checksum [2019-04-24T14:55:58.530Z] 7c9b17433752: Download complete [2019-04-24T14:55:58.780Z] e4c663802e9a: Verifying Checksum [2019-04-24T14:55:58.780Z] e4c663802e9a: Download complete [2019-04-24T14:55:59.331Z] 114e02586e63: Verifying Checksum [2019-04-24T14:55:59.331Z] 114e02586e63: Download complete [2019-04-24T14:56:01.814Z] 5040bd298390: Pull complete [2019-04-24T14:56:03.675Z] fce5728aad85: Pull complete [2019-04-24T14:56:04.587Z] c42794440453: Pull complete [2019-04-24T14:56:05.931Z] 0c0da797ba48: Pull complete [2019-04-24T14:56:06.843Z] 7c9b17433752: Pull complete [2019-04-24T14:56:12.646Z] 114e02586e63: Pull complete [2019-04-24T14:56:12.897Z] e4c663802e9a: Pull complete [2019-04-24T14:56:12.897Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 [2019-04-24T14:56:12.897Z] Status: Downloaded newer image for java:8-jre [2019-04-24T14:56:12.897Z] ---> e44d62cf8862 [2019-04-24T14:56:12.897Z] Step 2/8 : VOLUME /tmp [2019-04-24T14:56:16.126Z] ---> Running in d0f33c409ea3 [2019-04-24T14:56:18.610Z] Removing intermediate container d0f33c409ea3 [2019-04-24T14:56:18.610Z] ---> b952fab74f27 [2019-04-24T14:56:18.610Z] Step 3/8 : MAINTAINER Alexander Muravya (aka kyberorg) [2019-04-24T14:56:20.471Z] ---> Running in 86be2e8c07cb [2019-04-24T14:56:22.954Z] Removing intermediate container 86be2e8c07cb [2019-04-24T14:56:22.954Z] ---> 5add0f094273 [2019-04-24T14:56:22.954Z] Step 4/8 : ADD ./target/hub2swarm.jar /app/ [2019-04-24T14:56:26.183Z] ---> 8aad4f5385f7 [2019-04-24T14:56:26.183Z] Step 5/8 : RUN sh -c 'touch /app/hub2swarm.jar' [2019-04-24T14:56:28.047Z] ---> Running in 5a5068c69be2 [2019-04-24T14:56:32.170Z] Removing intermediate container 5a5068c69be2 [2019-04-24T14:56:32.170Z] ---> 325e64410064 [2019-04-24T14:56:32.170Z] Step 6/8 : ENV spring_profiles_active=prod [2019-04-24T14:56:34.032Z] ---> Running in a17225cbc0c2 [2019-04-24T14:56:37.260Z] Removing intermediate container a17225cbc0c2 [2019-04-24T14:56:37.260Z] ---> e745937fd324 [2019-04-24T14:56:37.260Z] Step 7/8 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar [2019-04-24T14:56:38.604Z] ---> Running in 0cbcd09a38ba [2019-04-24T14:56:41.833Z] Removing intermediate container 0cbcd09a38ba [2019-04-24T14:56:41.833Z] ---> 5749d84c673a [2019-04-24T14:56:41.833Z] Step 8/8 : EXPOSE 8080 [2019-04-24T14:56:43.176Z] ---> Running in 68d209fca3a3 [2019-04-24T14:56:46.405Z] Removing intermediate container 68d209fca3a3 [2019-04-24T14:56:46.405Z] ---> 3c12a85320a9 [2019-04-24T14:56:46.405Z] Successfully built 3c12a85320a9 [2019-04-24T14:56:46.656Z] Successfully tagged yasys/hub2swarm:latest [2019-04-24T14:56:46.656Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T14:56:46.957Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:56:47.253Z] + set +x [2019-04-24T14:56:47.253Z] Push yasys/hub2swarm to Docker Repository [2019-04-24T14:56:47.505Z] The push refers to repository [docker.io/yasys/hub2swarm] [2019-04-24T14:56:47.755Z] 4bbc72c77cae: Preparing [2019-04-24T14:56:47.755Z] 176bf6c8834d: Preparing [2019-04-24T14:56:47.755Z] 73ad47d4bc12: Preparing [2019-04-24T14:56:47.755Z] c22c27816361: Preparing [2019-04-24T14:56:47.755Z] 04dba64afa87: Preparing [2019-04-24T14:56:47.755Z] 500ca2ff7d52: Preparing [2019-04-24T14:56:47.755Z] 782d5215f910: Preparing [2019-04-24T14:56:47.755Z] 0eb22bfb707d: Preparing [2019-04-24T14:56:47.755Z] a2ae92ffcd29: Preparing [2019-04-24T14:56:47.755Z] 500ca2ff7d52: Waiting [2019-04-24T14:56:47.755Z] 782d5215f910: Waiting [2019-04-24T14:56:47.755Z] 0eb22bfb707d: Waiting [2019-04-24T14:56:47.755Z] a2ae92ffcd29: Waiting [2019-04-24T14:56:48.668Z] c22c27816361: Layer already exists [2019-04-24T14:56:48.668Z] 73ad47d4bc12: Layer already exists [2019-04-24T14:56:48.919Z] 04dba64afa87: Layer already exists [2019-04-24T14:56:49.170Z] 500ca2ff7d52: Layer already exists [2019-04-24T14:56:49.170Z] 782d5215f910: Layer already exists [2019-04-24T14:56:49.420Z] 0eb22bfb707d: Layer already exists [2019-04-24T14:56:49.671Z] a2ae92ffcd29: Layer already exists [2019-04-24T14:56:59.547Z] 4bbc72c77cae: Pushed [2019-04-24T14:56:59.547Z] 176bf6c8834d: Pushed [2019-04-24T14:57:02.031Z] latest: digest: sha256:f474f517f36412bb4e10701fb3a2a626c0e671684dbf706a5fd403313a9692a2 size: 2211 [2019-04-24T14:57:02.031Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T14:57:02.087Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T14:57:02.386Z] + set +x [2019-04-24T14:57:02.386Z] Moikka kyberorg! [2019-04-24T14:57:02.386Z] Here is Docker Summary: [2019-04-24T14:57:02.386Z] Images built and pushed: 1 [2019-04-24T14:57:02.386Z] [ [2019-04-24T14:57:02.386Z] yasys/hub2swarm:latest [2019-04-24T14:57:02.386Z] ] [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 [2019-04-24T14:57:02.523Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-04-24T14:57:02.803Z] + set +x [2019-04-24T14:57:02.803Z] Making workspace writable for correct cleanup [2019-04-24T14:57:02.803Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [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