testlens-app[bot] commented on PR #16230: URL: https://github.com/apache/grails-core/pull/16230#issuecomment-5429602173
## 🚨 TestLens detected 118 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 #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230) > :grails-test-examples-issue-11767:integrationTest | Test | Runs | Flakiness | |---|---|--:| | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values | ❌ | 0% 🟢 | | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values > App Groovy Micronaut beans can load plugin config values | ❌ | 0% 🟢 | | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values > Plugin Groovy Micronaut beans can load plugin config values | ❌ | 0% 🟢 | | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values > Plugin Groovy Spring beans can load plugin config values | ❌ | 0% 🟢 | | ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values > Plugin Java Micronaut beans can load plugin config values | ❌ | 0% 🟢 | #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230) > :grails-test-examples-micronaut-groovy-only:integrationTest | Test | Runs | Flakiness | |---|---|--:| | BeanInjectionServiceSpec > test autowire Grails service by type | ❌ | 0% 🟢 | | BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service | ❌ | 0% 🟢 | | BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it | ❌ | 0% 🟢 | | MicronautContextSpec > both contexts share the same application lifecycle | ❌ | 0% 🟢 | | MicronautContextSpec > grails services are accessible from spring context | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut application context is available | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut beans can be retrieved from micronaut context | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut context has correct environment | ❌ | 0% 🟢 | | MicronautContextSpec > spring application context is available | ❌ | 0% 🟢 | | MicronautQualifierSpec > <span>@</span>Named\(\'regular\'\) qualifier injects correct bean | ❌ | 0% 🟢 | | MicronautQualifierSpec > <span>@</span>Named\(\'special\'\) qualifier injects correct bean | ❌ | 0% 🟢 | | MicronautQualifierSpec > beans can be distinguished by their class type | ❌ | 0% 🟢 | | MicronautQualifierSpec > collection injection includes all implementations | ❌ | 0% 🟢 | | MicronautQualifierSpec > custom <span>@</span>Qualified annotation injects correct bean | ❌ | 0% 🟢 | | MicronautQualifierSpec > each bean implementation returns unique name | ❌ | 0% 🟢 | | MicronautQualifierSpec > primary bean is injected when no qualifier specified | ❌ | 0% 🟢 | #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230) > :grails-test-examples-micronaut-hibernate5:integrationTest | Test | Runs | Flakiness | |---|---|--:| | ApplicationStartupSpec > test the application starts and the home page renders | ❌ | 0% 🟢 | #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230) > :grails-test-examples-micronaut-hibernate7:integrationTest | Test | Runs | Flakiness | |---|---|--:| | ApplicationStartupSpec > test the application starts and the home page renders | ❌ | 0% 🟢 | #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230) > :grails-test-examples-micronaut:integrationTest (first 40 of 95) | Test | Runs | Flakiness | |---|---|--:| | BeanInjectionServiceSpec > test autowire Grails service by type | ❌ | 0% 🟢 | | BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service | ❌ | 0% 🟢 | | BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > <span>@</span>ConfigurationProperties bean appears exactly once in Spring context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > <span>@</span>ConfigurationProperties bean in Spring is same instance as in Micronaut context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > <span>@</span>Factory/<span>@</span>Bean created bean appears exactly once in Spring context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > Grails service appears exactly once in Spring context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > Java <span>@</span>Singleton bean appears exactly once in Spring context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > Micronaut context has exactly 4 NamedService implementations | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > NamedService implementations appear exactly 4 times in Spring context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > bridged Micronaut bean in Spring is same instance as in Micronaut context | ❌ | 0% 🟢 | | MicronautBeanDuplicationSpec > factory-created bean in Spring is same instance as in Micronaut context | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > <span>@</span>ConfigurationProperties bean reflects application.yml config | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > Factory-created bean is a singleton instance | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > Groovy <span>@</span>Factory/<span>@</span>Bean created bean is available via Spring autowiring | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > Java <span>@</span>Singleton bean is a singleton instance | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > Java <span>@</span>Singleton bean is available via Spring autowiring | ❌ | 0% 🟢 | | MicronautBeanTypesSpec > Java <span>@</span>Singleton bean is resolvable by its interface type | ❌ | 0% 🟢 | | MicronautContextSpec > both contexts share the same application lifecycle | ❌ | 0% 🟢 | | MicronautContextSpec > grails services are accessible from spring context | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut application context is available | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut beans can be retrieved from micronaut context | ❌ | 0% 🟢 | | MicronautContextSpec > micronaut context has correct environment | ❌ | 0% 🟢 | | MicronautContextSpec > spring application context is available | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client handles 404 response from ersatz mock | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client interface is registered as a bean in Micronaut context | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client invokes endpoint through load balancing path | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client sends DELETE with path variable | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client sends GET with path variable | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client sends POST and receives mock response | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client sends PUT and receives mock response | ❌ | 0% 🟢 | | MicronautDeclarativeClientSpec > declarative <span>@</span>Client surfaces 500 responses | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > Grails service error handling wraps Micronaut client error from ersatz | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > HEAD request via declarative client returns only headers from ersatz | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > Micronaut client handles 401 Unauthorized from ersatz | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > Micronaut client handles 403 Forbidden from ersatz | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > Micronaut client handles 429 Too Many Requests from ersatz | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > OPTIONS request via declarative client through ersatz mock | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > PATCH request via declarative client through ersatz mock | ❌ | 0% 🟢 | | MicronautErsatzAdvancedSpec > class-level <span>@</span>Header annotation sends header on every request through ersatz | ❌ | 0% 🟢 | 🏷️ Commit: 0343abc5af4e3ace982a44e3731aed1ae1daba57 ▶️ Tests: 26831 executed 🟡 Checks: 31/77 completed ### Test Failures (first 10 of 118) <details> <summary><strong>ApplicationStartupSpec > test the application starts and the home page renders</strong> (:grails-test-examples-micronaut-hibernate7:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@47232c32 testClass = micronaut.hibernate7.ApplicationStartupSpec, locations = [], classes = [micronaut.hibernate7.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4c731956, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1c30cb85, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@7634f2b, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframe work.boot.test.context.SpringBootTestAnnotation@fb11075d], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:141) at grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at micronaut.hibernate7.Application.main(Application.groovy:28) 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 51 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 64 more ``` </details> <details> <summary><strong>ApplicationStartupSpec > test the application starts and the home page renders</strong> (:grails-test-examples-micronaut-hibernate5:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@33a8ae90 testClass = micronaut.hibernate5.ApplicationStartupSpec, locations = [], classes = [micronaut.hibernate5.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@27585351, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@5f726750, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@50b46e24, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springfram ework.boot.test.context.SpringBootTestAnnotation@18a3ad5e], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:141) at grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at micronaut.hibernate5.Application.main(Application.groovy:28) 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) ... 20 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 51 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 64 more ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test autowire Grails service by type</strong> (:grails-test-examples-micronaut-groovy-only:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@54a1a6a8 testClass = micronautgroovyonly.BeanInjectionServiceSpec, locations = [], classes = [micronautgroovyonly.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d9754a8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@798256c5, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@1d8b0500, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockfra mework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@9f003fd], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test autowire Grails service by type</strong> (:grails-test-examples-micronaut:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@153f6a67 testClass = micronaut.BeanInjectionServiceSpec, locations = [], classes = [micronaut.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@55acec99, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16d07cf3, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@661d6bb6, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.S pockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@f7e757ba], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service</strong> (:grails-test-examples-micronaut-groovy-only:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@54a1a6a8 testClass = micronautgroovyonly.BeanInjectionServiceSpec, locations = [], classes = [micronautgroovyonly.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d9754a8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@798256c5, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@1d8b0500, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springfram ework.boot.test.context.SpringBootTestAnnotation@9f003fd], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at micronautgroovyonly.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 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 48 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 61 more ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service</strong> (:grails-test-examples-micronaut:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@153f6a67 testClass = micronaut.BeanInjectionServiceSpec, locations = [], classes = [micronaut.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@55acec99, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16d07cf3, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@661d6bb6, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.test.cont ext.SpringBootTestAnnotation@f7e757ba], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at micronaut.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 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 48 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 61 more ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it</strong> (:grails-test-examples-micronaut-groovy-only:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@54a1a6a8 testClass = micronautgroovyonly.BeanInjectionServiceSpec, locations = [], classes = [micronautgroovyonly.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d9754a8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@798256c5, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@1d8b0500, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockfra mework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@9f003fd], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) ``` </details> <details> <summary><strong>BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it</strong> (:grails-test-examples-micronaut:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@153f6a67 testClass = micronaut.BeanInjectionServiceSpec, locations = [], classes = [micronaut.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@55acec99, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16d07cf3, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@661d6bb6, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.S pockContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@f7e757ba], 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:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) ``` </details> <details> <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values</strong> (:grails-test-examples-issue-11767:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@4a9c188f testClass = issue11767.app.ConfigLoadingSpec, locations = [], classes = [issue11767.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@44d64d4e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7d32e714, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@18137eab, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.test.c ontext.SpringBootTestAnnotation@a7467b94], 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.extension.IDataDriver.lambda$static$0(IDataDriver.java:38) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at issue11767.app.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) ... 18 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 49 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 62 more ``` </details> <details> <summary><strong>ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values > App Groovy Micronaut beans can load plugin config values</strong> (:grails-test-examples-issue-11767:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32998009109/job/98272199415?pr=16230">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@4a9c188f testClass = issue11767.app.ConfigLoadingSpec, locations = [], classes = [issue11767.app.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@44d64d4e, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7d32e714, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@18137eab, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.test.c ontext.SpringBootTestAnnotation@a7467b94], 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.extension.IDataDriver.lambda$static$0(IDataDriver.java:38) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsEventBus': Error creating bean with name 'grailsPromiseFactory': Instantiation of supplied bean failed at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) 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:1219) 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:113) at grails.boot.GrailsApp.run(GrailsApp.groovy:464) at grails.boot.GrailsApp.run(GrailsApp.groovy:453) at issue11767.app.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) ... 18 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsPromiseFactory': 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1299) at org.grails.events.bus.spring.EventBusFactoryBean.createDefaultEventBus(EventBusFactoryBean.groovy:72) at grails.events.bus.EventBusBuilder.build(EventBusBuilder.groovy:51) at org.grails.events.bus.spring.EventBusFactoryBean.afterPropertiesSet(EventBusFactoryBean.groovy:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1811) ... 49 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'applicationTaskExecutor' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) at org.springframework.beans.factory.support.BeanRegistryAdapter$SupplierContextAdapter.bean(BeanRegistryAdapter.java:318) at org.grails.plugins.web.async.ControllersAsyncGrailsPlugin$_beanRegistrar_closure1.closure3$_closure5(ControllersAsyncGrailsPlugin.groovy:58) 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) ... 62 more ``` </details> ### Rerun Controls (first 20 of 118) > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 ApplicationStartupSpec > test the application starts and the home page renders <!-- uniqueId=[engine:spock]/[spec:micronaut.hibernate5.ApplicationStartupSpec]/[feature:$spock_feature_1_0] --> 🔲 ApplicationStartupSpec > test the application starts and the home page renders <!-- uniqueId=[engine:spock]/[spec:micronaut.hibernate7.ApplicationStartupSpec]/[feature:$spock_feature_1_0] --> 🔲 BeanInjectionServiceSpec > test autowire Grails service by type <!-- uniqueId=[engine:spock]/[spec:micronautgroovyonly.BeanInjectionServiceSpec]/[feature:$spock_feature_0_1] --> 🔲 BeanInjectionServiceSpec > test autowire Grails service by type <!-- uniqueId=[engine:spock]/[spec:micronaut.BeanInjectionServiceSpec]/[feature:$spock_feature_0_1] --> 🔲 BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service <!-- uniqueId=[engine:spock]/[spec:micronautgroovyonly.BeanInjectionServiceSpec]/[feature:$spock_feature_0_0] --> 🔲 BeanInjectionServiceSpec > test injecting Micronaut beans in a Grails service <!-- uniqueId=[engine:spock]/[spec:micronaut.BeanInjectionServiceSpec]/[feature:$spock_feature_0_0] --> 🔲 BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it <!-- uniqueId=[engine:spock]/[spec:micronautgroovyonly.BeanInjectionServiceSpec]/[feature:$spock_feature_0_2] --> 🔲 BeanInjectionServiceSpec > test there are 1 bean for a Grails service when we inject Micronaut bean in it <!-- uniqueId=[engine:spock]/[spec:micronaut.BeanInjectionServiceSpec]/[feature:$spock_feature_0_2] --> 🔲 ConfigLoadingSpec > <span>#</span>beanType beans can load plugin config values <!-- uniqueId=[engine:spock]/[spec:issue11767.app.ConfigLoadingSpec]/[feature:$spock_feature_0_0] --> 🔲 MicronautBeanDuplicationSpec > <span>@</span>ConfigurationProperties bean appears exactly once in Spring context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_2] --> 🔲 MicronautBeanDuplicationSpec > <span>@</span>ConfigurationProperties bean in Spring is same instance as in Micronaut context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_8] --> 🔲 MicronautBeanDuplicationSpec > <span>@</span>Factory/<span>@</span>Bean created bean appears exactly once in Spring context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_1] --> 🔲 MicronautBeanDuplicationSpec > Grails service appears exactly once in Spring context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_5] --> 🔲 MicronautBeanDuplicationSpec > Java <span>@</span>Singleton bean appears exactly once in Spring context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_0] --> 🔲 MicronautBeanDuplicationSpec > Micronaut context has exactly 4 NamedService implementations <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_4] --> 🔲 MicronautBeanDuplicationSpec > NamedService implementations appear exactly 4 times in Spring context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_3] --> 🔲 MicronautBeanDuplicationSpec > bridged Micronaut bean in Spring is same instance as in Micronaut context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_6] --> 🔲 MicronautBeanDuplicationSpec > factory-created bean in Spring is same instance as in Micronaut context <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanDuplicationSpec]/[feature:$spock_feature_0_7] --> 🔲 MicronautBeanTypesSpec > <span>@</span>ConfigurationProperties bean reflects application.yml config <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanTypesSpec]/[feature:$spock_feature_0_2] --> 🔲 MicronautBeanTypesSpec > Factory-created bean is a singleton instance <!-- uniqueId=[engine:spock]/[spec:micronaut.MicronautBeanTypesSpec]/[feature:$spock_feature_0_4] --> 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]
