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.index.translog.RemoteFSTranslogTests.testConcurrentWriteViewsAndSnapshot is flaky #9455

Closed
sachinpkale opened this issue Aug 21, 2023 · 1 comment · Fixed by #9458
Assignees
Labels
bug Something isn't working Storage:Durability Issues and PRs related to the durability framework v2.10.0

Comments

@sachinpkale
Copy link
Member

Reference: https://build.ci.opensearch.org/job/gradle-check/22090/testReport/junit/org.opensearch.index.translog/RemoteFSTranslogTests/testConcurrentWriteViewsAndSnapshot/

com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=342, name=writer_2, state=RUNNABLE, group=TGRP-RemoteFSTranslogTests]
	at __randomizedtesting.SeedInfo.seed([5975FDF9236312D9:7DAC04D4F8F4E15A]:0)
Caused by: java.lang.AssertionError: [index][1] Expected non-empty readers
	at __randomizedtesting.SeedInfo.seed([5975FDF9236312D9]:0)
	at org.opensearch.index.translog.RemoteFsTranslog.deleteStaleRemotePrimaryTerms(RemoteFsTranslog.java:430)
	at org.opensearch.index.translog.RemoteFsTranslog.trimUnreferencedReaders(RemoteFsTranslog.java:400)
	at org.opensearch.index.translog.RemoteFSTranslogTests$2.doRun(RemoteFSTranslogTests.java:822)
	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
	at java.base/java.lang.Thread.run(Thread.java:1623)

@sachinpkale sachinpkale added bug Something isn't working untriaged labels Aug 21, 2023
@sachinpkale sachinpkale self-assigned this Aug 21, 2023
@sachinpkale sachinpkale added Storage:Durability Issues and PRs related to the durability framework v2.10.0 and removed untriaged labels Aug 21, 2023
@sachinpkale
Copy link
Member Author

Fixing it as part of: #8951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Durability Issues and PRs related to the durability framework v2.10.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant