linagora / tmail-backend

GNU Affero General Public License v3.0
30 stars 17 forks source link

[BUILD] Distributed JMAP tests time out #1099

Closed quantranhong1999 closed 2 weeks ago

quantranhong1999 commented 2 weeks ago

Why

After adding some basic feature tag for JMAP distributed test, the tmail build is becoming unstable.

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  02:51 h

[INFO] Finished at: 2024-06-13T11:44:30Z

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-cli) on project distributed-jmap-integration-tests: There was a timeout in the fork -> [Help 1]

cf: https://james-jenkins.lin-saas.com/blue/organizations/jenkins/Tmail%20build/detail/PR-1098/2/pipeline

It seems the build hung running the following tests:

[INFO]  T E S T S

[INFO] -------------------------------------------------------

[INFO] Running com.linagora.tmail.james.DistributedLinagoraJmapSettingsGetMethodTest

[INFO] Running com.linagora.tmail.james.DistributedLinagoraForwardSetMethodTest

09:30:13.320 [ERROR] r.c.s.Schedulers - Scheduler worker in group main failed with an uncaught exception

com.datastax.oss.driver.api.core.DriverTimeoutException: Query timed out after PT2S

DoD

Make the distributed tests more stable.

quantranhong1999 commented 2 weeks ago

https://github.com/linagora/tmail-backend/pull/1101