testlens-app[bot] commented on PR #15683: URL: https://github.com/apache/grails-core/pull/15683#issuecomment-4589127277
## 🚨 TestLens detected 9 failed tests 🚨 Here is what you can do: 1) Inspect the test failures carefully. 2) If you are convinced that some of the tests are flaky, you can mute them below. 3) Finally, trigger a rerun by checking the rerun checkbox. ### Test Summary | Check | Project/Task | Test | Runs | |---|---|---|---| | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CommonTypesPersistenceSpec > testPersistBasicTypes | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test conjunction query | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test count distinct projection | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test count\(\) | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test disjunction query | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test id projection | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test idEq method | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test list\(\) query | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683) | :grails-data-hibernate5-core:test | CriteriaBuilderSpec > Test obtain a single result | ❌ | 🏷️ Commit: 1fb2e5f802913ebc2216f3b9e3be585472c1b514 ▶️ Tests: 3968 executed 🟡 Checks: 10/31 completed ### Test Failures <details> <summary><strong>CommonTypesPersistenceSpec > testPersistBasicTypes</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.CommonTypes] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:169) at org.apache.grails.data.testing.tck.tests.CommonTypesPersistenceSpec.testPersistBasicTypes(CommonTypesPersistenceSpec.groovy:53) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test conjunction query</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test conjunction query_closure7(CriteriaBuilderSpec.groovy:102) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test conjunction query(CriteriaBuilderSpec.groovy:102) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test count distinct projection</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test count distinct projection_closure1(CriteriaBuilderSpec.groovy:34) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test count distinct projection(CriteriaBuilderSpec.groovy:33) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test count()</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test count()_closure12(CriteriaBuilderSpec.groovy:150) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test count()(CriteriaBuilderSpec.groovy:149) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test disjunction query</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test disjunction query_closure5(CriteriaBuilderSpec.groovy:84) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test disjunction query(CriteriaBuilderSpec.groovy:84) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test id projection</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:169) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test id projection(CriteriaBuilderSpec.groovy:56) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test idEq method</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:169) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test idEq method(CriteriaBuilderSpec.groovy:71) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test list() query</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test list() query_closure9(CriteriaBuilderSpec.groovy:122) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test list() query(CriteriaBuilderSpec.groovy:121) ``` </details> <details> <summary><strong>CriteriaBuilderSpec > Test obtain a single result</strong> (:grails-data-hibernate5-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26731842619/job/78777449260?pr=15683">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` java.lang.IllegalStateException: Either class [org.apache.grails.data.testing.tck.domains.TestEntity] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity. at org.grails.datastore.gorm.GormEnhancer.stateException(GormEnhancer.groovy:418) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:266) at org.grails.datastore.gorm.GormEnhancer.findInstanceApi(GormEnhancer.groovy:263) at org.grails.datastore.gorm.GormEntity$Trait$Helper.currentGormInstanceApi(GormEntity.groovy:1454) at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test obtain a single result_closure14(CriteriaBuilderSpec.groovy:168) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec.Test obtain a single result(CriteriaBuilderSpec.groovy:167) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 CommonTypesPersistenceSpec > testPersistBasicTypes <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CommonTypesPersistenceSpec]/[feature:$spock_feature_1_0] --> 🔲 CriteriaBuilderSpec > Test conjunction query <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_4] --> 🔲 CriteriaBuilderSpec > Test count distinct projection <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_0] --> 🔲 CriteriaBuilderSpec > Test count\(\) <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_6] --> 🔲 CriteriaBuilderSpec > Test disjunction query <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_3] --> 🔲 CriteriaBuilderSpec > Test id projection <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_1] --> 🔲 CriteriaBuilderSpec > Test idEq method <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_2] --> 🔲 CriteriaBuilderSpec > Test list\(\) query <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_5] --> 🔲 CriteriaBuilderSpec > Test obtain a single result <!-- uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.CriteriaBuilderSpec]/[feature:$spock_feature_1_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]
