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.store.IndicesStoreIntegrationIT.testShardActiveElsewhereDoesNotDeleteAnother with remote store enabled is flaky #12835

Closed
dblock opened this issue Mar 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Storage:Durability Issues and PRs related to the durability framework

Comments

@dblock
Copy link
Member

dblock commented Mar 21, 2024

Describe the bug

org.opensearch.indices.store.IndicesStoreIntegrationIT.testShardActiveElsewhereDoesNotDeleteAnother

com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=2648, name=opensearch[node_t1][remote_refresh_retry][T#1], state=RUNNABLE, group=TGRP-IndicesStoreIntegrationIT]
	at __randomizedtesting.SeedInfo.seed([D0CBB573CE1C86B1:636A211921CEDAC3]:0)
Caused by: org.opensearch.core.concurrency.OpenSearchRejectedExecutionException: rejected execution of java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@299ba45c[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@11232e88[Wrapped task = [threaded] org.opensearch.index.shard.ReleasableRetryableRefreshListener$$Lambda/0x00007f39bcba8f88@53ce2a03]] on org.opensearch.threadpool.Scheduler$SafeScheduledThreadPoolExecutor@641c0c3b[Shutting down, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 15]
	at __randomizedtesting.SeedInfo.seed([D0CBB573CE1C86B1]:0)
	at app//org.opensearch.common.util.concurrent.OpenSearchAbortPolicy.rejectedExecution(OpenSearchAbortPolicy.java:67)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
	at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340)
	at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)
	at app//org.opensearch.threadpool.ThreadPool.schedule(ThreadPool.java:469)
	at app//org.opensearch.index.shard.ReleasableRetryableRefreshListener.scheduleRetry(ReleasableRetryableRefreshListener.java:125)
	at app//org.opensearch.index.shard.ReleasableRetryableRefreshListener.scheduleRetry(ReleasableRetryableRefreshListener.java:178)
	at app//org.opensearch.index.shard.ReleasableRetryableRefreshListener.runAfterRefreshWithPermit(ReleasableRetryableRefreshListener.java:167)
	at app//org.opensearch.index.shard.ReleasableRetryableRefreshListener.lambda$scheduleRetry$2(ReleasableRetryableRefreshListener.java:126)
	at app//org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:854)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)

Related component

Storage:Durability

To Reproduce

See #12817

Expected behavior

Test always passes.

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):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@dblock dblock added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Mar 21, 2024
@github-actions github-actions bot added the Storage:Durability Issues and PRs related to the durability framework label Mar 21, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5 6 7]
@dblock Thanks for creating this issue.

@skumawat2025
Copy link
Contributor

skumawat2025 commented May 15, 2024

This got fixed with #13301.
tests were run 9000+ times, and the issue did not reproduce. Closing the issue.

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Storage Project Board May 15, 2024
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 Storage:Durability Issues and PRs related to the durability framework
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants