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 64c8e69958f0274f109d1ee19cad4d564d85d07a (origin/auth2) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 64c8e69958f0274f109d1ee19cad4d564d85d07a # timeout=10 Commit message: "no null" > /usr/bin/git rev-list --no-walk c94b6f987a1ad7777692e794f16d94297cbb2409 # 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 64c8e69958f0274f109d1ee19cad4d564d85d07a (origin/auth2) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 64c8e69958f0274f109d1ee19cad4d564d85d07a # timeout=10 Commit message: "no null" [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/c990c1f2-a88c-46c2-8dec-0b0c7dc2a9a4/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 d7359580d3a4afe7ad0f62b75b84e2a66cd03f997300a364072cac7469724825 -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-05-08T13:54:49.699Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-08T13:54:49.998Z] + set +x [2019-05-08T13:54:49.998Z] [Runner info] [2019-05-08T13:54:49.998Z] Hostname: d7359580d3a4 [2019-05-08T13:54:50.250Z] Network Status: Host Online [2019-05-08T13:54:50.250Z] [2019-05-08T13:54:50.250Z] === Tools info === [2019-05-08T13:54:50.501Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-05-08T13:54:50.501Z] [2019-05-08T13:54:50.501Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-05-08T13:54:50.501Z] Maven home: /opt/mvn [2019-05-08T13:54:50.501Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-05-08T13:54:50.501Z] Default locale: en, platform encoding: UTF-8 [2019-05-08T13:54:50.501Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-05-08T13:54:50.501Z] [2019-05-08T13:54:50.501Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-08T13:54:50.588Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-08T13:54:50.898Z] + set +x [2019-05-08T13:54:50.898Z] [Build info] [2019-05-08T13:54:50.898Z] ===== Git info ===== [2019-05-08T13:54:50.898Z] Git branch: auth2 [2019-05-08T13:54:50.898Z] Git commit: 64c8e69958f0274f109d1ee19cad4d564d85d07a [2019-05-08T13:54:50.898Z] Git tag: - [2019-05-08T13:54:50.898Z] [2019-05-08T13:54:50.898Z] ===== Jenkins info ===== [2019-05-08T13:54:50.898Z] Jenkins Job #106 [2019-05-08T13:54:50.898Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/106/ [2019-05-08T13:54:50.898Z] Jenkins Tag: jenkins-Hub2Swarm-106 [2019-05-08T13:54:50.898Z] [2019-05-08T13:54:50.898Z] ===== Job Params ===== [2019-05-08T13:54:50.898Z] [2019-05-08T13:54:50.898Z] dockerRepo=yasys/hub2swarm [2019-05-08T13:54:50.898Z] dockerStep=ee.yadev.pipe.commonpipe.Default@3a72d1b4 [2019-05-08T13:54:50.898Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@3c97f96e [2019-05-08T13:54:50.898Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@3a72d1b4 [2019-05-08T13:54:50.898Z] hubUrl=https://cloud.docker.com/repository/docker [2019-05-08T13:54:50.898Z] useDebugTag=false [2019-05-08T13:54:50.898Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-05-08T13:54:50.898Z] preparationStep=ee.yadev.pipe.commonpipe.Default@3a72d1b4 [2019-05-08T13:54:50.898Z] stepTimeout=5 [2019-05-08T13:54:50.898Z] hubCredentialsId=docker-hub [2019-05-08T13:54:50.898Z] class=class ee.yadev.pipe.commonpipe.Params [2019-05-08T13:54:50.898Z] skipMavenTests=true [2019-05-08T13:54:50.898Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-05-08T13:54:50.898Z] verbose=false [2019-05-08T13:54:50.898Z] mavenTestsTimeout=5 [2019-05-08T13:54:50.898Z] pipelineTimeout=15 [2019-05-08T13:54:50.898Z] hubUser=kyberorg [2019-05-08T13:54:50.898Z] [2019-05-08T13:54:50.898Z] ==== Environment Variables ===== [2019-05-08T13:54:50.898Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-05-08T13:54:50.898Z] GIT_COMMITTER_NAME=Jenkins CI [2019-05-08T13:54:50.898Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=93c47f901360abec048a8b45b93be01604273557 [2019-05-08T13:54:50.898Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-05-08T13:54:50.898Z] HOSTNAME=d7359580d3a4 [2019-05-08T13:54:50.898Z] gitlabAfter=64c8e69958f0274f109d1ee19cad4d564d85d07a [2019-05-08T13:54:50.898Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/106/display/redirect?page=changes [2019-05-08T13:54:50.898Z] GIT_COMMIT=64c8e69958f0274f109d1ee19cad4d564d85d07a [2019-05-08T13:54:50.898Z] HUDSON_URL=https://ci.yadev.eu/ [2019-05-08T13:54:50.898Z] NODE_LABELS=master [2019-05-08T13:54:50.898Z] HOME=/root [2019-05-08T13:54:50.898Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/106/ [2019-05-08T13:54:50.898Z] GIT_AUTHOR_NAME=Jenkins CI [2019-05-08T13:54:50.898Z] gitlabTargetBranch=auth2 [2019-05-08T13:54:50.898Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-05-08T13:54:50.898Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-08T13:54:50.898Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-05-08T13:54:50.898Z] gitlabMergeRequestLastCommit=64c8e69958f0274f109d1ee19cad4d564d85d07a [2019-05-08T13:54:50.898Z] JAVA_VERSION=8u212 [2019-05-08T13:54:50.898Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-05-08T13:54:50.898Z] NODE_NAME=master [2019-05-08T13:54:50.898Z] EXECUTOR_NUMBER=1 [2019-05-08T13:54:50.898Z] GIT_BRANCH=origin/auth2 [2019-05-08T13:54:50.898Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-05-08T13:54:50.898Z] STAGE_NAME=Execution info [2019-05-08T13:54:50.898Z] gitlabBranch=auth2 [2019-05-08T13:54:50.898Z] gitlabSourceBranch=auth2 [2019-05-08T13:54:50.898Z] gitlabUserEmail=kyberorg@yadev.eu [2019-05-08T13:54:50.898Z] BUILD_DISPLAY_NAME=#106 [2019-05-08T13:54:50.898Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-05-08T13:54:50.898Z] HUDSON_HOME=/var/lib/jenkins [2019-05-08T13:54:50.898Z] JOB_BASE_NAME=Hub2Swarm [2019-05-08T13:54:50.898Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-05-08T13:54:50.898Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-05-08T13:54:50.898Z] BUILD_ID=106 [2019-05-08T13:54:50.898Z] BUILDING_FOR=kyberorg [2019-05-08T13:54:50.898Z] BUILD_TAG=jenkins-Hub2Swarm-106 [2019-05-08T13:54:50.898Z] gitlabActionType=PUSH [2019-05-08T13:54:50.898Z] gitlabBefore=c94b6f987a1ad7777692e794f16d94297cbb2409 [2019-05-08T13:54:50.898Z] JENKINS_URL=https://ci.yadev.eu/ [2019-05-08T13:54:50.898Z] LANG=C.UTF-8 [2019-05-08T13:54:50.898Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-05-08T13:54:50.898Z] gitlabSourceRepoName=Hub2Swarm [2019-05-08T13:54:50.898Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-05-08T13:54:50.898Z] BUILD_NUMBER=106 [2019-05-08T13:54:50.898Z] gitlabSourceNamespace=Yet another Systems [2019-05-08T13:54:50.898Z] JENKINS_NODE_COOKIE=13cbc91a-06e8-49fd-bcd8-46f811823be2 [2019-05-08T13:54:50.898Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/106/display/redirect [2019-05-08T13:54:50.898Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-05-08T13:54:50.898Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-05-08T13:54:50.898Z] CLASSPATH= [2019-05-08T13:54:50.898Z] JOB_NAME=Hub2Swarm [2019-05-08T13:54:50.898Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-05-08T13:54:50.898Z] gitlabUserName=Alex Muravya [2019-05-08T13:54:50.898Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/c990c1f2-a88c-46c2-8dec-0b0c7dc2a9a4 [2019-05-08T13:54:50.898Z] JAVA_HOME=/docker-java-home [2019-05-08T13:54:50.898Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-08T13:54:50.898Z] GIT_PREVIOUS_COMMIT=c94b6f987a1ad7777692e794f16d94297cbb2409 [2019-05-08T13:54:50.898Z] 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 [2019-05-08T13:54:51.331Z] + mvn clean package [2019-05-08T13:54:53.194Z] [INFO] Scanning for projects... [2019-05-08T13:54:53.194Z] [INFO] [2019-05-08T13:54:53.194Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-05-08T13:54:53.194Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-05-08T13:54:53.194Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-05-08T13:54:55.070Z] [INFO] [2019-05-08T13:54:55.071Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-05-08T13:54:55.321Z] [INFO] [2019-05-08T13:54:55.321Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-05-08T13:54:55.321Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-08T13:54:55.321Z] [INFO] Copying 4 resources [2019-05-08T13:54:55.321Z] [INFO] Copying 12 resources [2019-05-08T13:54:55.572Z] [INFO] [2019-05-08T13:54:55.572Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-05-08T13:54:55.572Z] [INFO] Changes detected - recompiling the module! [2019-05-08T13:54:55.572Z] [INFO] Compiling 47 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-05-08T13:54:59.694Z] [INFO] [2019-05-08T13:54:59.694Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-05-08T13:54:59.694Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-08T13:54:59.694Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources [2019-05-08T13:54:59.694Z] [INFO] [2019-05-08T13:54:59.694Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-05-08T13:54:59.694Z] [INFO] Changes detected - recompiling the module! [2019-05-08T13:54:59.694Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes [2019-05-08T13:55:00.245Z] [INFO] [2019-05-08T13:55:00.245Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-05-08T13:55:00.796Z] [INFO] [2019-05-08T13:55:00.796Z] [INFO] ------------------------------------------------------- [2019-05-08T13:55:00.796Z] [INFO] T E S T S [2019-05-08T13:55:00.796Z] [INFO] ------------------------------------------------------- [2019-05-08T13:55:01.347Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-08T13:55:01.597Z] 13:55:01.353 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:01.597Z] 13:55:01.361 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] [2019-05-08T13:55:01.597Z] 13:55:01.378 [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-05-08T13:55:01.597Z] 13:55:01.455 [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-05-08T13:55:01.597Z] 13:55:01.496 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader [2019-05-08T13:55:01.597Z] 13:55:01.509 [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-05-08T13:55:01.597Z] 13:55:01.510 [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-05-08T13:55:01.597Z] 13:55:01.511 [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-05-08T13:55:01.597Z] 13:55:01.513 [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-05-08T13:55:01.848Z] 13:55:01.658 [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-05-08T13:55:02.109Z] 13:55:02.067 [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-05-08T13:55:02.109Z] 13:55:02.075 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-08T13:55:02.359Z] 13:55:02.339 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. [2019-05-08T13:55:02.360Z] 13:55:02.340 [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-05-08T13:55:02.610Z] 13:55:02.377 [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] [2019-05-08T13:55:02.610Z] 13:55:02.381 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.383 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.386 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.386 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.387 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.387 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.395 [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]. [2019-05-08T13:55:02.610Z] 13:55:02.399 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.400 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-08T13:55:02.610Z] 13:55:02.441 [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-05-08T13:55:02.861Z] _ _ [2019-05-08T13:55:02.861Z] __ _ _ __ _ __ | | __ _ _ _ ___ _ _ | |_ [2019-05-08T13:55:02.861Z] / _` || '_ \ | '_ \ _____ | | / _` || | | | / _ \ | | | || __| [2019-05-08T13:55:02.861Z] | (_| || |_) || |_) ||_____|| || (_| || |_| || (_) || |_| || |_ [2019-05-08T13:55:02.861Z] \__,_|| .__/ | .__/ |_| \__,_| \__, | \___/ \__,_| \__| [2019-05-08T13:55:02.861Z] |_| |_| |___/ [2019-05-08T13:55:02.861Z] [2019-05-08T13:55:03.112Z] 2019-05-08 13:55:02.889 WARN 121 --- [ main] ory$DuplicateJsonObjectContextCustomizer : [2019-05-08T13:55:03.112Z] [2019-05-08T13:55:03.112Z] Found multiple occurrences of org.json.JSONObject on the class path: [2019-05-08T13:55:03.112Z] [2019-05-08T13:55:03.112Z] 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 [2019-05-08T13:55:03.112Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class [2019-05-08T13:55:03.112Z] [2019-05-08T13:55:03.112Z] You may wish to exclude one of them to ensure predictable runtime behavior [2019-05-08T13:55:03.112Z] [2019-05-08T13:55:03.112Z] 2019-05-08 13:55:02.917 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : Starting Hub2swarmApplicationTests on d7359580d3a4 with PID 121 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) [2019-05-08T13:55:03.112Z] 2019-05-08 13:55:02.919 INFO 121 --- [ main] e.y.hub2swarm.Hub2swarmApplicationTests : No active profile set, falling back to default profiles: default [2019-05-08T13:55:04.974Z] 2019-05-08 13:55:04.932 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. [2019-05-08T13:55:05.224Z] 2019-05-08 13:55:05.125 INFO 121 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 174ms. Found 6 repository interfaces. [2019-05-08T13:55:06.135Z] 2019-05-08 13:55:06.060 INFO 121 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$bcbcfe9c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2019-05-08T13:55:06.686Z] 2019-05-08 13:55:06.548 INFO 121 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse [2019-05-08T13:55:06.686Z] 2019-05-08 13:55:06.561 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... [2019-05-08T13:55:06.937Z] 2019-05-08 13:55:06.886 INFO 121 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. [2019-05-08T13:55:06.937Z] 2019-05-08 13:55:06.897 INFO 121 --- [ main] o.f.c.internal.database.DatabaseFactory : Database: jdbc:h2:mem:testdb (H2 1.4) [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:06.959 WARN 121 --- [ main] o.f.c.internal.database.base.Database : Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:07.076 INFO 121 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 6 migrations (execution time 00:00.033s) [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:07.094 INFO 121 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table: "PUBLIC"."flyway_schema_history" [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:07.144 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:07.146 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 1 - Tables [2019-05-08T13:55:07.187Z] 2019-05-08 13:55:07.183 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 2 - Stack Table [2019-05-08T13:55:07.438Z] 2019-05-08 13:55:07.212 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 3 - Creds Table [2019-05-08T13:55:07.438Z] 2019-05-08 13:55:07.229 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 4 - Token Table [2019-05-08T13:55:07.438Z] 2019-05-08 13:55:07.245 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 5 - Image Replace Policy [2019-05-08T13:55:07.438Z] 2019-05-08 13:55:07.274 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version 6 - User Table [2019-05-08T13:55:07.438Z] 2019-05-08 13:55:07.289 INFO 121 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 6 migrations to schema "PUBLIC" (execution time 00:00.199s) [2019-05-08T13:55:07.688Z] 2019-05-08 13:55:07.544 INFO 121 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] [2019-05-08T13:55:07.688Z] 2019-05-08 13:55:07.656 INFO 121 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.2.Final} [2019-05-08T13:55:07.939Z] 2019-05-08 13:55:07.922 INFO 121 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} [2019-05-08T13:55:08.489Z] 2019-05-08 13:55:08.192 INFO 121 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect [2019-05-08T13:55:09.833Z] 2019-05-08 13:55:09.499 INFO 121 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] [2019-05-08T13:55:09.833Z] 2019-05-08 13:55:09.512 INFO 121 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' [2019-05-08T13:55:10.744Z] 2019-05-08 13:55:10.652 WARN 121 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/VAADIN/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/favicon.ico'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/robots.txt'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/manifest.webmanifest'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/sw.js'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/offline-page.html'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/icons/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.746 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/images/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.747 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.747 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/webjars/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.747 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/h2-console/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.747 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend-es5/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.747 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/frontend-es6/**'], [] [2019-05-08T13:55:12.087Z] 2019-05-08 13:55:11.922 INFO 121 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1d1c63af, org.springframework.security.web.context.SecurityContextPersistenceFilter@6edd4fe2, org.springframework.security.web.header.HeaderWriterFilter@6f6f65a4, org.springframework.security.web.authentication.logout.LogoutFilter@3c910acd, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@7296fe0b, org.springframework.security.web.session.ConcurrentSessionFilter@67593f7b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5366575d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@256a5df0, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2095c331, org.springframework.security.web.session.SessionManagementFilter@3dea1ecc, org.springframework.security.web.access.ExceptionTranslationFilter@527d5e48, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3c6fb501] [2019-05-08T13:55:12.638Z] 2019-05-08 13:55:12.611 INFO 121 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' [2019-05-08T13:55:13.981Z] 2019-05-08 13:55:13.911 INFO 121 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' [2019-05-08T13:55:14.532Z] Nowhere to save first user's password [2019-05-08T13:55:14.783Z] [INFO] [2019-05-08T13:55:14.783Z] [INFO] Results: [2019-05-08T13:55:14.783Z] [INFO] [2019-05-08T13:55:14.783Z] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [2019-05-08T13:55:14.783Z] [INFO] [2019-05-08T13:55:14.783Z] [INFO] ------------------------------------------------------------------------ [2019-05-08T13:55:14.783Z] [INFO] BUILD FAILURE [2019-05-08T13:55:14.783Z] [INFO] ------------------------------------------------------------------------ [2019-05-08T13:55:14.783Z] [INFO] Total time: 22.022 s [2019-05-08T13:55:14.783Z] [INFO] Finished at: 2019-05-08T13:55:14Z [2019-05-08T13:55:14.783Z] [INFO] ------------------------------------------------------------------------ [2019-05-08T13:55:14.783Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project hub2swarm: There are test failures. [2019-05-08T13:55:14.783Z] [ERROR] [2019-05-08T13:55:14.783Z] [ERROR] Please refer to /var/lib/jenkins/workspace/Hub2Swarm/target/surefire-reports for the individual test results. [2019-05-08T13:55:14.783Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-05-08T13:55:14.783Z] [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [2019-05-08T13:55:14.783Z] [ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/Hub2Swarm && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /var/lib/jenkins/workspace/Hub2Swarm/target/surefire/surefirebooter7815470653910635347.jar /var/lib/jenkins/workspace/Hub2Swarm/target/surefire 2019-05-08T13-55-00_265-jvmRun1 surefire1685000613973856182tmp surefire_06923132650947476129tmp [2019-05-08T13:55:14.783Z] [ERROR] Error occurred in starting fork, check output in log [2019-05-08T13:55:14.783Z] [ERROR] Process Exit Code: 4 [2019-05-08T13:55:14.783Z] [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [2019-05-08T13:55:14.783Z] [ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/Hub2Swarm && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /var/lib/jenkins/workspace/Hub2Swarm/target/surefire/surefirebooter7815470653910635347.jar /var/lib/jenkins/workspace/Hub2Swarm/target/surefire 2019-05-08T13-55-00_265-jvmRun1 surefire1685000613973856182tmp surefire_06923132650947476129tmp [2019-05-08T13:55:14.783Z] [ERROR] Error occurred in starting fork, check output in log [2019-05-08T13:55:14.783Z] [ERROR] Process Exit Code: 4 [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) [2019-05-08T13:55:14.783Z] [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192) [2019-05-08T13:55:14.783Z] [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2019-05-08T13:55:14.783Z] [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2019-05-08T13:55:14.783Z] [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2019-05-08T13:55:14.783Z] [ERROR] at java.lang.reflect.Method.invoke(Method.java:498) [2019-05-08T13:55:14.783Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) [2019-05-08T13:55:14.783Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) [2019-05-08T13:55:14.783Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) [2019-05-08T13:55:14.783Z] [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [2019-05-08T13:55:14.783Z] [ERROR] [2019-05-08T13:55:14.783Z] [ERROR] -> [Help 1] [2019-05-08T13:55:14.783Z] [ERROR] [2019-05-08T13:55:14.783Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [2019-05-08T13:55:14.783Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2019-05-08T13:55:14.783Z] [ERROR] [2019-05-08T13:55:14.783Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2019-05-08T13:55:14.783Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) Stage "Docker: Build and Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo [2019-05-08T13:55:15.226Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-05-08T13:55:15.512Z] + set +x [2019-05-08T13:55:15.512Z] Making workspace writable for correct cleanup [2019-05-08T13:55:15.512Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-05-08T13:55:15.553Z] Perkele! I failed :( [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 d7359580d3a4afe7ad0f62b75b84e2a66cd03f997300a364072cac7469724825 $ docker rm -f d7359580d3a4afe7ad0f62b75b84e2a66cd03f997300a364072cac7469724825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE