testlens-app[bot] commented on PR #15656: URL: https://github.com/apache/grails-core/pull/15656#issuecomment-4512571614
## 🚨 TestLens detected 12 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 / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | AbstractGormApiRegistrySpec > test register and get | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistryConcurrencySpec > registry hot-paths perform without lock contention under high concurrency | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > findSingleTransactionManager returns null for non-transactional datastore | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > findSingleTransactionManager returns transaction manager for TransactionCapableDatastore | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > findTransactionManager returns transaction manager for entity | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > normalizeEntityKey properly normalizes class names | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > normalizeQualifier properly normalizes qualifiers | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > removeDatastore removes from all registries | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > removeDatastoreByType removes from type registry but keeps in allDatastores | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > removeDatastoreFromDiscovery removes from type registry and allDatastores | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > removeEntityDatastore removes datastore specifically for entity | ❌ | | [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656) | :grails-datamapping-core:test | GormRegistrySpec > reset clears all registries | ❌ | 🏷️ Commit: 69693f5d14437996277ab14c0603bf1db509c927 ▶️ Tests: 751 executed 🟡 Checks: 0/64 completed ### Test Failures (first 10 of 12) <details> <summary><strong>AbstractGormApiRegistrySpec > test register and get</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` Condition not satisfied: testRegistry.size() == 1 | | | | 2 false <org.grails.datastore.gorm.AbstractGormApiRegistrySpec$TestGormApiRegistry@1cdb11ff qualifiedApi=null apis=[ :org.grails.datastore.gorm.AbstractGormApiRegistrySpec$DummyApi@208718b3, org.grails.datastore.gorm.AbstractGormApiRegistrySpec$TestEntity:org.grails.datastore.gorm.AbstractGormApiRegistrySpec$DummyApi@37f8a957] registry=org.grails.datastore.gorm.GormRegistry@73e802be> at org.grails.datastore.gorm.AbstractGormApiRegistrySpec.test register and get(AbstractGormApiRegistrySpec.groovy:54) ``` |expected|actual| |---|---| |<s>1</s>|<b>2</b>| </details> <details> <summary><strong>GormRegistryConcurrencySpec > registry hot-paths perform without lock contention under high concurrency</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` Condition not satisfied: errorCount.get() == 0 | | | 10 10 false at org.grails.datastore.gorm.GormRegistryConcurrencySpec.registry hot-paths perform without lock contention under high concurrency(GormRegistryConcurrencySpec.groovy:128) ``` |expected|actual| |---|---| |<s>0</s>|<b>10</b>| </details> <details> <summary><strong>GormRegistrySpec > findSingleTransactionManager returns null for non-transactional datastore</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy84) values: [Mock for type 'Datastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.findSingleTransactionManager returns null for non-transactional datastore(GormRegistrySpec.groovy:66) ``` </details> <details> <summary><strong>GormRegistrySpec > findSingleTransactionManager returns transaction manager for TransactionCapableDatastore</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy94) values: [Mock for type 'TransactionCapableDatastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.findSingleTransactionManager returns transaction manager for TransactionCapableDatastore(GormRegistrySpec.groovy:81) ``` </details> <details> <summary><strong>GormRegistrySpec > findTransactionManager returns transaction manager for entity</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy94) values: [Mock for type 'TransactionCapableDatastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.findTransactionManager returns transaction manager for entity(GormRegistrySpec.groovy:111) ``` </details> <details> <summary><strong>GormRegistrySpec > normalizeEntityKey properly normalizes class names</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` Condition failed with Exception: registry.normalizeEntityKey(TestEntity) == TestEntity.name | | | | | class org.grails.datastore.gorm.GormRegistrySpec$TestEntity | groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.normalizeEntityKey() is applicable for argument types: (Class) values: [class org.grails.datastore.gorm.GormRegistrySpec$TestEntity] | at org.grails.datastore.gorm.GormRegistrySpec.normalizeEntityKey properly normalizes class names(GormRegistrySpec.groovy:180) <org.grails.datastore.gorm.GormRegistry@73e802be defaultApiFactory=org.grails.datastore.gorm.DefaultGormApiFactory@4eace98f apiResolver=org.grails.datastore.gorm.GormApiResolver@16d92d12 staticApiRegistry=org.grails.datastore.gorm.GormStaticApiRegistry@5f63bc34 instanceApiRegistry=org.grails.datastore.gorm.GormInstanceApiRegistry@680535b7 validationApiRegistry=org.grails.datastore.gorm.GormValidationApiRegistry@41cc59a9 datastoresByQualifier=[:] entityDatastores=[:] datastoresByType=[:] apiFactoriesByDatastoreType=[:] allDatastores=[]> at org.grails.datastore.gorm.GormRegistrySpec.normalizeEntityKey properly normalizes class names(GormRegistrySpec.groovy:180) Caused by: groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.normalizeEntityKey() is applicable for argument types: (Class) values: [class org.grails.datastore.gorm.GormRegistrySpec$TestEntity] ... 1 more ``` </details> <details> <summary><strong>GormRegistrySpec > normalizeQualifier properly normalizes qualifiers</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` Condition failed with Exception: registry.normalizeQualifier(null) == ConnectionSource.DEFAULT | | | groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.normalizeQualifier() is applicable for argument types: (null) values: [null] | at org.grails.datastore.gorm.GormRegistrySpec.normalizeQualifier properly normalizes qualifiers(GormRegistrySpec.groovy:190) <org.grails.datastore.gorm.GormRegistry@73e802be defaultApiFactory=org.grails.datastore.gorm.DefaultGormApiFactory@4eace98f apiResolver=org.grails.datastore.gorm.GormApiResolver@16d92d12 staticApiRegistry=org.grails.datastore.gorm.GormStaticApiRegistry@5f63bc34 instanceApiRegistry=org.grails.datastore.gorm.GormInstanceApiRegistry@680535b7 validationApiRegistry=org.grails.datastore.gorm.GormValidationApiRegistry@41cc59a9 datastoresByQualifier=[:] entityDatastores=[:] datastoresByType=[:] apiFactoriesByDatastoreType=[:] allDatastores=[]> at org.grails.datastore.gorm.GormRegistrySpec.normalizeQualifier properly normalizes qualifiers(GormRegistrySpec.groovy:190) Caused by: groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.normalizeQualifier() is applicable for argument types: (null) values: [null] ... 1 more ``` </details> <details> <summary><strong>GormRegistrySpec > removeDatastore removes from all registries</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy84) values: [Mock for type 'Datastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.removeDatastore removes from all registries(GormRegistrySpec.groovy:167) ``` </details> <details> <summary><strong>GormRegistrySpec > removeDatastoreByType removes from type registry but keeps in allDatastores</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy84) values: [Mock for type 'Datastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.removeDatastoreByType removes from type registry but keeps in allDatastores(GormRegistrySpec.groovy:139) ``` </details> <details> <summary><strong>GormRegistrySpec > removeDatastoreFromDiscovery removes from type registry and allDatastores</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/26251026555/job/77261845812?pr=15656">CI / Build Grails-Core (macos-latest, 21)</a>)</summary> ``` groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.GormRegistry.initializeDatastore() is applicable for argument types: (jdk.proxy3.$Proxy84) values: [Mock for type 'Datastore' named 'datastore'] Possible solutions: initializeDatastore(java.lang.Object, java.lang.String) at org.grails.datastore.gorm.GormRegistrySpec.removeDatastoreFromDiscovery removes from type registry and allDatastores(GormRegistrySpec.groovy:153) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 AbstractGormApiRegistrySpec > test register and get <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.AbstractGormApiRegistrySpec]/[feature:$spock_feature_0_0] --> 🔲 GormRegistryConcurrencySpec > registry hot-paths perform without lock contention under high concurrency <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistryConcurrencySpec]/[feature:$spock_feature_0_0] --> 🔲 GormRegistrySpec > findSingleTransactionManager returns null for non-transactional datastore <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_1] --> 🔲 GormRegistrySpec > findSingleTransactionManager returns transaction manager for TransactionCapableDatastore <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_2] --> 🔲 GormRegistrySpec > findTransactionManager returns transaction manager for entity <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_4] --> 🔲 GormRegistrySpec > normalizeEntityKey properly normalizes class names <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_9] --> 🔲 GormRegistrySpec > normalizeQualifier properly normalizes qualifiers <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_10] --> 🔲 GormRegistrySpec > removeDatastore removes from all registries <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_8] --> 🔲 GormRegistrySpec > removeDatastoreByType removes from type registry but keeps in allDatastores <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_6] --> 🔲 GormRegistrySpec > removeDatastoreFromDiscovery removes from type registry and allDatastores <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_7] --> 🔲 GormRegistrySpec > removeEntityDatastore removes datastore specifically for entity <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_5] --> 🔲 GormRegistrySpec > reset clears all registries <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[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]
