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

   ## 🚨 TestLens detected 4 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 / Functional Tests \(Java 25, Hibernate 7, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561)
 | :grails-test-examples-gorm:integrationTest | GormCriteriaQueriesSpec > test 
HQL aggregate functions | ❌ |
   | [CI / Functional Tests \(Java 25, Hibernate 7, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561)
 | :grails-test-examples-gorm:integrationTest | GormCriteriaQueriesSpec > test 
HQL group by | ❌ |
   | [CI / Functional Tests \(Java 25, Hibernate 7, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561)
 | :grails-test-examples-gorm:integrationTest | GormCriteriaQueriesSpec > test 
basic HQL query | ❌ |
   | [CI / Functional Tests \(Java 25, Hibernate 7, 
indy\=false\)](https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561)
 | :grails-test-examples-gorm:integrationTest | GormCriteriaQueriesSpec > test 
executeUpdate for bulk operations | ❌ |
   
   🏷️ Commit: 707c33d6d9a759ddb2e858d28364f59eda0ba31c
   ▶️ Tests:  4156 executed
   🟡 Checks: 7/28 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>GormCriteriaQueriesSpec > test HQL aggregate 
functions</strong> (:grails-test-examples-gorm:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561";>CI
 / Functional Tests (Java 25, Hibernate 7, indy=false)</a>)</summary>
   
   ```
   java.lang.UnsupportedOperationException: executeQuery(CharSequence) only 
accepts a Groovy GString with interpolated parameters (e.g. executeQuery("from 
Foo where bar = ${value}")). Use the parameterized overload 
executeQuery(CharSequence, Map) or executeQuery(CharSequence, Collection, Map) 
to pass a plain String query safely.
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.requireGString(HibernateGormStaticApi.groovy:336)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.executeQuery(HibernateGormStaticApi.groovy:317)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.executeQuery(GormEntity.groovy:1134)
        at 
gorm.GormCriteriaQueriesSpec.$tt__$spock_feature_0_36(GormCriteriaQueriesSpec.groovy:547)
        at gorm.GormCriteriaQueriesSpec.test HQL aggregate 
functions_closure38(GormCriteriaQueriesSpec.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 gorm.GormCriteriaQueriesSpec.test HQL aggregate 
functions(GormCriteriaQueriesSpec.groovy)
   ```
   
   </details>
   <details>
   
   <summary><strong>GormCriteriaQueriesSpec > test HQL group by</strong> 
(:grails-test-examples-gorm:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561";>CI
 / Functional Tests (Java 25, Hibernate 7, indy=false)</a>)</summary>
   
   ```
   java.lang.UnsupportedOperationException: executeQuery(CharSequence) only 
accepts a Groovy GString with interpolated parameters (e.g. executeQuery("from 
Foo where bar = ${value}")). Use the parameterized overload 
executeQuery(CharSequence, Map) or executeQuery(CharSequence, Collection, Map) 
to pass a plain String query safely.
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.requireGString(HibernateGormStaticApi.groovy:336)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.executeQuery(HibernateGormStaticApi.groovy:317)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.executeQuery(GormEntity.groovy:1134)
        at 
gorm.GormCriteriaQueriesSpec.$tt__$spock_feature_0_37(GormCriteriaQueriesSpec.groovy:559)
        at gorm.GormCriteriaQueriesSpec.test HQL group 
by_closure39(GormCriteriaQueriesSpec.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 gorm.GormCriteriaQueriesSpec.test HQL group 
by(GormCriteriaQueriesSpec.groovy)
   ```
   
   </details>
   <details>
   
   <summary><strong>GormCriteriaQueriesSpec > test basic HQL query</strong> 
(:grails-test-examples-gorm:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561";>CI
 / Functional Tests (Java 25, Hibernate 7, indy=false)</a>)</summary>
   
   ```
   java.lang.UnsupportedOperationException: executeQuery(CharSequence) only 
accepts a Groovy GString with interpolated parameters (e.g. executeQuery("from 
Foo where bar = ${value}")). Use the parameterized overload 
executeQuery(CharSequence, Map) or executeQuery(CharSequence, Collection, Map) 
to pass a plain String query safely.
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.requireGString(HibernateGormStaticApi.groovy:336)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.executeQuery(HibernateGormStaticApi.groovy:317)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.executeQuery(GormEntity.groovy:1134)
        at 
gorm.GormCriteriaQueriesSpec.$tt__$spock_feature_0_31(GormCriteriaQueriesSpec.groovy:493)
        at gorm.GormCriteriaQueriesSpec.test basic HQL 
query_closure33(GormCriteriaQueriesSpec.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 gorm.GormCriteriaQueriesSpec.test basic HQL 
query(GormCriteriaQueriesSpec.groovy)
   ```
   
   </details>
   <details>
   
   <summary><strong>GormCriteriaQueriesSpec > test executeUpdate for bulk 
operations</strong> (:grails-test-examples-gorm:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/24190635884/job/70606659710?pr=15561";>CI
 / Functional Tests (Java 25, Hibernate 7, indy=false)</a>)</summary>
   
   ```
   java.lang.UnsupportedOperationException: executeUpdate(CharSequence) only 
accepts a Groovy GString with interpolated parameters (e.g. executeUpdate("from 
Foo where bar = ${value}")). Use the parameterized overload 
executeUpdate(CharSequence, Map) or executeUpdate(CharSequence, Collection, 
Map) to pass a plain String query safely.
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.requireGString(HibernateGormStaticApi.groovy:336)
        at 
org.grails.orm.hibernate.HibernateGormStaticApi.executeUpdate(HibernateGormStaticApi.groovy:323)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.executeUpdate(GormEntity.groovy:1219)
        at 
gorm.GormCriteriaQueriesSpec.$tt__$spock_feature_0_38(GormCriteriaQueriesSpec.groovy:571)
        at gorm.GormCriteriaQueriesSpec.test executeUpdate for bulk 
operations_closure40(GormCriteriaQueriesSpec.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 gorm.GormCriteriaQueriesSpec.test executeUpdate for bulk 
operations(GormCriteriaQueriesSpec.groovy)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 GormCriteriaQueriesSpec > test HQL aggregate functions <!-- 
uniqueId=[engine:spock]/[spec:gorm.GormCriteriaQueriesSpec]/[feature:$spock_feature_0_36]
 -->
   🔲 GormCriteriaQueriesSpec > test HQL group by <!-- 
uniqueId=[engine:spock]/[spec:gorm.GormCriteriaQueriesSpec]/[feature:$spock_feature_0_37]
 -->
   🔲 GormCriteriaQueriesSpec > test basic HQL query <!-- 
uniqueId=[engine:spock]/[spec:gorm.GormCriteriaQueriesSpec]/[feature:$spock_feature_0_31]
 -->
   🔲 GormCriteriaQueriesSpec > test executeUpdate for bulk operations <!-- 
uniqueId=[engine:spock]/[spec:gorm.GormCriteriaQueriesSpec]/[feature:$spock_feature_0_38]
 -->
   
   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