Skip to content

[BUG] org.opensearch.storage.tiering.TieringStatusIT.testTieringStatus is flaky #21736

@AjayRajNelapudi

Description

@AjayRajNelapudi

Describe the bug

org.opensearch.storage.tiering.TieringStatusIT.testTieringStatus is flaky is flaky during github CI

2> REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests 'org.opensearch.storage.tiering.TieringStatusIT.testTieringStatus' -Dtests.seed=F166064AF1779105 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=sr-BA -Dtests.timezone=Australia/Tasmania -Druntime.java=25
  2> java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([F166064AF1779105]:0)
        at org.opensearch.index.seqno.ReplicationTracker.updateVisibleCheckpointForShard(ReplicationTracker.java:1204)
        at org.opensearch.index.shard.IndexShard.updateVisibleCheckpointForShard(IndexShard.java:3642)
        at org.opensearch.indices.replication.SegmentReplicationSourceService$UpdateVisibleCheckpointRequestHandler.messageReceived(SegmentReplicationSourceService.java:169)
        at org.opensearch.indices.replication.SegmentReplicationSourceService$UpdateVisibleCheckpointRequestHandler.messageReceived(SegmentReplicationSourceService.java:163)
        at org.opensearch.wlm.WorkloadManagementTransportInterceptor$RequestHandler.messageReceived(WorkloadManagementTransportInterceptor.java:63)
        at org.opensearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:108)
        at org.opensearch.transport.NativeMessageHandler$RequestHandler.doRun(NativeMessageHandler.java:528)
        at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1011)
        at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
        at java.****/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
        at java.****/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
        at java.****/java.lang.Thread.run(Thread.java:1474)

Related component

No response

To Reproduce

./gradlew ':server:internalClusterTest' --tests 'org.opensearch.storage.tiering.TieringStatusIT.testTieringStatus' -Dtests.seed=F166064AF1779105 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=sr-BA -Dtests.timezone=Australia/Tasmania -Druntime.java=25

Expected behavior

Test should succeed or fail always.

Additional Details

Plugins
Please list all plugins currently enabled.

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

Host/Environment (please complete the following information):

  • Github CI

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions