redis/lettuce

Flaky tests on the CI pipeline

tishun opened this issue · 0 comments

Bug Report

There are tests that are failing intermittently on the pipeline. Keeping a list here.

Current Behavior

The following tests have shown instability in the last 6 months:

ConnectionCommandIntegrationTests.selectReconnect:273 » Redis io.netty.channel.unix.Errors$NativeIoException: io_uring read(..) failed: Connection reset by peer
ConnectionCommandIntegrationTests.changeAclPasswordDuringDisconnect:150->lambda$changeAclPasswordDuringDisconnect$5:170 » Redis io.netty.channel.unix.Errors$NativeIoException: io_uring read(..) failed: Connection reset by peer
Error:  Failures: 
Error:    ConnectionFailureIntegrationTests.failOnReconnect:117 
Expecting a throwable with root cause being an instance of:
  io.lettuce.core.RedisException
but current throwable has no cause.
Throwable that failed the check:
java.lang.IllegalStateException: Future timeout
	at io.lettuce.test.TestFutures.awaitOrTimeout(TestFutures.java:46)
	at io.lettuce.core.protocol.ConnectionFailureIntegrationTests.lambda$failOnReconnect$1(ConnectionFailureIntegrationTests.java:117)
	at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
	at org.assertj.core.api.AssertionsForClassTypes.catchThrowable(AssertionsForClassTypes.java:892)
	at org.assertj.core.api.Assertions.catchThrowable(Assertions.java:1365)
	at org.assertj.core.api.Assertions.assertThatThrownBy(Assertions.java:1209)
Stack trace
// your stack trace here;

Input Code

Input Code
// your code here;

Expected behavior/code

Environment

  • Lettuce version(s): [e.g. 5.0.0.RELEASE, 4.2.2.Final]
  • Redis version: [e.g. 4.0.9]

Possible Solution

Additional context