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

   ## 🚨 TestLens detected 23 failed tests 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | AsyncFunctionalSpec > Test 
async response rendering works | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | AtResourceSpec > A domain class 
annotated with \@Resources exposes an endpoint | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookFunctionalSpec > Test that 
a book was created in the Bootstrap class | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookFunctionalSpec > Test that 
switching language results in correct encodings | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookFunctionalSpec > Test that 
when the /viewBooks URL is hit it redirects to the book list | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookFunctionalSpec > When 
creating a book the params are not on the url | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > create 
book and save | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > create 
book and save with where | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > create 
book and save with where > create book and save with where [title: The Stand, 
count: 2, \#0] | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > test 
toUpperCase | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > test 
toUpperCase > test toUpperCase [value: King Crimson, expectedResult: KING 
CRIMSON, \#0] | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > test 
toUpperCase > test toUpperCase [value: Riverside, expectedResult: RIVERSIDE, 
\#1] | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookIntegrationSpec > test 
transaction rolled back from previous test | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | BookRestfulControllerSpec > A 
RestfulController exposes an index endpoint for a domain class | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | 
ConditionalOnPropertyFromPluginYmlSpec > conditional bean messages confirm they 
were loaded via \@ConditionalOnProperty | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | 
ConditionalOnPropertyFromPluginYmlSpec > conditional beans from plugin.yml 
properties are all present | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ConfigTestControllerSpec > Test 
that configuration properties are correctly read | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ControllerFromPluginSpec > test 
invoking a controller provided by a plugin | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ControllerIncludesSpec > Test 
includes that render a view work when called from a controller action | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ControllerIncludesSpec > Test 
includes that render a view work when called from another view | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ControllerIncludesSpec > Test 
includes that render text work when called from a controller action | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app1:integrationTest | ControllerIncludesSpec > Test 
includes that render text work when called from another view | ❌ |
   | [CI / Functional Tests \(Java 21, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465)
 | :grails-test-examples-app3:integrationTest | LoadAfterSpec > Test override 
one plugin view from another plugin | ❌ |
   
   🏷️ Commit: 20e515d12a8707fda0f58d9351e1b25f17dc5e59
   ▶️ Tests:  10520 executed
   🟡 Checks: 10/30 completed
   
   ### Test Failures (first 5 of 23)
   
   <details>
   
   <summary><strong>AsyncFunctionalSpec > Test async response rendering 
works</strong> (:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465";>CI
 / Functional Tests (Java 21, indy=false)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@4afad6bd testClass = 
functionaltests.AsyncFunctionalSpec, locations = [], classes = 
[functionaltests.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@45e617c4,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6be6931f,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2db6d68d,
 org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, 
org.springframework.boot.te
 st.context.SpringBootTestAnnotation@800a54ff], 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.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        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:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102)
        at 
grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   Caused by: groovy.lang.MissingMethodException: No signature of method: 
static grails.plugin.springsecurity.ReflectionUtils.getApplication() is 
applicable for argument types: () values: []
        at 
grails.plugin.springsecurity.ReflectionUtils.getSecurityConfig(ReflectionUtils.groovy:119)
        at 
grails.plugin.springsecurity.SpringSecurityUtils.reloadSecurityConfig(SpringSecurityUtils.groovy:271)
        at 
grails.plugin.springsecurity.SpringSecurityUtils.getSecurityConfig(SpringSecurityUtils.groovy:240)
        at 
grails.plugin.springsecurity.SpringSecurityCoreGrailsPlugin.doWithSpring_closure12(SpringSecurityCoreGrailsPlugin.groovy:177)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:412)
        at 
grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:765)
        at grails.spring.BeanBuilder.beans(BeanBuilder.java:594)
        at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:537)
        at 
org.grails.plugins.DefaultGrailsPlugin.doWithRuntimeConfiguration(DefaultGrailsPlugin.java:398)
        at 
org.grails.plugins.AbstractGrailsPluginManager.doRuntimeConfiguration(AbstractGrailsPluginManager.java:174)
        at 
grails.boot.config.GrailsApplicationPostProcessor.postProcessBeanDefinitionRegistry(GrailsApplicationPostProcessor.groovy:198)
        at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
        at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:148)
        at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:795)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:603)
        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:100)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:394)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:383)
        at functionaltests.Application.main(Application.groovy:31)
        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
   ```
   
   </details>
   <details>
   
   <summary><strong>AtResourceSpec > A domain class annotated with @Resources 
exposes an endpoint</strong> (:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465";>CI
 / Functional Tests (Java 21, indy=false)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@36f8abe2 testClass = 
functionaltests.AtResourceSpec, locations = [], classes = 
[functionaltests.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@45e617c4,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6be6931f,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2db6d68d,
 org.springframework.test.context.support.DynamicProp
 ertiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@800a54ff], 
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.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        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:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details>
   
   <summary><strong>BookFunctionalSpec > Test that a book was created in the 
Bootstrap class</strong> (:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465";>CI
 / Functional Tests (Java 21, indy=false)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@49ffd0cb testClass = 
functionaltests.BookFunctionalSpec, locations = [], classes = 
[functionaltests.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@45e617c4,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6be6931f,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2db6d68d,
 org.springframework.test.context.support.Dynamic
 PropertiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@800a54ff], 
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.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        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:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102)
        at 
grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details>
   
   <summary><strong>BookFunctionalSpec > Test that switching language results 
in correct encodings</strong> (:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465";>CI
 / Functional Tests (Java 21, indy=false)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@49ffd0cb testClass = 
functionaltests.BookFunctionalSpec, locations = [], classes = 
[functionaltests.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@45e617c4,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6be6931f,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2db6d68d,
 org.springframework.test.context.support.Dynamic
 PropertiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@800a54ff], 
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.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        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:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102)
        at 
grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   <details>
   
   <summary><strong>BookFunctionalSpec > Test that when the /viewBooks URL is 
hit it redirects to the book list</strong> 
(:grails-test-examples-app1:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25295820448/job/74154379502?pr=15465";>CI
 / Functional Tests (Java 21, indy=false)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: ApplicationContext failure threshold (1) 
exceeded: skipping repeated attempt to load context for 
[WebMergedContextConfiguration@49ffd0cb testClass = 
functionaltests.BookFunctionalSpec, locations = [], classes = 
[functionaltests.Application], contextInitializerClasses = [], activeProfiles = 
[], propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@45e617c4,
 org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6be6931f,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2db6d68d,
 org.springframework.test.context.support.Dynamic
 PropertiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@800a54ff], 
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.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        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:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102)
        at 
grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105)
        at groovy.lang.Closure.call(Closure.java:433)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 AsyncFunctionalSpec > Test async response rendering works <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.AsyncFunctionalSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 AtResourceSpec > A domain class annotated with \@Resources exposes an 
endpoint <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.AtResourceSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 BookFunctionalSpec > Test that a book was created in the Bootstrap class 
<!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookFunctionalSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 BookFunctionalSpec > Test that switching language results in correct 
encodings <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookFunctionalSpec]/[feature:$spock_feature_1_2]
 -->
   🔲 BookFunctionalSpec > Test that when the /viewBooks URL is hit it redirects 
to the book list <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookFunctionalSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 BookFunctionalSpec > When creating a book the params are not on the url 
<!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookFunctionalSpec]/[feature:$spock_feature_1_3]
 -->
   🔲 BookIntegrationSpec > create book and save <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookIntegrationSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 BookIntegrationSpec > create book and save with where <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookIntegrationSpec]/[feature:$spock_feature_0_2]
 -->
   🔲 BookIntegrationSpec > test toUpperCase <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookIntegrationSpec]/[feature:$spock_feature_0_3]
 -->
   🔲 BookIntegrationSpec > test transaction rolled back from previous test <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookIntegrationSpec]/[feature:$spock_feature_0_1]
 -->
   🔲 BookRestfulControllerSpec > A RestfulController exposes an index endpoint 
for a domain class <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookRestfulControllerSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 ConditionalOnPropertyFromPluginYmlSpec > conditional bean messages confirm 
they were loaded via \@ConditionalOnProperty <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ConditionalOnPropertyFromPluginYmlSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 ConditionalOnPropertyFromPluginYmlSpec > conditional beans from plugin.yml 
properties are all present <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ConditionalOnPropertyFromPluginYmlSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 ConfigTestControllerSpec > Test that configuration properties are 
correctly read <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ConfigTestControllerSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 ControllerFromPluginSpec > test invoking a controller provided by a plugin 
<!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ControllerFromPluginSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 ControllerIncludesSpec > Test includes that render a view work when called 
from a controller action <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ControllerIncludesSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 ControllerIncludesSpec > Test includes that render a view work when called 
from another view <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ControllerIncludesSpec]/[feature:$spock_feature_1_2]
 -->
   🔲 ControllerIncludesSpec > Test includes that render text work when called 
from a controller action <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ControllerIncludesSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 ControllerIncludesSpec > Test includes that render text work when called 
from another view <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.ControllerIncludesSpec]/[feature:$spock_feature_1_3]
 -->
   🔲 LoadAfterSpec > Test override one plugin view from another plugin <!-- 
uniqueId=[engine:spock]/[spec:app3.LoadAfterSpec]/[feature:$spock_feature_1_0] 
-->
   
   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](https://testlens.app)._
   


-- 
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