Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] org.opensearch.indices.replication.RemoteStoreReplicationSourceTests.testGetCheckpointMetadataEmpty is failing #8699

Closed
reta opened this issue Jul 14, 2023 · 1 comment · Fixed by #8704
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run

Comments

@reta
Copy link
Collaborator

reta commented Jul 14, 2023

Describe the bug

The org.opensearch.indices.replication.RemoteStoreReplicationSourceTests.testGetCheckpointMetadataEmpty is failing on main, apparently after #8433

com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=100, name=opensearch[org.opensearch.indices.replication.RemoteStoreReplicationSourceTests][remote_refresh][T#1], state=RUNNABLE, group=TGRP-RemoteStoreReplicationSourceTests]
Caused by: java.lang.AssertionError
	at __randomizedtesting.SeedInfo.seed([92C4ACD8A776127B]:0)
	at org.opensearch.index.seqno.ReplicationTracker.setLatestReplicationCheckpoint(ReplicationTracker.java:1216)
	at org.opensearch.index.shard.IndexShard.onCheckpointPublished(IndexShard.java:1857)
	at org.opensearch.index.shard.RemoteStoreRefreshListener.syncSegments(RemoteStoreRefreshListener.java:195)
	at org.opensearch.index.shard.RemoteStoreRefreshListener.lambda$afterRefresh$0(RemoteStoreRefreshListener.java:183)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:849)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1623)

To Reproduce

./gradlew ':server:test' --tests "org.opensearch.indices.replication.RemoteStoreReplicationSourceTests.testGetCheckpointMetadataEmpty" -Dtests.seed=92C4ACD8A776127B -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=sk-SK -Dtests.timezone=Canada/Yukon -Druntime.java=20

Expected behavior
The test should always pass

Plugins
Standard

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

Host/Environment (please complete the following information):

  • CI

Additional context
https://build.ci.opensearch.org/job/gradle-check/20172/
https://build.ci.opensearch.org/job/gradle-check/20196/

@reta reta added bug Something isn't working flaky-test Random test failure that succeeds on second run labels Jul 14, 2023
@reta reta removed the untriaged label Jul 14, 2023
@reta
Copy link
Collaborator Author

reta commented Jul 14, 2023

@ankitkala it seems like it is caused by #8433, cloud you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant