You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "codeconsole (via GitHub)" <gi...@apache.org> on 2026/06/17 23:04:12 UTC
[PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
codeconsole opened a new pull request, #15745:
URL: https://github.com/apache/grails-core/pull/15745
## Depends on #15744 (stacked PR)
This is stacked on top of #15744 (opt-in MongoDB transactions). Until #15744 merges, the diff here also includes its commit — please review/merge **#15744 first**, after which this PR reduces to just the new interop module. The unified transaction here relies on the `ClientSession` introduced by #15744.
## What
A new **opt-in** module, `grails-data-mongodb-spring-data`, that lets GORM for MongoDB and Spring Data MongoDB run side by side over the **same** `MongoClient`, database and codecs — and, within a single `@Transactional` method, the **same** MongoDB transaction.
When the module and `spring-data-mongodb` are on the classpath of a Spring Boot app that has a GORM `MongoDatastore`, it auto-configures over GORM's connection:
- a `MongoDatabaseFactory` bound to GORM's client + default database (it does **not** close GORM's client),
- a `MongoTemplate` (+ `MappingMongoConverter`) sharing the driver codec registry,
- a primary `transactionManager` (`GormSharedSessionMongoTransactionManager`) that binds GORM's `ClientSession` into Spring Data, so a GORM `save()` and a `MongoTemplate`/repository write in one `@Transactional` method commit or roll back together.
Unified transactions require GORM server-side transactions (`grails.mongodb.transactional = true`, from #15744). Spring Data repositories are enabled the usual way via `@EnableMongoRepositories`, on a package separate from GORM `@Entity` classes.
## Boundary
Only the connection, codecs and (within a transaction) the `ClientSession` are shared; the two object-mapping models stay separate (GORM maps `@Entity`; Spring Data maps its own documents). Sharing the session reaches Spring Data's package-private `MongoResourceHolder`, so a small helper lives in package `org.springframework.data.mongodb` — verified against the Spring Data MongoDB 5.x line in Spring Boot 4, class-path only (not JPMS module-path). A single flat transaction (`PROPAGATION_REQUIRED`) is supported; `REQUIRES_NEW`/`NESTED` are not.
## Tests
- `UnifiedMongoTransactionSpec` — GORM + `MongoTemplate` commit and roll back together on one session; coexistence read; sequential transactions without session/holder leaks; a Spring Data repository over the shared connection; auto-config wiring; the shared factory does not close GORM's client.
- `GormSpringDataSessionSupportSpec` — coupling smoke test that fails loudly if the Spring Data internal shape changes.
Targets `8.0.x`.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4849928325
## 🚨 TestLens detected 1 failed test 🚨
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\=false\)](https://github.com/apache/grails-core/actions/runs/28489607455/job/84443263795?pr=15745) > :grails-test-examples-scaffolding:integrationTest
| Test | Runs |
|---|---|
| UserControllerSpec > User list | ❌ |
🏷️ Commit: 216970ff0d4e7427252f231b208c4bc321f34eb3
▶️ Tests: 9787 executed
🟡 Checks: 29/39 completed
### Test Failures
<details>
<summary><strong>UserControllerSpec > User list</strong> (:grails-test-examples-scaffolding:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28489607455/job/84443263795?pr=15745">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
geb.waiting.WaitTimeoutException: condition did not pass in 10 seconds (failed with exception)
at geb.waiting.Wait.waitFor(Wait.groovy:128)
at geb.waiting.PotentiallyWaitingExecutor.execute(PotentiallyWaitingExecutor.groovy:31)
at geb.Page.verifyThisPageAtOnly(Page.groovy:424)
at geb.Page.getAtVerificationResult(Page.groovy:217)
at geb.Page.verifyAt(Page.groovy:188)
at geb.Browser.doAt(Browser.groovy:1208)
at geb.Browser.at(Browser.groovy:410)
at geb.Browser.to(Browser.groovy:566)
at geb.Browser.to(Browser.groovy:543)
at geb.Browser.to(Browser.groovy:532)
at grails.plugin.geb.support.delegate.BrowserDelegate$Trait$Helper.to(BrowserDelegate.groovy:160)
at com.example.UserControllerSpec.User list(UserControllerSpec.groovy:46)
Caused by: Assertion failed:
title == pageTitle
| | |
| | 'User List'
| false
'Please sign in'
at com.example.pages.UserListPage._clinit__closure1(UserListPage.groovy:28)
at com.example.pages.UserListPage._clinit__closure1(UserListPage.groovy)
at geb.waiting.Wait.waitFor(Wait.groovy:117)
... 11 more
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 UserControllerSpec > User list <!-- uniqueId=[engine:spock]/[spec:com.example.UserControllerSpec]/[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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4847328808
Isn't the transaction support a requirement before this PR?
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty merged PR #15745:
URL: https://github.com/apache/grails-core/pull/15745
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4811854772
## 🚨 TestLens detected 6 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 - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745) > :grails-data-mongodb-core:test
| Test | Runs |
|---|---|
| MongoTransactionSpec > test a REQUIRES\_NEW inner transaction commits independently of a rolled back outer transaction | ❌ |
| MongoTransactionSpec > test a committed transaction persists all writes atomically | ❌ |
| MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction | ❌ |
| MongoTransactionSpec > test a rolled back transaction discards all writes on the server | ❌ |
| MongoTransactionSpec > test read-your-writes within an active transaction | ❌ |
| MongoTransactionSpec > test writes across multiple collections roll back together | ❌ |
🏷️ Commit: 25ec5becefffeea77317ac9b16166e8fb12a146a
▶️ Tests: 22807 executed
🟡 Checks: 17/38 completed
### Test Failures
<details>
<summary><strong>MongoTransactionSpec > test a REQUIRES_NEW inner transaction commits independently of a rolled back outer transaction</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32822, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test a committed transaction persists all writes atomically</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoSocketReadException: Prematurely reached end of stream
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:184)
at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:942)
at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:567)
at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceiveInternal(InternalStreamConnection.java:494)
at com.mongodb.internal.connection.InternalStreamConnection.lambda$sendAndReceive$1(InternalStreamConnection.java:383)
at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:386)
at com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:111)
at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:757)
at com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:60)
at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:207)
at com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:112)
at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:82)
at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:74)
at com.mongodb.internal.connection.DefaultServer$OperationCountTrackingConnection.command(DefaultServer.java:297)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$11(SyncOperationHelper.java:285)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$1(SyncOperationHelper.java:146)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:177)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$2(SyncOperationHelper.java:142)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:177)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$12(SyncOperationHelper.java:270)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$decorateWriteWithRetries$13(SyncOperationHelper.java:329)
at com.mongodb.internal.async.function.RetryingSyncSupplier.get(RetryingSyncSupplier.java:67)
at com.mongodb.internal.operation.SyncOperationHelper.executeRetryableWrite(SyncOperationHelper.java:297)
at com.mongodb.internal.operation.BaseFindAndModifyOperation.execute(BaseFindAndModifyOperation.java:81)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoCollectionImpl.executeFindOneAndUpdate(MongoCollectionImpl.java:787)
at com.mongodb.client.internal.MongoCollectionImpl.findOneAndUpdate(MongoCollectionImpl.java:766)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.generateIdentifier(MongoCodecEntityPersister.groovy:443)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.persistEntity(MongoCodecEntityPersister.groovy:226)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.persistEntity(MongoCodecEntityPersister.groovy:567)
at org.grails.datastore.mapping.engine.EntityPersister.persist(EntityPersister.java:188)
at org.grails.datastore.mapping.core.AbstractSession.persist(AbstractSession.java:609)
at org.grails.datastore.gorm.GormInstanceApi.doSave(GormInstanceApi.groovy:369)
at org.grails.datastore.gorm.GormInstanceApi.save_closure5(GormInstanceApi.groovy:184)
at org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
at org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
at org.grails.datastore.gorm.GormInstanceApi.save(GormInstanceApi.groovy:183)
at org.grails.datastore.gorm.GormInstanceApi.save(GormInstanceApi.groovy:123)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.test a committed transaction persists all writes atomically_closure2(MongoTransactionSpec.groovy:69)
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 org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:1009)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:872)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:1024)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.test a committed transaction persists all writes atomically(MongoTransactionSpec.groovy:67)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32822, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test a rolled back transaction discards all writes on the server</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32822, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test read-your-writes within an active transaction</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32822, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test writes across multiple collections roll back together</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28253018077/job/83709559809?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32822, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 MongoTransactionSpec > test a REQUIRES\_NEW inner transaction commits independently of a rolled back outer transaction <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_6] -->
🔲 MongoTransactionSpec > test a committed transaction persists all writes atomically <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_1] -->
🔲 MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_5] -->
🔲 MongoTransactionSpec > test a rolled back transaction discards all writes on the server <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_2] -->
🔲 MongoTransactionSpec > test read-your-writes within an active transaction <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_4] -->
🔲 MongoTransactionSpec > test writes across multiple collections roll back together <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_3] -->
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4917237049
## 🚨 TestLens detected 1 failed test 🚨
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 - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/28955116370/job/85913648522?pr=15745) > :grails-test-examples-app1:integrationTest
| Test | Runs | Flakiness |
|---|---|--:|
| AsyncPromiseSpec > async service processes string input | ❌ | 0% 🟢 |
🏷️ Commit: 156867a5c5f4f34b950d39286126dac508ceac35
▶️ Tests: 44886 executed
🟡 Checks: 52/54 completed
### Test Failures
<details>
<summary><strong>AsyncPromiseSpec > async service processes string input</strong> (:grails-test-examples-app1:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28955116370/job/85913648522?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
java.net.http.HttpTimeoutException: request timed out
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:953)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at org.apache.grails.testing.http.client.HttpClientSupport$Trait$Helper.send(HttpClientSupport.groovy:1133)
at org.apache.grails.testing.http.client.HttpClientSupport$Trait$Helper.send(HttpClientSupport.groovy:1122)
at org.apache.grails.testing.http.client.HttpClientSupport$Trait$Helper.http(HttpClientSupport.groovy:203)
at org.apache.grails.testing.http.client.HttpClientSupport$Trait$Helper.http(HttpClientSupport.groovy:169)
at functionaltests.async.AsyncPromiseSpec.async service processes string input(AsyncPromiseSpec.groovy:139)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 AsyncPromiseSpec > async service processes string input <!-- uniqueId=[engine:spock]/[spec:functionaltests.async.AsyncPromiseSpec]/[feature:$spock_feature_0_6] -->
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "codeconsole (via GitHub)" <gi...@apache.org>.
codeconsole commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4759049684
This is for apps that already have or need both, where today the only option is two separate `MongoClient`s with no transactional consistency between them. The module makes that coexistence correct: GORM and Spring Data share one `MongoClient`, database and codec registry, and — within a single `@Transactional` — the same MongoDB `ClientSession`, so a GORM `save()` and a `MongoTemplate`/repository write commit or roll back together.
Concrete cases: Spring-ecosystem libraries built on `MongoTemplate`/Spring Data repositories (Spring Batch, Spring Session, Spring Integration, Spring Security ACL); incremental migration in either direction without doubling connections; and reaching actively-developed Spring Data features for specific operations while keeping GORM for domain modeling.
It's opt-in — a separate module that pulls in `spring-data-mongodb` only when an app adds it; core stays driver-only and the mapping models stay separate.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4850476422
## ✅ All tests passed ✅
🏷️ Commit: a2217c90484560849f5b3762f1d467f90d2c68b5
▶️ Tests: 21110 executed
⚪️ Checks: 44/44 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4736748290
## ✅ All tests passed ✅
🏷️ Commit: 342579f60cb6456c73992451a7d9f81915e3a71b
▶️ Tests: 7317 executed
⚪️ Checks: 44/44 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4760066818
## 🚨 TestLens detected 5 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 - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745) > :grails-data-mongodb-core:test
| Test | Runs |
|---|---|
| MongoTransactionSpec > test a committed transaction persists all writes atomically | ❌ |
| MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction | ❌ |
| MongoTransactionSpec > test a rolled back transaction discards all writes on the server | ❌ |
| MongoTransactionSpec > test read-your-writes within an active transaction | ❌ |
| MongoTransactionSpec > test writes across multiple collections roll back together | ❌ |
🏷️ Commit: 5887adb61529b3effe9db6bd2efeba147b9a4c71
▶️ Tests: 17941 executed
🟡 Checks: 15/38 completed
### Test Failures
<details>
<summary><strong>MongoTransactionSpec > test a committed transaction persists all writes atomically</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoSocketReadException: Prematurely reached end of stream
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:184)
at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:942)
at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:567)
at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceiveInternal(InternalStreamConnection.java:494)
at com.mongodb.internal.connection.InternalStreamConnection.lambda$sendAndReceive$1(InternalStreamConnection.java:383)
at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:386)
at com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:111)
at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:757)
at com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:60)
at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:207)
at com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:112)
at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:82)
at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:74)
at com.mongodb.internal.connection.DefaultServer$OperationCountTrackingConnection.command(DefaultServer.java:297)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$11(SyncOperationHelper.java:285)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$1(SyncOperationHelper.java:146)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:177)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$2(SyncOperationHelper.java:142)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:177)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$12(SyncOperationHelper.java:270)
at com.mongodb.internal.operation.SyncOperationHelper.lambda$decorateWriteWithRetries$13(SyncOperationHelper.java:329)
at com.mongodb.internal.async.function.RetryingSyncSupplier.get(RetryingSyncSupplier.java:67)
at com.mongodb.internal.operation.SyncOperationHelper.executeRetryableWrite(SyncOperationHelper.java:297)
at com.mongodb.internal.operation.BaseFindAndModifyOperation.execute(BaseFindAndModifyOperation.java:81)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoCollectionImpl.executeFindOneAndUpdate(MongoCollectionImpl.java:787)
at com.mongodb.client.internal.MongoCollectionImpl.findOneAndUpdate(MongoCollectionImpl.java:766)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.generateIdentifier(MongoCodecEntityPersister.groovy:443)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.persistEntity(MongoCodecEntityPersister.groovy:226)
at org.grails.datastore.mapping.mongo.engine.MongoCodecEntityPersister.persistEntity(MongoCodecEntityPersister.groovy:567)
at org.grails.datastore.mapping.engine.EntityPersister.persist(EntityPersister.java:188)
at org.grails.datastore.mapping.core.AbstractSession.persist(AbstractSession.java:609)
at org.grails.datastore.gorm.GormInstanceApi.doSave(GormInstanceApi.groovy:369)
at org.grails.datastore.gorm.GormInstanceApi.save_closure5(GormInstanceApi.groovy:184)
at org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:335)
at org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:44)
at org.grails.datastore.gorm.GormInstanceApi.save(GormInstanceApi.groovy:183)
at org.grails.datastore.gorm.GormInstanceApi.save(GormInstanceApi.groovy:123)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.save(GormEntity.groovy:110)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.test a committed transaction persists all writes atomically_closure2(MongoTransactionSpec.groovy:69)
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 org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:1009)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:872)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:1024)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.test a committed transaction persists all writes atomically(MongoTransactionSpec.groovy:67)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32818, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test a rolled back transaction discards all writes on the server</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32818, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test read-your-writes within an active transaction</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32818, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
<details>
<summary><strong>MongoTransactionSpec > test writes across multiple collections roll back together</strong> (:grails-data-mongodb-core:test in <a href="https://github.com/apache/grails-core/actions/runs/27884181776/job/82516922558?pr=15745">CI - Groovy Joint Validation Build / build_grails</a>)</summary>
```
com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:32818, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]
at com.mongodb.internal.connection.BaseCluster.logAndThrowTimeoutException(BaseCluster.java:431)
at com.mongodb.internal.connection.BaseCluster.lambda$selectServer$0(BaseCluster.java:166)
at com.mongodb.internal.time.Timeout.lambda$onExistsAndExpired$16(Timeout.java:238)
at com.mongodb.internal.time.Timeout.lambda$run$10(Timeout.java:203)
at com.mongodb.internal.time.TimePoint.checkedCall(TimePoint.java:100)
at com.mongodb.internal.time.Timeout.call(Timeout.java:176)
at com.mongodb.internal.time.Timeout.run(Timeout.java:196)
at com.mongodb.internal.time.Timeout.onExistsAndExpired(Timeout.java:235)
at com.mongodb.internal.time.Timeout.onExpired(Timeout.java:228)
at com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.selectServer(SingleServerCluster.java:47)
at com.mongodb.internal.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:91)
at com.mongodb.client.internal.ClientSessionBinding.getConnectionSource(ClientSessionBinding.java:109)
at com.mongodb.client.internal.ClientSessionBinding.getWriteConnectionSource(ClientSessionBinding.java:102)
at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:169)
at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:138)
at com.mongodb.internal.operation.SyncOperationHelper.withConnection(SyncOperationHelper.java:117)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:73)
at com.mongodb.internal.operation.DropDatabaseOperation.execute(DropDatabaseOperation.java:48)
at com.mongodb.client.internal.MongoClusterImpl$OperationExecutorImpl.execute(MongoClusterImpl.java:472)
at com.mongodb.client.internal.MongoDatabaseImpl.executeDrop(MongoDatabaseImpl.java:230)
at com.mongodb.client.internal.MongoDatabaseImpl.drop(MongoDatabaseImpl.java:220)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup_closure1(MongoTransactionSpec.groovy:55)
at org.grails.datastore.gorm.GormStaticApi.withNewSession(GormStaticApi.groovy:1019)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1115)
at org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec.setup(MongoTransactionSpec.groovy:54)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 MongoTransactionSpec > test a committed transaction persists all writes atomically <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_1] -->
🔲 MongoTransactionSpec > test a findOneAndDelete via the MongoEntity API participates in the transaction <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_5] -->
🔲 MongoTransactionSpec > test a rolled back transaction discards all writes on the server <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_2] -->
🔲 MongoTransactionSpec > test read-your-writes within an active transaction <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_4] -->
🔲 MongoTransactionSpec > test writes across multiple collections roll back together <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.mongo.transactions.MongoTransactionSpec]/[feature:$spock_feature_1_3] -->
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "codeconsole (via GitHub)" <gi...@apache.org>.
codeconsole commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4759075945
Thanks @borinquenkid — I checked #15678 against this PR's diff. It's Hibernate-only: the registry-scaling changes are all in `grails-data-hibernate5`/`grails-data-hibernate7` (plus graphql and gradle config), with no changes to `grails-data-mongodb`, `grails-datastore-core`, or `grails-datamapping-core`. The only shared touchpoint is `gradle/mongodb-test-config.gradle`, which this PR doesn't modify, so it merges cleanly. I'll rebase onto `8.0.x` and re-run the Mongo suites once #15678 lands, but there's no code overlap with the interop module here.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4771261556
## [Codecov](https://app.codecov.io/gh/apache/grails-core/pull/15745?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 0.0000%. Comparing base ([`c53160f`](https://app.codecov.io/gh/apache/grails-core/commit/c53160f09f4d0c374553a0525e2c7ede27a4328e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`5887adb`](https://app.codecov.io/gh/apache/grails-core/commit/5887adb61529b3effe9db6bd2efeba147b9a4c71?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 12 commits behind head on 8.0.x.
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/grails-core/pull/15745?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## 8.0.x #15745 +/- ##
==============================
==============================
```
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4929172843
## ✅ All tests passed ✅
🏷️ Commit: 89e4ab127f118f6cfd0b0971d7aab1e932bffd94
▶️ Tests: 15844 executed
⚪️ Checks: 59/59 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4759561759
## 🚨 TestLens detected 1 failed test 🚨
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 Forge \(Java 21, indy\=false\)](https://github.com/apache/grails-core/actions/runs/27879502364/job/82504486916?pr=15745) > :grails-forge-cli:test [grails-forge]
| Test | Runs |
|---|---|
| CreateControllerCommandSpec > test app with controller | ❌ |
🏷️ Commit: bc4bfced01a433c8df4eedf100d63953ebcb7be8
▶️ Tests: 18303 executed
🟡 Checks: 16/38 completed
### Test Failures
<details>
<summary><strong>CreateControllerCommandSpec > test app with controller</strong> (:grails-forge-cli:test [grails-forge] in <a href="https://github.com/apache/grails-core/actions/runs/27879502364/job/82504486916?pr=15745">CI / Build Grails Forge (Java 21, indy=false)</a>)</summary>
```
Condition not satisfied after 240.00 seconds and 241 attempts
at spock.util.concurrent.PollingConditions.within(PollingConditions.java:205)
at spock.util.concurrent.PollingConditions.eventually(PollingConditions.java:157)
at org.grails.forge.cli.CommandSpec.testOutputContains(CommandSpec.groovy:64)
at org.grails.forge.cli.command.CreateControllerCommandSpec.test app with controller(CreateControllerCommandSpec.groovy:73)
Caused by: Condition not satisfied:
output.toString().contains(value)
| | | |
| | false BUILD SUCCESSFUL
| To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
| Daemon will be stopped at the end of the build
|
| > Task :assetCompile
| Starting AssetCompiler [-i, /tmp/grailsforgetmp5523724526377511124/grails-app/assets, -o, /tmp/grailsforgetmp5523724526377511124/build/assets, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/bootstrap/5.3.8/1a2f960f569cba04bce1c79ff07ab8985a0f56a0/bootstrap-5.3.8.jar, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/bootstrap-icons/1.13.1/add743da3f8acf43906ece5d5fb8b759d2b0eeed/bootstrap-icons-1.13.1.jar, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/jquery/3.7.1/abca7c4ab5c6ff5f533f5d7dbc646661c36c8b6b/jquery-3.7.1.jar, -B, eyJjb25maWdPcHRpb25zIjp7fSwiZW5hYmxlRGlnZXN0cyI6dHJ1ZSwiZW5hYmxlR3ppcCI6dHJ1ZSwiZW5hYmxlU291cmNlTWFwcyI6dHJ1ZSwiZXhjbHVkZXNHemlwIjpbXSwibWF4VGhyZWFkcyI6bnVsbCwibWluaWZ5Q3NzIjp0cnVlLCJtaW5pZnlKcyI6dHJ1ZSwic2tpcE5vbkRpZ2VzdHMiOnRydWUsIm1pbmlmeU9wdGlvbnMiOnt9LCJ2ZXJib3NlIjp0cnVlLCJleGNsdWRlcyI6WyJ3ZWJqYXJzL2pxdWVyeS8qKiIsIndlYmphcnMvYm9vdHN0cmFwLyoqIiwid2ViamFycy9ib290c3RyYXAtaWNvbnMvKioiXSwiaW5
jbHVkZXMiOlsid2ViamFycy9qcXVlcnkvKi9kaXN0L2pxdWVyeS5qcyIsIndlYmphcnMvYm9vdHN0cmFwLyovZGlzdC9qcy9ib290c3RyYXAuYnVuZGxlLmpzIiwid2ViamFycy9ib290c3RyYXAvKi9kaXN0L2Nzcy9ib290c3RyYXAuY3NzIiwid2ViamFycy9ib290c3RyYXAtaWNvbnMvKi9mb250L2Jvb3RzdHJhcC1pY29ucy5jc3MiLCJ3ZWJqYXJzL2Jvb3RzdHJhcC1pY29ucy8qL2ZvbnQvZm9udHMvKiJdLCJyZXNvbHZlcnMiOltdLCJhc3NldHNQYXRoIjoiL3RtcC9ncmFpbHNmb3JnZXRtcDU1MjM3MjQ1MjYzNzc1MTExMjQvZ3JhaWxzLWFwcC9hc3NldHMiLCJjYWNoZUxvY2F0aW9uIjoiL3RtcC9ncmFpbHNmb3JnZXRtcDU1MjM3MjQ1MjYzNzc1MTExMjQvYnVpbGQvLmFzc2V0Y2FjaGUifQ==]
| 18:26:14.543 [main] INFO asset.pipeline.LoggingAssetEventListener -- Finished Precompiling Assets
|
| > Task :compileJava NO-SOURCE
| > Task :compileGroovy
| > Task :buildProperties
| > Task :processResources
| > Task :classes
| > Task :compileWebappGroovyPages NO-SOURCE
| > Task :compileGroovyPages
| > Task :findMainClass
| > Task :bootWar
| > Task :jar
| > Task :war
| > Task :assemble
| > Task :compileTestJava NO-SOURCE
| > Task :compileTestGroovy
| > Task :processTestResources NO-SOURCE
| > Task :testClasses
| > Task :test
| > Task :compileIntegrationTestJava NO-SOURCE
| > Task :compileIntegrationTestGroovy
| > Task :processIntegrationTestResources NO-SOURCE
| > Task :integrationTestClasses
| > Task :integrationTest
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Task :assetCompile
Starting AssetCompiler [-i, /tmp/grailsforgetmp5523724526377511124/grails-app/assets, -o, /tmp/grailsforgetmp5523724526377511124/build/assets, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/bootstrap/5.3.8/1a2f960f569cba04bce1c79ff07ab8985a0f56a0/bootstrap-5.3.8.jar, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/bootstrap-icons/1.13.1/add743da3f8acf43906ece5d5fb8b759d2b0eeed/bootstrap-icons-1.13.1.jar, -j, /home/runner/.gradle/caches/modules-2/files-2.1/org.webjars.npm/jquery/3.7.1/abca7c4ab5c6ff5f533f5d7dbc646661c36c8b6b/jquery-3.7.1.jar, -B, eyJjb25maWdPcHRpb25zIjp7fSwiZW5hYmxlRGlnZXN0cyI6dHJ1ZSwiZW5hYmxlR3ppcCI6dHJ1ZSwiZW5hYmxlU291cmNlTWFwcyI6dHJ1ZSwiZXhjbHVkZXNHemlwIjpbXSwibWF4VGhyZWFkcyI6bnVsbCwibWluaWZ5Q3NzIjp0cnVlLCJtaW5pZnlKcyI6dHJ1ZSwic2tpcE5vbkRpZ2VzdHMiOnRydWUsIm1pbmlmeU9wdGlvbnMiOnt9LCJ2ZXJib3NlIjp0cnVlLCJleGNsdWRlcyI6WyJ3ZWJqYXJzL2pxdWVyeS8qKiIsIndlYmphcnMvYm9vdHN0cmFwLyoqIiwid2ViamFycy9ib290c3RyYXAtaWNvbnMvKioiXSwiaW5jbHVkZX
MiOlsid2ViamFycy9qcXVlcnkvKi9kaXN0L2pxdWVyeS5qcyIsIndlYmphcnMvYm9vdHN0cmFwLyovZGlzdC9qcy9ib290c3RyYXAuYnVuZGxlLmpzIiwid2ViamFycy9ib290c3RyYXAvKi9kaXN0L2Nzcy9ib290c3RyYXAuY3NzIiwid2ViamFycy9ib290c3RyYXAtaWNvbnMvKi9mb250L2Jvb3RzdHJhcC1pY29ucy5jc3MiLCJ3ZWJqYXJzL2Jvb3RzdHJhcC1pY29ucy8qL2ZvbnQvZm9udHMvKiJdLCJyZXNvbHZlcnMiOltdLCJhc3NldHNQYXRoIjoiL3RtcC9ncmFpbHNmb3JnZXRtcDU1MjM3MjQ1MjYzNzc1MTExMjQvZ3JhaWxzLWFwcC9hc3NldHMiLCJjYWNoZUxvY2F0aW9uIjoiL3RtcC9ncmFpbHNmb3JnZXRtcDU1MjM3MjQ1MjYzNzc1MTExMjQvYnVpbGQvLmFzc2V0Y2FjaGUifQ==]
18:26:14.543 [main] INFO asset.pipeline.LoggingAssetEventListener -- Finished Precompiling Assets
> Task :compileJava NO-SOURCE
> Task :compileGroovy
> Task :buildProperties
> Task :processResources
> Task :classes
> Task :compileWebappGroovyPages NO-SOURCE
> Task :compileGroovyPages
> Task :findMainClass
> Task :bootWar
> Task :jar
> Task :war
> Task :assemble
> Task :compileTestJava NO-SOURCE
> Task :compileTestGroovy
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :compileIntegrationTestJava NO-SOURCE
> Task :compileIntegrationTestGroovy
> Task :processIntegrationTestResources NO-SOURCE
> Task :integrationTestClasses
> Task :integrationTest
at org.grails.forge.cli.CommandSpec.testOutputContains_closure1(CommandSpec.groovy:65)
at org.grails.forge.cli.CommandSpec.testOutputContains_closure1(CommandSpec.groovy)
at spock.util.concurrent.PollingConditions.within(PollingConditions.java:185)
... 3 more
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 CreateControllerCommandSpec > test app with controller <!-- uniqueId=[engine:spock]/[spec:org.grails.forge.cli.command.CreateControllerCommandSpec]/[feature:$spock_feature_1_1] -->
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4736322591
Hi @codeconsole,
Please keep an eye on #15678, which modifies the way the MongoRegistry is being handled. It might be worth checking your diff against those updates, as this PR is downstream from 8.0.x-hibernate7.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add GORM for MongoDB / Spring Data MongoDB interop module [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15745:
URL: https://github.com/apache/grails-core/pull/15745#issuecomment-4737606347
## ✅ All tests passed ✅
🏷️ Commit: fc36b954db0a30e2b3e267e3f20f594b55171f39
▶️ Tests: 42116 executed
⚪️ Checks: 44/44 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org