Skip to content
Failed

Console Output

Skipping 752 KB.. Full Log
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.10.2.jar:1.10.2]
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) ~[surefire-junit-platform-2.22.1.jar:2.22.1]
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) ~[surefire-junit-platform-2.22.1.jar:2.22.1]
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) ~[surefire-booter-2.22.1.jar:2.22.1]
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) ~[surefire-booter-2.22.1.jar:2.22.1]
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) ~[surefire-booter-2.22.1.jar:2.22.1]
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ~[surefire-booter-2.22.1.jar:2.22.1]

[ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.4 s <<< FAILURE! - in co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest
[ERROR] testUpdateAssistant  Time elapsed: 0.001 s  <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'co.edu.udistrital.mdp.eventos.services.userentity.AssistantService': Unsatisfied dependency expressed through field 'modelMapper': No qualifying bean of type 'org.modelmapper.ModelMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.modelmapper.ModelMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

[ERROR] testGetAssistantByInvalidId  Time elapsed: 0.001 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testUpdateAssistantWithInvalidId  Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testGetAllAssistants  Time elapsed: 0.001 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testGetAssistantById  Time elapsed: 0.001 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testCreateAssistant  Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testDeleteAssistantWithInvalidId  Time elapsed: 0.001 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[ERROR] testDeleteAssistant  Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [MergedContextConfiguration@234d4cc4 testClass = co.edu.udistrital.mdp.eventos.services.users.AssistantServiceTest, locations = [], classes = [co.edu.udistrital.mdp.eventos.MainApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@6b9863ce key = [org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration, org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration, org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration, org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration, org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.JdbcClientAutoConfiguration, org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, co.edu.udistrital.mdp.eventos.services.userentity.AssistantService, org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6331250e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70325d20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@599f571f, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@34be3d80, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@90c3006d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4bff2185, org.springframework.boot.test.context.SpringBootTestAnnotation@7fdc2f9a], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]

[INFO] Running co.edu.udistrital.mdp.eventos.services.events.LocationServiceTest
2025-07-02T00:42:33.684Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.LocationServiceTest]: LocationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:33.696Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.LocationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:33.714Z  INFO 104 --- [           main] c.e.u.m.e.s.events.LocationServiceTest   : Starting LocationServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:33.714Z  INFO 104 --- [           main] c.e.u.m.e.s.events.LocationServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:33.769Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:33.787Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:33.797Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:33.806Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:a2052ee4-db33-441a-ac5f-6ed34058548a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:33.822Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:33.823Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:33.827Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:33.828Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:34.057Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:34.079Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:34.282Z  INFO 104 --- [           main] c.e.u.m.e.s.events.LocationServiceTest   : Started LocationServiceTest in 0.584 seconds (process running for 23.061)
Hibernate: delete from location_entity
Hibernate: delete from event_entity
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:34.302Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Inicia el proceso de creación de una ubicación
Hibernate: delete from location_entity
Hibernate: delete from event_entity
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:34.310Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Inicia el proceso de actualización de una ubicación con id=2
Hibernate: delete from location_entity
Hibernate: delete from event_entity
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:34.317Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Inicia el proceso de obtención de una ubicación con id=3
Hibernate: delete from location_entity
Hibernate: delete from event_entity
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:34.326Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Inicia el proceso de creación de una ubicación
2025-07-02T00:42:34.326Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Ubicación creada con id=null
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: delete from location_entity
Hibernate: delete from event_entity
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:34.334Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.LocationService  : Obteniendo ubicaciones del evento con id=6
Hibernate: select le1_0.id,le1_0.capacity,le1_0.event_id,le1_0.location,le1_0.name,le1_0.type from location_entity le1_0 left join event_entity e1_0 on e1_0.id=le1_0.event_id where e1_0.id=?
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.635 s - in co.edu.udistrital.mdp.eventos.services.events.LocationServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.RefundServiceTest
2025-07-02T00:42:34.342Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.RefundServiceTest]: RefundServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:34.343Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.RefundServiceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 s - in co.edu.udistrital.mdp.eventos.services.events.RefundServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.EventTicketServiceTest
2025-07-02T00:42:34.506Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.EventTicketServiceTest]: EventTicketServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:34.510Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.EventTicketServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:34.523Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketServiceTest     : Starting EventTicketServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:34.523Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:34.579Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:34.600Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:34.610Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:34.618Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:66ba3c59-7952-47f4-91c8-75db1a28aecf;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:34.633Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:34.635Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:34.639Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:34.640Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:34.827Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:34.846Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:35.008Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketServiceTest     : Started EventTicketServiceTest in 0.496 seconds (process running for 23.786)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.017Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 1 al evento 1
2025-07-02T00:42:35.019Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Obteniendo ticket 1 del evento 1
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.027Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 3 al evento 3
2025-07-02T00:42:35.027Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Reemplazando tickets del evento 3
Hibernate: update ticket_entity set classification=?,event_id=?,price=?,remaining=? where id=?
Hibernate: select count(*) from ticket_entity te1_0 where te1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.041Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Creando y agregando nuevos tickets al evento 5
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.048Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 8 al evento 7
2025-07-02T00:42:35.049Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 8 al evento 8
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.057Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 999 al evento 9
Hibernate: select te1_0.id,te1_0.classification,e1_0.id,e1_0.category,e1_0.date,e1_0.description,l1_0.id,l1_0.capacity,l1_0.location,l1_0.name,l1_0.type,e1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password,te1_0.price,te1_0.remaining from ticket_entity te1_0 left join event_entity e1_0 on e1_0.id=te1_0.event_id left join location_entity l1_0 on e1_0.id=l1_0.event_id left join organizer_entity o1_0 on o1_0.id=e1_0.organizer_id where te1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.065Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Obteniendo ticket 12 del evento 11
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.072Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 14 al evento 13
2025-07-02T00:42:35.073Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Obteniendo tickets del evento 13
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.079Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 16 al evento 15
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.087Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 18 al evento 999
Hibernate: select ee1_0.id,ee1_0.category,ee1_0.date,ee1_0.description,l1_0.id,l1_0.capacity,l1_0.location,l1_0.name,l1_0.type,ee1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password from event_entity ee1_0 left join location_entity l1_0 on ee1_0.id=l1_0.event_id left join organizer_entity o1_0 on o1_0.id=ee1_0.organizer_id where ee1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:35.095Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Agregando ticket 20 al evento 19
2025-07-02T00:42:35.096Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventTicketService         : Eliminando ticket 20 del evento 19
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.592 s - in co.edu.udistrital.mdp.eventos.services.events.EventTicketServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.ResourceServiceTest
2025-07-02T00:42:35.100Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.ResourceServiceTest]: ResourceServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:35.104Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.ResourceServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:35.117Z  INFO 104 --- [           main] c.e.u.m.e.s.events.ResourceServiceTest   : Starting ResourceServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:35.117Z  INFO 104 --- [           main] c.e.u.m.e.s.events.ResourceServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:35.171Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:35.189Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:35.198Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:35.206Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:66c5dd39-c69e-4aa7-881f-e7b766057692;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:35.221Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:35.222Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:35.226Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:35.227Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:35.401Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:35.419Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:35.582Z  INFO 104 --- [           main] c.e.u.m.e.s.events.ResourceServiceTest   : Started ResourceServiceTest in 0.476 seconds (process running for 24.36)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:35.590Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Inicia el proceso de creación de un recurso
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:35.595Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Inicia el proceso de creación de un recurso
2025-07-02T00:42:35.596Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Recurso creado con id=null
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:35.602Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Obteniendo recursos del evento con id=3
Hibernate: select re1_0.id,re1_0.event_id,re1_0.type,re1_0.url from resource_entity re1_0 left join event_entity e1_0 on e1_0.id=re1_0.event_id where e1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:35.610Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Inicia el proceso de obtención de un recurso con id=5
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:35.616Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.ResourceService  : Inicia el proceso de actualización de un recurso con id=6
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 s - in co.edu.udistrital.mdp.eventos.services.events.ResourceServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.TicketServiceTest
2025-07-02T00:42:35.619Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.TicketServiceTest]: TicketServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:35.623Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.TicketServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:35.635Z  INFO 104 --- [           main] c.e.u.m.e.s.events.TicketServiceTest     : Starting TicketServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:35.635Z  INFO 104 --- [           main] c.e.u.m.e.s.events.TicketServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:35.688Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:35.705Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:35.715Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:35.722Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:47bb87d0-934a-4acd-b449-f9443437a24d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:35.736Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:35.738Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:35.741Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:35.742Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:35.995Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:36.018Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:36.317Z  INFO 104 --- [           main] c.e.u.m.e.s.events.TicketServiceTest     : Started TicketServiceTest in 0.691 seconds (process running for 25.095)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.332Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Iniciando creación de ticket
2025-07-02T00:42:36.334Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Ticket creado exitosamente con ID: null
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.345Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Buscando ticket con ID: 3
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.355Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Iniciando creación de ticket
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.361Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Eliminando ticket con ID: 5
Hibernate: select count(*) from ticket_entity te1_0 where te1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.372Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Buscando ticket con ID: 6
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into ticket_entity (classification,event_id,price,remaining,id) values (?,?,?,?,default)
2025-07-02T00:42:36.378Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.TicketService    : Obteniendo tickets para el evento con ID: 6
Hibernate: select te1_0.id,te1_0.classification,te1_0.event_id,te1_0.price,te1_0.remaining from ticket_entity te1_0 left join event_entity e1_0 on e1_0.id=te1_0.event_id where e1_0.id=?
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.763 s - in co.edu.udistrital.mdp.eventos.services.events.TicketServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.EventResourceServiceTest
2025-07-02T00:42:36.385Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.EventResourceServiceTest]: EventResourceServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:36.390Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.EventResourceServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:36.407Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceServiceTest   : Starting EventResourceServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:36.407Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:36.482Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:36.504Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:36.515Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:36.524Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:16aa61e6-33de-4ef4-bda7-073b6c116b71;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:36.542Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:36.544Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:36.548Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:36.549Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:36.779Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:36.798Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:37.031Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceServiceTest   : Started EventResourceServiceTest in 0.639 seconds (process running for 25.81)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.040Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 1 al evento 1
2025-07-02T00:42:37.043Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Reemplazando recursos del evento 1
Hibernate: update resource_entity set event_id=?,type=?,url=? where id=?
Hibernate: select count(*) from resource_entity re1_0 where re1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.055Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 999 al evento 2
Hibernate: select re1_0.id,e1_0.id,e1_0.category,e1_0.date,e1_0.description,l1_0.id,l1_0.capacity,l1_0.location,l1_0.name,l1_0.type,e1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password,re1_0.type,re1_0.url from resource_entity re1_0 left join event_entity e1_0 on e1_0.id=re1_0.event_id left join location_entity l1_0 on e1_0.id=l1_0.event_id left join organizer_entity o1_0 on o1_0.id=e1_0.organizer_id where re1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.062Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 5 al evento 3
2025-07-02T00:42:37.063Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Obteniendo recurso 5 del evento 3
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.070Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 7 al evento 4
2025-07-02T00:42:37.071Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Obteniendo recursos del evento 4
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.078Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 9 al evento 5
2025-07-02T00:42:37.080Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Eliminando recurso 9 del evento 5
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.087Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 11 al evento 6
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.094Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Obteniendo recurso 13 del evento 7
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
Hibernate: insert into resource_entity (event_id,type,url,id) values (?,?,?,default)
2025-07-02T00:42:37.100Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventResourceService       : Agregando recurso 15 al evento 999
Hibernate: select ee1_0.id,ee1_0.category,ee1_0.date,ee1_0.description,l1_0.id,l1_0.capacity,l1_0.location,l1_0.name,l1_0.type,ee1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password from event_entity ee1_0 left join location_entity l1_0 on ee1_0.id=l1_0.event_id left join organizer_entity o1_0 on o1_0.id=ee1_0.organizer_id where ee1_0.id=?
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.71 s - in co.edu.udistrital.mdp.eventos.services.events.EventResourceServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.EventServiceTest
2025-07-02T00:42:37.104Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.EventServiceTest]: EventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:37.110Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.EventServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:37.124Z  INFO 104 --- [           main] c.e.u.m.e.s.events.EventServiceTest      : Starting EventServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:37.124Z  INFO 104 --- [           main] c.e.u.m.e.s.events.EventServiceTest      : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:37.190Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:37.211Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:37.223Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:37.232Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:5129f23a-98f5-40ac-ba8a-8ccde246274b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:37.249Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:37.250Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:37.254Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:37.255Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:37.444Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:37.461Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:37.618Z  INFO 104 --- [           main] c.e.u.m.e.s.events.EventServiceTest      : Started EventServiceTest in 0.506 seconds (process running for 26.397)
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.626Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Inicia el proceso de eliminación de un evento con id=1
Hibernate: select count(*) from event_entity ee1_0 where ee1_0.id=?
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.635Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Obteniendo eventos del organizador con id=2
Hibernate: select ee1_0.id,ee1_0.category,ee1_0.date,ee1_0.description,ee1_0.name,ee1_0.organizer_id from event_entity ee1_0 left join organizer_entity o1_0 on o1_0.id=ee1_0.organizer_id where o1_0.id=?
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.643Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Inicia el proceso de creación de un evento
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.648Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Inicia el proceso de actualización de un evento con id=4
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.655Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Inicia el proceso de creación de un evento
2025-07-02T00:42:37.655Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Evento creado con id=null
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into organizer_entity (address,birth_date,email,last_name,name,number_phone,password,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
2025-07-02T00:42:37.661Z  INFO 104 --- [           main] c.e.u.m.e.s.evententity.EventService     : Inicia el proceso de obtención de un evento con id=7
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.554 s - in co.edu.udistrital.mdp.eventos.services.events.EventServiceTest
[INFO] Running co.edu.udistrital.mdp.eventos.services.events.EventLocationServiceTest
2025-07-02T00:42:37.664Z  INFO 104 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.eventos.services.events.EventLocationServiceTest]: EventLocationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-02T00:42:37.669Z  INFO 104 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.eventos.MainApplication for test class co.edu.udistrital.mdp.eventos.services.events.EventLocationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-07-02T00:42:37.681Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationServiceTest   : Starting EventLocationServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back)
2025-07-02T00:42:37.681Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-07-02T00:42:37.732Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T00:42:37.749Z  INFO 104 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 16 JPA repository interfaces.
2025-07-02T00:42:37.757Z  INFO 104 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T00:42:37.765Z  INFO 104 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:d681817c-45ed-4b85-a995-c90a88967f1e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T00:42:37.779Z  INFO 104 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T00:42:37.780Z  INFO 104 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-07-02T00:42:37.783Z  INFO 104 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T00:42:37.784Z  WARN 104 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-02T00:42:37.944Z  INFO 104 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
Hibernate: create table assistant_entity (birth_date timestamp(6), event_id bigint, id bigint generated by default as identity, email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table booking_entity (remaining_seats integer, assistant_id bigint, event_id bigint, id bigint generated by default as identity, notification_id bigint unique, purchase_id bigint unique, primary key (id))
Hibernate: create table event_entity (date timestamp(6), id bigint generated by default as identity, organizer_id bigint, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table location_entity (capacity integer, event_id bigint unique, id bigint generated by default as identity, location varchar(255), name varchar(255), type varchar(255), primary key (id))
Hibernate: create table method_of_payment (card_number integer, identity_document integer, otp_code integer, phone_account integer, security_code integer, assistant_id bigint, expiration_date timestamp(6), id bigint generated by default as identity, method_type varchar(31) not null, card_holder_name varchar(255), email varchar(255), type varchar(255) not null, type_of_wallet varchar(255), primary key (id))
Hibernate: create table notification_entity (assistant_id bigint, id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table organizer_entity (birth_date timestamp(6), id bigint generated by default as identity, address varchar(255), email varchar(255), last_name varchar(255), name varchar(255), number_phone varchar(255), password varchar(255), primary key (id))
Hibernate: create table preference_entity (id bigint generated by default as identity, description varchar(255), primary key (id))
Hibernate: create table preference_entity_assistants (assistants_id bigint not null, preferences_id bigint not null)
Hibernate: create table purchase_entity (amount float(53), discount float(24), remaining_seats integer, assistant_id bigint, id bigint generated by default as identity, method_of_payment_id bigint unique, notification_id bigint unique, purchase_date timestamp(6), purchase_id bigint, refund_id bigint unique, dtype varchar(31) not null, code varchar(255), description varchar(255), primary key (id))
Hibernate: create table refund_entity (date timestamp(6), id bigint generated by default as identity, reason varchar(255), primary key (id))
Hibernate: create table resource_entity (event_id bigint, id bigint generated by default as identity, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table ticket_entity (price integer, remaining integer, event_id bigint, id bigint generated by default as identity, classification varchar(255), primary key (id))
Hibernate: alter table if exists assistant_entity add constraint FKnfqyckcyw8vc2wp9b6bshjqsp foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKnqkpqmd5f3fujfvf67n8om20n foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists booking_entity add constraint FKle5dtmgrkv9pn5ksfvwxatoji foreign key (event_id) references event_entity
Hibernate: alter table if exists booking_entity add constraint FKe4mq4gohuohf8t7isq07p2398 foreign key (notification_id) references notification_entity
Hibernate: alter table if exists booking_entity add constraint FKcbos0pg4kd9xn7nyi0ky4hme8 foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists event_entity add constraint FK3j2l7bk9fk1wt3btgaoate4i9 foreign key (organizer_id) references organizer_entity
Hibernate: alter table if exists location_entity add constraint FKswf7m7mdk5k28s4xckw765qpf foreign key (event_id) references event_entity
Hibernate: alter table if exists method_of_payment add constraint FK6b45phiweyifgiv0fbacayys5 foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists notification_entity add constraint FKnmlv6uh2ymg25933n5cvjmfmj foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FK8006pc5crsyddxf76kb8vfvvw foreign key (assistants_id) references assistant_entity
Hibernate: alter table if exists preference_entity_assistants add constraint FKfjj6y9jgi1wp81u3kadvms9k4 foreign key (preferences_id) references preference_entity
Hibernate: alter table if exists purchase_entity add constraint FKt5h25bqsdc00rq42yd0jv8rni foreign key (assistant_id) references assistant_entity
Hibernate: alter table if exists purchase_entity add constraint FK4q55ekkw4q7fvcmqr24uud5f2 foreign key (method_of_payment_id) references method_of_payment
Hibernate: alter table if exists purchase_entity add constraint FKgwuiah4j03ivkv99y5erl6o2e foreign key (notification_id) references notification_entity
Hibernate: alter table if exists purchase_entity add constraint FK3i90tqs469wdy6yhvyob39ai foreign key (refund_id) references refund_entity
Hibernate: alter table if exists purchase_entity add constraint FKsamvflj3gcimsd6ji5xbpx1bf foreign key (purchase_id) references purchase_entity
Hibernate: alter table if exists resource_entity add constraint FKsu1891ivoi3uc2kpbki86f69y foreign key (event_id) references event_entity
Hibernate: alter table if exists ticket_entity add constraint FK6bumluq4dsrggxkxvow6nbf91 foreign key (event_id) references event_entity
2025-07-02T00:42:37.961Z  INFO 104 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:38.093Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationServiceTest   : Started EventLocationServiceTest in 0.422 seconds (process running for 26.871)
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.101Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 1 al evento 1
2025-07-02T00:42:38.102Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Removiendo ubicación del evento 1
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.109Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 3 al evento 2
2025-07-02T00:42:38.110Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Actualizando ubicación del evento 2 a 4
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.116Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 5 al evento 3
2025-07-02T00:42:38.117Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 6 al evento 3
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.123Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 999 al evento 4
Hibernate: select le1_0.id,le1_0.capacity,e1_0.id,e1_0.category,e1_0.date,e1_0.description,e1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password,le1_0.location,le1_0.name,le1_0.type from location_entity le1_0 left join event_entity e1_0 on e1_0.id=le1_0.event_id left join organizer_entity o1_0 on o1_0.id=e1_0.organizer_id where le1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.129Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 9 al evento 5
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.135Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Obteniendo ubicación del evento 6
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.141Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 13 al evento 999
Hibernate: select ee1_0.id,ee1_0.category,ee1_0.date,ee1_0.description,l1_0.id,l1_0.capacity,l1_0.location,l1_0.name,l1_0.type,ee1_0.name,o1_0.id,o1_0.address,o1_0.birth_date,o1_0.email,o1_0.last_name,o1_0.name,o1_0.number_phone,o1_0.password from event_entity ee1_0 left join location_entity l1_0 on ee1_0.id=l1_0.event_id left join organizer_entity o1_0 on o1_0.id=ee1_0.organizer_id where ee1_0.id=?
Hibernate: insert into event_entity (category,date,description,name,organizer_id,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
Hibernate: insert into location_entity (capacity,event_id,location,name,type,id) values (?,?,?,?,?,default)
2025-07-02T00:42:38.148Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Asignando ubicación 15 al evento 8
2025-07-02T00:42:38.148Z  INFO 104 --- [           main] c.e.u.m.e.s.e.EventLocationService       : Obteniendo ubicación del evento 8
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 s - in co.edu.udistrital.mdp.eventos.services.events.EventLocationServiceTest
2025-07-02T00:42:38.159Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.164Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.169Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.177Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T00:42:38.180Z  INFO 104 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2025-07-02T00:42:38.330Z  INFO 104 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2025-07-02T00:42:38.331Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.337Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.341Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.344Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.348Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.352Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.355Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.358Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.362Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.365Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.368Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.371Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
2025-07-02T00:42:38.374Z  INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists assistant_entity cascade 
Hibernate: drop table if exists booking_entity cascade 
Hibernate: drop table if exists event_entity cascade 
Hibernate: drop table if exists location_entity cascade 
Hibernate: drop table if exists method_of_payment cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists organizer_entity cascade 
Hibernate: drop table if exists preference_entity cascade 
Hibernate: drop table if exists preference_entity_assistants cascade 
Hibernate: drop table if exists purchase_entity cascade 
Hibernate: drop table if exists refund_entity cascade 
Hibernate: drop table if exists resource_entity cascade 
Hibernate: drop table if exists ticket_entity cascade 
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   AssistantServiceTest.testCreateAssistant » IllegalState ApplicationContext fai...
[ERROR]   AssistantServiceTest.testDeleteAssistant » IllegalState ApplicationContext fai...
[ERROR]   AssistantServiceTest.testDeleteAssistantWithInvalidId » IllegalState Applicati...
[ERROR]   AssistantServiceTest.testGetAllAssistants » IllegalState ApplicationContext fa...
[ERROR]   AssistantServiceTest.testGetAssistantById » IllegalState ApplicationContext fa...
[ERROR]   AssistantServiceTest.testGetAssistantByInvalidId » IllegalState ApplicationCon...
[ERROR]   AssistantServiceTest.testUpdateAssistant » IllegalState Failed to load Applica...
[ERROR]   AssistantServiceTest.testUpdateAssistantWithInvalidId » IllegalState Applicati...
[ERROR]   PreferenceAssistantServiceTest.whenAddAssistantWithInvalidAssistantId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenAddAssistantWithInvalidPreferenceId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenAddAssistantWithValidIds_thenAssistantIsAdded » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantNotAssociated_thenThrowIllegalOperationException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantWithInvalidAssistantId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantWithInvalidPreferenceId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantWithValidIdsAndAssociation_thenReturnAssistant » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantsWithInvalidPreferenceId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenGetAssistantsWithValidPreferenceId_thenReturnAssistantsList » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenRemoveAssistantWithInvalidAssistantId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenRemoveAssistantWithInvalidPreferenceId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenRemoveAssistantWithValidIds_thenAssistantIsRemoved » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenReplaceAssistantsWithInvalidPreferenceId_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenReplaceAssistantsWithNonExistingAssistant_thenThrowEntityNotFoundException » IllegalState
[ERROR]   PreferenceAssistantServiceTest.whenReplaceAssistantsWithValidIds_thenAssistantsAreReplaced » IllegalState
[INFO] 
[ERROR] Tests run: 224, Failures: 0, Errors: 23, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  38.238 s
[INFO] Finished at: 2025-07-02T00:42:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project MP_202510_G81_E2_Eventos_Back: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[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/MojoFailureException
[Pipeline] }
$ docker stop --time=1 3e95cc95a8ba17461573b75ca5751ae8d4655a928b6038a97b32e6a30e27ba0b
$ docker rm -f --volumes 3e95cc95a8ba17461573b75ca5751ae8d4655a928b6038a97b32e6a30e27ba0b
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Testing)
Stage "Testing" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Static Analysis)
Stage "Static Analysis" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] deleteDir
[Pipeline] dir
Running in /home/cecaduser/workspace/MP_202510_G81_E2_Eventos_Back/MP_202510_G81_E2_Eventos_Back@tmp
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE