testlens-app[bot] commented on PR #16169:
URL: https://github.com/apache/grails-core/pull/16169#issuecomment-6169910915

   ## 🚨 TestLens detected 11 failed tests 🚨
   
   ### Test Summary
   > [!TIP]
   > Inspect all details with the [TestLens 
CLI](https://testlens.app/docs/features/cli): `testlens pr 16169`
   
   #### [CI / Spring Security CAS Functional Tests 
\(casNoSingleSignout\)](https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169)
 > :grails-test-examples-spring-security-cas-test1:integrationTest
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | CasLoginSpec > a user authenticated at CAS reaches a ROLE\_USER action | ❌ 
| 0% 🟢 |
   | CasLoginSpec > a user without the role is denied a ROLE\_ADMIN action | ❌ 
| 0% 🟢 |
   | CasLoginSpec > an admin authenticated at CAS reaches a ROLE\_ADMIN action 
| ❌ | 0% 🟢 |
   | CasLoginSpec > an unauthenticated request is redirected to the CAS login 
page for this service | ❌ | 0% 🟢 |
   | CasLoginSpec > bad credentials do not authenticate | ❌ | 0% 🟢 |
   | CasNoProxyReceptorSpec > a normal CAS login still works without proxy 
settings | ❌ | 0% 🟢 |
   | CasNoProxyReceptorSpec > no proxy ticket can be obtained when the receptor 
is not configured | ❌ | 0% 🟢 |
   | CasNoProxyReceptorSpec > the application starts and wires the CAS filter 
with no proxy receptor configured | ❌ | 0% 🟢 |
   | CasNoProxyReceptorSpec > the receptor path is left to the application when 
no proxy receptor is configured | ❌ | 0% 🟢 |
   | CasNoSingleSignOutSpec > a CAS logout request is ignored when single 
signout is not enabled | ❌ | 0% 🟢 |
   | CasNoSingleSignOutSpec > session fixation prevention is left in place when 
single signout is not enabled | ❌ | 0% 🟢 |
   
   🏷️ Commit: a3b5aa39dfc295361d0a38761310a16f69831aeb
   ▶️ Tests:  947 executed
   🟡 Checks: 13/84 completed
   
   ### Test Failures (first 10 of 11)
   
   <details><summary><strong>CasLoginSpec > a user authenticated at CAS reaches 
a ROLE_USER action</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@25245f60 testClass = 
grails.plugin.springsecurity.cas.test.CasLoginSpec, locations = [], classes = 
[grails.plugin.springsecurity.cas.test.Application], contextInitializerClasses 
= [], activeProfiles = [], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicPropertiesContextCus
 tomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasLoginSpec > a user without the role is denied a 
ROLE_ADMIN action</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@25245f60 testClass = 
grails.plugin.springsecurity.cas.test.CasLoginSpec, locations = [], classes = 
[grails.plugin.springsecurity.cas.test.Application], contextInitializerClasses 
= [], activeProfiles = [], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicPropertiesContextCus
 tomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasLoginSpec > an admin authenticated at CAS 
reaches a ROLE_ADMIN action</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@25245f60 testClass = 
grails.plugin.springsecurity.cas.test.CasLoginSpec, locations = [], classes = 
[grails.plugin.springsecurity.cas.test.Application], contextInitializerClasses 
= [], activeProfiles = [], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicPropertiesContextCus
 tomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasLoginSpec > an unauthenticated request is 
redirected to the CAS login page for this service</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@25245f60 testClass = 
grails.plugin.springsecurity.cas.test.CasLoginSpec, locations = [], classes = 
[grails.plugin.springsecurity.cas.test.Application], contextInitializerClasses 
= [], activeProfiles = [], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.spockframework.spring.mock.SpockContextCusto
 mizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'publisherActionResultTransformer': Instantiation of 
supplied bean failed
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1250)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1225)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
        at 
org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:130)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:502)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:491)
        at 
grails.plugin.springsecurity.cas.test.Application.main(Application.groovy:29)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 17 more
   Caused by: java.lang.UnsupportedOperationException
        at 
java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:142)
        at 
java.base/java.util.ImmutableCollections$AbstractImmutableCollection.addAll(ImmutableCollections.java:148)
        at 
org.grails.plugins.web.async.ControllersAsyncGrailsPlugin.registerStreamingBeans_closure3$_closure13(ControllersAsyncGrailsPlugin.groovy:150)
        at 
org.springframework.beans.factory.support.BeanRegistryAdapter$BeanSpecAdapter.lambda$supplier$0(BeanRegistryAdapter.java:292)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1283)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1026)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1244)
        ... 49 more
   ```
   
   </details>
   <details><summary><strong>CasLoginSpec > bad credentials do not 
authenticate</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@25245f60 testClass = 
grails.plugin.springsecurity.cas.test.CasLoginSpec, locations = [], classes = 
[grails.plugin.springsecurity.cas.test.Application], contextInitializerClasses 
= [], activeProfiles = [], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicPropertiesContextCus
 tomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasNoProxyReceptorSpec > a normal CAS login still 
works without proxy settings</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@5f6b899d testClass = 
grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec, locations = [], 
classes = [grails.plugin.springsecurity.cas.test.Application], 
contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors 
= [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicProperties
 ContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasNoProxyReceptorSpec > no proxy ticket can be 
obtained when the receptor is not configured</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@5f6b899d testClass = 
grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec, locations = [], 
classes = [grails.plugin.springsecurity.cas.test.Application], 
contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors 
= [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicProperties
 ContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasNoProxyReceptorSpec > the application starts 
and wires the CAS filter with no proxy receptor configured</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@5f6b899d testClass = 
grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec, locations = [], 
classes = [grails.plugin.springsecurity.cas.test.Application], 
contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors 
= [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicProperties
 ContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasNoProxyReceptorSpec > the receptor path is left 
to the application when no proxy receptor is configured</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@5f6b899d testClass = 
grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec, locations = [], 
classes = [grails.plugin.springsecurity.cas.test.Application], 
contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors 
= [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicProperties
 ContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details><summary><strong>CasNoSingleSignOutSpec > a CAS logout request is 
ignored when single signout is not enabled</strong> 
(:grails-test-examples-spring-security-cas-test1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/38573881104/job/115886536218?pr=16169";>CI
 / Spring Security CAS Functional Tests (casNoSingleSignout)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@5a6a336c testClass = 
grails.plugin.springsecurity.cas.test.CasNoSingleSignOutSpec, locations = [], 
classes = [grails.plugin.springsecurity.cas.test.Application], 
contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors 
= [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@6e0e5dec,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12b5736c,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4364863,
 org.springframework.test.context.support.DynamicProperties
 ContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@3400c935], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
        at 
org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
        at 
org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
        at 
org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 CasLoginSpec > a user authenticated at CAS reaches a ROLE\_USER action 
<!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasLoginSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 CasLoginSpec > a user without the role is denied a ROLE\_ADMIN action <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasLoginSpec]/[feature:$spock_feature_1_3]
 -->
   🔲 CasLoginSpec > an admin authenticated at CAS reaches a ROLE\_ADMIN action 
<!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasLoginSpec]/[feature:$spock_feature_1_2]
 -->
   🔲 CasLoginSpec > an unauthenticated request is redirected to the CAS login 
page for this service <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasLoginSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 CasLoginSpec > bad credentials do not authenticate <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasLoginSpec]/[feature:$spock_feature_1_4]
 -->
   🔲 CasNoProxyReceptorSpec > a normal CAS login still works without proxy 
settings <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec]/[feature:$spock_feature_1_2]
 -->
   🔲 CasNoProxyReceptorSpec > no proxy ticket can be obtained when the receptor 
is not configured <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec]/[feature:$spock_feature_1_3]
 -->
   🔲 CasNoProxyReceptorSpec > the application starts and wires the CAS filter 
with no proxy receptor configured <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 CasNoProxyReceptorSpec > the receptor path is left to the application when 
no proxy receptor is configured <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoProxyReceptorSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 CasNoSingleSignOutSpec > a CAS logout request is ignored when single 
signout is not enabled <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoSingleSignOutSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 CasNoSingleSignOutSpec > session fixation prevention is left in place when 
single signout is not enabled <!-- 
uniqueId=[engine:spock]/[spec:grails.plugin.springsecurity.cas.test.CasNoSingleSignOutSpec]/[feature:$spock_feature_1_1]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to