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

[Flaky Test]SnapshotResiliencyTests.testTransportGetSnapshotsAction #9186

Closed
Bukhtawar opened this issue Aug 9, 2023 · 1 comment · Fixed by #9189
Closed

[Flaky Test]SnapshotResiliencyTests.testTransportGetSnapshotsAction #9186

Bukhtawar opened this issue Aug 9, 2023 · 1 comment · Fixed by #9189
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run

Comments

@Bukhtawar
Copy link
Collaborator

Describe the bug
https://build.ci.opensearch.org/job/gradle-check/22110/
Tests with failures:

  • org.opensearch.snapshots.SnapshotResiliencyTests.testTransportGetSnapshotsAction

java.lang.AssertionError: Blobstore is closed already
	at __randomizedtesting.SeedInfo.seed([A26299704FDB6338:1BB7497D88CBC8D2]:0)
	at org.opensearch.snapshots.mockstore.MockEventuallyConsistentRepository$MockBlobStore.ensureNotClosed(MockEventuallyConsistentRepository.java:193)
	at org.opensearch.snapshots.mockstore.MockEventuallyConsistentRepository$MockBlobStore$MockBlobContainer.delete(MockEventuallyConsistentRepository.java:274)
	at org.opensearch.repositories.blobstore.BlobStoreRepository.endVerification(BlobStoreRepository.java:1839)
	at org.opensearch.repositories.RepositoriesService$3.lambda$doRun$1(RepositoriesService.java:375)
	at org.opensearch.cluster.coordination.AbstractCoordinatorTestCase$1.run(AbstractCoordinatorTestCase.java:1468)
	at org.opensearch.cluster.coordination.DeterministicTaskQueue.runTask(DeterministicTaskQueue.java:146)
	at org.opensearch.cluster.coordination.DeterministicTaskQueue.runRandomTask(DeterministicTaskQueue.java:140)
	at org.opensearch.cluster.coordination.DeterministicTaskQueue.runAllRunnableTasks(DeterministicTaskQueue.java:90)
	at org.opensearch.snapshots.SnapshotResiliencyTests.testTransportGetSnapshotsAction(SnapshotResiliencyTests.java:822)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)

To Reproduce
Steps to reproduce the behavior:

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.snapshots.SnapshotResiliencyTests.testTransportGetSnapshotsAction" -Dtests.seed=A26299704FDB6338 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=en-MT -Dtests.timezone=Pacific/Pago_Pago -Druntime.java=20

Expected behavior
A clear and concise description of what you expected to happen.

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.

@Bukhtawar Bukhtawar added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Aug 9, 2023
@Bukhtawar
Copy link
Collaborator Author

Looks related to #8377

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