Skip to content

Instantly share code, notes, and snippets.

@nik9000
Created June 5, 2020 15:18
Show Gist options
  • Save nik9000/9e98e53c0d25dc7b909c413e24d3715f to your computer and use it in GitHub Desktop.
Save nik9000/9e98e53c0d25dc7b909c413e24d3715f to your computer and use it in GitHub Desktop.
REPRODUCE WITH: ./gradlew ':qa:mixed-cluster:v6.8.10#mixedClusterTest' --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=msearch/20_typed_keys/Multisearch test with typed_keys parameter for sampler and significant terms}" -Dtests.seed=A0B72CC161F91CA5 -Dtests.security.manager=true -Dtests.locale=is -Dtests.timezone=Indian/Mahe -Druntime.java=8
Suite: Test class org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
1> [2020-06-05T19:15:13,834][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] [p0=msearch/20_typed_keys/Multisearch test with typed_keys parameter for sampler and significant terms] before test
1> [2020-06-05T19:15:13,963][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] initializing REST clients against [http://[::1]:46761, http://127.0.0.1:39597, http://[::1]:44055, http://127.0.0.1:34171, http://[::1]:34327, http://127.0.0.1:34381, http://[::1]:39269, http://127.0.0.1:42611]
1> [2020-06-05T19:15:14,392][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] initializing client, minimum es version [6.8.10], master version, [6.8.10], hosts [http://[::1]:46761, http://127.0.0.1:39597, http://[::1]:44055, http://127.0.0.1:34171, http://[::1]:34327, http://127.0.0.1:34381, http://[::1]:39269, http://127.0.0.1:42611]
2> jún. 05, 2020 7:15:15 PM org.elasticsearch.client.RestClient logResponse
2> WARNING: request [PUT http://[::1]:46761/test-0?include_type_name=false&error_trace=true] returned 2 warnings: [299 Elasticsearch-6.8.10-537cb22 "the default number of shards will change from [5] to [1] in 7.0.0; if you wish to continue using the default of [5] shards, you must manage this on the create index request or with an index template"],[299 Elasticsearch-7.9.0-SNAPSHOT-f49a14ce6faa107fad21634f43bf6d900f992095 "[types removal] Using include_type_name in create index requests is deprecated. The parameter will be removed in the next major version."]
2> jún. 05, 2020 7:15:16 PM org.elasticsearch.client.RestClient logResponse
2> WARNING: request [PUT http://127.0.0.1:42611/test-1?include_type_name=false&error_trace=true] returned 1 warnings: [299 Elasticsearch-6.8.10-537cb22 "the default number of shards will change from [5] to [1] in 7.0.0; if you wish to continue using the default of [5] shards, you must manage this on the create index request or with an index template"]
1> [2020-06-05T19:15:16,926][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] Stash dump on test failure [{
1> "stash" : {
1> "body" : {
1> "responses" : [
1> {
1> "took" : 237,
1> "timed_out" : false,
1> "_shards" : {
1> "total" : 10,
1> "successful" : 10,
1> "skipped" : 0,
1> "failed" : 0
1> },
1> "hits" : {
1> "total" : 5,
1> "max_score" : 0.0,
1> "hits" : [ ]
1> },
1> "aggregations" : {
1> "sampler#test_sampler" : {
1> "doc_count" : 5,
1> "sigsterms#test_significant_terms" : {
1> "doc_count" : 4,
1> "bg_count" : 5,
1> "buckets" : [ ]
1> }
1> }
1> },
1> "status" : 200
1> },
1> {
1> "took" : 181,
1> "timed_out" : false,
1> "_shards" : {
1> "total" : 10,
1> "successful" : 10,
1> "skipped" : 0,
1> "failed" : 0
1> },
1> "hits" : {
1> "total" : 5,
1> "max_score" : 0.0,
1> "hits" : [ ]
1> },
1> "aggregations" : {
1> "sterms#test_umterms" : {
1> "doc_count_error_upper_bound" : 0,
1> "sum_other_doc_count" : 0,
1> "buckets" : [ ]
1> }
1> },
1> "status" : 200
1> },
1> {
1> "took" : 163,
1> "timed_out" : false,
1> "_shards" : {
1> "total" : 10,
1> "successful" : 10,
1> "skipped" : 0,
1> "failed" : 0
1> },
1> "hits" : {
1> "total" : 5,
1> "max_score" : 0.0,
1> "hits" : [ ]
1> },
1> "aggregations" : {
1> "sterms#test_sterms" : {
1> "doc_count_error_upper_bound" : 0,
1> "sum_other_doc_count" : 0,
1> "buckets" : [
1> {
1> "key" : "Jackie",
1> "doc_count" : 1,
1> "sigsterms#test_umsignificant_terms" : {
1> "buckets" : [ ]
1> }
1> },
1> {
1> "key" : "Natalie",
1> "doc_count" : 1,
1> "sigsterms#test_umsignificant_terms" : {
1> "buckets" : [ ]
1> }
1> },
1> {
1> "key" : "Ruth",
1> "doc_count" : 1,
1> "sigsterms#test_umsignificant_terms" : {
1> "buckets" : [ ]
1> }
1> },
1> {
1> "key" : "Stephanie",
1> "doc_count" : 1,
1> "sigsterms#test_umsignificant_terms" : {
1> "buckets" : [ ]
1> }
1> }
1> ]
1> }
1> },
1> "status" : 200
1> }
1> ]
1> }
1> }
1> }]
1> [2020-06-05T19:15:17,290][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] [p0=msearch/20_typed_keys/Multisearch test with typed_keys parameter for sampler and significant terms] after test
2> REPRODUCE WITH: ./gradlew ':qa:mixed-cluster:v6.8.10#mixedClusterTest' --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=msearch/20_typed_keys/Multisearch test with typed_keys parameter for sampler and significant terms}" -Dtests.seed=A0B72CC161F91CA5 -Dtests.security.manager=true -Dtests.locale=is -Dtests.timezone=Indian/Mahe -Druntime.java=8
2> java.lang.AssertionError: Failure at [msearch/20_typed_keys:107]: responses.0.aggregations.sampler#test_sampler.sigsterms#test_significant_terms.doc_count didn't match expected value:
responses.0.aggregations.sampler#test_sampler.sigsterms#test_significant_terms.doc_count: expected Integer [5] but was Integer [4]
at __randomizedtesting.SeedInfo.seed([A0B72CC161F91CA5:28E3131BCF05715D]:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment