You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating" -Dtests.seed=5A433E181EF43D3D -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-BH -Dtests.timezone=Mexico/General -Druntime.java=17
org.opensearch.indices.replication.SegmentReplicationTargetServiceTests > testShardAlreadyReplicating FAILED
java.lang.AssertionError: can't move replication to stage [DONE]. current stage: [INIT] (expected [REPLICATING])
at __randomizedtesting.SeedInfo.seed([5A433E181EF43D3D:799ABB039433F434]:0)
at org.opensearch.indices.replication.SegmentReplicationState.validateAndSetStage(SegmentReplicationState.java:88)
at org.opensearch.indices.replication.SegmentReplicationState.setStage(SegmentReplicationState.java:107)
at org.opensearch.indices.replication.SegmentReplicationTarget.onDone(SegmentReplicationTarget.java:87)
at org.opensearch.indices.replication.common.ReplicationTarget.markAsDone(ReplicationTarget.java:143)
at org.opensearch.indices.replication.SegmentReplicationTargetServiceTests.testShardAlreadyReplicating(SegmentReplicationTargetServiceTests.java:139)
To Reproduce
The test failure in the method testShardAlreadyReplicating can be reproduced by running the test cases in the whole class.
The either random seed can reproduce the test failure. ./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests" -Dtests.seed=5A433E181EF43D3D ./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests" -Dtests.seed=9A5D3217135E5052
Expected behavior
Test passes.
Plugins
none.
Screenshots
none.
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
none.
The text was updated successfully, but these errors were encountered:
Describe the bug
First seen in PR #3863 (comment)
To Reproduce
The test failure in the method
testShardAlreadyReplicating
can be reproduced by running the test cases in the whole class.The either random seed can reproduce the test failure.
./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests" -Dtests.seed=5A433E181EF43D3D
./gradlew ':server:test' --tests "org.opensearch.indices.replication.SegmentReplicationTargetServiceTests" -Dtests.seed=9A5D3217135E5052
Expected behavior
Test passes.
Plugins
none.
Screenshots
none.
Host/Environment (please complete the following information):
Additional context
none.
The text was updated successfully, but these errors were encountered: