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

   ## 🚨 TestLens detected 9 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 / Build Grails-Core \(macos-latest, 
21\)](https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786)
 > :grails-data-graphql-core:test
   
   | Test | Runs |
   |---|---|
   | CreateEntityDataFetcherSpec > test get | ❌ |
   | DeleteEntityDataFetcherSpec > test get | ❌ |
   | DeleteEntityDataFetcherSpec > test get invalid | ❌ |
   | EntityDataFetcherSpec | ❌ |
   | SingleEntityDataFetcherSpec | ❌ |
   | SoftDeleteEntityDataFetcherSpec | ❌ |
   | UpdateEntityDataFetcherSpec > test get | ❌ |
   | UpdateEntityDataFetcherSpec > test optimistic locking | ❌ |
   | UpdateEntityDataFetcherSpec > test optimistic locking with null version | 
❌ |
   
   🏷️ Commit: 6d53d025c3e0f363dbecefcf9e5758dee06cc80f
   ▶️ Tests:  2711 executed
   🟡 Checks: 9/35 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>CreateEntityDataFetcherSpec > test get</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)"
 because "datastore" is null
        at 
org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
        at 
org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcher.get(CreateEntityDataFetcher.groovy:46)
        at 
org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec.test 
get(CreateEntityDataFetcherSpec.groovy:42)
   ```
   
   </details>
   <details>
   
   <summary><strong>DeleteEntityDataFetcherSpec > test get</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"org.grails.orm.hibernate.AbstractHibernateDatastore.getConnectionSources()" 
because the return value of "groovy.lang.Reference.get()" is null
        at 
org.grails.orm.hibernate.AbstractHibernateGormStaticApi.withNewSession(AbstractHibernateGormStaticApi.groovy:118)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1140)
        at 
org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test 
get(DeleteEntityDataFetcherSpec.groovy:53)
   ```
   
   </details>
   <details>
   
   <summary><strong>DeleteEntityDataFetcherSpec > test get invalid</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   Too few invocations for:
   
   1 * getArgument('id') >> 95   (0 invocations)
   
   Unmatched invocations (ordered by similarity):
   
   None
   
   Too few invocations for:
   
   1 * getMergedField()   (0 invocations)
   
   Unmatched invocations (ordered by similarity):
   
   None
   
   
        at 
org.spockframework.mock.runtime.InteractionScope.verifyInteractions(InteractionScope.java:110)
        at 
org.spockframework.mock.runtime.MockController.leaveScope(MockController.java:95)
        at 
org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get 
invalid(DeleteEntityDataFetcherSpec.groovy:74)
   ```
   
   </details>
   <details>
   
   <summary><strong>EntityDataFetcherSpec</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: No PlatformTransactionManager set
        at org.springframework.util.Assert.state(Assert.java:80)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
        at 
org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
        at 
org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec.setupSpec(EntityDataFetcherSpec.groovy:32)
   ```
   
   </details>
   <details>
   
   <summary><strong>SingleEntityDataFetcherSpec</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: No PlatformTransactionManager set
        at org.springframework.util.Assert.state(Assert.java:80)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
        at 
org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
        at 
org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec.setupSpec(SingleEntityDataFetcherSpec.groovy:35)
   ```
   
   </details>
   <details>
   
   <summary><strong>SoftDeleteEntityDataFetcherSpec</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.IllegalStateException: No PlatformTransactionManager set
        at org.springframework.util.Assert.state(Assert.java:80)
        at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
        at 
grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
        at 
org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
        at 
org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
        at 
org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
        at 
org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec.setupSpec(SoftDeleteEntityDataFetcherSpec.groovy:36)
   ```
   
   </details>
   <details>
   
   <summary><strong>UpdateEntityDataFetcherSpec > test get</strong> 
(:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)"
 because "datastore" is null
        at 
org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test 
get(UpdateEntityDataFetcherSpec.groovy:48)
   ```
   
   </details>
   <details>
   
   <summary><strong>UpdateEntityDataFetcherSpec > test optimistic 
locking</strong> (:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)"
 because "datastore" is null
        at 
org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test 
optimistic locking(UpdateEntityDataFetcherSpec.groovy:69)
   ```
   
   </details>
   <details>
   
   <summary><strong>UpdateEntityDataFetcherSpec > test optimistic locking with 
null version</strong> (:grails-data-graphql-core:test in <a 
href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786";>CI
 / Build Grails-Core (macos-latest, 21)</a>)</summary>
   
   ```
   java.lang.NullPointerException: Cannot invoke 
"org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)"
 because "datastore" is null
        at 
org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
        at 
org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test 
optimistic locking with null version(UpdateEntityDataFetcherSpec.groovy:88)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 CreateEntityDataFetcherSpec > test get <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 DeleteEntityDataFetcherSpec > test get <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 DeleteEntityDataFetcherSpec > test get invalid <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 EntityDataFetcherSpec <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec]
 -->
   🔲 SingleEntityDataFetcherSpec <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec]
 -->
   🔲 SoftDeleteEntityDataFetcherSpec <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec]
 -->
   🔲 UpdateEntityDataFetcherSpec > test get <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_0]
 -->
   🔲 UpdateEntityDataFetcherSpec > test optimistic locking <!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_1]
 -->
   🔲 UpdateEntityDataFetcherSpec > test optimistic locking with null version 
<!-- 
uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_2]
 -->
   
   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