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 2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 # timeout=10 Commit message: "jenkins" > /usr/bin/git rev-list --no-walk e14cbb0dbeececc66888d3c3c74788e5dc8c70cd # 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 2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 # timeout=10 Commit message: "jenkins" [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/6d457825-3e07-46cf-9fa6-a2dbf88ef320/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 1331e411d059e5b79f7802f36484204637467b16379c08e0542513f3b20b429a -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-24T15:18:22.525Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:18:22.833Z] + set +x [2019-04-24T15:18:22.833Z] [Runner info] [2019-04-24T15:18:22.833Z] Hostname: 1331e411d059 [2019-04-24T15:18:23.085Z] Network Status: Host Online [2019-04-24T15:18:23.085Z] [2019-04-24T15:18:23.085Z] === Tools info === [2019-04-24T15:18:23.335Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-04-24T15:18:23.335Z] [2019-04-24T15:18:23.335Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-04-24T15:18:23.335Z] Maven home: /opt/mvn [2019-04-24T15:18:23.335Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-04-24T15:18:23.335Z] Default locale: en, platform encoding: UTF-8 [2019-04-24T15:18:23.335Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-04-24T15:18:23.335Z] [2019-04-24T15:18:23.335Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T15:18:23.406Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:18:23.701Z] + set +x [2019-04-24T15:18:23.701Z] [Build info] [2019-04-24T15:18:23.701Z] ===== Git info ===== [2019-04-24T15:18:23.701Z] Git branch: master [2019-04-24T15:18:23.701Z] Git commit: 2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 [2019-04-24T15:18:23.701Z] Git tag: - [2019-04-24T15:18:23.701Z] [2019-04-24T15:18:23.701Z] ===== Jenkins info ===== [2019-04-24T15:18:23.701Z] Jenkins Job #34 [2019-04-24T15:18:23.701Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/34/ [2019-04-24T15:18:23.701Z] Jenkins Tag: jenkins-Hub2Swarm-34 [2019-04-24T15:18:23.701Z] [2019-04-24T15:18:23.701Z] ===== Job Params ===== [2019-04-24T15:18:23.701Z] [2019-04-24T15:18:23.701Z] dockerRepo=yasys/hub2swarm [2019-04-24T15:18:23.701Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7eae6e93 [2019-04-24T15:18:23.701Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@67fe04a3 [2019-04-24T15:18:23.701Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7eae6e93 [2019-04-24T15:18:23.701Z] hubUrl=https://cloud.docker.com/repository/docker [2019-04-24T15:18:23.701Z] useDebugTag=false [2019-04-24T15:18:23.701Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-04-24T15:18:23.701Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7eae6e93 [2019-04-24T15:18:23.701Z] stepTimeout=5 [2019-04-24T15:18:23.701Z] hubCredentialsId=docker-hub [2019-04-24T15:18:23.701Z] class=class ee.yadev.pipe.commonpipe.Params [2019-04-24T15:18:23.701Z] skipMavenTests=true [2019-04-24T15:18:23.701Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-04-24T15:18:23.701Z] verbose=false [2019-04-24T15:18:23.701Z] mavenTestsTimeout=5 [2019-04-24T15:18:23.701Z] pipelineTimeout=15 [2019-04-24T15:18:23.701Z] hubUser=kyberorg [2019-04-24T15:18:23.701Z] [2019-04-24T15:18:23.701Z] ==== Environment Variables ===== [2019-04-24T15:18:23.701Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-04-24T15:18:23.701Z] GIT_COMMITTER_NAME=Jenkins CI [2019-04-24T15:18:23.701Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 [2019-04-24T15:18:23.701Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-04-24T15:18:23.701Z] HOSTNAME=1331e411d059 [2019-04-24T15:18:23.701Z] gitlabAfter=2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 [2019-04-24T15:18:23.701Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/34/display/redirect?page=changes [2019-04-24T15:18:23.701Z] NODE_LABELS=master [2019-04-24T15:18:23.701Z] HUDSON_URL=https://ci.yadev.eu/ [2019-04-24T15:18:23.701Z] GIT_COMMIT=2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 [2019-04-24T15:18:23.701Z] HOME=/root [2019-04-24T15:18:23.701Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/34/ [2019-04-24T15:18:23.701Z] GIT_AUTHOR_NAME=Jenkins CI [2019-04-24T15:18:23.701Z] gitlabTargetBranch=master [2019-04-24T15:18:23.701Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-04-24T15:18:23.701Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-04-24T15:18:23.701Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-24T15:18:23.701Z] gitlabMergeRequestLastCommit=2e5fe0a3b221f8a60fcf682abf3760dac5a507c3 [2019-04-24T15:18:23.701Z] JAVA_VERSION=8u212 [2019-04-24T15:18:23.701Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-04-24T15:18:23.701Z] NODE_NAME=master [2019-04-24T15:18:23.701Z] GIT_BRANCH=origin/master [2019-04-24T15:18:23.701Z] EXECUTOR_NUMBER=0 [2019-04-24T15:18:23.701Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-04-24T15:18:23.701Z] STAGE_NAME=Execution info [2019-04-24T15:18:23.701Z] gitlabBranch=master [2019-04-24T15:18:23.701Z] BUILD_DISPLAY_NAME=#34 [2019-04-24T15:18:23.701Z] gitlabUserEmail=kyberorg@yadev.eu [2019-04-24T15:18:23.701Z] gitlabSourceBranch=master [2019-04-24T15:18:23.701Z] JOB_BASE_NAME=Hub2Swarm [2019-04-24T15:18:23.701Z] HUDSON_HOME=/var/lib/jenkins [2019-04-24T15:18:23.701Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-04-24T15:18:23.701Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-04-24T15:18:23.701Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-04-24T15:18:23.701Z] BUILD_ID=34 [2019-04-24T15:18:23.701Z] BUILDING_FOR=kyberorg [2019-04-24T15:18:23.701Z] BUILD_TAG=jenkins-Hub2Swarm-34 [2019-04-24T15:18:23.701Z] gitlabActionType=PUSH [2019-04-24T15:18:23.701Z] gitlabBefore=e14cbb0dbeececc66888d3c3c74788e5dc8c70cd [2019-04-24T15:18:23.701Z] JENKINS_URL=https://ci.yadev.eu/ [2019-04-24T15:18:23.701Z] LANG=C.UTF-8 [2019-04-24T15:18:23.701Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-04-24T15:18:23.701Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-04-24T15:18:23.701Z] gitlabSourceRepoName=Hub2Swarm [2019-04-24T15:18:23.701Z] gitlabSourceNamespace=Yet another Systems [2019-04-24T15:18:23.701Z] BUILD_NUMBER=34 [2019-04-24T15:18:23.701Z] JENKINS_NODE_COOKIE=edd5e0b8-baf5-47e2-8c9c-905f1c23512e [2019-04-24T15:18:23.701Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/34/display/redirect [2019-04-24T15:18:23.701Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-04-24T15:18:23.701Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-04-24T15:18:23.701Z] CLASSPATH= [2019-04-24T15:18:23.701Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-04-24T15:18:23.701Z] JOB_NAME=Hub2Swarm [2019-04-24T15:18:23.701Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/6d457825-3e07-46cf-9fa6-a2dbf88ef320 [2019-04-24T15:18:23.701Z] gitlabUserName=Alex Muravya [2019-04-24T15:18:23.701Z] JAVA_HOME=/docker-java-home [2019-04-24T15:18:23.701Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-04-24T15:18:23.701Z] GIT_PREVIOUS_COMMIT=e14cbb0dbeececc66888d3c3c74788e5dc8c70cd [2019-04-24T15:18:23.701Z] 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-24T15:18:24.135Z] + mvn clean package -PproductionMode [2019-04-24T15:18:25.480Z] [INFO] Scanning for projects... [2019-04-24T15:18:25.731Z] [INFO] [2019-04-24T15:18:25.731Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-04-24T15:18:25.731Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-04-24T15:18:25.731Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-04-24T15:18:27.079Z] [INFO] [2019-04-24T15:18:27.079Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-04-24T15:18:27.079Z] [INFO] [2019-04-24T15:18:27.079Z] [INFO] --- vaadin-maven-plugin:13.0.4:copy-production-files (default) @ hub2swarm --- [2019-04-24T15:18:27.630Z] [INFO] Copying web application files to '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' [2019-04-24T15:18:27.880Z] [INFO] [2019-04-24T15:18:27.880Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-04-24T15:18:27.880Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-04-24T15:18:27.880Z] [INFO] Copying 4 resources [2019-04-24T15:18:27.880Z] [INFO] Copying 1 resource [2019-04-24T15:18:27.880Z] [INFO] [2019-04-24T15:18:27.880Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-04-24T15:18:28.131Z] [INFO] Changes detected - recompiling the module! [2019-04-24T15:18:28.131Z] [INFO] Compiling 12 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-04-24T15:18:29.992Z] [INFO] [2019-04-24T15:18:29.992Z] [INFO] --- vaadin-maven-plugin:13.0.4:package-for-production (default) @ hub2swarm --- [2019-04-24T15:18:35.193Z] [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-24T15:18:35.193Z] [INFO] Installing node version v8.11.1 [2019-04-24T15:18:35.193Z] [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-24T15:18:35.193Z] [INFO] No proxies configured [2019-04-24T15:18:35.193Z] [INFO] No proxy was configured, downloading directly [2019-04-24T15:18:36.537Z] [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-24T15:18:37.448Z] [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-24T15:18:37.698Z] [INFO] Installed node locally. [2019-04-24T15:18:37.698Z] [INFO] Installing Yarn version v1.6.0 [2019-04-24T15:18:37.699Z] [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-24T15:18:37.699Z] [INFO] No proxies configured [2019-04-24T15:18:37.699Z] [INFO] No proxy was configured, downloading directly [2019-04-24T15:18:38.249Z] Apr 24, 2019 3:18:38 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies [2019-04-24T15:18:38.249Z] WARNING: Invalid cookie header: "Set-Cookie: has_recent_activity=1; path=/; expires=Wed, 24 Apr 2019 16:18:37 -0000". Invalid 'expires' attribute: Wed, 24 Apr 2019 16:18:37 -0000 [2019-04-24T15:18:38.249Z] Apr 24, 2019 3:18:38 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies [2019-04-24T15:18:38.249Z] WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 24 Apr 2039 15:18:38 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sun, 24 Apr 2039 15:18:38 -0000 [2019-04-24T15:18:39.160Z] [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-24T15:18:39.161Z] [INFO] Installed Yarn locally. [2019-04-24T15:18:39.161Z] [INFO] Installing required frontend tools to '/var/lib/jenkins/workspace/Hub2Swarm/target' [2019-04-24T15:18:39.161Z] [INFO] Running 'yarn install' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T15:18:39.711Z] [INFO] yarn install v1.6.0 [2019-04-24T15:18:39.711Z] [INFO] [1/4] Resolving packages... [2019-04-24T15:18:40.262Z] [INFO] [2/4] Fetching packages... [2019-04-24T15:18:46.743Z] [INFO] [3/4] Linking dependencies... [2019-04-24T15:18:46.743Z] [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-24T15:18:48.605Z] [INFO] [4/4] Building fresh packages... [2019-04-24T15:18:49.516Z] [INFO] Done in 10.06s. [2019-04-24T15:18:49.516Z] [INFO] Processing frontend files from '/var/lib/jenkins/workspace/Hub2Swarm/target/frontend' [2019-04-24T15:18:49.766Z] [INFO] Running 'gulp build_es6' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T15:18:51.110Z] [INFO] [15:18:50] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js [2019-04-24T15:18:51.110Z] [ERROR] (node:158) Warning: N-API is an experimental feature and could change at any time. [2019-04-24T15:18:51.110Z] [INFO] [15:18:50] Starting 'build_es6'... [2019-04-24T15:18:51.110Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 directory... [2019-04-24T15:18:51.110Z] [INFO] [15:18:50] Finished 'build_es6' after 10 ms [2019-04-24T15:18:51.110Z] [INFO] Starting to process frontend files. [2019-04-24T15:18:51.110Z] [INFO] Will minify frontend files. [2019-04-24T15:18:51.110Z] [INFO] Will bundle frontend files. [2019-04-24T15:18:51.110Z] [INFO] Will hash bundle file names. [2019-04-24T15:18:51.110Z] [INFO] Will copy files to target directory '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6'. [2019-04-24T15:18:51.110Z] [INFO] Starting operations stated above, this might take a while. [2019-04-24T15:19:23.037Z] [INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6/vaadin-flow-bundle-manifest.json' [2019-04-24T15:19:23.037Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es6 complete! [2019-04-24T15:19:23.037Z] [INFO] Running 'gulp build_es5' in /var/lib/jenkins/workspace/Hub2Swarm/target [2019-04-24T15:19:23.037Z] [INFO] [15:19:19] Using gulpfile /var/lib/jenkins/workspace/Hub2Swarm/target/gulpfile.js [2019-04-24T15:19:23.037Z] [ERROR] (node:192) Warning: N-API is an experimental feature and could change at any time. [2019-04-24T15:19:23.037Z] [INFO] [15:19:19] Starting 'build_es5'... [2019-04-24T15:19:23.037Z] [INFO] Starting ES5 transpilation. [2019-04-24T15:19:23.037Z] [INFO] Deleting /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 directory... [2019-04-24T15:19:23.037Z] [INFO] ES5 transpilation completed. [2019-04-24T15:19:23.037Z] [INFO] [15:19:19] Finished 'build_es5' after 8.95 ms [2019-04-24T15:19:23.037Z] [INFO] Starting to process frontend files. [2019-04-24T15:19:23.037Z] [INFO] Will transpile frontend files. [2019-04-24T15:19:23.037Z] [INFO] Will minify frontend files. [2019-04-24T15:19:23.037Z] [INFO] Will bundle frontend files. [2019-04-24T15:19:23.037Z] [INFO] Will hash bundle file names. [2019-04-24T15:19:23.037Z] [INFO] Will copy files to target directory '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5'. [2019-04-24T15:19:23.037Z] [INFO] Starting operations stated above, this might take a while. [2019-04-24T15:20:01.594Z] [INFO] Writing bundle manifest to '/var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5/vaadin-flow-bundle-manifest.json' [2019-04-24T15:20:01.594Z] [INFO] Build for directory /var/lib/jenkins/workspace/Hub2Swarm/target/classes/META-INF/resources/frontend-es5 complete! [2019-04-24T15:20:01.594Z] [INFO] [2019-04-24T15:20:01.594Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-04-24T15:20:01.594Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-04-24T15:20:01.594Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources [2019-04-24T15:20:01.594Z] [INFO] [2019-04-24T15:20:01.594Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-04-24T15:20:01.594Z] [INFO] Changes detected - recompiling the module! [2019-04-24T15:20:01.594Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes [2019-04-24T15:20:01.594Z] [INFO] [2019-04-24T15:20:01.594Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-04-24T15:20:01.594Z] [INFO] [2019-04-24T15:20:01.594Z] [INFO] ------------------------------------------------------- [2019-04-24T15:20:01.594Z] [INFO] T E S T S [2019-04-24T15:20:01.594Z] [INFO] ------------------------------------------------------- [2019-04-24T15:20:01.594Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-04-24T15:20:01.594Z] 15:20:00.112 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.118 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] [2019-04-24T15:20:01.594Z] 15:20:00.132 [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-24T15:20:01.594Z] 15:20:00.186 [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-24T15:20:01.594Z] 15:20:00.210 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader [2019-04-24T15:20:01.594Z] 15:20:00.216 [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-24T15:20:01.594Z] 15:20:00.216 [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-24T15:20:01.594Z] 15:20:00.217 [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-24T15:20:01.594Z] 15:20:00.218 [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-24T15:20:01.594Z] 15:20:00.289 [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-24T15:20:01.594Z] 15:20:00.394 [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-24T15:20:01.594Z] 15:20:00.395 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-04-24T15:20:01.594Z] 15:20:00.555 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. [2019-04-24T15:20:01.594Z] 15:20:00.556 [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-24T15:20:01.594Z] 15:20:00.582 [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-24T15:20:01.594Z] 15:20:00.585 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.587 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.588 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.589 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.590 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.590 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.596 [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-24T15:20:01.594Z] 15:20:00.599 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.599 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-04-24T15:20:01.594Z] 15:20:00.636 [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-24T15:20:01.594Z] [2019-04-24T15:20:01.594Z] . ____ _ __ _ _ [2019-04-24T15:20:01.594Z] /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ [2019-04-24T15:20:01.594Z] ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ [2019-04-24T15:20:01.594Z] \\/ ___)| |_)| | | | | || (_| | ) ) ) ) [2019-04-24T15:20:01.594Z] ' |____| .__|_| |_|_| |_\__, | / / / / [2019-04-24T15:20:01.594Z] =========|_|==============|___/=/_/_/_/ [2019-04-24T15:20:01.594Z] :: Spring Boot :: (v2.2.0.M2) [2019-04-24T15:20:01.594Z] [2019-04-24T15:20:01.594Z] 2019-04-24 15:20:00.934 INFO 241 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 1331e411d059 with PID 241 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) [2019-04-24T15:20:01.594Z] 2019-04-24 15:20:00.935 INFO 241 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default [2019-04-24T15:20:02.939Z] 2019-04-24 15:20:02.829 INFO 241 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. [2019-04-24T15:20:03.190Z] 2019-04-24 15:20:02.988 INFO 241 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 140ms. Found 1 repository interfaces. [2019-04-24T15:20:03.741Z] 2019-04-24 15:20:03.576 INFO 241 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$6f5699ae] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2019-04-24T15:20:03.991Z] 2019-04-24 15:20:03.946 INFO 241 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse [2019-04-24T15:20:03.991Z] 2019-04-24 15:20:03.961 INFO 241 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... [2019-04-24T15:20:04.542Z] 2019-04-24 15:20:04.381 INFO 241 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. [2019-04-24T15:20:04.542Z] 2019-04-24 15:20:04.392 INFO 241 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) [2019-04-24T15:20:04.542Z] 2019-04-24 15:20:04.448 WARN 241 --- [ 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-24T15:20:04.792Z] 2019-04-24 15:20:04.552 INFO 241 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 1 migration (execution time 00:00.023s) [2019-04-24T15:20:04.793Z] 2019-04-24 15:20:04.571 INFO 241 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" [2019-04-24T15:20:04.793Z] 2019-04-24 15:20:04.604 INFO 241 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> [2019-04-24T15:20:04.793Z] 2019-04-24 15:20:04.606 INFO 241 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables [2019-04-24T15:20:04.793Z] 2019-04-24 15:20:04.639 INFO 241 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 1 migration to schema "PUBLIC" (execution time 00:00.072s) [2019-04-24T15:20:05.043Z] 2019-04-24 15:20:04.868 INFO 241 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] [2019-04-24T15:20:05.043Z] 2019-04-24 15:20:04.964 INFO 241 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} [2019-04-24T15:20:05.294Z] 2019-04-24 15:20:05.201 INFO 241 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} [2019-04-24T15:20:05.544Z] 2019-04-24 15:20:05.441 INFO 241 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect [2019-04-24T15:20:06.455Z] 2019-04-24 15:20:06.419 INFO 241 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [2019-04-24T15:20:06.455Z] 2019-04-24 15:20:06.422 INFO 241 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' [2019-04-24T15:20:07.799Z] 2019-04-24 15:20:07.671 WARN 241 --- [ 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-24T15:20:08.710Z] 2019-04-24 15:20:08.359 INFO 241 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.265 INFO 241 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.353 INFO 241 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 8.702 seconds (JVM running for 9.884) [2019-04-24T15:20:09.621Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.534 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.551 INFO 241 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.554 INFO 241 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.562 INFO 241 --- [ 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-24T15:20:09.621Z] 2019-04-24 15:20:09.563 INFO 241 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... [2019-04-24T15:20:09.621Z] 2019-04-24 15:20:09.569 INFO 241 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [2019-04-24T15:20:10.172Z] [INFO] [2019-04-24T15:20:10.172Z] [INFO] Results: [2019-04-24T15:20:10.172Z] [INFO] [2019-04-24T15:20:10.172Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [2019-04-24T15:20:10.172Z] [INFO] [2019-04-24T15:20:10.172Z] [INFO] [2019-04-24T15:20:10.172Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- [2019-04-24T15:20:10.723Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar [2019-04-24T15:20:11.274Z] [INFO] [2019-04-24T15:20:11.274Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- [2019-04-24T15:20:13.135Z] [INFO] Replacing main artifact with repackaged archive [2019-04-24T15:20:13.135Z] [INFO] ------------------------------------------------------------------------ [2019-04-24T15:20:13.135Z] [INFO] BUILD SUCCESS [2019-04-24T15:20:13.135Z] [INFO] ------------------------------------------------------------------------ [2019-04-24T15:20:13.135Z] [INFO] Total time: 01:47 min [2019-04-24T15:20:13.135Z] [INFO] Finished at: 2019-04-24T15:20:12Z [2019-04-24T15:20:13.135Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout [2019-04-24T15:20:13.386Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:20:13.679Z] + set +x [2019-04-24T15:20:13.679Z] Starting Docker: docker. [2019-04-24T15:20:13.679Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-04-24T15:20:13.734Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-04-24T15:20:13.764Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:20:14.049Z] + set +x [2019-04-24T15:20:14.049Z] Login as **** to Docker Repository [2019-04-24T15:20:15.910Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/6d457825-3e07-46cf-9fa6-a2dbf88ef320/config.json. [2019-04-24T15:20:15.910Z] Configure a credential helper to remove this warning. See [2019-04-24T15:20:15.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-04-24T15:20:15.910Z] [2019-04-24T15:20:15.910Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-04-24T15:20:16.004Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:20:16.287Z] + set +x [2019-04-24T15:20:16.288Z] Building Docker Image yasys/hub2swarm with tags: [latest] [2019-04-24T15:20:18.770Z] Sending build context to Docker daemon 218.9MB [2019-04-24T15:20:18.770Z] Step 1/7 : FROM java:8-jre [2019-04-24T15:20:20.114Z] 8-jre: Pulling from library/java [2019-04-24T15:20:20.114Z] 5040bd298390: Pulling fs layer [2019-04-24T15:20:20.114Z] fce5728aad85: Pulling fs layer [2019-04-24T15:20:20.114Z] c42794440453: Pulling fs layer [2019-04-24T15:20:20.114Z] 0c0da797ba48: Pulling fs layer [2019-04-24T15:20:20.114Z] 7c9b17433752: Pulling fs layer [2019-04-24T15:20:20.114Z] 114e02586e63: Pulling fs layer [2019-04-24T15:20:20.114Z] e4c663802e9a: Pulling fs layer [2019-04-24T15:20:20.114Z] 7c9b17433752: Waiting [2019-04-24T15:20:20.114Z] 0c0da797ba48: Waiting [2019-04-24T15:20:20.114Z] 114e02586e63: Waiting [2019-04-24T15:20:20.114Z] e4c663802e9a: Waiting [2019-04-24T15:20:20.665Z] c42794440453: Download complete [2019-04-24T15:20:20.915Z] fce5728aad85: Verifying Checksum [2019-04-24T15:20:20.916Z] fce5728aad85: Download complete [2019-04-24T15:20:21.166Z] 5040bd298390: Verifying Checksum [2019-04-24T15:20:21.166Z] 5040bd298390: Download complete [2019-04-24T15:20:21.166Z] 0c0da797ba48: Verifying Checksum [2019-04-24T15:20:21.166Z] 0c0da797ba48: Download complete [2019-04-24T15:20:21.416Z] 7c9b17433752: Verifying Checksum [2019-04-24T15:20:21.416Z] 7c9b17433752: Download complete [2019-04-24T15:20:21.667Z] e4c663802e9a: Verifying Checksum [2019-04-24T15:20:21.667Z] e4c663802e9a: Download complete [2019-04-24T15:20:22.578Z] 114e02586e63: Verifying Checksum [2019-04-24T15:20:22.578Z] 114e02586e63: Download complete [2019-04-24T15:20:25.061Z] 5040bd298390: Pull complete [2019-04-24T15:20:26.923Z] fce5728aad85: Pull complete [2019-04-24T15:20:27.474Z] c42794440453: Pull complete [2019-04-24T15:20:28.818Z] 0c0da797ba48: Pull complete [2019-04-24T15:20:29.731Z] 7c9b17433752: Pull complete [2019-04-24T15:20:34.926Z] 114e02586e63: Pull complete [2019-04-24T15:20:35.477Z] e4c663802e9a: Pull complete [2019-04-24T15:20:35.477Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 [2019-04-24T15:20:35.477Z] Status: Downloaded newer image for java:8-jre [2019-04-24T15:20:35.477Z] ---> e44d62cf8862 [2019-04-24T15:20:35.477Z] Step 2/7 : VOLUME /tmp [2019-04-24T15:20:38.710Z] ---> Running in dab1e5c7b0d8 [2019-04-24T15:20:41.939Z] Removing intermediate container dab1e5c7b0d8 [2019-04-24T15:20:41.939Z] ---> 7506a34426a5 [2019-04-24T15:20:41.939Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) [2019-04-24T15:20:43.800Z] ---> Running in a63444903e35 [2019-04-24T15:20:46.284Z] Removing intermediate container a63444903e35 [2019-04-24T15:20:46.284Z] ---> 4141d2da0cbc [2019-04-24T15:20:46.284Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ [2019-04-24T15:20:49.526Z] ---> d722324419bb [2019-04-24T15:20:49.526Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' [2019-04-24T15:20:52.010Z] ---> Running in 89085661c74c [2019-04-24T15:20:55.238Z] Removing intermediate container 89085661c74c [2019-04-24T15:20:55.238Z] ---> f1248200380d [2019-04-24T15:20:55.238Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar [2019-04-24T15:20:57.722Z] ---> Running in cbfd584a9808 [2019-04-24T15:21:00.951Z] Removing intermediate container cbfd584a9808 [2019-04-24T15:21:00.951Z] ---> d8e540fe85d2 [2019-04-24T15:21:00.951Z] Step 7/7 : EXPOSE 8080 [2019-04-24T15:21:02.814Z] ---> Running in a3e519cc90ce [2019-04-24T15:21:06.044Z] Removing intermediate container a3e519cc90ce [2019-04-24T15:21:06.044Z] ---> 07b3a1c60ffa [2019-04-24T15:21:06.044Z] Successfully built 07b3a1c60ffa [2019-04-24T15:21:06.295Z] Successfully tagged yasys/hub2swarm:latest [2019-04-24T15:21:06.296Z] Docker image yasys/hub2swarm:[latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T15:21:06.370Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:21:06.671Z] + set +x [2019-04-24T15:21:06.671Z] Push yasys/hub2swarm to Docker Repository [2019-04-24T15:21:06.923Z] The push refers to repository [docker.io/yasys/hub2swarm] [2019-04-24T15:21:07.174Z] 3e2f3c2e6c9f: Preparing [2019-04-24T15:21:07.174Z] 27a729d1cc63: Preparing [2019-04-24T15:21:07.174Z] 73ad47d4bc12: Preparing [2019-04-24T15:21:07.174Z] c22c27816361: Preparing [2019-04-24T15:21:07.174Z] 04dba64afa87: Preparing [2019-04-24T15:21:07.174Z] 500ca2ff7d52: Preparing [2019-04-24T15:21:07.174Z] 782d5215f910: Preparing [2019-04-24T15:21:07.174Z] 0eb22bfb707d: Preparing [2019-04-24T15:21:07.174Z] a2ae92ffcd29: Preparing [2019-04-24T15:21:07.174Z] 500ca2ff7d52: Waiting [2019-04-24T15:21:07.174Z] 782d5215f910: Waiting [2019-04-24T15:21:07.174Z] 0eb22bfb707d: Waiting [2019-04-24T15:21:07.174Z] a2ae92ffcd29: Waiting [2019-04-24T15:21:08.085Z] 04dba64afa87: Layer already exists [2019-04-24T15:21:08.336Z] 73ad47d4bc12: Layer already exists [2019-04-24T15:21:08.336Z] c22c27816361: Layer already exists [2019-04-24T15:21:08.887Z] 500ca2ff7d52: Layer already exists [2019-04-24T15:21:08.887Z] 782d5215f910: Layer already exists [2019-04-24T15:21:08.887Z] 0eb22bfb707d: Layer already exists [2019-04-24T15:21:09.138Z] a2ae92ffcd29: Layer already exists [2019-04-24T15:21:19.015Z] 27a729d1cc63: Pushed [2019-04-24T15:21:24.210Z] 3e2f3c2e6c9f: Pushed [2019-04-24T15:21:27.439Z] latest: digest: sha256:b27c81ec8a4aea297f255b34f794e9d6c47a3facbaae512912664cc7e503c18c size: 2211 [2019-04-24T15:21:27.439Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-04-24T15:21:27.586Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-04-24T15:21:27.877Z] + set +x [2019-04-24T15:21:27.877Z] Moikka kyberorg! [2019-04-24T15:21:27.877Z] Here is Docker Summary: [2019-04-24T15:21:27.877Z] Images built and pushed: 1 [2019-04-24T15:21:27.877Z] [ [2019-04-24T15:21:27.877Z] yasys/hub2swarm:latest [2019-04-24T15:21:27.877Z] ] [2019-04-24T15:21:27.877Z] 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-24T15:21:28.002Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-04-24T15:21:28.282Z] + set +x [2019-04-24T15:21:28.282Z] Making workspace writable for correct cleanup [2019-04-24T15:21:28.282Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-04-24T15:21:29.188Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 1331e411d059e5b79f7802f36484204637467b16379c08e0542513f3b20b429a $ docker rm -f 1331e411d059e5b79f7802f36484204637467b16379c08e0542513f3b20b429a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS