testlens-app[bot] commented on PR #15787: URL: https://github.com/apache/grails-core/pull/15787#issuecomment-4823834746
## 🚨 TestLens detected 228 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 21, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616519?pr=15787) > :grails-test-examples-issue-698-domain-save-npe:integrationTest | Test | Runs | |---|---| | BookSpecSpec > It works well if there is no validate error in both Java 7 and 8 | ❌ | #### [CI / Functional Tests \(Java 21, indy\=true\)](https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787) > :grails-test-examples-gorm:integrationTest (first 40 of 226) | Test | Runs | |---|---| | AbstractParentSpec > Test that persisting a domain class with an abstract parent works | ❌ | | BindingOutsideRequestSpec > Save nested company nested with webrequest | ❌ | | BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) | ❌ | | BookSpec > Test dynamic finders work | ❌ | | DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base | ❌ | | DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null | ❌ | | ExistsSpec > exists returns correct result with multiple rows in table | ❌ | | ExistsSpec > exists returns false for non-existent id | ❌ | | ExistsSpec > exists returns true for persisted entity | ❌ | | FieldsValidationSpec > author email validation shows error for invalid format | ❌ | | GormCascadeOperationsSpec > test addTo creates bidirectional link | ❌ | | GormCascadeOperationsSpec > test batch insert with associations | ❌ | | GormCascadeOperationsSpec > test belongsTo allows orphan removal | ❌ | | GormCascadeOperationsSpec > test bidirectional navigation | ❌ | | GormCascadeOperationsSpec > test cascade save with nested new objects | ❌ | | GormCascadeOperationsSpec > test collection operations on hasMany | ❌ | | GormCascadeOperationsSpec > test deleting child does not delete parent | ❌ | | GormCascadeOperationsSpec > test dirty checking with associations | ❌ | | GormCascadeOperationsSpec > test hasMany cascade save for City and Users | ❌ | | GormCascadeOperationsSpec > test lazy loading of associations | ❌ | | GormCascadeOperationsSpec > test removeFrom breaks bidirectional link | ❌ | | GormCascadeOperationsSpec > test removing user from city | ❌ | | GormCascadeOperationsSpec > test saving child with belongsTo saves parent reference | ❌ | | GormCascadeOperationsSpec > test saving parent cascades to children with addTo | ❌ | | GormCascadeOperationsSpec > test updating multiple children | ❌ | | GormCascadeOperationsSpec > test updating parent does not affect children unless changed | ❌ | | GormCriteriaQueriesSpec > test HQL aggregate functions | ❌ | | GormCriteriaQueriesSpec > test HQL group by | ❌ | | GormCriteriaQueriesSpec > test HQL join query | ❌ | | GormCriteriaQueriesSpec > test HQL with named parameters | ❌ | | GormCriteriaQueriesSpec > test HQL with pagination | ❌ | | GormCriteriaQueriesSpec > test HQL with positional parameters | ❌ | | GormCriteriaQueriesSpec > test basic HQL query | ❌ | | GormCriteriaQueriesSpec > test criteria with association | ❌ | | GormCriteriaQueriesSpec > test criteria with association property | ❌ | | GormCriteriaQueriesSpec > test criteria with avg projection | ❌ | | GormCriteriaQueriesSpec > test criteria with between restriction | ❌ | | GormCriteriaQueriesSpec > test criteria with count projection | ❌ | | GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description | ❌ | | GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description > test criteria with different comparison operators: eq | ❌ | #### [CI / Functional Tests \(Java 25, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616518?pr=15787) > :grails-test-examples-issue-698-domain-save-npe:integrationTest | Test | Runs | |---|---| | BookSpecSpec > It works well if there is no validate error in both Java 7 and 8 | ❌ | 🏷️ Commit: af5f9b8966d8aa0245541931a8d6161bfe09420a ▶️ Tests: 613 executed 🟡 Checks: 29/36 completed ### Test Failures (first 10 of 228) <details> <summary><strong>BookSpecSpec > It works well if there is no validate error in both Java 7 and 8</strong> (:grails-test-examples-issue-698-domain-save-npe:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616519?pr=15787">CI / Functional Tests (Java 21, indy=false)</a>)</summary> ``` Condition failed with Exception: Book.count() == 1 | | | java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.HibernateDatastore.getHibernateTemplate()" because the return value of "org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateDatastore()" is null | at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateTemplate(AbstractHibernateGormStaticApi.groovy:91) | at org.grails.orm.hibernate.HibernateGormStaticApi.getHibernateTemplate(HibernateGormStaticApi.groovy:108) | at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235) | at org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:724) | at grails301.domain.save.npe.BookSpecSpec.$tt__$spock_feature_0_0(BookSpecSpec.groovy:38) | at grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:79) | at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) | at grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:73) class grails301.domain.save.npe.Book at grails301.domain.save.npe.BookSpecSpec.$tt__$spock_feature_0_0(BookSpecSpec.groovy:38) at grails301.domain.save.npe.BookSpecSpec.It works well if there is no validate error in both Java 7 and 8_closure1(BookSpecSpec.groovy) at grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:79) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) at grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:73) at grails301.domain.save.npe.BookSpecSpec.It works well if there is no validate error in both Java 7 and 8(BookSpecSpec.groovy) Caused by: java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.HibernateDatastore.getHibernateTemplate()" because the return value of "org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateDatastore()" is null at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.getHibernateTemplate(AbstractHibernateGormStaticApi.groovy:91) at org.grails.orm.hibernate.HibernateGormStaticApi.getHibernateTemplate(HibernateGormStaticApi.groovy:108) at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235) at org.grails.datastore.gorm.GormEntity$Trait$Helper.count(GormEntity.groovy:724) at grails301.domain.save.npe.BookSpecSpec.$tt__$spock_feature_0_0(BookSpecSpec.groovy:38) at grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:79) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) at grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:73) ``` </details> <details> <summary><strong>AbstractParentSpec > Test that persisting a domain class with an abstract parent works</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@60176563 testClass = gorm.AbstractParentSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTe stAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195) at org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Caused by: java.lang.IllegalStateException: No PlatformTransactionManager set at org.springframework.util.Assert.state(Assert.java:80) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115) at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:642) at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:1049) at gorm.BootStrap$_closure1.doCall(BootStrap.groovy:25) at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.groovy:572) at grails.util.Environment.executeForEnvironment(Environment.groovy:565) at grails.util.Environment.executeForCurrentEnvironment(Environment.groovy:541) at org.grails.web.servlet.boostrap.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:71) at org.grails.web.servlet.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:74) at org.grails.plugins.web.servlet.context.BootStrapClassRunner.onStartup(BootStrapClassRunner.groovy:59) at grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy:293) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:180) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:173) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:448) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:1016) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) 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:111) at grails.boot.GrailsApp.run(GrailsApp.groovy:421) at grails.boot.GrailsApp.run(GrailsApp.groovy:410) at gorm.Application.main(Application.groovy:27) 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>BindingOutsideRequestSpec > Save nested company nested with webrequest</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@3487a5d1 testClass = gorm.BindingOutsideRequestSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesConte xtCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>BindingOutsideRequestSpec > Save nested company without webrequest (Quartz/Bpotstrap)</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@3487a5d1 testClass = gorm.BindingOutsideRequestSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesConte xtCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>BookSpec > Test dynamic finders work</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@23e2bcbe testClass = gorm.BookSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, o rg.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a @DirtyCheck base</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@6557ee1f testClass = gorm.DirtyCheckBindingSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCu stomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@6557ee1f testClass = gorm.DirtyCheckBindingSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCu stomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>ExistsSpec > exists returns correct result with multiple rows in table</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@6f815a8e testClass = gorm.ExistsSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>ExistsSpec > exists returns false for non-existent id</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@6f815a8e testClass = gorm.ExistsSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> <details> <summary><strong>ExistsSpec > exists returns true for persisted entity</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306906508/job/83864616521?pr=15787">CI / Functional Tests (Java 21, indy=true)</a>)</summary> ``` java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@6f815a8e testClass = gorm.ExistsSpec, locations = [], classes = [gorm.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@151ab2b9, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@12219f6a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4262fdeb, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@4f30dc3d], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null] at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277) at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49) at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66) at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62) at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56) at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46) at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ``` </details> ### Muted Tests (first 20 of 228) > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 AbstractParentSpec > Test that persisting a domain class with an abstract parent works <!-- uniqueId=[engine:spock]/[spec:gorm.AbstractParentSpec]/[feature:$spock_feature_0_0] --> 🔲 BindingOutsideRequestSpec > Save nested company nested with webrequest <!-- uniqueId=[engine:spock]/[spec:gorm.BindingOutsideRequestSpec]/[feature:$spock_feature_0_1] --> 🔲 BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) <!-- uniqueId=[engine:spock]/[spec:gorm.BindingOutsideRequestSpec]/[feature:$spock_feature_0_0] --> 🔲 BookSpec > Test dynamic finders work <!-- uniqueId=[engine:spock]/[spec:gorm.BookSpec]/[feature:$spock_feature_0_0] --> 🔲 BookSpecSpec > It works well if there is no validate error in both Java 7 and 8 <!-- uniqueId=[engine:spock]/[spec:grails301.domain.save.npe.BookSpecSpec]/[feature:$spock_feature_0_0] --> 🔲 DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base <!-- uniqueId=[engine:spock]/[spec:gorm.DirtyCheckBindingSpec]/[feature:$spock_feature_0_0] --> 🔲 DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null <!-- uniqueId=[engine:spock]/[spec:gorm.DirtyCheckBindingSpec]/[feature:$spock_feature_0_1] --> 🔲 ExistsSpec > exists returns correct result with multiple rows in table <!-- uniqueId=[engine:spock]/[spec:gorm.ExistsSpec]/[feature:$spock_feature_0_2] --> 🔲 ExistsSpec > exists returns false for non-existent id <!-- uniqueId=[engine:spock]/[spec:gorm.ExistsSpec]/[feature:$spock_feature_0_1] --> 🔲 ExistsSpec > exists returns true for persisted entity <!-- uniqueId=[engine:spock]/[spec:gorm.ExistsSpec]/[feature:$spock_feature_0_0] --> 🔲 FieldsValidationSpec > author email validation shows error for invalid format <!-- uniqueId=[engine:spock]/[spec:gorm.FieldsValidationSpec]/[feature:$spock_feature_1_0] --> 🔲 GormCascadeOperationsSpec > test addTo creates bidirectional link <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_13] --> 🔲 GormCascadeOperationsSpec > test batch insert with associations <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_11] --> 🔲 GormCascadeOperationsSpec > test belongsTo allows orphan removal <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_6] --> 🔲 GormCascadeOperationsSpec > test bidirectional navigation <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_9] --> 🔲 GormCascadeOperationsSpec > test cascade save with nested new objects <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_2] --> 🔲 GormCascadeOperationsSpec > test collection operations on hasMany <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_15] --> 🔲 GormCascadeOperationsSpec > test deleting child does not delete parent <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_5] --> 🔲 GormCascadeOperationsSpec > test dirty checking with associations <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_4] --> 🔲 GormCascadeOperationsSpec > test hasMany cascade save for City and Users <!-- uniqueId=[engine:spock]/[spec:gorm.GormCascadeOperationsSpec]/[feature:$spock_feature_0_7] --> 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]
