Skip to content

Merge feature to develop #28

Merge feature to develop

Merge feature to develop #28

Re-run triggered May 17, 2024 15:41
Status Failure
Total duration 1m 4s
Artifacts

development-cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
com.learning.yasminishop.controller.AuthenticationControllerTest ► register_invalidEmail_fail: target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@64209d58 testClass = com.learning.yasminishop.controller.AuthenticationControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@59e8b191 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@f857e192, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.AuthenticationControllerTest ► logout_nullToken_fail: target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml Error: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@64209d58 testClass = com.learning.yasminishop.controller.AuthenticationControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@59e8b191 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@f857e192, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.PermissionControllerTest ► getAll_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@63d8682a testClass = com.learning.yasminishop.controller.PermissionControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@463a766 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@a327bcb2, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.PermissionControllerTest ► delete_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml Error: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@63d8682a testClass = com.learning.yasminishop.controller.PermissionControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@463a766 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@a327bcb2, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.ProductControllerTest ► getBySlug_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@55e107f5 testClass = com.learning.yasminishop.controller.ProductControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@819e073 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@fcb1e352, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.ProductControllerTest ► getFeaturedProducts_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml Error: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@55e107f5 testClass = com.learning.yasminishop.controller.ProductControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@819e073 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@fcb1e352, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.RoleControllerTest ► deleteRole_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@7dc6a671 testClass = com.learning.yasminishop.controller.RoleControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@280355b4 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@96ee7292, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.RoleControllerTest ► createRole_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml Error: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@7dc6a671 testClass = com.learning.yasminishop.controller.RoleControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@280355b4 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@96ee7292, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.UserControllerTest ► getUser_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@37652627 testClass = com.learning.yasminishop.controller.UserControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@7b2bfc55 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@90f97f2, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.controller.UserControllerTest ► getMyInfo_validRequest_success: target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml Error: java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@37652627 testClass = com.learning.yasminishop.controller.UserControllerTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@7b2bfc55 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@90f97f2, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@4b3fa0b3, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
com.learning.yasminishop.service.AuthenticationServiceTest ► refresh_userNotFound_throwException: target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest.xml#L0
Failed test found in: target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest.xml Error: java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1628c472 testClass = com.learning.yasminishop.service.AuthenticationServiceTest, locations = [], classes = [com.learning.yasminishop.SpringSecurityApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[classpath:/test.properties], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3eed0f5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55b8dbda, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@bcd7d23a, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7551da2a, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@5f13be1, org.springframework.boot.test.context.SpringBootTestAnnotation@73aabbdc], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
build
Failed test were found and 'fail-on-error' option is set to true
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Test report summary exceeded limit of 65535 bytes and will be trimmed