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

   ## 🚨 TestLens detected 2 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/27554027531/job/81450548462?pr=15568)
 | :grails-data-hibernate7-core:test | AttachMethodSpec > Test attach method | 
❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/27554027531/job/81450548462?pr=15568)
 | :grails-data-hibernate7-dbmigration:test | GormDatabaseSpec > test 
GormDatabase initialization and properties | ❌ |
   
   🏷️ Commit: eceda460275322570d2fd3b547ce6388eb3a188e
   ▶️ Tests:  13841 executed
   🟡 Checks: 13/38 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>AttachMethodSpec > Test attach method</strong> 
(:grails-data-hibernate7-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/27554027531/job/81450548462?pr=15568";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   Condition not satisfied:
   
   manager.session.contains(test)
   |       |       |        |
   |       |       false    org.apache.grails.data.testing.tck.domains.Person : 
1
   |       <org.grails.orm.hibernate.HibernateSession@358609ab 
datastore=HibernateDatastore: default connected=false 
hibernateTemplate=org.grails.orm.hibernate.GrailsHibernateTemplate@4b29b0f1 
proxyHandler=org.grails.orm.hibernate.proxy.HibernateProxyHandler@7560825f 
timestampProvider=null attributes=[:] sessionPropertyMap=[:] connected=true>
   
<org.apache.grails.data.hibernate7.core.GrailsDataHibernate7TckManager@54a54e84 
grailsApplication=null hibernateDatastore=null hibernateSession=null 
transactionManager=null sessionFactory=null transactionStatus=null 
hibernateConfig=null applicationContext=null multiDataSourceDatastore=null 
multiTenantMultiDataSourceDatastore=null 
grailsConfig=[dataSource:[dbCreate:create-drop], 
hibernate:[proxy_factory_class:org.grails.orm.hibernate.proxy.ByteBuddyGroovyProxyFactory],
 
grails.gorm.default.mapping:org.apache.grails.data.hibernate7.core.GrailsDataHibernate7TckManager$_createSession_closure1@62749ec6]
 isTransactional=true 
session=org.grails.orm.hibernate.HibernateSession@358609ab domainClasses=[class 
org.apache.grails.data.testing.tck.domains.Person]>
   
        at org.apache.grails.data.testing.tck.tests.AttachMethodSpec.Test 
attach method(AttachMethodSpec.groovy:57)
   ```
   
   </details>
   <details>
   
   <summary><strong>GormDatabaseSpec > test GormDatabase initialization and 
properties</strong> (:grails-data-hibernate7-dbmigration:test in <a 
href="https://github.com/apache/grails-core/actions/runs/27554027531/job/81450548462?pr=15568";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   org.spockframework.runtime.InvalidSpecException: The final method 
'getMetadata' of 'datastore' can't be mocked by the 'byte-buddy' mock maker. 
Please use another mock maker supporting final methods.
        at 
org.spockframework.mock.runtime.ByteBuddyMockInteractionValidator.validateNonFinalMethod(ByteBuddyMockInteractionValidator.java:102)
        at 
org.spockframework.mock.runtime.ByteBuddyMockInteractionValidator.validate(ByteBuddyMockInteractionValidator.java:82)
        at 
org.spockframework.mock.runtime.ByteBuddyMockInteractionValidator.validateMockInteraction(ByteBuddyMockInteractionValidator.java:74)
        at 
org.spockframework.mock.constraint.TargetConstraint.validateMockInteraction(TargetConstraint.java:74)
        at 
org.spockframework.mock.constraint.TargetConstraint.setInteraction(TargetConstraint.java:57)
        at 
org.spockframework.mock.runtime.MockInteraction.<init>(MockInteraction.java:61)
        at 
org.spockframework.mock.runtime.InteractionBuilder.build(InteractionBuilder.java:187)
        at org.grails.plugins.databasemigration.liquibase.GormDatabaseSpec.test 
GormDatabase initialization and properties_closure1(GormDatabaseSpec.groovy:51)
        at org.grails.plugins.databasemigration.liquibase.GormDatabaseSpec.test 
GormDatabase initialization and properties(GormDatabaseSpec.groovy:50)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 AttachMethodSpec > Test attach method <!-- 
uniqueId=[engine:spock]/[spec:org.apache.grails.data.testing.tck.tests.AttachMethodSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 GormDatabaseSpec > test GormDatabase initialization and properties <!-- 
uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.liquibase.GormDatabaseSpec]/[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