You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/06/01 04:04:20 UTC
[GitHub] [james-project] Arsnael opened a new pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Arsnael opened a new pull request #469:
URL: https://github.com/apache/james-project/pull/469
Well as I'm getting tired of having the RAM of my laptop burning to the ground half of the time I run integration tests on James, I decided to take a closer look.
Cassandra by default is deployed with 4Go RAM of heap. ES is deployed with 1Go (well I observed those when running locally)
Now the interesting thing is that some work has been done a while ago to limit the size of Cassandra to 650M for the tests, but the env variable setup was wrong. Thus we were still living with a 4Go memory eater Cassandra.
I fixed that, and while I was at it, I'm taking a shot at ES too (half, from 1Go to 512M). The rational being, if it passes with Cassandra limited like this, might be as well with ES.
I would like to have a good bunch of CI runs though first to be sure it does not bring instability to the build. If it does, I will change those values and go up gradually until we got a stable build.
If any feedback on this or proposition, don't hesitate :)
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-852800358
```
06:29:22,974 [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 166.506 s <<< FAILURE! - in org.apache.james.webadmin.integration.rabbitmq.vault.RabbitMQDeletedMessageVaultIntegrationTest
06:29:22,976 [ERROR] vaultEndpointShouldRestoreImapDeletedMailbox{GuiceJamesServer} Time elapsed: 128.653 s <<< ERROR!
org.awaitility.core.ConditionTimeoutException:
Assertion condition defined as a lambda expression in org.apache.james.webadmin.integration.vault.DeletedMessageVaultIntegrationTest
Expected size: 1 but was: 0 in:
[] within 2 minutes.
Caused by: java.lang.AssertionError:
Expected size: 1 but was: 0 in:
[]
```
Hmmm... Not sure what to think of this one. Well I'm gonna raise up a bit to be sure
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-851995631
Tsss not sure related
```
09:54:58,815 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project james-server-webadmin-data: There was a timeout or other error in the fork -> [Help 1]
```
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-853499528
2 greens builds :) Ok I squash the fixups and if I get an other green I merge
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-851891690
First build: green :)
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-852675957
One green and one red:
```
16:18:00,883 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project james-server-webadmin-mailbox: There was a timeout or other error in the fork -> [Help 1]
```
Not related either...
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael merged pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael merged pull request #469:
URL: https://github.com/apache/james-project/pull/469
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael merged pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael merged pull request #469:
URL: https://github.com/apache/james-project/pull/469
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
[GitHub] [james-project] Arsnael commented on pull request #469: Limit the heap size of Cassandra and ES docker containers for tests
Posted by GitBox <gi...@apache.org>.
Arsnael commented on pull request #469:
URL: https://github.com/apache/james-project/pull/469#issuecomment-853499528
2 greens builds :) Ok I squash the fixups and if I get an other green I merge
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org