Skip to content

[BUG] org.opensearch.index.translog.LocalTranslogTests.testWithRandomException is flaky #6571

@reta

Description

@reta

Describe the bug

Error Message

java.lang.AssertionError: expected:<null> but was:<java.lang.RuntimeException: simulated>

Stacktrace

java.lang.AssertionError: expected:<null> but was:<java.lang.RuntimeException: simulated>
	at __randomizedtesting.SeedInfo.seed([844A5091F9BA4836:E2923B8E825EC627]:0)
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.opensearch.index.translog.LocalTranslogTests.testWithRandomException(LocalTranslogTests.java:3235)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)

To Reproduce
CI build: https://build.ci.opensearch.org/job/gradle-check/12080/

Expected behavior
The test should pass all the time

Plugins
Standard

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • CI (Jenkins)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Indexing:ReplicationIssues and PRs related to core replication framework eg segrepbugSomething isn't workingflaky-testRandom test failure that succeeds on second run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions