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

[CI] MultiClusterSearchYamlTestSuiteIT: Test that remote indices are subject to shard skipping #25698

Closed
talevy opened this issue Jul 13, 2017 · 2 comments
Assignees
Labels
:Search/Search Search-related issues that do not fall into other categories >test Issues or PRs that are addressing/adding tests >test-failure Triaged test failures from CI v6.0.0-beta1

Comments

@talevy
Copy link
Contributor

talevy commented Jul 13, 2017

console logs:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=oraclelinux/1245/console

reproduce:

gradle :qa:multi-cluster-search:mixedClusterTestRunner -Dtests.seed=6F190415C02A93B3 -Dtests.class=org.elasticsearch.upgrades.MultiClusterSearchYamlTestSuiteIT -Dtests.method="test {yaml=multi_cluster/70_skip_shards/Test that remote indices are subject to shard skipping}" -Dtests.security.manager=true -Dtests.locale=ca-ES -Dtests.timezone=America/Boa_Vista -Dtests.rest.suite=multi_cluster

stacktrace:

1> [2017-07-12T21:36:11,280][INFO ][o.e.u.MultiClusterSearchYamlTestSuiteIT] [test {yaml=multi_cluster/70_skip_shards/Test that remote indices are subject to shard skipping}]: after test
  1> [2017-07-12T21:36:11,283][INFO ][o.e.u.MultiClusterSearchYamlTestSuiteIT] Stash dump on failure [{
  1>   "stash" : {
  1>     "body" : {
  1>       "took" : 39,
  1>       "timed_out" : false,
  1>       "_shards" : {
  1>         "total" : 2,
  1>         "successful" : 2,
  1>         "skipped" : 0,
  1>         "failed" : 0
  1>       },
  1>       "hits" : {
  1>         "total" : 1,
  1>         "max_score" : 1.0,
  1>         "hits" : [
  1>           {
  1>             "_index" : "skip_shards_index",
  1>             "_type" : "test_type",
  1>             "_id" : "BeuWOV0B6LpPvdNJzw-c",
  1>             "_score" : 1.0,
  1>             "_source" : {
  1>               "sort_field" : 0,
  1>               "created_at" : "2017-01-01",
  1>               "f1" : "local_cluster"
  1>             }
  1>           }
  1>         ]
  1>       }
  1>     }
  1>   }
  1> }]
FAILURE 0.21s | MultiClusterSearchYamlTestSuiteIT.test {yaml=multi_cluster/70_skip_shards/Test that remote indices are subject to shard skipping} <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: Failure at [multi_cluster/70_skip_shards:37]: _shards.skipped didn't match expected value:
   >                _shards.skipped: expected [1] but was [0]
   > 	at __randomizedtesting.SeedInfo.seed([6F190415C02A93B3:E74D3BCF6ED6FE4B]:0)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:348)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.test(ESClientYamlSuiteTestCase.java:328)
   > 	at java.lang.Thread.run(Thread.java:748)
   > Caused by: java.lang.AssertionError: _shards.skipped didn't match expected value:
   >                _shards.skipped: expected [1] but was [0]
   > 	at org.elasticsearch.test.rest.yaml.section.MatchAssertion.doAssert(MatchAssertion.java:87)
   > 	at org.elasticsearch.test.rest.yaml.section.Assertion.execute(Assertion.java:76)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:344)
   > 	... 38 more
@talevy talevy added >test-failure Triaged test failures from CI >test Issues or PRs that are addressing/adding tests v6.0.0 labels Jul 13, 2017
@talevy
Copy link
Contributor Author

talevy commented Jul 13, 2017

@talevy
Copy link
Contributor Author

talevy commented Jul 13, 2017

@s1monw, maybe you know more about this?

@s1monw s1monw self-assigned this Jul 13, 2017
@s1monw s1monw closed this as completed in 02e9ad6 Jul 13, 2017
@colings86 colings86 added the :Search/Search Search-related issues that do not fall into other categories label Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories >test Issues or PRs that are addressing/adding tests >test-failure Triaged test failures from CI v6.0.0-beta1
Projects
None yet
Development

No branches or pull requests

4 participants