Closed dvgdex closed 3 years ago
I just created a temporary folder:
mkdir temp
cd temp
git clone https://github.com/Robinyo/serendipity-2.0.git
cd serendipity-2.0
cd backend
mvn clean install spring-boot:repackage
Output:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Serendipity Parent POM [pom]
[INFO] Serendipity Web BFF [jar]
[INFO] Serendipity Party Service [jar]
[INFO] Serendipity Work Service [jar]
[INFO]
[INFO] -----------------< org.serendipity:serendipity-parent >-----------------
[INFO] Building Serendipity Parent POM 1.0.0 [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ serendipity-parent ---
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (repackage) @ serendipity-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ serendipity-parent ---
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/pom.xml to /Users/robferguson/.m2/repository/org/serendipity/serendipity-parent/1.0.0/serendipity-parent-1.0.0.pom
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default-cli) @ serendipity-parent ---
[INFO]
[INFO] ----------------------< org.serendipity:web-bff >-----------------------
[INFO] Building Serendipity Web BFF 0.0.1-SNAPSHOT [2/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ web-bff ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @ web-bff ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/../../../frontend/dist/serendipity-web-app
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ web-bff ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ web-bff ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ web-bff ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ web-bff ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ web-bff ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.serendipity.webbff.WebBffApplicationTests
13:40:34.734 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
13:40:34.760 [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)]
13:40:34.825 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [org.serendipity.webbff.WebBffApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
13:40:34.858 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.serendipity.webbff.WebBffApplicationTests], using SpringBootContextLoader
13:40:34.868 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.webbff.WebBffApplicationTests]: class path resource [org/serendipity/webbff/WebBffApplicationTests-context.xml] does not exist
13:40:34.869 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.webbff.WebBffApplicationTests]: class path resource [org/serendipity/webbff/WebBffApplicationTestsContext.groovy] does not exist
13:40:34.869 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.serendipity.webbff.WebBffApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
13:40:34.870 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [org.serendipity.webbff.WebBffApplicationTests]: WebBffApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
13:40:35.080 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/target/classes/org/serendipity/webbff/WebBffApplication.class]
13:40:35.081 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.serendipity.webbff.WebBffApplication for test class org.serendipity.webbff.WebBffApplicationTests
13:40:35.316 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [org.serendipity.webbff.WebBffApplicationTests]: using defaults.
13:40:35.317 [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.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, 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]
13:40:35.345 [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]
13:40:35.345 [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]
13:40:35.346 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5cbe877d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5c08c46a, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cf8b2dc, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@708400f6, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5829e4f4, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4218500f, org.springframework.test.context.event.EventPublishingTestExecutionListener@4bff64c2, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@1b2c4efb, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@c35172e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@c2db68f, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@3cc41abc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4566d049, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@61ce23ac]
13:40:35.353 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@5066d65f testClass = WebBffApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@4233e892 testClass = WebBffApplicationTests, locations = '{}', classes = '{class org.serendipity.webbff.WebBffApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@638ef7ed, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@536dbea0, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7905a0b8, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@51bd8b5c, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@456d6c1e, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@24c22fe, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1534f01b], 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].
13:40:35.492 [main] DEBUG org.springframework.core.env.StandardEnvironment - Activating profiles [test]
13:40:35.496 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}
2021-10-29 13:40:36.121 INFO 34667 --- [ main] o.s.webbff.WebBffApplicationTests : Starting WebBffApplicationTests using Java 11.0.6 on Robs-MBP.home with PID 34667 (started by robferguson in /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff)
2021-10-29 13:40:36.124 INFO 34667 --- [ main] o.s.webbff.WebBffApplicationTests : The following profiles are active: test
2021-10-29 13:40:37.365 INFO 34667 --- [ main] o.s.webbff.config.WebMvcConfig : WebMvcConfig -> sameSiteCookiesConfig()
2021-10-29 13:40:37.494 INFO 34667 --- [ main] o.s.webbff.config.WebSecurityConfig : WebSecurityConfig -> configure()
2021-10-29 13:40:37.662 INFO 34667 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7e62cfa3, org.springframework.security.web.context.SecurityContextPersistenceFilter@28a9494b, org.springframework.security.web.header.HeaderWriterFilter@51b77cdf, org.springframework.security.web.authentication.logout.LogoutFilter@1984212d, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@65f40689, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@f8a6243, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@27abb6ca, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@46e190ed, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@322ba549, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@726934e2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@383c3eb3, org.springframework.security.web.session.SessionManagementFilter@45ab3bdd, org.springframework.security.web.access.ExceptionTranslationFilter@1665fa54, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@101ca8da]
2021-10-29 13:40:38.513 INFO 34667 --- [ main] o.s.webbff.WebBffApplicationTests : Started WebBffApplicationTests in 3.003 seconds (JVM running for 4.491)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.41 s - in org.serendipity.webbff.WebBffApplicationTests
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ web-bff ---
[INFO] Building jar: /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/target/web-bff-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (repackage) @ web-bff ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default) @ web-bff ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ web-bff ---
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/target/web-bff-0.0.1-SNAPSHOT.jar to /Users/robferguson/.m2/repository/org/serendipity/web-bff/0.0.1-SNAPSHOT/web-bff-0.0.1-SNAPSHOT.jar
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/web-bff/pom.xml to /Users/robferguson/.m2/repository/org/serendipity/web-bff/0.0.1-SNAPSHOT/web-bff-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default-cli) @ web-bff ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] -------------------< org.serendipity:party-service >--------------------
[INFO] Building Serendipity Party Service 0.0.1-SNAPSHOT [3/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ party-service ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ party-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 4 resources
[INFO] Copying 65 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ party-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 65 source files to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ party-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ party-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ party-service ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.serendipity.party.PartyServiceApplicationTests
13:40:43.679 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
13:40:43.690 [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)]
13:40:43.726 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [org.serendipity.party.PartyServiceApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
13:40:43.735 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.serendipity.party.PartyServiceApplicationTests], using SpringBootContextLoader
13:40:43.738 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.party.PartyServiceApplicationTests]: class path resource [org/serendipity/party/PartyServiceApplicationTests-context.xml] does not exist
13:40:43.739 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.party.PartyServiceApplicationTests]: class path resource [org/serendipity/party/PartyServiceApplicationTestsContext.groovy] does not exist
13:40:43.739 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.serendipity.party.PartyServiceApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
13:40:43.739 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [org.serendipity.party.PartyServiceApplicationTests]: PartyServiceApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
13:40:43.842 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/target/classes/org/serendipity/party/PartyServiceApplication.class]
13:40:43.843 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.serendipity.party.PartyServiceApplication for test class org.serendipity.party.PartyServiceApplicationTests
13:40:43.940 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [org.serendipity.party.PartyServiceApplicationTests]: using defaults.
13:40:43.941 [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.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, 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]
13:40:43.959 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5c530d1e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6c25e6c4, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@85e6769, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@c5ee75e, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@48a12036, org.springframework.test.context.support.DirtiesContextTestExecutionListener@bf1ec20, org.springframework.test.context.transaction.TransactionalTestExecutionListener@70efb718, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@b70da4c, org.springframework.test.context.event.EventPublishingTestExecutionListener@4a11eb84, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4e858e0a, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@435fb7b5, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4e70a728, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@b7838a9, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@696f0212, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5733f295]
13:40:43.963 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@3e14c16d testClass = PartyServiceApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3c989952 testClass = PartyServiceApplicationTests, locations = '{}', classes = '{class org.serendipity.party.PartyServiceApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@19976a65, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@57a3e26a, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@31edaa7d, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@6f3187b0, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@44be0077, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@2e32ccc5, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@49d904ec], 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].
13:40:43.992 [main] DEBUG org.springframework.core.env.StandardEnvironment - Activating profiles [test]
13:40:43.995 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}
2021-10-29 13:40:44.326 INFO 34700 --- [ main] o.s.party.PartyServiceApplicationTests : Starting PartyServiceApplicationTests using Java 11.0.6 on Robs-MBP.home with PID 34700 (started by robferguson in /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service)
2021-10-29 13:40:44.327 INFO 34700 --- [ main] o.s.party.PartyServiceApplicationTests : The following profiles are active: test
2021-10-29 13:40:45.065 INFO 34700 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-10-29 13:40:45.311 INFO 34700 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 237 ms. Found 9 JPA repository interfaces.
2021-10-29 13:40:45.984 INFO 34700 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-10-29 13:40:46.056 INFO 34700 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final
2021-10-29 13:40:46.233 INFO 34700 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-10-29 13:40:46.368 INFO 34700 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-10-29 13:40:46.617 INFO 34700 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-10-29 13:40:46.640 INFO 34700 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2021-10-29 13:40:47.644 INFO 34700 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-10-29 13:40:47.655 INFO 34700 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-10-29 13:40:47.748 WARN 34700 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-10-29 13:40:48.568 INFO 34700 --- [ main] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: 3fdcbd79-e9e8-496b-9861-ae46a55e4405
2021-10-29 13:40:48.623 INFO 34700 --- [ main] o.s.party.config.WebSecurityConfig : WebSecurityConfig: configure()
2021-10-29 13:40:48.713 INFO 34700 --- [ main] o.s.party.config.WebSecurityConfig : WebSecurityConfig: corsConfigurationSource()
2021-10-29 13:40:48.752 INFO 34700 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@376bae20, org.springframework.security.web.context.SecurityContextPersistenceFilter@1a3272e0, org.springframework.security.web.header.HeaderWriterFilter@33ce081a, org.springframework.web.filter.CorsFilter@37f0fb02, org.springframework.security.web.authentication.logout.LogoutFilter@69a031a4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1454339d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5b5d6f9c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4687fee7, org.springframework.security.web.session.SessionManagementFilter@55b78dad, org.springframework.security.web.access.ExceptionTranslationFilter@26a004ed, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1ced1d14]
2021-10-29 13:40:49.293 INFO 34700 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:db'
2021-10-29 13:40:49.801 INFO 34700 --- [ main] o.s.party.PartyServiceApplicationTests : Started PartyServiceApplicationTests in 5.8 seconds (JVM running for 6.879)
2021-10-29 13:40:49.812 INFO 34700 --- [ main] o.s.party.database.seed.au.Electorate : Create Electoral Divisions ...
2021-10-29 13:40:49.902 INFO 34700 --- [ main] o.s.party.database.seed.au.Electorate : Create Electoral Divisions complete
2021-10-29 13:40:49.949 INFO 34700 --- [ main] o.s.p.database.seed.au.ParliamentHouse : Load Parliament House address ...
2021-10-29 13:40:49.982 INFO 34700 --- [ main] o.s.p.database.seed.au.ParliamentHouse : Load Parliament House address complete
2021-10-29 13:40:49.990 INFO 34700 --- [ main] o.s.p.database.seed.au.AustralianGreens : Create Australian Greens ...
2021-10-29 13:40:50.073 INFO 34700 --- [ main] o.s.p.database.seed.au.AustralianGreens : individual:
{
"id" : 1,
"party" : {
"id" : 1,
"type" : "INDIVIDUAL",
"displayName" : "Hull, Jordan",
"addresses" : [ {
"id" : 2,
"location" : {
"id" : 2,
"type" : "ADDRESS",
"displayName" : "23/85 Northbourne Ave Turner ACT 2612",
"createdBy" : "rob.ferguson",
"createdAt" : 1635475249991,
"updatedBy" : "rob.ferguson",
"updatedAt" : 1635475249991
},
"line1" : "23/85 Northbourne Ave",
"city" : "Turner",
"state" : "ACT",
"postalCode" : "2612",
"country" : "Australia",
"addressType" : "Principle Place of Business"
} ],
"roles" : [ {
"id" : 2,
"role" : "Member",
"partyId" : 1,
"partyType" : "INDIVIDUAL",
"partyName" : "Hull, Jordan",
"partyEmail" : "jordan.hull@greens.org.au",
"partyPhoneNumber" : "(02) 6140 3220",
"relationship" : "Membership",
"reciprocalRole" : "Organisation",
"reciprocalPartyId" : 2,
"reciprocalPartyType" : "ORGANISATION",
"reciprocalPartyName" : "Australian Greens",
"reciprocalPartyEmail" : "greens@greens.org.au",
"reciprocalPartyPhoneNumber" : "(02) 6140 3220"
} ],
"createdBy" : "rob.ferguson",
"createdAt" : 1635475250005,
"updatedBy" : "rob.ferguson",
"updatedAt" : 1635475250005
},
"name" : {
"givenName" : "Jordan",
"familyName" : "Hull"
},
"sex" : "Male",
"email" : "jordan.hull@greens.org.au",
"phoneNumber" : "(02) 6140 3220"
}
2021-10-29 13:40:50.074 INFO 34700 --- [ main] o.s.p.database.seed.au.AustralianGreens : Create Australian Greens complete
2021-10-29 13:40:50.093 INFO 34700 --- [ main] o.s.p.d.seed.au.AustralianLaborParty : Create Australian Labor Party ...
2021-10-29 13:40:50.098 INFO 34700 --- [ main] o.s.p.d.seed.au.AustralianLaborParty : Create Australian Labor Party complete
2021-10-29 13:40:50.105 INFO 34700 --- [ main] o.s.p.database.seed.au.CentreAlliance : Create Centre Alliance ...
2021-10-29 13:40:50.110 INFO 34700 --- [ main] o.s.p.database.seed.au.CentreAlliance : Create Centre Alliance complete
2021-10-29 13:40:50.117 INFO 34700 --- [ main] o.s.p.d.seed.au.JacquiLambieNetwork : Create Jacqui Lambie Network ...
2021-10-29 13:40:50.121 INFO 34700 --- [ main] o.s.p.d.seed.au.JacquiLambieNetwork : Create Jacqui Lambie Network complete
2021-10-29 13:40:50.127 INFO 34700 --- [ main] p.d.s.a.LiberalNationalPartyOfQueensland : Create Liberal National Party of Queensland ...
2021-10-29 13:40:50.131 INFO 34700 --- [ main] p.d.s.a.LiberalNationalPartyOfQueensland : Create Liberal National Party of Queensland complete
2021-10-29 13:40:50.137 INFO 34700 --- [ main] o.s.p.d.seed.au.LiberalPartyOfAustralia : Create Liberal Party of Australia ...
2021-10-29 13:40:50.141 INFO 34700 --- [ main] o.s.p.d.seed.au.LiberalPartyOfAustralia : Create Liberal Party of Australia complete
2021-10-29 13:40:50.147 INFO 34700 --- [ main] o.s.p.d.s.au.NationalPartyOfAustralia : Create National Party of Australia ...
2021-10-29 13:40:50.151 INFO 34700 --- [ main] o.s.p.d.s.au.NationalPartyOfAustralia : Create National Party of Australia complete
2021-10-29 13:40:50.157 INFO 34700 --- [ main] o.s.p.d.seed.au.PaulineHansonsOneNation : Create Pauline Hanson's One Nation ...
2021-10-29 13:40:50.162 INFO 34700 --- [ main] o.s.p.d.seed.au.PaulineHansonsOneNation : Create Pauline Hanson's One Nation complete
2021-10-29 13:40:50.170 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Loading members of the House of Representatives ...
2021-10-29 13:40:50.647 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Political Party: IND
2021-10-29 13:40:50.759 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Political Party: KAP
2021-10-29 13:40:51.116 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Political Party: IND
2021-10-29 13:40:51.199 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Political Party: IND
2021-10-29 13:40:51.238 INFO 34700 --- [ main] o.s.p.d.seed.au.HouseOfRepresentatives : Loading members of the House of Representatives complete
2021-10-29 13:40:51.309 INFO 34700 --- [ main] o.s.party.database.seed.au.Senate : Loading members of the Senate ...
2021-10-29 13:40:51.401 INFO 34700 --- [ main] o.s.party.database.seed.au.Senate : Political Party: CLP
2021-10-29 13:40:51.478 INFO 34700 --- [ main] o.s.party.database.seed.au.Senate : Loading members of the Senate complete
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.057 s - in org.serendipity.party.PartyServiceApplicationTests
2021-10-29 13:40:51.677 INFO 34700 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-10-29 13:40:51.678 INFO 34700 --- [ionShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-10-29 13:40:51.680 WARN 34700 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 90121, SQLState: 90121
2021-10-29 13:40:51.680 ERROR 34700 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-200]
2021-10-29 13:40:51.681 WARN 34700 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 90121, SQLState: 90121
2021-10-29 13:40:51.681 ERROR 34700 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-200]
2021-10-29 13:40:51.681 WARN 34700 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'entityManagerFactory': org.hibernate.exception.JDBCConnectionException: Unable to release JDBC Connection used for DDL execution
2021-10-29 13:40:51.682 INFO 34700 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-10-29 13:40:51.686 INFO 34700 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ party-service ---
[INFO] Building jar: /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/target/party-service-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (repackage) @ party-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default) @ party-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ party-service ---
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/target/party-service-0.0.1-SNAPSHOT.jar to /Users/robferguson/.m2/repository/org/serendipity/party-service/0.0.1-SNAPSHOT/party-service-0.0.1-SNAPSHOT.jar
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/party-service/pom.xml to /Users/robferguson/.m2/repository/org/serendipity/party-service/0.0.1-SNAPSHOT/party-service-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default-cli) @ party-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --------------------< org.serendipity:work-service >--------------------
[INFO] Building Serendipity Work Service 0.0.1-SNAPSHOT [4/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ work-service ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ work-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ work-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ work-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ work-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ work-service ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.serendipity.work.WorkServiceApplicationTests
13:40:55.036 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
13:40:55.046 [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)]
13:40:55.086 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [org.serendipity.work.WorkServiceApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
13:40:55.098 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.serendipity.work.WorkServiceApplicationTests], using SpringBootContextLoader
13:40:55.104 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.work.WorkServiceApplicationTests]: class path resource [org/serendipity/work/WorkServiceApplicationTests-context.xml] does not exist
13:40:55.104 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.serendipity.work.WorkServiceApplicationTests]: class path resource [org/serendipity/work/WorkServiceApplicationTestsContext.groovy] does not exist
13:40:55.104 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.serendipity.work.WorkServiceApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
13:40:55.105 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [org.serendipity.work.WorkServiceApplicationTests]: WorkServiceApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
13:40:55.208 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/target/classes/org/serendipity/work/WorkServiceApplication.class]
13:40:55.209 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.serendipity.work.WorkServiceApplication for test class org.serendipity.work.WorkServiceApplicationTests
13:40:55.334 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [org.serendipity.work.WorkServiceApplicationTests]: using defaults.
13:40:55.335 [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.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, 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]
13:40:55.353 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@61884cb1, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@75ed9710, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4fc5e095, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@435871cb, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@609640d5, org.springframework.test.context.support.DirtiesContextTestExecutionListener@79da1ec0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@19fb8826, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@192d74fb, org.springframework.test.context.event.EventPublishingTestExecutionListener@4bef0fe3, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@62ea3440, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@27953a83, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@556d0826, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@66ce957f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@55b5f5d2, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5bfa8cc5]
13:40:55.358 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@2c88b9fc testClass = WorkServiceApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@64dafeed testClass = WorkServiceApplicationTests, locations = '{}', classes = '{class org.serendipity.work.WorkServiceApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6986852, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6e01f9b0, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@1722011b, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@1b8a29df, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@11bb571c, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@1f75a668, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1fa268de], 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].
13:40:55.387 [main] DEBUG org.springframework.core.env.StandardEnvironment - Activating profiles [test]
13:40:55.391 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}
2021-10-29 13:40:55.736 INFO 34712 --- [ main] o.s.work.WorkServiceApplicationTests : Starting WorkServiceApplicationTests using Java 11.0.6 on Robs-MBP.home with PID 34712 (started by robferguson in /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service)
2021-10-29 13:40:55.738 INFO 34712 --- [ main] o.s.work.WorkServiceApplicationTests : The following profiles are active: test
2021-10-29 13:40:56.568 INFO 34712 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-10-29 13:40:56.596 INFO 34712 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 JPA repository interfaces.
2021-10-29 13:40:57.319 INFO 34712 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-10-29 13:40:57.370 INFO 34712 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final
2021-10-29 13:40:57.510 INFO 34712 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-10-29 13:40:57.614 INFO 34712 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-10-29 13:40:57.843 INFO 34712 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-10-29 13:40:57.863 INFO 34712 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2021-10-29 13:40:58.127 INFO 34712 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-10-29 13:40:58.138 INFO 34712 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-10-29 13:40:58.213 WARN 34712 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-10-29 13:40:58.481 INFO 34712 --- [ main] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: b1dd9253-f56d-47ce-b94b-d541a7ec98ce
2021-10-29 13:40:58.537 INFO 34712 --- [ main] o.s.work.config.WebSecurityConfig : WebSecurityConfig: configure()
2021-10-29 13:40:58.620 INFO 34712 --- [ main] o.s.work.config.WebSecurityConfig : WebSecurityConfig: corsConfigurationSource()
2021-10-29 13:40:58.657 INFO 34712 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1cee3e05, org.springframework.security.web.context.SecurityContextPersistenceFilter@74f89bad, org.springframework.security.web.header.HeaderWriterFilter@7c88d04f, org.springframework.web.filter.CorsFilter@63f2d024, org.springframework.security.web.authentication.logout.LogoutFilter@1a77eb6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@bff764c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6eab92f3, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7b2dd35d, org.springframework.security.web.session.SessionManagementFilter@4b99648a, org.springframework.security.web.access.ExceptionTranslationFilter@50c2ef56, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4de93edd]
2021-10-29 13:40:59.249 INFO 34712 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:db'
2021-10-29 13:40:59.619 INFO 34712 --- [ main] o.f.s.b.ProcessEngineAutoConfiguration : No deployment resources were found for autodeployment
2021-10-29 13:40:59.736 INFO 34712 --- [ main] o.f.s.b.dmn.DmnEngineAutoConfiguration : No deployment resources were found for autodeployment
2021-10-29 13:40:59.779 INFO 34712 --- [ main] o.f.s.b.f.FormEngineAutoConfiguration : No deployment resources were found for autodeployment
2021-10-29 13:40:59.822 INFO 34712 --- [ main] o.f.s.b.e.EventRegistryAutoConfiguration : No deployment resources were found for autodeployment
2021-10-29 13:40:59.879 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Found 5 Engine Configurators in total:
2021-10-29 13:40:59.879 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
2021-10-29 13:40:59.879 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
2021-10-29 13:40:59.879 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)
2021-10-29 13:40:59.879 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
2021-10-29 13:40:59.880 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
2021-10-29 13:40:59.880 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing beforeInit() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
2021-10-29 13:40:59.947 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing beforeInit() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
2021-10-29 13:40:59.952 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing beforeInit() of class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)
2021-10-29 13:40:59.956 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing beforeInit() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
2021-10-29 13:40:59.959 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing beforeInit() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
2021-10-29 13:41:01.090 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.engine.spring.configurator.SpringProcessEngineConfigurator (priority:50000)
2021-10-29 13:41:01.369 INFO 34712 --- [ main] o.f.c.e.impl.db.CommonDbSchemaManager : performing create on common with resource org/flowable/common/db/create/flowable.h2.create.common.sql
2021-10-29 13:41:01.384 INFO 34712 --- [ main] o.f.i.s.i.d.IdentityLinkDbSchemaManager : performing create on identitylink with resource org/flowable/identitylink/service/db/create/flowable.h2.create.identitylink.sql
2021-10-29 13:41:01.388 INFO 34712 --- [ main] o.f.i.s.i.d.IdentityLinkDbSchemaManager : performing create on identitylink.history with resource org/flowable/identitylink/service/db/create/flowable.h2.create.identitylink.history.sql
2021-10-29 13:41:01.393 INFO 34712 --- [ main] o.f.e.s.i.db.EntityLinkDbSchemaManager : performing create on entitylink with resource org/flowable/entitylink/service/db/create/flowable.h2.create.entitylink.sql
2021-10-29 13:41:01.396 INFO 34712 --- [ main] o.f.e.s.i.db.EntityLinkDbSchemaManager : performing create on entitylink.history with resource org/flowable/entitylink/service/db/create/flowable.h2.create.entitylink.history.sql
2021-10-29 13:41:01.399 INFO 34712 --- [ main] e.s.i.d.EventSubscriptionDbSchemaManager : performing create on eventsubscription with resource org/flowable/eventsubscription/service/db/create/flowable.h2.create.eventsubscription.sql
2021-10-29 13:41:01.404 INFO 34712 --- [ main] o.f.t.s.impl.db.TaskDbSchemaManager : performing create on task with resource org/flowable/task/service/db/create/flowable.h2.create.task.sql
2021-10-29 13:41:01.408 INFO 34712 --- [ main] o.f.t.s.impl.db.TaskDbSchemaManager : performing create on task.history with resource org/flowable/task/service/db/create/flowable.h2.create.task.history.sql
2021-10-29 13:41:01.417 INFO 34712 --- [ main] o.f.v.s.impl.db.VariableDbSchemaManager : performing create on variable with resource org/flowable/variable/service/db/create/flowable.h2.create.variable.sql
2021-10-29 13:41:01.426 INFO 34712 --- [ main] o.f.v.s.impl.db.VariableDbSchemaManager : performing create on variable.history with resource org/flowable/variable/service/db/create/flowable.h2.create.variable.history.sql
2021-10-29 13:41:01.431 INFO 34712 --- [ main] o.f.j.s.impl.db.JobDbSchemaManager : performing create on job with resource org/flowable/job/service/db/create/flowable.h2.create.job.sql
2021-10-29 13:41:01.458 INFO 34712 --- [ main] o.f.b.s.impl.db.BatchDbSchemaManager : performing create on batch with resource org/flowable/batch/service/db/create/flowable.h2.create.batch.sql
2021-10-29 13:41:01.463 INFO 34712 --- [ main] o.f.e.impl.db.ProcessDbSchemaManager : performing create on engine with resource org/flowable/db/create/flowable.h2.create.engine.sql
2021-10-29 13:41:01.516 INFO 34712 --- [ main] o.f.e.impl.db.ProcessDbSchemaManager : performing create on history with resource org/flowable/db/create/flowable.h2.create.history.sql
2021-10-29 13:41:01.526 INFO 34712 --- [ main] o.f.engine.impl.ProcessEngineImpl : ProcessEngine default created
2021-10-29 13:41:01.601 INFO 34712 --- [ main] o.f.e.impl.cmd.ValidateV5EntitiesCmd : Total of v5 deployments found: 0
2021-10-29 13:41:01.606 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.eventregistry.spring.configurator.SpringEventRegistryConfigurator (priority:100000)
2021-10-29 13:41:02.102 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
2021-10-29 13:41:02.415 INFO 34712 --- [ main] liquibase.changelog : Creating database history table with name: PUBLIC.FLW_EV_DATABASECHANGELOG
2021-10-29 13:41:02.418 INFO 34712 --- [ main] liquibase.changelog : Reading from PUBLIC.FLW_EV_DATABASECHANGELOG
2021-10-29 13:41:02.517 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.520 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
Skipping auto-registration
2021-10-29 13:41:02.520 WARN 34712 --- [ main] liquibase.hub : Skipping auto-registration
2021-10-29 13:41:02.526 INFO 34712 --- [ main] liquibase.changelog : Table FLW_EVENT_DEPLOYMENT created
2021-10-29 13:41:02.528 INFO 34712 --- [ main] liquibase.changelog : Table FLW_EVENT_RESOURCE created
2021-10-29 13:41:02.529 INFO 34712 --- [ main] liquibase.changelog : Table FLW_EVENT_DEFINITION created
2021-10-29 13:41:02.530 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_EVENT_DEF_UNIQ created
2021-10-29 13:41:02.532 INFO 34712 --- [ main] liquibase.changelog : Table FLW_CHANNEL_DEFINITION created
2021-10-29 13:41:02.533 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_CHANNEL_DEF_UNIQ created
2021-10-29 13:41:02.533 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml::1::flowable ran successfully in 9ms
2021-10-29 13:41:02.542 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.543 INFO 34712 --- [ main] o.f.e.impl.EventRegistryEngineImpl : EventRegistryEngine default created
2021-10-29 13:41:02.544 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.idm.engine.configurator.IdmEngineConfigurator (priority:150000)
2021-10-29 13:41:02.571 INFO 34712 --- [ main] o.f.i.engine.impl.db.IdmDbSchemaManager : performing create on identity with resource org/flowable/idm/db/create/flowable.h2.create.identity.sql
2021-10-29 13:41:02.582 INFO 34712 --- [ main] o.f.idm.engine.impl.IdmEngineImpl : IdmEngine default created
2021-10-29 13:41:02.583 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.dmn.spring.configurator.SpringDmnEngineConfigurator (priority:200000)
2021-10-29 13:41:02.606 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
2021-10-29 13:41:02.629 INFO 34712 --- [ main] liquibase.changelog : Creating database history table with name: PUBLIC.ACT_DMN_DATABASECHANGELOG
2021-10-29 13:41:02.632 INFO 34712 --- [ main] liquibase.changelog : Reading from PUBLIC.ACT_DMN_DATABASECHANGELOG
2021-10-29 13:41:02.678 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.680 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
Skipping auto-registration
2021-10-29 13:41:02.680 WARN 34712 --- [ main] liquibase.hub : Skipping auto-registration
2021-10-29 13:41:02.683 INFO 34712 --- [ main] liquibase.changelog : Table ACT_DMN_DEPLOYMENT created
2021-10-29 13:41:02.684 INFO 34712 --- [ main] liquibase.changelog : Table ACT_DMN_DEPLOYMENT_RESOURCE created
2021-10-29 13:41:02.685 INFO 34712 --- [ main] liquibase.changelog : Table ACT_DMN_DECISION_TABLE created
2021-10-29 13:41:02.686 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml::1::activiti ran successfully in 5ms
2021-10-29 13:41:02.689 INFO 34712 --- [ main] liquibase.changelog : Table ACT_DMN_HI_DECISION_EXECUTION created
2021-10-29 13:41:02.689 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml::2::flowable ran successfully in 2ms
2021-10-29 13:41:02.699 INFO 34712 --- [ main] liquibase.changelog : Columns SCOPE_TYPE_(varchar(255)) added to ACT_DMN_HI_DECISION_EXECUTION
2021-10-29 13:41:02.699 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml::3::flowable ran successfully in 9ms
2021-10-29 13:41:02.703 INFO 34712 --- [ main] liquibase.changelog : Column ACT_DMN_DECISION_TABLE.PARENT_DEPLOYMENT_ID_ dropped
2021-10-29 13:41:02.703 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml::4::flowable ran successfully in 3ms
2021-10-29 13:41:02.705 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_DEC_TBL_UNIQ created
2021-10-29 13:41:02.705 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml::6::flowable ran successfully in 1ms
2021-10-29 13:41:02.706 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.707 INFO 34712 --- [ main] o.f.dmn.engine.impl.DmnEngineImpl : DmnEngine default created
2021-10-29 13:41:02.708 INFO 34712 --- [ main] o.f.a.s.SpringAppEngineConfiguration : Executing configure() of class org.flowable.form.spring.configurator.SpringFormEngineConfigurator (priority:300000)
2021-10-29 13:41:02.723 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
2021-10-29 13:41:02.741 INFO 34712 --- [ main] liquibase.changelog : Creating database history table with name: PUBLIC.ACT_FO_DATABASECHANGELOG
2021-10-29 13:41:02.743 INFO 34712 --- [ main] liquibase.changelog : Reading from PUBLIC.ACT_FO_DATABASECHANGELOG
2021-10-29 13:41:02.758 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.760 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
Skipping auto-registration
2021-10-29 13:41:02.760 WARN 34712 --- [ main] liquibase.hub : Skipping auto-registration
2021-10-29 13:41:02.763 INFO 34712 --- [ main] liquibase.changelog : Table ACT_FO_FORM_DEPLOYMENT created
2021-10-29 13:41:02.764 INFO 34712 --- [ main] liquibase.changelog : Table ACT_FO_FORM_RESOURCE created
2021-10-29 13:41:02.766 INFO 34712 --- [ main] liquibase.changelog : Table ACT_FO_FORM_DEFINITION created
2021-10-29 13:41:02.767 INFO 34712 --- [ main] liquibase.changelog : Table ACT_FO_FORM_INSTANCE created
2021-10-29 13:41:02.767 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/form/db/liquibase/flowable-form-db-changelog.xml::1::activiti ran successfully in 6ms
2021-10-29 13:41:02.775 INFO 34712 --- [ main] liquibase.changelog : Columns SCOPE_ID_(varchar(255)),SCOPE_TYPE_(varchar(255)),SCOPE_DEFINITION_ID_(varchar(255)) added to ACT_FO_FORM_INSTANCE
2021-10-29 13:41:02.776 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/form/db/liquibase/flowable-form-db-changelog.xml::2::flowable ran successfully in 7ms
2021-10-29 13:41:02.779 INFO 34712 --- [ main] liquibase.changelog : Column ACT_FO_FORM_DEFINITION.PARENT_DEPLOYMENT_ID_ dropped
2021-10-29 13:41:02.779 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/form/db/liquibase/flowable-form-db-changelog.xml::3::flowable ran successfully in 2ms
2021-10-29 13:41:02.781 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_FORM_DEF_UNIQ created
2021-10-29 13:41:02.781 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/form/db/liquibase/flowable-form-db-changelog.xml::5::flowable ran successfully in 1ms
2021-10-29 13:41:02.783 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.783 INFO 34712 --- [ main] o.f.form.engine.impl.FormEngineImpl : FormEngine default created
2021-10-29 13:41:02.795 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
2021-10-29 13:41:02.810 INFO 34712 --- [ main] liquibase.changelog : Creating database history table with name: PUBLIC.ACT_APP_DATABASECHANGELOG
2021-10-29 13:41:02.812 INFO 34712 --- [ main] liquibase.changelog : Reading from PUBLIC.ACT_APP_DATABASECHANGELOG
2021-10-29 13:41:02.841 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.842 INFO 34712 --- [ main] liquibase.lockservice : Successfully acquired change log lock
Skipping auto-registration
2021-10-29 13:41:02.843 WARN 34712 --- [ main] liquibase.hub : Skipping auto-registration
2021-10-29 13:41:02.846 INFO 34712 --- [ main] liquibase.changelog : Table ACT_APP_DEPLOYMENT created
2021-10-29 13:41:02.847 INFO 34712 --- [ main] liquibase.changelog : Table ACT_APP_DEPLOYMENT_RESOURCE created
2021-10-29 13:41:02.850 INFO 34712 --- [ main] liquibase.changelog : Foreign key constraint added to ACT_APP_DEPLOYMENT_RESOURCE (DEPLOYMENT_ID_)
2021-10-29 13:41:02.851 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_APP_RSRC_DPL created
2021-10-29 13:41:02.852 INFO 34712 --- [ main] liquibase.changelog : Table ACT_APP_APPDEF created
2021-10-29 13:41:02.854 INFO 34712 --- [ main] liquibase.changelog : Foreign key constraint added to ACT_APP_APPDEF (DEPLOYMENT_ID_)
2021-10-29 13:41:02.854 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_APP_DEF_DPLY created
2021-10-29 13:41:02.854 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/app/db/liquibase/flowable-app-db-changelog.xml::1::flowable ran successfully in 10ms
2021-10-29 13:41:02.857 INFO 34712 --- [ main] liquibase.changelog : Index ACT_IDX_APP_DEF_UNIQ created
2021-10-29 13:41:02.857 INFO 34712 --- [ main] liquibase.changelog : ChangeSet org/flowable/app/db/liquibase/flowable-app-db-changelog.xml::3::flowable ran successfully in 1ms
2021-10-29 13:41:02.858 INFO 34712 --- [ main] liquibase.lockservice : Successfully released change log lock
2021-10-29 13:41:02.859 INFO 34712 --- [ main] o.f.app.engine.impl.AppEngineImpl : AppEngine default created
2021-10-29 13:41:03.277 INFO 34712 --- [ main] o.f.a.engine.impl.deployer.AppDeployer : Processing app resource case-management.app
2021-10-29 13:41:03.318 INFO 34712 --- [ main] o.f.e.c.impl.deployer.BpmnDeployer : BpmnDeployer: processing resource case-planning.bpmn
2021-10-29 13:41:03.319 INFO 34712 --- [ main] o.f.e.c.impl.deployer.BpmnDeployer : BpmnDeployer: processing resource case-monitoring.bpmn
2021-10-29 13:41:03.319 INFO 34712 --- [ main] o.f.e.c.impl.deployer.BpmnDeployer : BpmnDeployer: processing resource case-Identification-and-assessment.bpmn
2021-10-29 13:41:03.319 INFO 34712 --- [ main] o.f.e.c.impl.deployer.BpmnDeployer : BpmnDeployer: processing resource case-evaluation-and-outcomes.bpmn
2021-10-29 13:41:06.229 INFO 34712 --- [ main] o.f.form.engine.deployer.FormDeployer : FormDeployer: processing resource form-identify-client-goals-form.form
2021-10-29 13:41:06.230 INFO 34712 --- [ main] o.f.form.engine.deployer.FormDeployer : FormDeployer: processing resource form-administer-client-outcomes-form.form
2021-10-29 13:41:06.230 INFO 34712 --- [ main] o.f.form.engine.deployer.FormDeployer : FormDeployer: processing resource form-identify-client-form.form
2021-10-29 13:41:06.298 INFO 34712 --- [ main] o.f.j.s.i.a.AbstractAsyncExecutor : Starting up the async job executor [org.flowable.spring.job.service.SpringAsyncExecutor].
2021-10-29 13:41:06.299 INFO 34712 --- [ Thread-3] o.f.j.s.i.a.AcquireTimerJobsRunnable : starting to acquire async jobs due
2021-10-29 13:41:06.299 INFO 34712 --- [ Thread-2] o.f.j.s.i.a.AcquireAsyncJobsDueRunnable : starting to acquire async jobs due
2021-10-29 13:41:06.299 INFO 34712 --- [ Thread-4] o.f.j.s.i.a.ResetExpiredJobsRunnable : starting to reset expired jobs for engine bpmn
2021-10-29 13:41:06.314 INFO 34712 --- [ main] o.s.work.WorkServiceApplicationTests : Started WorkServiceApplicationTests in 10.917 seconds (JVM running for 12.006)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.621 s - in org.serendipity.work.WorkServiceApplicationTests
2021-10-29 13:41:06.590 INFO 34712 --- [ionShutdownHook] o.f.j.s.i.a.AbstractAsyncExecutor : Shutting down the async job executor [org.flowable.spring.job.service.SpringAsyncExecutor].
2021-10-29 13:41:06.590 INFO 34712 --- [uire-timer-jobs] o.f.j.s.i.a.AcquireTimerJobsRunnable : stopped async job due acquisition
2021-10-29 13:41:06.590 INFO 34712 --- [et-expired-jobs] o.f.j.s.i.a.ResetExpiredJobsRunnable : stopped resetting expired jobs for engine bpmn
2021-10-29 13:41:06.590 INFO 34712 --- [uire-async-jobs] o.f.j.s.i.a.AcquireAsyncJobsDueRunnable : stopped async job due acquisition for engine bpmn
2021-10-29 13:41:06.593 WARN 34712 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 90121, SQLState: 90121
2021-10-29 13:41:06.593 ERROR 34712 --- [ionShutdownHook] o.h.engine.jdbc.spi.SqlExceptionHelper : Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-200]
2021-10-29 13:41:06.597 ERROR 34712 --- [ionShutdownHook] o.s.orm.jpa.EntityManagerFactoryUtils : Failed to release JPA EntityManager
org.hibernate.exception.JDBCConnectionException: Unable to release JDBC Connection
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:48) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.releaseConnection(LogicalConnectionManagedImpl.java:223) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.close(LogicalConnectionManagedImpl.java:261) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:175) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.internal.AbstractSharedSessionContract.close(AbstractSharedSessionContract.java:351) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.internal.SessionImpl.closeWithoutOpenChecks(SessionImpl.java:376) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:361) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.springframework.orm.jpa.EntityManagerFactoryUtils.closeEntityManager(EntityManagerFactoryUtils.java:427) ~[spring-orm-5.3.10.jar:5.3.10]
at org.springframework.orm.jpa.JpaTransactionManager.closeEntityManagerAfterFailedBegin(JpaTransactionManager.java:514) ~[spring-orm-5.3.10.jar:5.3.10]
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:466) ~[spring-orm-5.3.10.jar:5.3.10]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400) ~[spring-tx-5.3.10.jar:5.3.10]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) ~[spring-tx-5.3.10.jar:5.3.10]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) ~[spring-tx-5.3.10.jar:5.3.10]
at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:56) ~[flowable-spring-common-6.5.0.jar:6.5.0]
at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.5.0.jar:6.5.0]
at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.5.0.jar:6.5.0]
at org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl$2.run(ProcessEngineConfigurationImpl.java:2619) ~[flowable-engine-6.5.0.jar:6.5.0]
at org.flowable.engine.impl.ProcessEngineImpl.close(ProcessEngineImpl.java:129) ~[flowable-engine-6.5.0.jar:6.5.0]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:281) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:215) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:587) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:559) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1152) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:520) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1145) ~[spring-beans-5.3.10.jar:5.3.10]
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1106) ~[spring-context-5.3.10.jar:5.3.10]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1075) ~[spring-context-5.3.10.jar:5.3.10]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1021) ~[spring-context-5.3.10.jar:5.3.10]
at org.springframework.boot.SpringApplicationShutdownHook.closeAndWait(SpringApplicationShutdownHook.java:137) ~[spring-boot-2.5.5.jar:2.5.5]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:106) ~[spring-boot-2.5.5.jar:2.5.5]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: 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-200]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:622) ~[h2-1.4.200.jar:1.4.200]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:429) ~[h2-1.4.200.jar:1.4.200]
at org.h2.message.DbException.get(DbException.java:205) ~[h2-1.4.200.jar:1.4.200]
at org.h2.message.DbException.get(DbException.java:181) ~[h2-1.4.200.jar:1.4.200]
at org.h2.message.DbException.get(DbException.java:170) ~[h2-1.4.200.jar:1.4.200]
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1514) ~[h2-1.4.200.jar:1.4.200]
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1490) ~[h2-1.4.200.jar:1.4.200]
at org.h2.jdbc.JdbcConnection.clearWarnings(JdbcConnection.java:703) ~[h2-1.4.200.jar:1.4.200]
at com.zaxxer.hikari.pool.ProxyConnection.close(ProxyConnection.java:267) ~[HikariCP-4.0.3.jar:na]
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.closeConnection(DatasourceConnectionProviderImpl.java:127) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.internal.NonContextualJdbcConnectionAccess.releaseConnection(NonContextualJdbcConnectionAccess.java:49) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.releaseConnection(LogicalConnectionManagedImpl.java:219) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
... 34 common frames omitted
2021-10-29 13:41:06.597 WARN 34712 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter : Destroy method 'close' on bean with name 'processEngine' threw an exception: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed:
2021-10-29 13:41:06.600 INFO 34712 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2021-10-29 13:41:06.601 INFO 34712 --- [ionShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2021-10-29 13:41:06.603 INFO 34712 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2021-10-29 13:41:06.607 INFO 34712 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ work-service ---
[INFO] Building jar: /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/target/work-service-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (repackage) @ work-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default) @ work-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ work-service ---
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/target/work-service-0.0.1-SNAPSHOT.jar to /Users/robferguson/.m2/repository/org/serendipity/work-service/0.0.1-SNAPSHOT/work-service-0.0.1-SNAPSHOT.jar
[INFO] Installing /Users/robferguson/workspace/temp/serendipity-2.0/backend/modules/work-service/pom.xml to /Users/robferguson/.m2/repository/org/serendipity/work-service/0.0.1-SNAPSHOT/work-service-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.5:repackage (default-cli) @ work-service ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Serendipity Parent POM 1.0.0 ....................... SUCCESS [ 1.206 s]
[INFO] Serendipity Web BFF 0.0.1-SNAPSHOT ................. SUCCESS [ 9.287 s]
[INFO] Serendipity Party Service 0.0.1-SNAPSHOT ........... SUCCESS [ 12.684 s]
[INFO] Serendipity Work Service 0.0.1-SNAPSHOT ............ SUCCESS [ 14.809 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.352 s
[INFO] Finished at: 2021-10-29T13:41:07+11:00
[INFO] ------------------------------------------------------------------------
BTW, you should build the /frontend project first, then the /backend project.
Somehow, i just can't build that. I am running on ubuntu 20.4 following jar and pom files with me ? Do you think you can share the [INFO] Serendipity Parent POM [pom] [INFO] Serendipity Web BFF [jar] [INFO] Serendipity Party Service [jar] [INFO] Serendipity Work Service [jar]
Hmm ...
mvn --version
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /usr/local/Cellar/maven/3.8.2/libexec
Java version: 11.0.6, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_AU, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
Serendipity Parent POM: https://github.com/Robinyo/serendipity-2.0/blob/main/backend/pom.xml
There are Docker images in Docker Hub: https://hub.docker.com/u/robinyo
And a Docker Compose file in the /backend directory: https://github.com/Robinyo/serendipity-2.0/blob/main/backend/docker-compose.yml
Try:
docker-compose up -d
You will need to update the Docker Compose manifest to refer to the Docker Hub images:
image: robinyo/serendipity-identity-server:latest
# image: serendipity-identity-server:latest
image: robinyo/serendipity-party-service:latest
# image: serendipity-party-service:latest
image: robinyo/serendipity-work-service:latest
# image: serendipity-work-service:latest
image: robinyo/serendipity:latest
# image: serendipity:latest
Since i failed in "mvn clean install spring-boot:repackage" , i don't get the jar files i need to run the servers.
Step 3/5 : USER spring:spring ---> Running in 22770cf8dfbb Removing intermediate container 22770cf8dfbb ---> 34aea2e3260f Step 4/5 : COPY ./target/party-service-0.0.1-SNAPSHOT.jar /opt/serendipity/party-service.jar COPY failed: stat /var/snap/docker/common/var-lib-docker/tmp/docker-builder408369273/target/party-service-0.0.1-SNAPSHOT.jar: no such file or directory ERROR: Service 'serendipity-party-service' failed to build
Thanks.
mvn --version Apache Maven 3.6.3 Maven home: /usr/share/maven Java version: 11.0.10, vendor: AdoptOpenJDK, runtime: /home/imderic/.sdkman/candidates/java/11.0.10.hs-adpt Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.11.0-38-generic", arch: "amd64", family: "unix"
Hi All, I encountered the following error when i run "mvn clean install spring-boot:repackage" in backend folder. Any help ? Thanks. Deric
serendipity-2.0/backend$ mvn clean install spring-boot:repackage
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.serendipity:web-bff:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 15, column 10 [FATAL] Non-resolvable parent POM for org.serendipity:party-service:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 15, column 10 [FATAL] Non-resolvable parent POM for org.serendipity:work-service:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 14, column 10 @ [ERROR] The build could not read 3 projects -> [Help 1] [ERROR]
[ERROR] The project org.serendipity:web-bff:0.0.1-SNAPSHOT (/media/imderic/DATA/DEV/Projects/Flowable/serendipity-2.0/backend/modules/web-bff/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.serendipity:web-bff:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 15, column 10 -> [Help 2] [ERROR]
[ERROR] The project org.serendipity:party-service:0.0.1-SNAPSHOT (/media/imderic/DATA/DEV/Projects/Flowable/serendipity-2.0/backend/modules/party-service/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.serendipity:party-service:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 15, column 10 -> [Help 2] [ERROR]
[ERROR] The project org.serendipity:work-service:0.0.1-SNAPSHOT (/media/imderic/DATA/DEV/Projects/Flowable/serendipity-2.0/backend/modules/work-service/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.serendipity:work-service:0.0.1-SNAPSHOT: Failure to find org.serendipity:serendipity-parent:pom:1.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 14, column 10 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException