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/deploy-step, 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/deploy-step
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 8 remote branches
> /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 9c36332972b77e7704b87d03e398edc393ab0c73 (origin/deploy-step)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f 9c36332972b77e7704b87d03e398edc393ab0c73 # timeout=10
Commit message: "void"
> /usr/bin/git rev-list --no-walk 22196a8efc77dd370b48b4ccf110b57a762d0dc2 # 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/deploy-step, 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 c7560ee8d9ecf490ca9cd040d1d06701b14664e7
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/deploy-step, since it originates from another repository
Checking out Revision c7560ee8d9ecf490ca9cd040d1d06701b14664e7 (master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f c7560ee8d9ecf490ca9cd040d1d06701b14664e7 # timeout=10
Commit message: "test app"
> /usr/bin/git rev-list --no-walk c7560ee8d9ecf490ca9cd040d1d06701b14664e7 # 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/deploy-step, 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/deploy-step
Seen branch in repository origin/docker-stage
Seen branch in repository origin/master
Seen branch in repository origin/trunk
Seen 6 remote branches
> /usr/bin/git show-ref --tags -d # timeout=10
Multiple candidate revisions
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] Deleting /var/lib/jenkins/workspace/WhereAmI@2/target
[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:15:02.224 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class ee.yals.whoami.WhoamiApplicationTests]
15:15:02.234 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
15:15:02.250 [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:15:02.290 [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:15:02.309 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ee.yals.whoami.WhoamiApplicationTests], using SpringBootContextLoader
15:15:02.316 [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:15:02.318 [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:15:02.318 [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:15:02.320 [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:15:02.427 [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:15:02.593 [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:15:02.595 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration ee.yals.whoami.WhoamiApplication for test class ee.yals.whoami.WhoamiApplicationTests
15:15:02.800 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [ee.yals.whoami.WhoamiApplicationTests]: using defaults.
15:15:02.802 [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:15:02.828 [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:15:02.829 [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:15:02.829 [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:15:02.832 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.833 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.836 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.836 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.837 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.837 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.844 [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:15:02.852 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.852 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:02.889 [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-22 15:15:03.358 INFO 16623 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Starting WhoamiApplicationTests on CI with PID 16623 (started by jenkins in /var/lib/jenkins/workspace/WhereAmI@2)
2019-08-22 15:15:03.368 INFO 16623 --- [ main] ee.yals.whoami.WhoamiApplicationTests : No active profile set, falling back to default profiles: default
2019-08-22 15:15:07.092 INFO 16623 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-08-22 15:15:07.712 INFO 16623 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Started WhoamiApplicationTests in 4.803 seconds (JVM running for 6.252)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.185 s - in ee.yals.whoami.WhoamiApplicationTests
2019-08-22 15:15:08.267 INFO 16623 --- [ 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: 12.027 s
[INFO] Finished at: 2019-08-22T15:15:09+03:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "noTesting" could not be activated because it does not exist.
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
Sending build context to Docker daemon 36.07MB
Step 1/7 : FROM java:8-jre
---> e44d62cf8862
Step 2/7 : VOLUME /tmp
---> Using cache
---> f8b03bbf305e
Step 3/7 : MAINTAINER Alexander Muravya (aka kyberorg) <kyberorg@yadev.ee>
---> Running in e4a6424e3176
Removing intermediate container e4a6424e3176
---> c6ef45bbbca8
Step 4/7 : ADD ./target/whoami.jar /app/
---> 0b8ccf80ae3f
Step 5/7 : RUN sh -c 'touch /app/whoami.jar'
---> Running in cf5c9355bc79
Removing intermediate container cf5c9355bc79
---> ffcd63811db7
Step 6/7 : ENTRYPOINT exec java -Djava.security.egd=file:/dev/./urandom -jar /app/whoami.jar
---> Running in d6dc64b34832
Removing intermediate container d6dc64b34832
---> 09b81fcef067
Step 7/7 : EXPOSE 8080
---> Running in 06901d5708ec
Removing intermediate container 06901d5708ec
---> 1556c3053513
Successfully built 1556c3053513
Successfully tagged kyberorg/whereami:latest
[Pipeline] withCredentials
Masking supported pattern matches of $USR or $PASS
[Pipeline] {
[Pipeline] sh
+ set +x
WARNING! Your password will be stored unencrypted in /var/lib/jenkins/.docker/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] // withCredentials
[Pipeline] sh
+ set +x
The push refers to repository [docker.io/kyberorg/whereami]
f6b8766f0dfb: Preparing
6353ed47d863: Preparing
73ad47d4bc12: Preparing
c22c27816361: Preparing
04dba64afa87: Preparing
500ca2ff7d52: Preparing
782d5215f910: Preparing
0eb22bfb707d: Preparing
a2ae92ffcd29: Preparing
782d5215f910: Waiting
0eb22bfb707d: Waiting
a2ae92ffcd29: Waiting
500ca2ff7d52: Waiting
04dba64afa87: Layer already exists
73ad47d4bc12: Layer already exists
c22c27816361: Layer already exists
0eb22bfb707d: Layer already exists
782d5215f910: Layer already exists
a2ae92ffcd29: Layer already exists
500ca2ff7d52: Layer already exists
6353ed47d863: Pushed
f6b8766f0dfb: Pushed
latest: digest: sha256:23eddfb0bc6d4c86dc9b5cf50e733298461fdc339f7561ca8eb340ddb6727f9a size: 2211
[Pipeline] sh
+ set +x
Removing login credentials for https://index.docker.io/v1/
[Pipeline] sh
+ set +x
Untagged: kyberorg/whereami:latest
Untagged: kyberorg/whereami@sha256:23eddfb0bc6d4c86dc9b5cf50e733298461fdc339f7561ca8eb340ddb6727f9a
Deleted: sha256:1556c3053513a65e573388e39643cb63184b3815ee56cc5a3e64e99ad9ddaa14
Deleted: sha256:09b81fcef067dfb70bc398b503e1c44f2389cc74fef9388fc26c66d8a36a15af
Deleted: sha256:ffcd63811db74318d093aef3bf0578ae85b46b30e022dfc30c35bdd841cd045a
Deleted: sha256:01525d3126cdefbfb8baa14914531a86d2035bf77b3f0a6541f65d11fdeb750b
Deleted: sha256:0b8ccf80ae3f33eee24e04a90e71be28800ca7af02fcce77d3f6ee8d7270f63b
Deleted: sha256:15c19da758279d920edd4c14285efd0e3abf7b3e50b074cb37b5b50232ec439b
Deleted: sha256:c6ef45bbbca86b293a7d53e2bbf3a7d89d9b8face3fe79af780af068152191fc
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (UI Tests)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ set +x
[Pipeline] sh
+ wget -q --spider http://localhost:7937
[Pipeline] echo
Will test https://kuka.yadev.eu
[Pipeline] sh
+ mvn -Dport=7937 -DtestUrl=https://kuka.yadev.eu clean test
[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] Deleting /var/lib/jenkins/workspace/WhereAmI@2/target
[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:15:40.370 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class ee.yals.whoami.WhoamiApplicationTests]
15:15:40.378 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
15:15:40.390 [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:15:40.422 [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:15:40.441 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ee.yals.whoami.WhoamiApplicationTests], using SpringBootContextLoader
15:15:40.446 [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:15:40.447 [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:15:40.448 [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:15:40.449 [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:15:40.509 [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:15:40.628 [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:15:40.630 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration ee.yals.whoami.WhoamiApplication for test class ee.yals.whoami.WhoamiApplicationTests
15:15:40.777 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [ee.yals.whoami.WhoamiApplicationTests]: using defaults.
15:15:40.779 [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:15:40.794 [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:15:40.795 [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:15:40.795 [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:15:40.798 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.798 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.800 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.800 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.801 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.801 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.806 [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:15:40.807 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.808 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ee.yals.whoami.WhoamiApplicationTests]
15:15:40.835 [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-22 15:15:41.184 INFO 17110 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Starting WhoamiApplicationTests on CI with PID 17110 (started by jenkins in /var/lib/jenkins/workspace/WhereAmI@2)
2019-08-22 15:15:41.187 INFO 17110 --- [ main] ee.yals.whoami.WhoamiApplicationTests : No active profile set, falling back to default profiles: default
2019-08-22 15:15:43.292 INFO 17110 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-08-22 15:15:43.756 INFO 17110 --- [ main] ee.yals.whoami.WhoamiApplicationTests : Started WhoamiApplicationTests in 2.909 seconds (JVM running for 3.966)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.838 s - in ee.yals.whoami.WhoamiApplicationTests
2019-08-22 15:15:44.105 INFO 17110 --- [ 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] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.216 s
[INFO] Finished at: 2019-08-22T15:15:44+03:00
[INFO] ------------------------------------------------------------------------
[Pipeline] junit
Recording test results
[Pipeline] archiveArtifacts
Archiving artifacts
‘target/*.flv’ doesn’t match anything: ‘target’ exists but not ‘target/*.flv’
No artifacts found that match the file pattern "target/*.flv". Configuration error?
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS