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

   ## 🚨 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
   
   #### [CI / Functional Tests \(Java 21, 
indy\=true\)](https://github.com/apache/grails-core/actions/runs/28304424977/job/83858115283?pr=15785)
 > :grails-test-examples-app1:test
   
   | Test | Runs |
   |---|---|
   | BookHibernateSpec > Test that dynamic finders work | ❌ |
   
   #### [CI / Functional Tests \(Java 21, 
indy\=true\)](https://github.com/apache/grails-core/actions/runs/28304424977/job/83858115283?pr=15785)
 > :grails-test-examples-demo33:test
   
   | Test | Runs |
   |---|---|
   | PersonControllerHibernateSpec > test action which invokes GORM method | ❌ |
   
   🏷️ Commit: 6227f9668eec70328bd60a06a14356499fbae7ae
   ▶️ Tests:  1785 executed
   🟡 Checks: 10/33 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>BookHibernateSpec > Test that dynamic finders work</strong> 
(:grails-test-examples-app1:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28304424977/job/83858115283?pr=15785";>CI
 / Functional Tests (Java 21, indy=true)</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 functionaltests.BookHibernateSpec.Test that dynamic finders 
work(BookHibernateSpec.groovy:33)
   class functionaltests.Book
   
        at functionaltests.BookHibernateSpec.Test that dynamic finders 
work(BookHibernateSpec.groovy:33)
   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)
        ... 1 more
   ```
   
   </details>
   <details>
   
   <summary><strong>PersonControllerHibernateSpec > test action which invokes 
GORM method</strong> (:grails-test-examples-demo33:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28304424977/job/83858115283?pr=15785";>CI
 / Functional Tests (Java 21, indy=true)</a>)</summary>
   
   ```
   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.HibernateGormStaticApi.list(HibernateGormStaticApi.groovy:113)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.list(HibernateGormStaticApi.groovy:112)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.list(GormEntity.groovy:761)
        at demo.PersonController.index(PersonController.groovy:25)
        at 
org.grails.testing.runtime.support.ActionSettingMethodHandler.invoke(ActionSettingMethodHandler.groovy:50)
        at demo.PersonControllerHibernateSpec.test action which invokes GORM 
method(PersonControllerHibernateSpec.groovy:36)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 BookHibernateSpec > Test that dynamic finders work <!-- 
uniqueId=[engine:spock]/[spec:functionaltests.BookHibernateSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 PersonControllerHibernateSpec > test action which invokes GORM method <!-- 
uniqueId=[engine:spock]/[spec:demo.PersonControllerHibernateSpec]/[feature:$spock_feature_1_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