Skip to content

SimpleQueryStringBuilderTests.testToQuery fails reproducibly on 6.8 #54614

@gwbrown

Description

@gwbrown

Build scan
Jenkins

Per build-stats this has happened a couple times on 6.8, but not on any other branch.

Reproduce line (does reproduce locally):

./gradlew ':server:unitTest' -Dtests.seed=F39C7F6429B0DB86 -Dtests.class=org.elasticsearch.index.query.SimpleQueryStringBuilderTests -Dtests.method="testToQuery" -Dtests.security.manager=true -Dtests.locale=ar-LY -Dtests.timezone=America/Dawson -Dcompiler.java=12 -Druntime.java=8

Error:

FAILURE 1.66s | SimpleQueryStringBuilderTests.testToQuery <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: query was marked as cacheable in the context but this test indicates it should not be cacheable: {
   >   "simple_query_string" : {
   >     "query" : "NowWOr",
   >     "flags" : -1,
   >     "default_operator" : "or",
   >     "analyze_wildcard" : false,
   >     "quote_field_suffix" : "nqekmyhuhv",
   >     "minimum_should_match" : "1",
   >     "auto_generate_synonyms_phrase_query" : true,
   >     "fuzzy_prefix_length" : 5,
   >     "fuzzy_max_expansions" : 5,
   >     "fuzzy_transpositions" : true,
   >     "boost" : 0.25,
   >     "_name" : "XUSoaBCh4"
   >   }
   > }
   >    at __randomizedtesting.SeedInfo.seed([F39C7F6429B0DB86:4677D5A58331E6C]:0)
   >    at org.elasticsearch.test.AbstractQueryTestCase.testToQuery(AbstractQueryTestCase.java:433)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   >    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   >    at java.base/java.lang.Thread.run(Thread.java:835)

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>test-failureTriaged test failures from CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions