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

   ## 🚨 TestLens detected 18 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/25997300083/job/76414105041?pr=15654)
 | :grails-data-hibernate7-dbmigration:integrationTest | 
AutoRunWithMultipleDataSourceSpec > runs app with a multiple datasource | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-data-hibernate7-dbmigration:integrationTest | 
AutoRunWithSingleDataSourceSpec > runs app with a single datasource | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > ProductSearchService.findByName returns all products 
when name is blank | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > ProductSearchService.findByName returns all products 
when name is null | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > ProductSearchService.findByName returns the matching 
product via eqIf | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > ProductSearchService.findByPriceLike returns matching 
products via numberLike | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf adds equality restriction and returns the matching 
product | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf passes non-String values through and returns the 
matching product by price | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf skips restriction and returns all products when 
value is blank | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf skips restriction and returns all products when 
value is empty string | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf skips restriction and returns all products when 
value is null | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf trims padded string value and still returns the 
matching product | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > eqIf with trim\=false treats padded value as a literal 
and returns no match | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > numberLike combined with eqIf narrows results | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > numberLike matches products whose price starts with a 
given prefix | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > numberLike with exact value returns the single matching 
product | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-test-examples-hibernate7-criteria-extension:integrationTest | 
CriteriaExtensionSpec > numberLike with wildcard matches all products 
containing the digit | ❌ |
   | [CI - Groovy Joint Validation Build / 
build\_grails](https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654)
 | :grails-data-hibernate7-dbmigration:integrationTest | DbUpdateCommandSpec > 
test the transaction behaviour in the changeSet with grailsChange and GORM | ❌ |
   
   🏷️ Commit: 263f7ed20371e8c527a215ba869d9835938c0906
   ▶️ Tests:  16834 executed
   🟡 Checks: 26/36 completed
   
   ### Test Failures (first 5 of 18)
   
   <details>
   
   <summary><strong>AutoRunWithMultipleDataSourceSpec > runs app with a 
multiple datasource</strong> 
(:grails-data-hibernate7-dbmigration:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@2b39e77d testClass = 
org.grails.plugins.databasemigration.AutoRunWithMultipleDataSourceSpec, 
locations = [], classes = [databasemigration.Application], 
contextInitializerClasses = [], activeProfiles = ["multiple-datasource"], 
propertySourceDescriptors = [], propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4f72078d,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@65880400,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@eea0b48,
 org.springframework.test.context.support.DynamicP
 ropertiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@979ae788], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   Caused by: java.lang.IllegalStateException: LoggerFactory is not a Logback 
LoggerContext but Logback is on the classpath. Either remove Logback or the 
competing implementation (class org.slf4j.simple.SimpleLoggerFactory loaded 
from 
file:/home/runner/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/2.0.17/9872a3fd794ffe7b18d17747926a64d61526ca96/slf4j-simple-2.0.17.jar).
 If you are using WebLogic you will need to add 'org.slf4j' to 
prefer-application-packages in WEB-INF/weblogic.xml
        at org.springframework.util.Assert.state(Assert.java:102)
        at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:420)
        at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:130)
        at 
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:240)
        at 
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:222)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:180)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:173)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:151)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:133)
        at 
org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:137)
        at 
org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:76)
        at 
org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:56)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:123)
        at 
org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:56)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:100)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:394)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:383)
        at databasemigration.Application.main(Application.groovy:32)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 13 more
   ```
   
   </details>
   <details>
   
   <summary><strong>AutoRunWithSingleDataSourceSpec > runs app with a single 
datasource</strong> (:grails-data-hibernate7-dbmigration:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   java.lang.IllegalStateException: Failed to load ApplicationContext for 
[WebMergedContextConfiguration@3b26afbc testClass = 
org.grails.plugins.databasemigration.AutoRunWithSingleDataSourceSpec, locations 
= [], classes = [databasemigration.Application], contextInitializerClasses = 
[], activeProfiles = ["single-datasource"], propertySourceDescriptors = [], 
propertySourceProperties = 
["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true",
 "server.port=0"], contextCustomizers = 
[org.spockframework.spring.mock.SpockContextCustomizer@0, 
org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, 
org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4f72078d,
 
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@65880400,
 
org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@eea0b48,
 org.springframework.test.context.support.DynamicPrope
 rtiesContextCustomizer@0, 
org.springframework.boot.test.context.SpringBootTestAnnotation@979ae788], 
resourceBasePath = "src/main/webapp", contextLoader = 
grails.boot.test.GrailsApplicationContextLoader, parent = null]
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
        at 
org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
        at 
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:156)
        at 
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:111)
        at 
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
        at 
org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
        at 
org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
        at 
org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
        at 
org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at 
org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
   Caused by: java.lang.IllegalStateException: LoggerFactory is not a Logback 
LoggerContext but Logback is on the classpath. Either remove Logback or the 
competing implementation (class org.slf4j.simple.SimpleLoggerFactory loaded 
from 
file:/home/runner/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/2.0.17/9872a3fd794ffe7b18d17747926a64d61526ca96/slf4j-simple-2.0.17.jar).
 If you are using WebLogic you will need to add 'org.slf4j' to 
prefer-application-packages in WEB-INF/weblogic.xml
        at org.springframework.util.Assert.state(Assert.java:102)
        at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:420)
        at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:130)
        at 
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:240)
        at 
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:222)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:180)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:173)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:151)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:133)
        at 
org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:137)
        at 
org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:76)
        at 
org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:56)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:123)
        at 
org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:56)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:100)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:394)
        at grails.boot.GrailsApp.run(GrailsApp.groovy:383)
        at databasemigration.Application.main(Application.groovy:32)
        at 
org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
        at 
org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
        at 
org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
        at 
org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
        at 
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
        at 
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
        ... 13 more
   ```
   
   </details>
   <details>
   
   <summary><strong>CriteriaExtensionSpec > ProductSearchService.findByName 
returns all products when name is blank</strong> 
(:grails-test-examples-hibernate7-criteria-extension:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   groovy.lang.MissingMethodException: No signature of method: 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.eqIf() is 
applicable for argument types: (String, String) values: [name,   ]
   Possible solutions: eq(java.lang.String, java.lang.Object), wait(), id(), 
eqAll(java.lang.String, groovy.lang.Closure), eqAll(java.lang.String, 
org.grails.datastore.mapping.query.api.QueryableCriteria), 
sort(java.lang.String, java.lang.String)
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.methodMissing(AbstractDetachedCriteria.groovy:1057)
        at 
example.ProductSearchService._tt__findByName_closure4(ProductSearchService.groovy:41)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.build(AbstractDetachedCriteria.groovy:839)
        at grails.gorm.DetachedCriteria.build(DetachedCriteria.groovy:601)
        at 
example.ProductSearchService.$tt__findByName(ProductSearchService.groovy:40)
        at 
example.ProductSearchService.findByName_closure1(ProductSearchService.groovy)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:98)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:95)
        at 
example.CriteriaExtensionSpec.$tt__$spock_feature_0_9(CriteriaExtensionSpec.groovy:173)
        at example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns all products when name is blank_closure10(CriteriaExtensionSpec.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 example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns all products when name is blank(CriteriaExtensionSpec.groovy)
   ```
   
   </details>
   <details>
   
   <summary><strong>CriteriaExtensionSpec > ProductSearchService.findByName 
returns all products when name is null</strong> 
(:grails-test-examples-hibernate7-criteria-extension:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   groovy.lang.MissingMethodException: No signature of method: 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.eqIf() is 
applicable for argument types: (String, null) values: [name, null]
   Possible solutions: eq(java.lang.String, java.lang.Object), wait(), id(), 
eqAll(java.lang.String, groovy.lang.Closure), eqAll(java.lang.String, 
org.grails.datastore.mapping.query.api.QueryableCriteria), any()
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.methodMissing(AbstractDetachedCriteria.groovy:1057)
        at 
example.ProductSearchService._tt__findByName_closure4(ProductSearchService.groovy:41)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.build(AbstractDetachedCriteria.groovy:839)
        at grails.gorm.DetachedCriteria.build(DetachedCriteria.groovy:601)
        at 
example.ProductSearchService.$tt__findByName(ProductSearchService.groovy:40)
        at 
example.ProductSearchService.findByName_closure1(ProductSearchService.groovy)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:98)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:95)
        at 
example.CriteriaExtensionSpec.$tt__$spock_feature_0_8(CriteriaExtensionSpec.groovy:162)
        at example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns all products when name is null_closure9(CriteriaExtensionSpec.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 example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns all products when name is null(CriteriaExtensionSpec.groovy)
   ```
   
   </details>
   <details>
   
   <summary><strong>CriteriaExtensionSpec > ProductSearchService.findByName 
returns the matching product via eqIf</strong> 
(:grails-test-examples-hibernate7-criteria-extension:integrationTest in <a 
href="https://github.com/apache/grails-core/actions/runs/25997300083/job/76414105041?pr=15654";>CI
 - Groovy Joint Validation Build / build_grails</a>)</summary>
   
   ```
   groovy.lang.MissingMethodException: No signature of method: 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.eqIf() is 
applicable for argument types: (String, String) values: [name, Gadget]
   Possible solutions: eq(java.lang.String, java.lang.Object), wait(), id(), 
eqAll(java.lang.String, groovy.lang.Closure), eqAll(java.lang.String, 
org.grails.datastore.mapping.query.api.QueryableCriteria), 
sort(java.lang.String, java.lang.String)
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.methodMissing(AbstractDetachedCriteria.groovy:1057)
        at 
example.ProductSearchService._tt__findByName_closure4(ProductSearchService.groovy:41)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
org.grails.datastore.gorm.query.criteria.AbstractDetachedCriteria.build(AbstractDetachedCriteria.groovy:839)
        at grails.gorm.DetachedCriteria.build(DetachedCriteria.groovy:601)
        at 
example.ProductSearchService.$tt__findByName(ProductSearchService.groovy:40)
        at 
example.ProductSearchService.findByName_closure1(ProductSearchService.groovy)
        at groovy.lang.Closure.call(Closure.java:433)
        at groovy.lang.Closure.call(Closure.java:422)
        at 
grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:98)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:95)
        at 
example.CriteriaExtensionSpec.$tt__$spock_feature_0_7(CriteriaExtensionSpec.groovy:150)
        at example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns the matching product via eqIf_closure8(CriteriaExtensionSpec.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 example.CriteriaExtensionSpec.ProductSearchService.findByName 
returns the matching product via eqIf(CriteriaExtensionSpec.groovy)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 AutoRunWithMultipleDataSourceSpec > runs app with a multiple datasource 
<!-- 
uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.AutoRunWithMultipleDataSourceSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 AutoRunWithSingleDataSourceSpec > runs app with a single datasource <!-- 
uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.AutoRunWithSingleDataSourceSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 CriteriaExtensionSpec > ProductSearchService.findByName returns all 
products when name is blank <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_9]
 -->
   🔲 CriteriaExtensionSpec > ProductSearchService.findByName returns all 
products when name is null <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_8]
 -->
   🔲 CriteriaExtensionSpec > ProductSearchService.findByName returns the 
matching product via eqIf <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_7]
 -->
   🔲 CriteriaExtensionSpec > ProductSearchService.findByPriceLike returns 
matching products via numberLike <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_14]
 -->
   🔲 CriteriaExtensionSpec > eqIf adds equality restriction and returns the 
matching product <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_0]
 -->
   🔲 CriteriaExtensionSpec > eqIf passes non-String values through and returns 
the matching product by price <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_6]
 -->
   🔲 CriteriaExtensionSpec > eqIf skips restriction and returns all products 
when value is blank <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_3]
 -->
   🔲 CriteriaExtensionSpec > eqIf skips restriction and returns all products 
when value is empty string <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_2]
 -->
   🔲 CriteriaExtensionSpec > eqIf skips restriction and returns all products 
when value is null <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_1]
 -->
   🔲 CriteriaExtensionSpec > eqIf trims padded string value and still returns 
the matching product <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_4]
 -->
   🔲 CriteriaExtensionSpec > eqIf with trim\=false treats padded value as a 
literal and returns no match <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_5]
 -->
   🔲 CriteriaExtensionSpec > numberLike combined with eqIf narrows results <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_13]
 -->
   🔲 CriteriaExtensionSpec > numberLike matches products whose price starts 
with a given prefix <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_10]
 -->
   🔲 CriteriaExtensionSpec > numberLike with exact value returns the single 
matching product <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_11]
 -->
   🔲 CriteriaExtensionSpec > numberLike with wildcard matches all products 
containing the digit <!-- 
uniqueId=[engine:spock]/[spec:example.CriteriaExtensionSpec]/[feature:$spock_feature_0_12]
 -->
   🔲 DbUpdateCommandSpec > test the transaction behaviour in the changeSet with 
grailsChange and GORM <!-- 
uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.DbUpdateCommandSpec]/[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