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

   ## 🚨 TestLens detected 1 failed test 🚨
   
   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/26688203427/job/78660120630?pr=15678)
 | :grails-data-hibernate5-core:test | PartitionedMultiTenancySpec > Test 
partitioned multi tenancy | ❌ |
   
   🏷️ Commit: bb3e117987b914031be608081b358c5dcc08de0f
   ▶️ Tests:  30989 executed
   🟡 Checks: 22/67 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>PartitionedMultiTenancySpec > Test partitioned multi 
tenancy</strong> (:grails-data-hibernate5-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/26688203427/job/78660120630?pr=15678";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   Condition failed with Exception:
   
   MultiTenantAuthor.withTenant("moreBooks").count() == 2
   |                 |                       |
   |                 |                       
java.lang.IllegalArgumentException: Not an entity: class 
org.grails.orm.hibernate.connections.MultiTenantAuthor
   |                 |                          at 
org.hibernate.metamodel.internal.MetamodelImpl.entity(MetamodelImpl.java:567)
   |                 |                          at 
org.hibernate.query.criteria.internal.QueryStructure.from(QueryStructure.java:128)
   |                 |                          at 
org.hibernate.query.criteria.internal.CriteriaQueryImpl.from(CriteriaQueryImpl.java:158)
   |                 |                          at 
org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count_closure6(AbstractHibernateGormStaticApi.groovy:238)
   |                 |                          at 
org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:331)
   |                 |                          at 
org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:275)
   |                 |                          at 
org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:176)
   |                 |                          at 
org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithExistingOrCreateNewSession(GrailsHibernateTemplate.java:230)
   |                 |                          at 
org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:143)
   |                 |                          at 
org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235)
   |                 |                          at 
org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec.$tt__$spock_feature_0_0(PartitionedMultiTenancySpec.groovy:127)
   |                 |                          at 
groovy.lang.Closure.call(Closure.java:433)
   |                 |                          at 
groovy.lang.Closure.call(Closure.java:422)
   |                 |                          at 
grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:72)
   |                 |                          at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
   |                 |                          at 
grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:69)
   |                 <org.grails.orm.hibernate.HibernateGormStaticApi@66cc19b8 
identityType=null 
classLoader=jdk.internal.loader.ClassLoaders$AppClassLoader@5a07e868 
instanceApi=null defaultFlushMode=0 finders=[] persistentClass=class 
org.grails.orm.hibernate.connections.MultiTenantAuthor 
registry=org.grails.datastore.gorm.GormRegistry@62f28aa qualifier=moreBooks 
mappingContext=org.grails.orm.hibernate.cfg.HibernateMappingContext@42a65104 
methods=null extendedMethods=null 
datastoreResolver=org.grails.orm.hibernate.HibernateGormStaticApi$1@44219131>
   class org.grails.orm.hibernate.connections.MultiTenantAuthor
   
        at 
org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec.$tt__$spock_feature_0_0(PartitionedMultiTenancySpec.groovy:127)
        at 
org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec.Test 
partitioned multi tenancy_closure4(PartitionedMultiTenancySpec.groovy)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:72)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:69)
        at 
org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec.Test 
partitioned multi tenancy(PartitionedMultiTenancySpec.groovy)
   Caused by: java.lang.IllegalArgumentException: Not an entity: class 
org.grails.orm.hibernate.connections.MultiTenantAuthor
        at 
org.hibernate.metamodel.internal.MetamodelImpl.entity(MetamodelImpl.java:567)
        at 
org.hibernate.query.criteria.internal.QueryStructure.from(QueryStructure.java:128)
        at 
org.hibernate.query.criteria.internal.CriteriaQueryImpl.from(CriteriaQueryImpl.java:158)
        at 
org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count_closure6(AbstractHibernateGormStaticApi.groovy:238)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.doExecute(GrailsHibernateTemplate.java:331)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:275)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithNewSession(GrailsHibernateTemplate.java:176)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.executeWithExistingOrCreateNewSession(GrailsHibernateTemplate.java:230)
        at 
org.grails.orm.hibernate.GrailsHibernateTemplate.execute(GrailsHibernateTemplate.java:143)
        at 
org.grails.orm.hibernate.AbstractHibernateGormStaticApi.count(AbstractHibernateGormStaticApi.groovy:235)
        at 
org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec.$tt__$spock_feature_0_0(PartitionedMultiTenancySpec.groovy:127)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:72)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:69)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 PartitionedMultiTenancySpec > Test partitioned multi tenancy <!-- 
uniqueId=[engine:spock]/[spec:org.grails.orm.hibernate.connections.PartitionedMultiTenancySpec]/[feature:$spock_feature_0_0]
 -->
   
   Reuse successful test results:
   
   🔲 ♻️ Only rerun the tests that failed or were muted before
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to