Started by GitLab push by Alex Muravya Lightweight checkout support not available, falling back to full checkout. Checking out git https://gitlab.com/kyberorg/whereami.git into /var/lib/jenkins/workspace/WhereAmI@script to read Jenkinsfile using credential yabot-gitlab > /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/kyberorg/whereami.git # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Seen branch in repository origin/5-disable-vaadin-debug-mode Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline Seen branch in repository origin/7-readme-fix Seen branch in repository origin/docker-stage Seen branch in repository origin/kyberorg-master-patch-79731 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 7 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision d29171989e6b32608c6996a125f63861918f8b69 (origin/docker-stage) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f d29171989e6b32608c6996a125f63861918f8b69 # timeout=10 Commit message: "Server" > /usr/bin/git rev-list --no-walk d29171989e6b32608c6996a125f63861918f8b69 # timeout=10 Running in Durability level: MAX_SURVIVABILITY Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git ls-remote -h https://gitlab.com/yasys/common-pipe.git # timeout=10 Could not find 2.3.3 in remote references. Pulling heads to local for deep search... > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/yasys/common-pipe.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d using credential kyberorg_gl > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Loading library common-lib@master Attempting to resolve master from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git ls-remote -h https://gitlab.com/yasys/jenkins/common-lib.git # timeout=10 Found match: refs/heads/master revision a8684ff4c9fe81777e057457321205e63709c7d0 using credential yabot-gitlab > /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/jenkins/common-lib.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/jenkins/common-lib.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/jenkins/common-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Checking out Revision a8684ff4c9fe81777e057457321205e63709c7d0 (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a8684ff4c9fe81777e057457321205e63709c7d0 # timeout=10 Commit message: "New way" > /usr/bin/git rev-list --no-walk a8684ff4c9fe81777e057457321205e63709c7d0 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/WhereAmI@2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential yabot-gitlab > /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/kyberorg/whereami.git # timeout=10 Fetching upstream changes from https://gitlab.com/kyberorg/whereami.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/kyberorg/whereami.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Seen branch in repository origin/5-disable-vaadin-debug-mode Seen branch in repository origin/6-adapt-gitlab-integrated-pipeline Seen branch in repository origin/docker-stage Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision de472837cc0de9d9128b686544fc58ee0049a994 (origin/5-disable-vaadin-debug-mode) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f de472837cc0de9d9128b686544fc58ee0049a994 # timeout=10 Commit message: "ExtraProfiles" > /usr/bin/git rev-list --no-walk 8a1c37a59ef665fe36db7e9574e1b9f98ba4b5cb # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Vaadin) [Pipeline] script [Pipeline] { [Pipeline] sh + set +x [INFO] Scanning for projects... [INFO] [INFO] ---------------------------< ee.yals:whoami >--------------------------- [INFO] Building whoami 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ whoami --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ whoami --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ whoami --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /var/lib/jenkins/workspace/WhereAmI@2/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ whoami --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/WhereAmI@2/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ whoami --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/WhereAmI@2/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ whoami --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running ee.yals.whoami.WhoamiApplicationTests 15:40:18.162 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class ee.yals.whoami.WhoamiApplicationTests] 15:40:18.170 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 15:40:18.183 [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)] 15:40:18.224 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [ee.yals.whoami.WhoamiApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 15:40:18.242 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ee.yals.whoami.WhoamiApplicationTests], using SpringBootContextLoader 15:40:18.247 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ee.yals.whoami.WhoamiApplicationTests]: class path resource [ee/yals/whoami/WhoamiApplicationTests-context.xml] does not exist 15:40:18.248 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ee.yals.whoami.WhoamiApplicationTests]: class path resource [ee/yals/whoami/WhoamiApplicationTestsContext.groovy] does not exist 15:40:18.248 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [ee.yals.whoami.WhoamiApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. 15:40:18.249 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [ee.yals.whoami.WhoamiApplicationTests]: WhoamiApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 15:40:18.302 [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 [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.409 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/var/lib/jenkins/workspace/WhereAmI@2/target/classes/ee/yals/whoami/WhoamiApplication.class] 15:40:18.410 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration ee.yals.whoami.WhoamiApplication for test class ee.yals.whoami.WhoamiApplicationTests 15:40:18.550 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [ee.yals.whoami.WhoamiApplicationTests]: using defaults. 15:40:18.551 [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] 15:40:18.566 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/TransactionDefinition] 15:40:18.567 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute] 15:40:18.567 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1fa268de, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4f6ee6e4, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4466af20, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@a514af7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6b927fb, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3e58a80e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4fb61f4a, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4fb0f2b9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@79924b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7b9a4292] 15:40:18.570 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.571 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.572 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.573 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.574 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.574 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.579 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@1189dd52 testClass = WhoamiApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@36bc55de testClass = WhoamiApplicationTests, locations = '{}', classes = '{class ee.yals.whoami.WhoamiApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@480bdb19, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2a742aa2, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@6b9651f3, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@46daef40], 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]. 15:40:18.580 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.580 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests] 15:40:18.605 [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} . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.3.RELEASE) 2019-08-21 15:40:18.942 INFO 21796 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Starting WhoamiApplicationTests on CI with PID 21796 (started by jenkins in /var/lib/jenkins/workspace/WhereAmI@2) 2019-08-21 15:40:18.961 INFO 21796 --- [ main] ee.yals.whoami.WhoamiApplicationTests : No active profile set, falling back to default profiles: default 2019-08-21 15:40:21.102 INFO 21796 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2019-08-21 15:40:21.581 INFO 21796 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Started WhoamiApplicationTests in 2.965 seconds (JVM running for 4.036) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.919 s - in ee.yals.whoami.WhoamiApplicationTests 2019-08-21 15:40:21.923 INFO 21796 --- [ Thread-2] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' [INFO] [INFO] Results: [INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ whoami --- [INFO] Building jar: /var/lib/jenkins/workspace/WhereAmI@2/target/whoami.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:repackage (repackage) @ whoami --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.818 s [INFO] Finished at: 2019-08-21T15:40:23+03:00 [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "noTesting" could not be activated because it does not exist. [Pipeline] step Archiving artifacts ‘target/whereami.jar’ doesn’t match anything: ‘target’ exists but not ‘target/whereami.jar’ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker) Stage "Docker" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: No artifacts found that match the file pattern "target/whereami.jar". Configuration error? Finished: FAILURE