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

Failing test: X-Pack API Integration Tests.x-pack/test/api_integration/apis/management/rollup/rollup·js - apis management rollup jobs crud create should create the underlying rollup index with the correct aggregations #36269

Closed
kibanamachine opened this issue May 8, 2019 · 3 comments · Fixed by #36310
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 8, 2019

A test failed on a tracked branch


        { Error: expected { rollup_index: 
   { aggs: 
      { date_histogram: [Object],
        max: [Object],
        min: [Object],
        terms: [Object],
        histogram: [Object],
        avg: [Object],
        value_count: [Object] } } } to sort of equal { rollup_index: 
   { aggs: 
      { date_histogram: [Object],
        max: [Object],
        min: [Object],
        terms: [Object],
        histogram: [Object],
        avg: [Object],
        value_count: [Object] } } }
    at Assertion.assert (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-ciGroup6/node/immutable/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-ciGroup6/node/immutable/kibana/packages/kbn-expect/expect.js:235:8)
    at Context.eql (test/api_integration/apis/management/rollup/rollup.js:134:27)
  actual:
   '{\n  "rollup_index": {\n    "aggs": {\n      "avg": {\n        "testTotalField": {\n          "agg": "avg"\n        }\n      }\n      "date_histogram": {\n        "testCreatedField": {\n          "agg": "date_histogram"\n          "delay": "1d"\n          "fixed_interval": "24h"\n          "time_zone": "UTC"\n        }\n      }\n      "histogram": {\n        "testTotalField": {\n          "agg": "histogram"\n          "interval": 7\n        }\n      }\n      "max": {\n        "testCreatedField": {\n          "agg": "max"\n        }\n      }\n      "min": {\n        "testCreatedField": {\n          "agg": "min"\n        }\n      }\n      "terms": {\n        "testTagField": {\n          "agg": "terms"\n        }\n        "testTotalField": {\n          "agg": "terms"\n        }\n      }\n      "value_count": {\n        "testTotalField": {\n          "agg": "value_count"\n        }\n      }\n    }\n  }\n}',
  expected:
   '{\n  "rollup_index": {\n    "aggs": {\n      "avg": {\n        "testTotalField": {\n          "agg": "avg"\n        }\n      }\n      "date_histogram": {\n        "testCreatedField": {\n          "agg": "date_histogram"\n          "delay": "1d"\n          "interval": "24h"\n          "time_zone": "UTC"\n        }\n      }\n      "histogram": {\n        "testTotalField": {\n          "agg": "histogram"\n          "interval": 7\n        }\n      }\n      "max": {\n        "testCreatedField": {\n          "agg": "max"\n        }\n      }\n      "min": {\n        "testCreatedField": {\n          "agg": "min"\n        }\n      }\n      "terms": {\n        "testTagField": {\n          "agg": "terms"\n        }\n        "testTotalField": {\n          "agg": "terms"\n        }\n      }\n      "value_count": {\n        "testTotalField": {\n          "agg": "value_count"\n        }\n      }\n    }\n  }\n}',
  showDiff: true }
      

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 8, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage

@spalger
Copy link
Contributor

spalger commented May 8, 2019

I suspect this is caused by a snapshot update after elastic/elasticsearch#33727 was merged

@spalger spalger added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label May 8, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants