2025-05-18T23:06:43.433Z INFO 4760 --- [psyceful_api] [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.psyceful.psyceful_api.services.PractitionerServiceImplTest]: PractitionerServiceImplTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-05-18T23:06:43.440Z INFO 4760 --- [psyceful_api] [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.psyceful.psyceful_api.PsycefulApiApplication for test class com.psyceful.psyceful_api.services.PractitionerServiceImplTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.4.2)
2025-05-18T23:06:43.547Z INFO 4760 --- [psyceful_api] [ Test worker] c.p.p.s.PractitionerServiceImplTest : Starting PractitionerServiceImplTest using Java 21.0.7 with PID 4760 (started by jenkins in /home/jenkins/workspace/psyceful-api-build)
2025-05-18T23:06:43.548Z INFO 4760 --- [psyceful_api] [ Test worker] c.p.p.s.PractitionerServiceImplTest : The following 1 profile is active: "test"
2025-05-18T23:06:44.264Z INFO 4760 --- [psyceful_api] [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-05-18T23:06:44.349Z INFO 4760 --- [psyceful_api] [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 72 ms. Found 5 JPA repository interfaces.
2025-05-18T23:06:45.592Z INFO 4760 --- [psyceful_api] [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-05-18T23:06:45.598Z INFO 4760 --- [psyceful_api] [ Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-05-18T23:06:45.628Z INFO 4760 --- [psyceful_api] [ Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-05-18T23:06:45.635Z INFO 4760 --- [psyceful_api] [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting...
2025-05-18T23:06:45.640Z INFO 4760 --- [psyceful_api] [ Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn20: url=jdbc:h2:mem:testdb user=PSYCEFUL_TEST
2025-05-18T23:06:45.640Z INFO 4760 --- [psyceful_api] [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed.
2025-05-18T23:06:45.641Z WARN 4760 --- [psyceful_api] [ Test worker] 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-05-18T23:06:45.645Z INFO 4760 --- [psyceful_api] [ Test worker] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-3)']
Database driver: undefined/unknown
Database version: 2.3.232
Autocommit mode: undefined/unknown
Isolation level: undefined/unknown
Minimum pool size: undefined/unknown
Maximum pool size: undefined/unknown
Hibernate:
create global temporary table HTE_users(activated boolean, enabled boolean, rn_ integer not null, created_at timestamp(6), id bigint, updated_at timestamp(6), email varchar(255), firstname varchar(255), lastname varchar(255), password varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HT_patients(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_patients(activated boolean, enabled boolean, rn_ integer not null, created_at timestamp(6), id bigint, updated_at timestamp(6), email varchar(255), firstname varchar(255), lastname varchar(255), password varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HT_practitioners(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_practitioners(activated boolean, enabled boolean, rn_ integer not null, created_at timestamp(6), id bigint, updated_at timestamp(6), email varchar(255), firstname varchar(255), lastname varchar(255), password varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_tokens(rn_ integer not null, created_at timestamp(6), expire_at timestamp(6), id bigint, user_id bigint, validate_at timestamp(6), token varchar(255), type varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HTE_roles(rn_ integer not null, id bigint, name varchar(255), primary key (rn_)) TRANSACTIONAL
Hibernate:
create global temporary table HT_users(id bigint not null, primary key (id)) TRANSACTIONAL
2025-05-18T23:06:46.286Z INFO 4760 --- [psyceful_api] [ Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2025-05-18T23:06:46.306Z INFO 4760 --- [psyceful_api] [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-05-18T23:06:46.786Z INFO 4760 --- [psyceful_api] [ Test worker] eAuthenticationProviderManagerConfigurer : Global AuthenticationManager configured with AuthenticationProvider bean with name authenticationProvider
2025-05-18T23:06:46.788Z WARN 4760 --- [psyceful_api] [ Test worker] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with an AuthenticationProvider bean. UserDetailsService beans will not be used by Spring Security for automatically configuring username/password login. Consider removing the AuthenticationProvider bean. Alternatively, consider using the UserDetailsService in a manually instantiated DaoAuthenticationProvider. If the current configuration is intentional, to turn off this warning, increase the logging level of 'org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer' to ERROR
2025-05-18T23:06:46.838Z WARN 4760 --- [psyceful_api] [ Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2025-05-18T23:06:47.283Z DEBUG 4760 --- [psyceful_api] [ Test worker] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with filters: DisableEncodeUrlFilter, WebAsyncManagerIntegrationFilter, SecurityContextHolderFilter, HeaderWriterFilter, CorsFilter, LogoutFilter, JwtAuthFilter, RequestCacheAwareFilter, SecurityContextHolderAwareRequestFilter, AnonymousAuthenticationFilter, SessionManagementFilter, ExceptionTranslationFilter, AuthorizationFilter
2025-05-18T23:06:47.680Z INFO 4760 --- [psyceful_api] [ Test worker] c.p.p.s.PractitionerServiceImplTest : Started PractitionerServiceImplTest in 4.219 seconds (process running for 49.896)
Hibernate:
select
count(*)
from
roles r1_0
Hibernate:
select
r1_0.id,
r1_0.name
from
roles r1_0
where
r1_0.name=?