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/auth2, since it originates from another repository Seen branch in repository origin/1-simple-navigation Seen branch in repository origin/2-service-mapping Seen branch in repository origin/3-mvp-auth Seen branch in repository origin/4-swarm-login Seen branch in repository origin/5-do-stack-update Seen branch in repository origin/auth Seen branch in repository origin/auth2 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/ui Seen 10 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 35eda6627c309e187e6b60441468ddf3556dd97a (origin/auth2) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 35eda6627c309e187e6b60441468ddf3556dd97a # timeout=10 Commit message: "Login" > /usr/bin/git rev-list --no-walk dd49eca6792e5dea518d7ea2665e70a9890b9024 # 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/auth2, since it originates from another repository Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 [Pipeline] Start of Pipeline Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. [Pipeline] getContext [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/Hub2Swarm [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning repository https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git init /var/lib/jenkins/workspace/Hub2Swarm # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/auth2, since it originates from another repository Seen branch in repository origin/auth Seen branch in repository origin/auth2 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/ui Seen 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 35eda6627c309e187e6b60441468ddf3556dd97a (origin/auth2) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 35eda6627c309e187e6b60441468ddf3556dd97a # timeout=10 Commit message: "Login" [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/799ee138-7632-462c-a4f2-1b8895bc65a6/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 76a3445aae871cd26f0e8a1dcf15ea2cb51da72c6659ecc63857075b20f11611 -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 18:47:02 [2019-05-07T15:47:02.137Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:47:02 [2019-05-07T15:47:02.442Z] + set +x 18:47:02 [2019-05-07T15:47:02.442Z] [Runner info] 18:47:02 [2019-05-07T15:47:02.442Z] Hostname: 76a3445aae87 18:47:02 [2019-05-07T15:47:02.694Z] Network Status: Host Online 18:47:02 [2019-05-07T15:47:02.694Z] 18:47:02 [2019-05-07T15:47:02.694Z] === Tools info === 18:47:02 [2019-05-07T15:47:02.944Z] Docker version: Docker version 18.09.5, build e8ff056dbc 18:47:02 [2019-05-07T15:47:02.944Z] 18:47:02 [2019-05-07T15:47:02.944Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 18:47:02 [2019-05-07T15:47:02.945Z] Maven home: /opt/mvn 18:47:02 [2019-05-07T15:47:02.945Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 18:47:02 [2019-05-07T15:47:02.945Z] Default locale: en, platform encoding: UTF-8 18:47:02 [2019-05-07T15:47:02.945Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 18:47:02 [2019-05-07T15:47:02.945Z] 18:47:02 [2019-05-07T15:47:02.945Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:47:03 [2019-05-07T15:47:03.033Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:47:03 [2019-05-07T15:47:03.340Z] + set +x 18:47:03 [2019-05-07T15:47:03.340Z] [Build info] 18:47:03 [2019-05-07T15:47:03.340Z] ===== Git info ===== 18:47:03 [2019-05-07T15:47:03.340Z] Git branch: auth2 18:47:03 [2019-05-07T15:47:03.340Z] Git commit: 35eda6627c309e187e6b60441468ddf3556dd97a 18:47:03 [2019-05-07T15:47:03.340Z] Git tag: - 18:47:03 [2019-05-07T15:47:03.340Z] 18:47:03 [2019-05-07T15:47:03.340Z] ===== Jenkins info ===== 18:47:03 [2019-05-07T15:47:03.340Z] Jenkins Job #103 18:47:03 [2019-05-07T15:47:03.340Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/103/ 18:47:03 [2019-05-07T15:47:03.340Z] Jenkins Tag: jenkins-Hub2Swarm-103 18:47:03 [2019-05-07T15:47:03.340Z] 18:47:03 [2019-05-07T15:47:03.340Z] ===== Job Params ===== 18:47:03 [2019-05-07T15:47:03.340Z] 18:47:03 [2019-05-07T15:47:03.340Z] dockerRepo=yasys/hub2swarm 18:47:03 [2019-05-07T15:47:03.340Z] dockerStep=ee.yadev.pipe.commonpipe.Default@7413d442 18:47:03 [2019-05-07T15:47:03.340Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@56b9513c 18:47:03 [2019-05-07T15:47:03.340Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@7413d442 18:47:03 [2019-05-07T15:47:03.340Z] hubUrl=https://cloud.docker.com/repository/docker 18:47:03 [2019-05-07T15:47:03.340Z] useDebugTag=false 18:47:03 [2019-05-07T15:47:03.340Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 18:47:03 [2019-05-07T15:47:03.340Z] preparationStep=ee.yadev.pipe.commonpipe.Default@7413d442 18:47:03 [2019-05-07T15:47:03.340Z] stepTimeout=5 18:47:03 [2019-05-07T15:47:03.340Z] hubCredentialsId=docker-hub 18:47:03 [2019-05-07T15:47:03.340Z] class=class ee.yadev.pipe.commonpipe.Params 18:47:03 [2019-05-07T15:47:03.340Z] skipMavenTests=true 18:47:03 [2019-05-07T15:47:03.340Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 18:47:03 [2019-05-07T15:47:03.340Z] verbose=false 18:47:03 [2019-05-07T15:47:03.340Z] mavenTestsTimeout=5 18:47:03 [2019-05-07T15:47:03.340Z] pipelineTimeout=15 18:47:03 [2019-05-07T15:47:03.340Z] hubUser=kyberorg 18:47:03 [2019-05-07T15:47:03.340Z] 18:47:03 [2019-05-07T15:47:03.340Z] ==== Environment Variables ===== 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 18:47:03 [2019-05-07T15:47:03.340Z] GIT_COMMITTER_NAME=Jenkins CI 18:47:03 [2019-05-07T15:47:03.340Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=dd49eca6792e5dea518d7ea2665e70a9890b9024 18:47:03 [2019-05-07T15:47:03.340Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 18:47:03 [2019-05-07T15:47:03.340Z] HOSTNAME=76a3445aae87 18:47:03 [2019-05-07T15:47:03.340Z] gitlabAfter=35eda6627c309e187e6b60441468ddf3556dd97a 18:47:03 [2019-05-07T15:47:03.340Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/103/display/redirect?page=changes 18:47:03 [2019-05-07T15:47:03.340Z] HUDSON_URL=https://ci.yadev.eu/ 18:47:03 [2019-05-07T15:47:03.340Z] GIT_COMMIT=35eda6627c309e187e6b60441468ddf3556dd97a 18:47:03 [2019-05-07T15:47:03.340Z] NODE_LABELS=master 18:47:03 [2019-05-07T15:47:03.340Z] HOME=/root 18:47:03 [2019-05-07T15:47:03.340Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/103/ 18:47:03 [2019-05-07T15:47:03.340Z] GIT_AUTHOR_NAME=Jenkins CI 18:47:03 [2019-05-07T15:47:03.340Z] gitlabTargetBranch=auth2 18:47:03 [2019-05-07T15:47:03.340Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 18:47:03 [2019-05-07T15:47:03.340Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 18:47:03 [2019-05-07T15:47:03.340Z] gitlabMergeRequestLastCommit=35eda6627c309e187e6b60441468ddf3556dd97a 18:47:03 [2019-05-07T15:47:03.340Z] JAVA_VERSION=8u212 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 18:47:03 [2019-05-07T15:47:03.340Z] NODE_NAME=master 18:47:03 [2019-05-07T15:47:03.340Z] GIT_BRANCH=origin/auth2 18:47:03 [2019-05-07T15:47:03.340Z] EXECUTOR_NUMBER=1 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 18:47:03 [2019-05-07T15:47:03.340Z] STAGE_NAME=Execution info 18:47:03 [2019-05-07T15:47:03.340Z] gitlabBranch=auth2 18:47:03 [2019-05-07T15:47:03.340Z] BUILD_DISPLAY_NAME=#103 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceBranch=auth2 18:47:03 [2019-05-07T15:47:03.340Z] gitlabUserEmail=kyberorg@yadev.eu 18:47:03 [2019-05-07T15:47:03.340Z] HUDSON_HOME=/var/lib/jenkins 18:47:03 [2019-05-07T15:47:03.340Z] JOB_BASE_NAME=Hub2Swarm 18:47:03 [2019-05-07T15:47:03.340Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 18:47:03 [2019-05-07T15:47:03.340Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 18:47:03 [2019-05-07T15:47:03.340Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 18:47:03 [2019-05-07T15:47:03.340Z] BUILD_ID=103 18:47:03 [2019-05-07T15:47:03.340Z] BUILDING_FOR=kyberorg 18:47:03 [2019-05-07T15:47:03.340Z] BUILD_TAG=jenkins-Hub2Swarm-103 18:47:03 [2019-05-07T15:47:03.340Z] gitlabBefore=dd49eca6792e5dea518d7ea2665e70a9890b9024 18:47:03 [2019-05-07T15:47:03.340Z] gitlabActionType=PUSH 18:47:03 [2019-05-07T15:47:03.340Z] JENKINS_URL=https://ci.yadev.eu/ 18:47:03 [2019-05-07T15:47:03.340Z] LANG=C.UTF-8 18:47:03 [2019-05-07T15:47:03.340Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 18:47:03 [2019-05-07T15:47:03.340Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceRepoName=Hub2Swarm 18:47:03 [2019-05-07T15:47:03.340Z] BUILD_NUMBER=103 18:47:03 [2019-05-07T15:47:03.340Z] gitlabSourceNamespace=Yet another Systems 18:47:03 [2019-05-07T15:47:03.340Z] JENKINS_NODE_COOKIE=f4056895-9b65-41c2-9545-2b0976b90d83 18:47:03 [2019-05-07T15:47:03.340Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/103/display/redirect 18:47:03 [2019-05-07T15:47:03.340Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 18:47:03 [2019-05-07T15:47:03.340Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 18:47:03 [2019-05-07T15:47:03.340Z] CLASSPATH= 18:47:03 [2019-05-07T15:47:03.340Z] JOB_NAME=Hub2Swarm 18:47:03 [2019-05-07T15:47:03.340Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 18:47:03 [2019-05-07T15:47:03.340Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/799ee138-7632-462c-a4f2-1b8895bc65a6 18:47:03 [2019-05-07T15:47:03.340Z] gitlabUserName=Alex Muravya 18:47:03 [2019-05-07T15:47:03.340Z] JAVA_HOME=/docker-java-home 18:47:03 [2019-05-07T15:47:03.340Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 18:47:03 [2019-05-07T15:47:03.340Z] GIT_PREVIOUS_COMMIT=dd49eca6792e5dea518d7ea2665e70a9890b9024 18:47:03 [2019-05-07T15:47:03.340Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { Scripts not permitted to use staticMethod org.jenkinsci.plugins.workflow.cps.Safepoint safepoint. Administrators can decide whether to approve or reject this signature. [Pipeline] sh 18:47:03 [2019-05-07T15:47:03.794Z] + mvn clean package 18:47:05 [2019-05-07T15:47:05.657Z] [INFO] Scanning for projects... 18:47:05 [2019-05-07T15:47:05.907Z] [INFO] 18:47:05 [2019-05-07T15:47:05.907Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- 18:47:05 [2019-05-07T15:47:05.907Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT 18:47:05 [2019-05-07T15:47:05.907Z] [INFO] --------------------------------[ jar ]--------------------------------- 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] Copying 4 resources 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] Copying 11 resources 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] 18:47:07 [2019-05-07T15:47:07.769Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- 18:47:08 [2019-05-07T15:47:08.019Z] [INFO] Changes detected - recompiling the module! 18:47:08 [2019-05-07T15:47:08.019Z] [INFO] Compiling 44 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java: /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java uses or overrides a deprecated API. 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java: Recompile with -Xlint:deprecation for details. 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java: /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java uses unchecked or unsafe operations. 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] /var/lib/jenkins/workspace/Hub2Swarm/src/main/java/eu/yatech/hub2swarm/config/SecurityConfig.java: Recompile with -Xlint:unchecked for details. 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] Changes detected - recompiling the module! 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] 18:47:12 [2019-05-07T15:47:12.142Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- 18:47:12 [2019-05-07T15:47:12.395Z] [INFO] 18:47:12 [2019-05-07T15:47:12.395Z] [INFO] ------------------------------------------------------- 18:47:12 [2019-05-07T15:47:12.395Z] [INFO] T E S T S 18:47:12 [2019-05-07T15:47:12.395Z] [INFO] ------------------------------------------------------- 18:47:13 [2019-05-07T15:47:13.306Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.154 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.162 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.177 [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)] 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.246 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.280 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.290 [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 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.291 [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 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.291 [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}. 18:47:13 [2019-05-07T15:47:13.307Z] 15:47:13.292 [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. 18:47:13 [2019-05-07T15:47:13.557Z] 15:47:13.377 [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] 18:47:13 [2019-05-07T15:47:13.557Z] 15:47:13.482 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/Hub2Swarm/target/classes/eu/yatech/hub2swarm/Hub2swarmApplication.class] 18:47:13 [2019-05-07T15:47:13.557Z] 15:47:13.484 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.613 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.614 [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] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.640 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6a2f6f80, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@45b4c3a9, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@399c4be1, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@291caca8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@385e9564, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5b94b04d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@8c3b9d, org.springframework.test.context.event.EventPublishingTestExecutionListener@4c39bec8, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@f79e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@7ee8290b, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1f59a598, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1e178745, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@192c3f1e] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.643 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.645 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.648 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.648 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.649 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.650 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.656 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@117e949d testClass = Hub2swarmApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@6db9f5a4 testClass = Hub2swarmApplicationTests, locations = '{}', classes = '{class eu.yatech.hub2swarm.Hub2swarmApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5cdd8682, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@799d4f69, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1445d7f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@797badd3], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null]. 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.659 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.659 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] 18:47:13 [2019-05-07T15:47:13.808Z] 15:47:13.698 [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} 18:47:14 [2019-05-07T15:47:14.359Z] _ _ 18:47:14 [2019-05-07T15:47:14.359Z] __ _ _ __ _ __ | | __ _ _ _ ___ _ _ | |_ 18:47:14 [2019-05-07T15:47:14.359Z] / _` || '_ \ | '_ \ _____ | | / _` || | | | / _ \ | | | || __| 18:47:14 [2019-05-07T15:47:14.359Z] | (_| || |_) || |_) ||_____|| || (_| || |_| || (_) || |_| || |_ 18:47:14 [2019-05-07T15:47:14.359Z] \__,_|| .__/ | .__/ |_| \__,_| \__, | \___/ \__,_| \__| 18:47:14 [2019-05-07T15:47:14.359Z] |_| |_| |___/ 18:47:14 [2019-05-07T15:47:14.359Z] 18:47:14 [2019-05-07T15:47:14.359Z] 2019-05-07 15:47:14.157 WARN 120 --- [ main] ory$DuplicateJsonObjectContextCustomizer : 18:47:14 [2019-05-07T15:47:14.359Z] 18:47:14 [2019-05-07T15:47:14.359Z] Found multiple occurrences of org.json.JSONObject on the class path: 18:47:14 [2019-05-07T15:47:14.359Z] 18:47:14 [2019-05-07T15:47:14.359Z] jar:file:/root/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class 18:47:14 [2019-05-07T15:47:14.359Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class 18:47:14 [2019-05-07T15:47:14.359Z] 18:47:14 [2019-05-07T15:47:14.359Z] You may wish to exclude one of them to ensure predictable runtime behavior 18:47:14 [2019-05-07T15:47:14.359Z] 18:47:14 [2019-05-07T15:47:14.359Z] 2019-05-07 15:47:14.186 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on 76a3445aae87 with PID 120 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) 18:47:14 [2019-05-07T15:47:14.359Z] 2019-05-07 15:47:14.187 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default 18:47:16 [2019-05-07T15:47:16.221Z] 2019-05-07 15:47:16.111 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 18:47:16 [2019-05-07T15:47:16.471Z] 2019-05-07 15:47:16.294 INFO 120 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 165ms. Found 5 repository interfaces. 18:47:17 [2019-05-07T15:47:17.383Z] 2019-05-07 15:47:17.227 INFO 120 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$925a2ef2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 18:47:17 [2019-05-07T15:47:17.933Z] 2019-05-07 15:47:17.748 INFO 120 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse 18:47:17 [2019-05-07T15:47:17.933Z] 2019-05-07 15:47:17.761 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 18:47:18 [2019-05-07T15:47:18.184Z] 2019-05-07 15:47:18.078 INFO 120 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 18:47:18 [2019-05-07T15:47:18.184Z] 2019-05-07 15:47:18.106 INFO 120 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) 18:47:18 [2019-05-07T15:47:18.184Z] 2019-05-07 15:47:18.168 WARN 120 --- [ 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. 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.271 INFO 120 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 5 migrations (execution time 00:00.025s) 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.286 INFO 120 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.320 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.322 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.353 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.372 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.388 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.403 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 5 - Image Replace Policy 18:47:18 [2019-05-07T15:47:18.434Z] 2019-05-07 15:47:18.427 INFO 120 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 5 migrations to schema "PUBLIC" (execution time 00:00.144s) 18:47:18 [2019-05-07T15:47:18.985Z] 2019-05-07 15:47:18.686 INFO 120 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 18:47:18 [2019-05-07T15:47:18.985Z] 2019-05-07 15:47:18.819 INFO 120 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} 18:47:19 [2019-05-07T15:47:19.236Z] 2019-05-07 15:47:19.031 INFO 120 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 18:47:19 [2019-05-07T15:47:19.486Z] 2019-05-07 15:47:19.249 INFO 120 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 18:47:20 [2019-05-07T15:47:20.829Z] 2019-05-07 15:47:20.590 INFO 120 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 18:47:20 [2019-05-07T15:47:20.830Z] 2019-05-07 15:47:20.593 INFO 120 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 18:47:21 [2019-05-07T15:47:21.741Z] 2019-05-07 15:47:21.607 WARN 120 --- [ 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 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.705 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/VAADIN/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.706 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/favicon.ico'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.707 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/robots.txt'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.707 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/manifest.webmanifest'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/sw.js'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/offline-page.html'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/icons/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/images/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/webjars/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/h2-console/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.708 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend-es5/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.709 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend-es6/**'], [] 18:47:23 [2019-05-07T15:47:23.084Z] 2019-05-07 15:47:22.885 INFO 120 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@47d9c01, org.springframework.security.web.context.SecurityContextPersistenceFilter@4ff9f715, org.springframework.security.web.header.HeaderWriterFilter@513fab1e, org.springframework.security.web.authentication.logout.LogoutFilter@3aca2579, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@1a4cbcc6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6cb194f5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@bc52a41, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5358c8fa, org.springframework.security.web.session.SessionManagementFilter@470135da, org.springframework.security.web.access.ExceptionTranslationFilter@41bdaa81, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6294e4a6] 18:47:23 [2019-05-07T15:47:23.635Z] 2019-05-07 15:47:23.629 INFO 120 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 18:47:24 [2019-05-07T15:47:24.978Z] 2019-05-07 15:47:24.914 INFO 120 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 18:47:25 [2019-05-07T15:47:25.229Z] 2019-05-07 15:47:25.114 INFO 120 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Started Hub2swarmApplicationTests in 11.404 seconds (JVM running for 12.615) 18:47:25 [2019-05-07T15:47:25.479Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.295 s - in eu.yatech.hub2swarm.Hub2swarmApplicationTests 18:47:25 [2019-05-07T15:47:25.479Z] 2019-05-07 15:47:25.333 INFO 120 --- [ Thread-3] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 18:47:25 [2019-05-07T15:47:25.479Z] 2019-05-07 15:47:25.338 INFO 120 --- [ Thread-3] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 18:47:25 [2019-05-07T15:47:25.479Z] 2019-05-07 15:47:25.347 INFO 120 --- [ 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] 18:47:25 [2019-05-07T15:47:25.479Z] 2019-05-07 15:47:25.348 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 18:47:25 [2019-05-07T15:47:25.479Z] 2019-05-07 15:47:25.352 INFO 120 --- [ Thread-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] Results: 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ hub2swarm --- 18:47:26 [2019-05-07T15:47:26.030Z] [INFO] Building jar: /var/lib/jenkins/workspace/Hub2Swarm/target/hub2swarm.jar 18:47:26 [2019-05-07T15:47:26.281Z] [INFO] 18:47:26 [2019-05-07T15:47:26.281Z] [INFO] --- spring-boot-maven-plugin:2.2.0.M2:repackage (repackage) @ hub2swarm --- 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] Replacing main artifact with repackaged archive 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] ------------------------------------------------------------------------ 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] BUILD SUCCESS 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] ------------------------------------------------------------------------ 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] Total time: 21.506 s 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] Finished at: 2019-05-07T15:47:26Z 18:47:26 [2019-05-07T15:47:26.831Z] [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout 18:47:27 [2019-05-07T15:47:27.267Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:47:27 [2019-05-07T15:47:27.571Z] + set +x 18:47:27 [2019-05-07T15:47:27.571Z] Starting Docker: docker. 18:47:27 [2019-05-07T15:47:27.571Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials 18:47:27 [2019-05-07T15:47:27.627Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout 18:47:27 [2019-05-07T15:47:27.668Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:47:27 [2019-05-07T15:47:27.957Z] + set +x 18:47:27 [2019-05-07T15:47:27.957Z] Login as **** to Docker Repository 18:47:29 [2019-05-07T15:47:29.819Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/799ee138-7632-462c-a4f2-1b8895bc65a6/config.json. 18:47:29 [2019-05-07T15:47:29.819Z] Configure a credential helper to remove this warning. See 18:47:29 [2019-05-07T15:47:29.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:29 [2019-05-07T15:47:29.819Z] 18:47:29 [2019-05-07T15:47:29.819Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout 18:47:29 [2019-05-07T15:47:29.922Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:47:30 [2019-05-07T15:47:30.211Z] + set +x 18:47:30 [2019-05-07T15:47:30.211Z] Building Docker Image yasys/hub2swarm with tags: [auth2-latest] 18:47:30 [2019-05-07T15:47:30.761Z] Sending build context to Docker daemon 72.71MB 18:47:30 [2019-05-07T15:47:30.761Z] Step 1/7 : FROM java:8-jre 18:47:32 [2019-05-07T15:47:32.105Z] 8-jre: Pulling from library/java 18:47:32 [2019-05-07T15:47:32.105Z] 5040bd298390: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] fce5728aad85: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] c42794440453: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] 0c0da797ba48: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] 7c9b17433752: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] 114e02586e63: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] e4c663802e9a: Pulling fs layer 18:47:32 [2019-05-07T15:47:32.105Z] 0c0da797ba48: Waiting 18:47:32 [2019-05-07T15:47:32.105Z] 7c9b17433752: Waiting 18:47:32 [2019-05-07T15:47:32.105Z] 114e02586e63: Waiting 18:47:32 [2019-05-07T15:47:32.105Z] e4c663802e9a: Waiting 18:47:32 [2019-05-07T15:47:32.656Z] c42794440453: Verifying Checksum 18:47:32 [2019-05-07T15:47:32.656Z] c42794440453: Download complete 18:47:32 [2019-05-07T15:47:32.906Z] fce5728aad85: Verifying Checksum 18:47:32 [2019-05-07T15:47:32.906Z] fce5728aad85: Download complete 18:47:33 [2019-05-07T15:47:33.156Z] 0c0da797ba48: Verifying Checksum 18:47:33 [2019-05-07T15:47:33.156Z] 0c0da797ba48: Download complete 18:47:33 [2019-05-07T15:47:33.156Z] 5040bd298390: Verifying Checksum 18:47:33 [2019-05-07T15:47:33.156Z] 5040bd298390: Download complete 18:47:33 [2019-05-07T15:47:33.707Z] 7c9b17433752: Verifying Checksum 18:47:33 [2019-05-07T15:47:33.707Z] 7c9b17433752: Download complete 18:47:33 [2019-05-07T15:47:33.707Z] e4c663802e9a: Download complete 18:47:34 [2019-05-07T15:47:34.618Z] 114e02586e63: Verifying Checksum 18:47:34 [2019-05-07T15:47:34.618Z] 114e02586e63: Download complete 18:47:37 [2019-05-07T15:47:37.846Z] 5040bd298390: Pull complete 18:47:39 [2019-05-07T15:47:39.708Z] fce5728aad85: Pull complete 18:47:40 [2019-05-07T15:47:40.259Z] c42794440453: Pull complete 18:47:41 [2019-05-07T15:47:41.170Z] 0c0da797ba48: Pull complete 18:47:42 [2019-05-07T15:47:42.513Z] 7c9b17433752: Pull complete 18:47:46 [2019-05-07T15:47:46.637Z] 114e02586e63: Pull complete 18:47:49 [2019-05-07T15:47:49.121Z] e4c663802e9a: Pull complete 18:47:49 [2019-05-07T15:47:49.121Z] Digest: sha256:b91008e234402fc87e7889d6af1f36b6ece844c05989236d83d1f658a6f329b0 18:47:49 [2019-05-07T15:47:49.121Z] Status: Downloaded newer image for java:8-jre 18:47:49 [2019-05-07T15:47:49.121Z] ---> e44d62cf8862 18:47:49 [2019-05-07T15:47:49.121Z] Step 2/7 : VOLUME /tmp 18:47:51 [2019-05-07T15:47:51.604Z] ---> Running in b204569cb73a 18:47:54 [2019-05-07T15:47:54.832Z] Removing intermediate container b204569cb73a 18:47:54 [2019-05-07T15:47:54.832Z] ---> 944e100251ad 18:47:54 [2019-05-07T15:47:54.832Z] Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.eu> 18:47:56 [2019-05-07T15:47:56.694Z] ---> Running in c21ab346b0a8 18:47:59 [2019-05-07T15:47:59.177Z] Removing intermediate container c21ab346b0a8 18:47:59 [2019-05-07T15:47:59.177Z] ---> 7cf414a92e43 18:47:59 [2019-05-07T15:47:59.177Z] Step 4/7 : ADD ./target/hub2swarm.jar /app/ 18:48:02 [2019-05-07T15:48:02.406Z] ---> 6fc2f0422aba 18:48:02 [2019-05-07T15:48:02.406Z] Step 5/7 : RUN sh -c 'touch /app/hub2swarm.jar' 18:48:04 [2019-05-07T15:48:04.889Z] ---> Running in 44fdd83c0bd8 18:48:09 [2019-05-07T15:48:09.012Z] Removing intermediate container 44fdd83c0bd8 18:48:09 [2019-05-07T15:48:09.012Z] ---> a00c8eb212bb 18:48:09 [2019-05-07T15:48:09.012Z] Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/hub2swarm.jar 18:48:11 [2019-05-07T15:48:11.495Z] ---> Running in dd9e6573bae1 18:48:14 [2019-05-07T15:48:14.742Z] Removing intermediate container dd9e6573bae1 18:48:14 [2019-05-07T15:48:14.742Z] ---> 4bf4ca90d5d6 18:48:14 [2019-05-07T15:48:14.742Z] Step 7/7 : EXPOSE 8080 18:48:17 [2019-05-07T15:48:17.226Z] ---> Running in 5df50049203c 18:48:19 [2019-05-07T15:48:19.713Z] Removing intermediate container 5df50049203c 18:48:19 [2019-05-07T15:48:19.713Z] ---> b8ef5e7af699 18:48:19 [2019-05-07T15:48:19.713Z] Successfully built b8ef5e7af699 18:48:19 [2019-05-07T15:48:19.963Z] Successfully tagged yasys/hub2swarm:auth2-latest 18:48:19 [2019-05-07T15:48:19.963Z] Docker image yasys/hub2swarm:[auth2-latest] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:48:20 [2019-05-07T15:48:20.028Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:48:20 [2019-05-07T15:48:20.322Z] + set +x 18:48:20 [2019-05-07T15:48:20.323Z] Push yasys/hub2swarm to Docker Repository 18:48:20 [2019-05-07T15:48:20.323Z] The push refers to repository [docker.io/yasys/hub2swarm] 18:48:20 [2019-05-07T15:48:20.873Z] e3b394319400: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 25420cb67ac1: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 73ad47d4bc12: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] c22c27816361: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 04dba64afa87: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 500ca2ff7d52: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 782d5215f910: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 0eb22bfb707d: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] a2ae92ffcd29: Preparing 18:48:20 [2019-05-07T15:48:20.873Z] 500ca2ff7d52: Waiting 18:48:20 [2019-05-07T15:48:20.873Z] 782d5215f910: Waiting 18:48:20 [2019-05-07T15:48:20.873Z] 0eb22bfb707d: Waiting 18:48:20 [2019-05-07T15:48:20.873Z] a2ae92ffcd29: Waiting 18:48:21 [2019-05-07T15:48:21.785Z] 04dba64afa87: Layer already exists 18:48:21 [2019-05-07T15:48:21.785Z] 73ad47d4bc12: Layer already exists 18:48:21 [2019-05-07T15:48:21.785Z] c22c27816361: Layer already exists 18:48:22 [2019-05-07T15:48:22.336Z] 782d5215f910: Layer already exists 18:48:22 [2019-05-07T15:48:22.336Z] 500ca2ff7d52: Layer already exists 18:48:22 [2019-05-07T15:48:22.336Z] 0eb22bfb707d: Layer already exists 18:48:22 [2019-05-07T15:48:22.886Z] a2ae92ffcd29: Layer already exists 18:48:32 [2019-05-07T15:48:32.762Z] 25420cb67ac1: Pushed 18:48:32 [2019-05-07T15:48:32.762Z] e3b394319400: Pushed 18:48:35 [2019-05-07T15:48:35.991Z] auth2-latest: digest: sha256:e195d0d422ab0ced779590ff246e6f12b91225c55da469ca196edfb5abdfecd9 size: 2211 18:48:35 [2019-05-07T15:48:35.991Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:48:36 [2019-05-07T15:48:36.053Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:48:36 [2019-05-07T15:48:36.340Z] + set +x 18:48:36 [2019-05-07T15:48:36.340Z] Moikka kyberorg! 18:48:36 [2019-05-07T15:48:36.340Z] Here is Docker Summary: 18:48:36 [2019-05-07T15:48:36.340Z] Images built and pushed: 1 18:48:36 [2019-05-07T15:48:36.340Z] [ 18:48:36 [2019-05-07T15:48:36.340Z] yasys/hub2swarm:auth2-latest 18:48:36 [2019-05-07T15:48:36.340Z] ] 18:48:36 [2019-05-07T15:48:36.340Z] 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 18:48:36 [2019-05-07T15:48:36.483Z] One way or another, I have finished. Tsau! [Pipeline] sh 18:48:36 [2019-05-07T15:48:36.771Z] + set +x 18:48:36 [2019-05-07T15:48:36.771Z] Making workspace writable for correct cleanup 18:48:36 [2019-05-07T15:48:36.771Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 18:48:36 [2019-05-07T15:48:36.858Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 76a3445aae871cd26f0e8a1dcf15ea2cb51da72c6659ecc63857075b20f11611 $ docker rm -f 76a3445aae871cd26f0e8a1dcf15ea2cb51da72c6659ecc63857075b20f11611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS