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.search.aggregations.bucket.MinDocCountIT.testStringScriptCountAsc is flaky #14130

Closed
gbbafna opened this issue Jun 10, 2024 · 1 comment
Labels

Comments

@gbbafna
Copy link
Collaborator

gbbafna commented Jun 10, 2024

Describe the bug

The test org.opensearch.search.aggregations.bucket.MinDocCountIT.testStringScriptCountAsc is flaky

Related component

Search:Aggregations

To Reproduce

./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.aggregations.bucket.MinDocCountIT" -Dtests.method="testStringScriptCountAsc {p0={"search.concurrent_segment_search.enabled":"false"}}" -Dtests.seed=43D83E833008E92C -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-JO -Dtests.timezone=Etc/GMT-14 -Druntime.java=21

Expected behavior

The test should always pass.

Additional Details

https://build.ci.opensearch.org/job/gradle-check/40468/testReport/junit/org.opensearch.search.aggregations.bucket/MinDocCountIT/testStringScriptCountAsc__p0___search_concurrent_segment_search_enabled___false___/

@mch2
Copy link
Member

mch2 commented Jun 12, 2024

org.opensearch.search.aggregations.bucket.MinDocCountIT > testStringScriptCountAsc {p0={"search.concurrent_segment_search.enabled":"false"}} FAILED
    java.lang.AssertionError: Unexpected ShardFailures: [shard [[xVYEYtx_S8GObaess5bqAA][idx][5]], reason [RemoteTransportException[[node_s1][127.0.0.1:46083][indices:data/read/search[phase/query/id]]]; nested: NotSerializableExceptionWrapper[concurrent_modification_exception: null]; ], cause [NotSerializableExceptionWrapper[concurrent_modification_exception: null]
    	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1605)
    	at java.util.HashMap$EntryIterator.next(HashMap.java:1638)
    	at java.util.HashMap$EntryIterator.next(HashMap.java:1636)
    	at java.util.HashMap.putMapEntries(HashMap.java:519)
    	at java.util.HashMap.<init>(HashMap.java:492)
    	at org.opensearch.common.util.concurrent.ThreadContext$ThreadContextStruct.putResponseHeaders(ThreadContext.java:709)
    	at org.opensearch.common.util.concurrent.ThreadContext.lambda$newStoredContext$4(ThreadContext.java:278)
    	at org.opensearch.common.util.concurrent.ThreadContext$StoredContext.restore(ThreadContext.java:568)

Looks unrelated to this specific test and related to this fix that went to main ~5 days ago.

Looking at the jenkins history the commit of the failing run was 8e050761735679eff452857dd0393efc3bb70bb9 which from https://github.com/astute-decipher/OpenSearch/commits/flush_bug/ does not include the commit with the fix.

Closing this for now as resolved.

@mch2 mch2 closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants