You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The test case org.opensearch.search.sort.FieldSortIT.testNestedSort {p0={"search.concurrent_segment_search.enabled":"true"}} is flaky:
org.opensearch.search.sort.FieldSortIT.testNestedSort {p0={"search.concurrent_segment_search.enabled":"true"}}
java.lang.AssertionError: Unexpected ShardFailures: [shard [[ZnnKIyq6S-27DJ1SdUqFeQ][test][0]], reason [RemoteTransportException[[node_s3][127.0.0.1:41401][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Query Failed [Failed to execute main query]]; nested: NotSerializableExceptionWrapper[no_such_element_exception: null]; ], cause [NotSerializableExceptionWrapper[no_such_element_exception: null]
at java.util.LinkedList.removeFirst(LinkedList.java:281)
at java.util.LinkedList.pop(LinkedList.java:812)
at org.opensearch.index.query.support.NestedScope.previousLevel(NestedScope.java:71)
at org.opensearch.search.sort.SortBuilder.resolveNestedQuery(SortBuilder.java:252)
at org.opensearch.search.sort.SortBuilder.resolveNested(SortBuilder.java:202)
at org.opensearch.search.sort.SortBuilder.resolveNested(SortBuilder.java:198)
at org.opensearch.search.sort.FieldSortBuilder.nested(FieldSortBuilder.java:583)
at org.opensearch.search.sort.FieldSortBuilder.build(FieldSortBuilder.java:409)
at org.opensearch.search.sort.SortBuilder.buildSort(SortBuilder.java:168)
at org.opensearch.search.sort.FieldSortBuilder.getMinMaxOrNullInternal(FieldSortBuilder.java:629)
at org.opensearch.search.sort.FieldSortBuilder.getMinMaxOrNullForSegment(FieldSortBuilder.java:624)
at org.opensearch.search.internal.ContextIndexSearcher.canMatchSearchAfter(ContextIndexSearcher.java:514)
at org.opensearch.search.internal.ContextIndexSearcher.canMatch(ContextIndexSearcher.java:506)
at org.opensearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:297)
at org.opensearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:282)
at org.apache.lucene.search.IndexSearcher.lambda$search$1(IndexSearcher.java:715)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at org.opensearch.threadpool.TaskAwareRunnable.doRun(TaskAwareRunnable.java:78)
at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
at org.opensearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:59)
at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:911)
at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.lang.Thread.run(Thread.java:1583)
]]
Expected: <0>
but: was <1>
Describe the bug
The test case
org.opensearch.search.sort.FieldSortIT.testNestedSort {p0={"search.concurrent_segment_search.enabled":"true"}}
is flaky:To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Plugins
Standard
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: