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.repositories.azure.AzureBlobStoreRepositoryTests.testContainerCreationAndDeletion / org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testReadRange are flaky #10940

Closed
ashking94 opened this issue Oct 26, 2023 · 4 comments
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run Storage:Snapshots

Comments

@ashking94
Copy link
Member

ashking94 commented Oct 26, 2023

Describe the bug
org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testContainerCreationAndDeletion is flaky.

Below is the exception thrown -

java.nio.file.FileAlreadyExistsException: foo/test: Status code 409, "<?xml version="1.0" encoding="UTF-8"?><Error><Code>BlobAlreadyExists</Code><Message>CONFLICT</Message></Error>"
RepositoryVerificationException[[fk] path  is not accessible on cluster-manager node]; nested: FileAlreadyExistsException[tests-jnHit112SoK5QkCcNmujXA/master.dat: Status code 409, "<?xml version="1.0" encoding="UTF-8"?><Error><Code>BlobAlreadyExists</Code><Message>CONFLICT</Message></Error>"];
	at app//org.opensearch.repositories.blobstore.BlobStoreRepository.startVerification(BlobStoreRepository.java:1887)
	at app//org.opensearch.repositories.RepositoriesService$3.doRun(RepositoriesService.java:373)
	at app//org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:911)
	at app//org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
	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)
Caused by: java.nio.file.FileAlreadyExistsException: tests-jnHit112SoK5QkCcNmujXA/master.dat: Status code 409, "<?xml version="1.0" encoding="UTF-8"?><Error><Code>BlobAlreadyExists</Code><Message>CONFLICT</Message></Error>"
	at org.opensearch.repositories.azure.AzureBlobStore.writeBlob(AzureBlobStore.java:379)
	at org.opensearch.repositories.azure.AzureBlobContainer.writeBlob(AzureBlobContainer.java:133)
	at org.opensearch.repositories.azure.AzureBlobContainer.writeBlobAtomic(AzureBlobContainer.java:141)
	at org.opensearch.repositories.blobstore.BlobStoreRepository.startVerification(BlobStoreRepository.java:1879)
	... 6 more

To Reproduce
https://build.ci.opensearch.org/job/gradle-check/29044/testReport/junit/org.opensearch.repositories.azure/AzureBlobStoreRepositoryTests/testContainerCreationAndDeletion/

https://build.ci.opensearch.org/job/gradle-check/30312/testReport/junit/org.opensearch.repositories.azure/AzureBlobStoreRepositoryTests/testReadRange/

Expected behavior
The test must always pass.

@ashking94 ashking94 added bug Something isn't working untriaged labels Oct 26, 2023
@saratvemulapalli saratvemulapalli added the flaky-test Random test failure that succeeds on second run label Oct 26, 2023
@reta reta changed the title [BUG] org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testContainerCreationAndDeletion is flaky [BUG] org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testContainerCreationAndDeletion / org.opensearch.repositories.azure.AzureBlobStoreRepositoryTests.testReadRange are flaky Nov 22, 2023
@gbbafna
Copy link
Collaborator

gbbafna commented Jan 9, 2024

@shourya035 , can you please take this up ?

@bowenlan-amzn
Copy link
Member

@sandeshkr419
Copy link
Contributor

@reta
Copy link
Collaborator

reta commented Jun 19, 2024

Closing in favour of #14291

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:Snapshots
Projects
Status: ✅ Done
Development

No branches or pull requests

10 participants