-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
Storage:RemotebugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second runlucenev2.15.0Issues and PRs related to version 2.15.0Issues and PRs related to version 2.15.0
Description
Describe the bug
The test case org.opensearch.remotestore.multipart.RemoteStoreMultipartIT.testNoSearchIdleForAnyReplicaCount is flaky:
org.opensearch.remotestore.multipart.RemoteStoreMultipartIT.testNoSearchIdleForAnyReplicaCount
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=12912, name=Thread-7889, state=RUNNABLE, group=TGRP-RemoteStoreMultipartIT]
Caused by: org.apache.lucene.store.AlreadyClosedException: this Directory is closed
at __randomizedtesting.SeedInfo.seed([7E1BDEE57B443ADB]:0)
at app//org.apache.lucene.store.BaseDirectory.ensureOpen(BaseDirectory.java:50)
at app//org.opensearch.index.store.FsDirectoryFactory$HybridDirectory.openInput(FsDirectoryFactory.java:175)
at app//org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:101)
at app//org.apache.lucene.store.FilterDirectory.openInput(FilterDirectory.java:101)
at app//org.opensearch.index.store.RemoteDirectory.lambda$uploadBlob$1(RemoteDirectory.java:362)
at app//org.opensearch.common.blobstore.transfer.RemoteTransferContainer.lambda$getMultipartStreamSupplier$1(RemoteTransferContainer.java:167)
at app//org.opensearch.common.blobstore.transfer.RemoteTransferContainer.lambda$getTransferPartStreamSupplier$0(RemoteTransferContainer.java:145)
at app//org.opensearch.common.StreamContext.provideStream(StreamContext.java:69)
at app//org.opensearch.remotestore.multipart.mocks.MockFsAsyncBlobContainer.lambda$asyncBlobUpload$0(MockFsAsyncBlobContainer.java:60)
at java.base@21.0.1/java.lang.Thread.run(Thread.java:1583)
Related component
Other
To Reproduce
./gradlew ':server:internalClusterTest' --tests "org.opensearch.remotestore.multipart.RemoteStoreMultipartIT.testNoSearchIdleForAnyReplicaCount" -Dtests.seed=7E1BDEE57B443ADB
Expected behavior
The test must always pass
Additional Details
Plugins
Standard
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- CI
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Storage:RemotebugSomething isn't workingSomething isn't workingflaky-testRandom test failure that succeeds on second runRandom test failure that succeeds on second runlucenev2.15.0Issues and PRs related to version 2.15.0Issues and PRs related to version 2.15.0
Type
Projects
Status
Now(This Quarter)
Status
Planned work items