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/ui-detach, 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/8-replacePolicy Seen branch in repository origin/auth Seen branch in repository origin/auth2 Seen branch in repository origin/deployments Seen branch in repository origin/logging Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/tryagain Seen branch in repository origin/ui Seen branch in repository origin/ui-detach Seen 15 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision a7952f7e17d19e6ca78ca8055bbcd9811938d939 (origin/ui-detach) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a7952f7e17d19e6ca78ca8055bbcd9811938d939 # timeout=10 Commit message: "Fix" > /usr/bin/git rev-list --no-walk 452099228cf74de48819b5ff55901324ed641419 # 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/ui-detach, since it originates from another repository Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 [Pipeline] Start of Pipeline [Pipeline] getContext [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/Hub2Swarm [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning repository https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git init /var/lib/jenkins/workspace/Hub2Swarm # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/ui-detach, since it originates from another repository Seen branch in repository origin/auth Seen branch in repository origin/master Seen branch in repository origin/trunk Seen branch in repository origin/ui Seen branch in repository origin/ui-detach Seen 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision a7952f7e17d19e6ca78ca8055bbcd9811938d939 (origin/ui-detach) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a7952f7e17d19e6ca78ca8055bbcd9811938d939 # timeout=10 Commit message: "Fix" [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/e64acfd7-928b-43a2-b973-982e3f315f9e/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 8e407d31420b53f28d57ecb083719f716d46de48f79f1050e55f9b6dc8834261 -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-27T09:47:55.545Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T09:47:55.875Z] + set +x [2019-05-27T09:47:55.875Z] [Runner info] [2019-05-27T09:47:55.875Z] Hostname: 8e407d31420b [2019-05-27T09:47:56.127Z] Network Status: Host Online [2019-05-27T09:47:56.127Z] [2019-05-27T09:47:56.127Z] === Tools info === [2019-05-27T09:47:56.377Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-05-27T09:47:56.377Z] [2019-05-27T09:47:56.377Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-05-27T09:47:56.377Z] Maven home: /opt/mvn [2019-05-27T09:47:56.377Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-05-27T09:47:56.377Z] Default locale: en, platform encoding: UTF-8 [2019-05-27T09:47:56.377Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-05-27T09:47:56.377Z] [2019-05-27T09:47:56.377Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-27T09:47:56.487Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T09:47:56.810Z] + set +x [2019-05-27T09:47:56.810Z] [Build info] [2019-05-27T09:47:56.810Z] ===== Git info ===== [2019-05-27T09:47:56.810Z] Git branch: ui-detach [2019-05-27T09:47:56.810Z] Git commit: a7952f7e17d19e6ca78ca8055bbcd9811938d939 [2019-05-27T09:47:56.810Z] Git tag: - [2019-05-27T09:47:56.810Z] [2019-05-27T09:47:56.810Z] ===== Jenkins info ===== [2019-05-27T09:47:56.810Z] Jenkins Job #165 [2019-05-27T09:47:56.810Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/165/ [2019-05-27T09:47:56.810Z] Jenkins Tag: jenkins-Hub2Swarm-165 [2019-05-27T09:47:56.810Z] [2019-05-27T09:47:56.810Z] ===== Job Params ===== [2019-05-27T09:47:56.810Z] [2019-05-27T09:47:56.810Z] dockerRepo=yasys/hub2swarm [2019-05-27T09:47:56.810Z] dockerStep=ee.yadev.pipe.commonpipe.Default@27a333e4 [2019-05-27T09:47:56.810Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@1b94a76b [2019-05-27T09:47:56.810Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@27a333e4 [2019-05-27T09:47:56.810Z] hubUrl=https://cloud.docker.com/repository/docker [2019-05-27T09:47:56.810Z] useDebugTag=false [2019-05-27T09:47:56.810Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-05-27T09:47:56.810Z] preparationStep=ee.yadev.pipe.commonpipe.Default@27a333e4 [2019-05-27T09:47:56.810Z] stepTimeout=5 [2019-05-27T09:47:56.810Z] hubCredentialsId=docker-hub [2019-05-27T09:47:56.810Z] class=class ee.yadev.pipe.commonpipe.Params [2019-05-27T09:47:56.810Z] skipMavenTests=true [2019-05-27T09:47:56.810Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-05-27T09:47:56.810Z] verbose=false [2019-05-27T09:47:56.810Z] mavenTestsTimeout=5 [2019-05-27T09:47:56.810Z] pipelineTimeout=15 [2019-05-27T09:47:56.810Z] hubUser=kyberorg [2019-05-27T09:47:56.810Z] [2019-05-27T09:47:56.810Z] ==== Environment Variables ===== [2019-05-27T09:47:56.810Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git [2019-05-27T09:47:56.810Z] GIT_COMMITTER_NAME=Jenkins CI [2019-05-27T09:47:56.810Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=34b3a0e2d2bc692902493b9f9683491338d545af [2019-05-27T09:47:56.810Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-05-27T09:47:56.810Z] HOSTNAME=8e407d31420b [2019-05-27T09:47:56.810Z] gitlabAfter=a7952f7e17d19e6ca78ca8055bbcd9811938d939 [2019-05-27T09:47:56.810Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/165/display/redirect?page=changes [2019-05-27T09:47:56.810Z] GIT_COMMIT=a7952f7e17d19e6ca78ca8055bbcd9811938d939 [2019-05-27T09:47:56.810Z] HUDSON_URL=https://ci.yadev.eu/ [2019-05-27T09:47:56.810Z] NODE_LABELS=master [2019-05-27T09:47:56.810Z] HOME=/root [2019-05-27T09:47:56.810Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/165/ [2019-05-27T09:47:56.810Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d [2019-05-27T09:47:56.810Z] gitlabTargetBranch=ui-detach [2019-05-27T09:47:56.810Z] GIT_AUTHOR_NAME=Jenkins CI [2019-05-27T09:47:56.810Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git [2019-05-27T09:47:56.810Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-27T09:47:56.810Z] gitlabMergeRequestLastCommit=a7952f7e17d19e6ca78ca8055bbcd9811938d939 [2019-05-27T09:47:56.810Z] JAVA_VERSION=8u212 [2019-05-27T09:47:56.810Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git [2019-05-27T09:47:56.810Z] NODE_NAME=master [2019-05-27T09:47:56.810Z] GIT_BRANCH=origin/ui-detach [2019-05-27T09:47:56.810Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm [2019-05-27T09:47:56.810Z] EXECUTOR_NUMBER=0 [2019-05-27T09:47:56.810Z] STAGE_NAME=Execution info [2019-05-27T09:47:56.810Z] gitlabBranch=ui-detach [2019-05-27T09:47:56.810Z] gitlabUserEmail=kyberorg@yadev.eu [2019-05-27T09:47:56.810Z] BUILD_DISPLAY_NAME=#165 [2019-05-27T09:47:56.810Z] gitlabSourceBranch=ui-detach [2019-05-27T09:47:56.810Z] JOB_BASE_NAME=Hub2Swarm [2019-05-27T09:47:56.810Z] HUDSON_HOME=/var/lib/jenkins [2019-05-27T09:47:56.810Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-05-27T09:47:56.810Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-05-27T09:47:56.810Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-05-27T09:47:56.810Z] BUILD_ID=165 [2019-05-27T09:47:56.810Z] BUILDING_FOR=kyberorg [2019-05-27T09:47:56.810Z] BUILD_TAG=jenkins-Hub2Swarm-165 [2019-05-27T09:47:56.810Z] gitlabBefore=452099228cf74de48819b5ff55901324ed641419 [2019-05-27T09:47:56.810Z] gitlabActionType=PUSH [2019-05-27T09:47:56.810Z] JENKINS_URL=https://ci.yadev.eu/ [2019-05-27T09:47:56.810Z] LANG=C.UTF-8 [2019-05-27T09:47:56.810Z] gitlabSourceRepoName=Hub2Swarm [2019-05-27T09:47:56.810Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ [2019-05-27T09:47:56.810Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git [2019-05-27T09:47:56.810Z] gitlabSourceNamespace=Yet another Systems [2019-05-27T09:47:56.810Z] BUILD_NUMBER=165 [2019-05-27T09:47:56.810Z] JENKINS_NODE_COOKIE=e368c68d-5b7a-4bfa-9eef-1828e8dddbed [2019-05-27T09:47:56.810Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/165/display/redirect [2019-05-27T09:47:56.810Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-05-27T09:47:56.810Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect [2019-05-27T09:47:56.810Z] CLASSPATH= [2019-05-27T09:47:56.811Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-05-27T09:47:56.811Z] JOB_NAME=Hub2Swarm [2019-05-27T09:47:56.811Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/e64acfd7-928b-43a2-b973-982e3f315f9e [2019-05-27T09:47:56.811Z] gitlabUserName=Alex Muravya [2019-05-27T09:47:56.811Z] JAVA_HOME=/docker-java-home [2019-05-27T09:47:56.811Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm [2019-05-27T09:47:56.811Z] GIT_PREVIOUS_COMMIT=452099228cf74de48819b5ff55901324ed641419 [2019-05-27T09:47:56.811Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] sh [2019-05-27T09:47:57.326Z] + mvn clean package [2019-05-27T09:47:59.190Z] [INFO] Scanning for projects... [2019-05-27T09:47:59.440Z] [INFO] [2019-05-27T09:47:59.440Z] [INFO] ------------------------< eu.yatech:hub2swarm >------------------------- [2019-05-27T09:47:59.440Z] [INFO] Building hub2swarm 0.0.1-SNAPSHOT [2019-05-27T09:47:59.440Z] [INFO] --------------------------------[ jar ]--------------------------------- [2019-05-27T09:48:01.306Z] [INFO] [2019-05-27T09:48:01.306Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hub2swarm --- [2019-05-27T09:48:01.306Z] [INFO] [2019-05-27T09:48:01.306Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hub2swarm --- [2019-05-27T09:48:01.306Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-27T09:48:01.306Z] [INFO] Copying 4 resources [2019-05-27T09:48:01.306Z] [INFO] Copying 12 resources [2019-05-27T09:48:01.306Z] [INFO] [2019-05-27T09:48:01.306Z] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hub2swarm --- [2019-05-27T09:48:01.306Z] [INFO] Changes detected - recompiling the module! [2019-05-27T09:48:01.306Z] [INFO] Compiling 55 source files to /var/lib/jenkins/workspace/Hub2Swarm/target/classes [2019-05-27T09:48:05.429Z] [INFO] [2019-05-27T09:48:05.429Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hub2swarm --- [2019-05-27T09:48:05.429Z] [INFO] Using 'UTF-8' encoding to copy filtered resources. [2019-05-27T09:48:05.429Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Hub2Swarm/src/test/resources [2019-05-27T09:48:05.429Z] [INFO] [2019-05-27T09:48:05.429Z] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hub2swarm --- [2019-05-27T09:48:05.429Z] [INFO] Changes detected - recompiling the module! [2019-05-27T09:48:05.429Z] [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Hub2Swarm/target/test-classes [2019-05-27T09:48:05.979Z] [INFO] [2019-05-27T09:48:05.979Z] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hub2swarm --- [2019-05-27T09:48:06.230Z] [INFO] [2019-05-27T09:48:06.230Z] [INFO] ------------------------------------------------------- [2019-05-27T09:48:06.230Z] [INFO] T E S T S [2019-05-27T09:48:06.230Z] [INFO] ------------------------------------------------------- [2019-05-27T09:48:06.780Z] [INFO] Running eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-27T09:48:07.031Z] 09:48:06.858 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.031Z] 09:48:06.864 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] [2019-05-27T09:48:07.031Z] 09:48:06.876 [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-27T09:48:07.031Z] 09:48:06.930 [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-27T09:48:07.031Z] 09:48:06.956 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests], using SpringBootContextLoader [2019-05-27T09:48:07.031Z] 09:48:06.962 [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-27T09:48:07.031Z] 09:48:06.963 [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-27T09:48:07.031Z] 09:48:06.964 [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-27T09:48:07.031Z] 09:48:06.965 [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-27T09:48:07.282Z] 09:48:07.049 [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-27T09:48:07.282Z] 09:48:07.161 [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-27T09:48:07.282Z] 09:48:07.163 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration eu.yatech.hub2swarm.Hub2swarmApplication for test class eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-27T09:48:07.532Z] 09:48:07.299 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests]: using defaults. [2019-05-27T09:48:07.532Z] 09:48:07.300 [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-27T09:48:07.532Z] 09:48:07.321 [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-27T09:48:07.532Z] 09:48:07.323 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.325 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.326 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.326 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.327 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.327 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.332 [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-27T09:48:07.532Z] 09:48:07.334 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.334 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [eu.yatech.hub2swarm.Hub2swarmApplicationTests] [2019-05-27T09:48:07.532Z] 09:48:07.362 [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-27T09:48:07.783Z] __ __ __ ___ _____ [2019-05-27T09:48:07.783Z] / / / / __ __ / /_ |__ \ / ___/ _ __ ____ _ _____ ____ ___ [2019-05-27T09:48:07.783Z] / /_/ / / / / / / __ \ __/ / \__ \ | | /| / / / __ `/ / ___/ / __ `__ \ [2019-05-27T09:48:07.783Z] / __ / / /_/ / / /_/ / / __/ ___/ / | |/ |/ / / /_/ / / / / / / / / / [2019-05-27T09:48:07.783Z] /_/ /_/ \__,_/ /_.___/ /____/ /____/ |__/|__/ \__,_/ /_/ /_/ /_/ /_/ [2019-05-27T09:48:07.783Z] [2019-05-27T09:48:08.033Z] [main] WARN org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer:86 {logDuplicateJsonObjectsWarning}: [2019-05-27T09:48:08.033Z] [2019-05-27T09:48:08.033Z] Found multiple occurrences of org.json.JSONObject on the class path: [2019-05-27T09:48:08.033Z] [2019-05-27T09:48:08.033Z] 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-27T09:48:08.033Z] jar:file:/root/.m2/repository/org/json/json/20140107/json-20140107.jar!/org/json/JSONObject.class [2019-05-27T09:48:08.033Z] [2019-05-27T09:48:08.033Z] You may wish to exclude one of them to ensure predictable runtime behavior [2019-05-27T09:48:08.033Z] [2019-05-27T09:48:08.033Z] [main] INFO org.springframework.boot.StartupInfoLogger:50 {logStarting}: Starting Hub2swarmApplicationTests on 8e407d31420b with PID 120 (started by root in /var/lib/jenkins/workspace/Hub2Swarm) [2019-05-27T09:48:08.033Z] [main] INFO org.springframework.boot.SpringApplication:682 {logStartupProfileInfo}: No active profile set, falling back to default profiles: default [2019-05-27T09:48:09.894Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:126 {registerRepositoriesIn}: Bootstrapping Spring Data repositories in DEFAULT mode. [2019-05-27T09:48:09.894Z] [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate:182 {registerRepositoriesIn}: Finished Spring Data repository scanning in 116ms. Found 7 repository interfaces. [2019-05-27T09:48:10.145Z] [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 {postProcessAfterInitialization}: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$dcc2bdea] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2019-05-27T09:48:10.695Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Flyway Community Edition 5.2.4 by Boxfuse [2019-05-27T09:48:10.695Z] [main] INFO com.zaxxer.hikari.HikariDataSource:110 {getConnection}: HikariPool-1 - Starting... [2019-05-27T09:48:10.695Z] [main] INFO com.zaxxer.hikari.HikariDataSource:123 {getConnection}: HikariPool-1 - Start completed. [2019-05-27T09:48:10.695Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Database: jdbc:h2:mem:testdb (H2 1.4) [2019-05-27T09:48:10.946Z] [main] WARN org.flywaydb.core.internal.logging.slf4j.Slf4jLog:53 {warn}: Flyway upgrade recommended: H2 1.4.199 is newer than this version of Flyway and support has not been tested. [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully validated 7 migrations (execution time 00:00.031s) [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Creating Schema History table: "PUBLIC"."flyway_schema_history" [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Current version of schema "PUBLIC": << Empty Schema >> [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 1 - Tables [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 2 - Stack Table [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 3 - Creds Table [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 4 - Token Table [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 5 - Image Replace Policy [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 6 - User Table [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Migrating schema "PUBLIC" to version 7 - Deployment Table [2019-05-27T09:48:10.946Z] [main] INFO org.flywaydb.core.internal.logging.slf4j.Slf4jLog:49 {info}: Successfully applied 7 migrations to schema "PUBLIC" (execution time 00:00.125s) [2019-05-27T09:48:11.196Z] [main] INFO org.hibernate.jpa.internal.util.LogHelper:31 {logPersistenceUnitInformation}: HHH000204: Processing PersistenceUnitInfo [name: default] [2019-05-27T09:48:11.447Z] [main] INFO org.hibernate.Version:46 {logVersion}: HHH000412: Hibernate Core {5.4.2.Final} [2019-05-27T09:48:11.697Z] [main] INFO org.hibernate.annotations.common.reflection.java.JavaReflectionManager:49 {}: HCANN000001: Hibernate Commons Annotations {5.1.0.Final} [2019-05-27T09:48:11.697Z] [main] INFO org.hibernate.dialect.Dialect:158 {}: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect [2019-05-27T09:48:11.948Z] [main] WARN org.springframework.context.support.AbstractApplicationContext:557 {refresh}: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:11.948Z] [main] INFO org.springframework.beans.factory.support.DisposableBeanAdapter:265 {destroy}: Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-199] [2019-05-27T09:48:11.948Z] [main] INFO com.zaxxer.hikari.HikariDataSource:350 {close}: HikariPool-1 - Shutdown initiated... [2019-05-27T09:48:11.948Z] [main] INFO com.zaxxer.hikari.HikariDataSource:352 {close}: HikariPool-1 - Shutdown completed. [2019-05-27T09:48:11.948Z] [main] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener:142 {logMessage}: [2019-05-27T09:48:11.948Z] [2019-05-27T09:48:11.948Z] Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. [2019-05-27T09:48:11.948Z] [main] ERROR org.springframework.boot.SpringApplication:865 {reportFailure}: Application run failed [2019-05-27T09:48:11.948Z] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [2019-05-27T09:48:11.948Z] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) [2019-05-27T09:48:11.948Z] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) [2019-05-27T09:48:11.948Z] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) [2019-05-27T09:48:11.948Z] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:782) [2019-05-27T09:48:11.948Z] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:404) [2019-05-27T09:48:11.948Z] at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [2019-05-27T09:48:11.948Z] at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:129) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:122) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) [2019-05-27T09:48:11.948Z] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [2019-05-27T09:48:11.948Z] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) [2019-05-27T09:48:11.948Z] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [2019-05-27T09:48:11.948Z] Caused by: org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:11.948Z] at org.hibernate.cfg.InheritanceState.determineDefaultAccessType(InheritanceState.java:266) [2019-05-27T09:48:11.948Z] at org.hibernate.cfg.InheritanceState.getElementsToProcess(InheritanceState.java:211) [2019-05-27T09:48:11.948Z] at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:781) [2019-05-27T09:48:11.948Z] at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.processEntityHierarchies(AnnotationMetadataSourceProcessorImpl.java:254) [2019-05-27T09:48:11.948Z] at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.processEntityHierarchies(MetadataBuildingProcess.java:230) [2019-05-27T09:48:11.948Z] at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:273) [2019-05-27T09:48:11.948Z] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:900) [2019-05-27T09:48:11.948Z] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:931) [2019-05-27T09:48:11.948Z] at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:57) [2019-05-27T09:48:11.948Z] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) [2019-05-27T09:48:11.948Z] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) [2019-05-27T09:48:11.948Z] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) [2019-05-27T09:48:11.948Z] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1841) [2019-05-27T09:48:11.948Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) [2019-05-27T09:48:11.948Z] ... 42 common frames omitted [2019-05-27T09:48:11.948Z] [main] ERROR org.springframework.test.context.TestContextManager:248 {prepareTestInstance}: Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@6a2f6f80] to prepare test instance [eu.yatech.hub2swarm.Hub2swarmApplicationTests@7e191fda] [2019-05-27T09:48:11.948Z] java.lang.IllegalStateException: Failed to load ApplicationContext [2019-05-27T09:48:11.948Z] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:122) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) [2019-05-27T09:48:11.948Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) [2019-05-27T09:48:11.949Z] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [2019-05-27T09:48:11.949Z] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) [2019-05-27T09:48:11.949Z] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [2019-05-27T09:48:11.949Z] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [2019-05-27T09:48:11.949Z] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105) [2019-05-27T09:48:11.949Z] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) [2019-05-27T09:48:11.949Z] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) [2019-05-27T09:48:11.949Z] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:782) [2019-05-27T09:48:11.949Z] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:404) [2019-05-27T09:48:11.949Z] at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [2019-05-27T09:48:11.949Z] at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:129) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) [2019-05-27T09:48:11.949Z] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) [2019-05-27T09:48:11.949Z] ... 27 common frames omitted [2019-05-27T09:48:11.949Z] Caused by: org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:11.949Z] at org.hibernate.cfg.InheritanceState.determineDefaultAccessType(InheritanceState.java:266) [2019-05-27T09:48:11.949Z] at org.hibernate.cfg.InheritanceState.getElementsToProcess(InheritanceState.java:211) [2019-05-27T09:48:11.949Z] at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:781) [2019-05-27T09:48:11.949Z] at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.processEntityHierarchies(AnnotationMetadataSourceProcessorImpl.java:254) [2019-05-27T09:48:11.949Z] at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.processEntityHierarchies(MetadataBuildingProcess.java:230) [2019-05-27T09:48:11.949Z] at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:273) [2019-05-27T09:48:11.949Z] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:900) [2019-05-27T09:48:11.949Z] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:931) [2019-05-27T09:48:11.949Z] at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:57) [2019-05-27T09:48:11.949Z] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) [2019-05-27T09:48:11.949Z] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:390) [2019-05-27T09:48:11.949Z] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:377) [2019-05-27T09:48:11.949Z] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1841) [2019-05-27T09:48:11.949Z] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778) [2019-05-27T09:48:11.949Z] ... 42 common frames omitted [2019-05-27T09:48:12.200Z] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.246 s <<< FAILURE! - in eu.yatech.hub2swarm.Hub2swarmApplicationTests [2019-05-27T09:48:12.200Z] [ERROR] contextLoads(eu.yatech.hub2swarm.Hub2swarmApplicationTests) Time elapsed: 0.014 s <<< ERROR! [2019-05-27T09:48:12.200Z] java.lang.IllegalStateException: Failed to load ApplicationContext [2019-05-27T09:48:12.200Z] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:12.200Z] Caused by: org.hibernate.AnnotationException: No identifier specified for entity: eu.yatech.hub2swarm.broadcast.Broadcast [2019-05-27T09:48:12.200Z] [2019-05-27T09:48:12.450Z] [INFO] [2019-05-27T09:48:12.450Z] [INFO] Results: [2019-05-27T09:48:12.450Z] [INFO] [2019-05-27T09:48:12.450Z] [ERROR] Errors: [2019-05-27T09:48:12.450Z] [ERROR] Hub2swarmApplicationTests.contextLoads ยป IllegalState Failed to load Applicati... [2019-05-27T09:48:12.450Z] [INFO] [2019-05-27T09:48:12.450Z] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [2019-05-27T09:48:12.450Z] [INFO] [2019-05-27T09:48:12.450Z] [INFO] ------------------------------------------------------------------------ [2019-05-27T09:48:12.450Z] [INFO] BUILD FAILURE [2019-05-27T09:48:12.450Z] [INFO] ------------------------------------------------------------------------ [2019-05-27T09:48:12.450Z] [INFO] Total time: 13.612 s [2019-05-27T09:48:12.450Z] [INFO] Finished at: 2019-05-27T09:48:12Z [2019-05-27T09:48:12.450Z] [INFO] ------------------------------------------------------------------------ [2019-05-27T09:48:12.450Z] [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-27T09:48:12.450Z] [ERROR] [2019-05-27T09:48:12.450Z] [ERROR] Please refer to /var/lib/jenkins/workspace/Hub2Swarm/target/surefire-reports for the individual test results. [2019-05-27T09:48:12.450Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-05-27T09:48:12.450Z] [ERROR] -> [Help 1] [2019-05-27T09:48:12.450Z] [ERROR] [2019-05-27T09:48:12.450Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [2019-05-27T09:48:12.450Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2019-05-27T09:48:12.450Z] [ERROR] [2019-05-27T09:48:12.450Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2019-05-27T09:48:12.450Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [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-27T09:48:12.970Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-05-27T09:48:13.265Z] + set +x [2019-05-27T09:48:13.265Z] Making workspace writable for correct cleanup [2019-05-27T09:48:13.265Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-05-27T09:48:13.325Z] Perkele! I failed :( [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 8e407d31420b53f28d57ecb083719f716d46de48f79f1050e55f9b6dc8834261 $ docker rm -f 8e407d31420b53f28d57ecb083719f716d46de48f79f1050e55f9b6dc8834261 [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