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

[TSVB] Add support for histogram type #68837

Merged

Conversation

simianhacker
Copy link
Member

@simianhacker simianhacker commented Jun 11, 2020

Summary

This PR adds support for histogram types to the following TSVB aggregations:

  • average
  • sum
  • value_count
  • percentiles
  • percentile ranks
  • filter ratio (metric aggregations)

Testing Data

  1. Run Metricbeat locally
  2. Use the this script to create some histogram fields.

See #52426 for details
Fixes #70984

Checklist

@simianhacker simianhacker added release_note:enhancement Feature:TSVB TSVB (Time Series Visual Builder) Feature:Metrics UI Metrics UI feature v8.0.0 Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 labels Jun 11, 2020
@simianhacker simianhacker added this to the Metrics UI 7.9 milestone Jun 11, 2020
@simianhacker simianhacker requested a review from a team June 11, 2020 00:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

@@ -0,0 +1,84 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we already started migration js -> ts. If possible please refactor tests in ts

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexwizp are all of the imported files already migrated to TS? Maybe we can hold off here for now if not?

@alexwizp
Copy link
Contributor

alexwizp commented Jun 24, 2020

Code looks good, tested on the following test snippet

PUT histogram-test1
{
  "mappings": {
    "properties": {
      "date": {
        "type": "date" 
      },
      "histogram-title": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword"
          }
        }
      },
      "histogram-content": {
        "type": "histogram"
      }
    }
  }
}

POST histogram-test1/_doc
{
  "date": "2020-06-24T21:12:13.000Z",
  "histogram-title": "enim veniam et",
  "histogram-content": {
    "values": [
      3.7,
      4.2
    ],
    "counts": [
      227,
      141
    ]
  }
}

POST histogram-test/_doc
{
  "date": "2020-06-23T21:12:13.000Z",
  "histogram-title": "est incididunt sunt",
  "histogram-content": {
    "values": [
      1.8,
      2.4,
      2.6,
      4.9
    ],
    "counts": [
      92,
      101,
      122,
      244
    ]
  }
}

POST histogram-test1/_doc
{
  "date": "2020-06-22T21:12:13.000Z",
  "histogram-title": "qui qui tempor",
  "histogram-content": {
    "values": [
      0.5,
      2.1,
      2.7,
      3,
      3.2,
      3.5,
      4.2,
      5
    ],
    "counts": [
      210,
      168,
      182,
      181,
      97,
      164,
      77,
      2
    ]
  }
}


POST histogram-test1/_doc
{
  "date": "2020-06-21T21:12:13.000Z",
  "histogram-title": "ullamco nisi sunt",
  "histogram-content": {
    "values": [
      1.7,
      4.5,
      4.8
    ],
    "counts": [
      74,
      146,
      141
    ]
  }
}

POST histogram-test1/_doc
{
  "date": "2020-06-20T21:12:13.000Z",
  "histogram-title": "magna eu incididunt",
  "histogram-content": {
    "values": [
      1,
      3.4,
      4.8
    ],
    "counts": [
      103,
      205,
      11
    ]
  }
}

Visualizations in TSVB and Area visualization looks similar

TSVB:
image

Area:
image

@@ -36,7 +36,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
import { KBN_FIELD_TYPES } from '../../../../../../plugins/data/public';
import { Percentiles, newPercentile } from './percentile_ui';

const RESTRICT_FIELDS = [KBN_FIELD_TYPES.NUMBER];
const RESTRICT_FIELDS = [KBN_FIELD_TYPES.NUMBER, KBN_FIELD_TYPES.HISTOGRAM];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think KBN_FIELD_TYPES.HISTOGRAM should be also added for src/plugins/vis_type_timeseries/public/application/components/aggs/filter_ratio.js

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filter ratio doesn't have a field dropdown.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should change Metric Aggregation ftom Count to Average for example

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops... I forgot about that feature. Adding it now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasonrhodes should be fixed before merge

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

@sgrodzicki
Copy link

@elasticmachine merge upstream

@jasonrhodes
Copy link
Member

@alexwizp we're looking to get this in for 7.9 -- are you the right person to ping for a review?

@timductive
Copy link
Member

hey @jasonrhodes, I'll put this in the team channel and also ping @timroes and @stratoula

@stratoula
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved it but then I saw that there is a bug. @alexwizp has also mentioned this. We should also add restriction to filter ratio. Moreover let's move the test constants to a test_utils folder 🍪

@simianhacker simianhacker requested a review from stratoula July 7, 2020 17:33
@stratoula
Copy link
Contributor

stratoula commented Jul 8, 2020

Now, I see that when we choose the filter ratio aggregation, whatever agg we select on the metric aggregation dropdown, the field dropdown has the histogram type fields. For example:

Screenshot 2020-07-08 at 10 58 46 AM

I think that max doesn't support histogram type for example. I suppose that on the metric aggregation here only average, value_count, percentiles and percentile ranks support histogram but I am not 100% sure. What do you think @alexwizp @timroes?

@timroes
Copy link
Contributor

timroes commented Jul 8, 2020

@stratoula Yes, the only supported aggregations are: https://www.elastic.co/guide/en/elasticsearch/reference/master/histogram.html#histogram-uses. We should not allow the user to create an aggregation that will then fail in ES.

@stratoula
Copy link
Contributor

Thanx @timroes :) @simianhacker can you also take care of this? We are getting really close 🎉

@simianhacker
Copy link
Member Author

@stratoula Everything should be done. I also took care of #70984 since it's pretty much the same solution as what we need to limit the aggregations for the histogram fields. I contemplated changing the property name for panelType to mode on the AggSelect component but ultimately decide that can happen in a follow up PR if it's important. Regardless, there is a test now for that component to ensure it behaves as expected based on the value passed to panelType.

@stratoula
Copy link
Contributor

@simianhacker great! Thanx for solving the bug of the filter_ratio aggs.
This is perfect, now if the user selects a histogram type field, only the supported metric aggs will appear on the left dropdown. But we could also take care of the other user path when a user selects first the aggregation and then the field. We could do something like that:

Add the getRestrictedFieldsByMetricType on the lib folder. In that way, we could reuse it on fiter_ratio.js. So in the <FieldSelect> component, instead of restrict={restricFields} we could have restrict=getRestrictedFieldsByMetricType(model.metric_agg). In that way, if the user selects first the max aggregation for example which doesn't support histogram, the histogram type fields will not appear on the Field dropdown.

What do you think?

@stratoula
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!! 🎉 LGTM, thanks a lot @simianhacker!

@stratoula
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested locally

@simianhacker
Copy link
Member Author

@elasticmachine merge upstream

@simianhacker simianhacker merged commit 1a65900 into elastic:master Jul 13, 2020
simianhacker added a commit to simianhacker/kibana that referenced this pull request Jul 13, 2020
* [TSVB] Add support for histogram type

* Merge branch 'master' of github.com:elastic/kibana into issue-52426-tsvb-support-for-histograms

* Adding support to filter ratio; updating test

* Limist aggs for filter_ratio and histogram fields; add test for AggSelect; Fixes elastic#70984

* Ensure only compatible fields are displayed for filter ratio metric aggs

Co-authored-by: Elastic Machine <[email protected]>
simianhacker added a commit that referenced this pull request Jul 13, 2020
* [TSVB] Add support for histogram type

* Merge branch 'master' of github.com:elastic/kibana into issue-52426-tsvb-support-for-histograms

* Adding support to filter ratio; updating test

* Limist aggs for filter_ratio and histogram fields; add test for AggSelect; Fixes #70984

* Ensure only compatible fields are displayed for filter ratio metric aggs

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/management/_create_index_pattern_wizard·js.management "Create Index Pattern" wizard data streams can be an index pattern

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [empty_kibana] Loading "mappings.json"
[00:00:01]             │ info [empty_kibana] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1/gfMgZaYYSYKKGhVBLJn7CQ] deleting index
[00:00:01]             │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [empty_kibana] Created index ".kibana"
[00:00:01]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:01]             │ info [empty_kibana] Indexed 1 docs into ".kibana"
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana/dDFg-P2OSHyzEbKVFZO-ug] update_mapping [_doc]
[00:00:01]             │ debg Migrating saved objects
[00:00:01]             │ proc [kibana]   log   [19:00:01.749] [info][savedobjects-service] Creating index .kibana_2.
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:01]             │ proc [kibana]   log   [19:00:01.865] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] 105 finished with response BulkByScrollResponse[took=86.9ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana/dDFg-P2OSHyzEbKVFZO-ug] deleting index
[00:00:02]             │ proc [kibana]   log   [19:00:02.357] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/JuJb2_IzRvm0f8Z0knScCA] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [19:00:02.443] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:02]             │ proc [kibana]   log   [19:00:02.513] [info][savedobjects-service] Finished in 769ms.
[00:00:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:04]             │ info [makelogs] Loading "mappings.json"
[00:00:04]             │ info [makelogs] Loading "data.json.gz"
[00:00:04]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:04]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:05]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:05]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:05]           └-: 
[00:00:05]             └-> "before all" hook
[00:00:05]             └-: "Create Index Pattern" wizard
[00:00:05]               └-> "before all" hook
[00:00:05]               └-> "before all" hook
[00:00:05]                 │ debg replacing kibana config doc: {}
[00:00:06]                 │ debg navigating to settings url: http://localhost:6181/app/management
[00:00:06]                 │ debg navigate to: http://localhost:6181/app/management
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594926005970 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:06]                 │
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:06]                 │ debg ... sleep(700) start
[00:00:06]                 │ debg ... sleep(700) end
[00:00:06]                 │ debg returned from get, calling refresh
[00:00:07]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594926005970 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:07]                 │
[00:00:07]                 │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:07]                 │ debg currentUrl = http://localhost:6181/app/management
[00:00:07]                 │          appUrl = http://localhost:6181/app/management
[00:00:07]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:07]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:09]                 │ debg browser[INFO] http://localhost:6181/34581/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-16T19:00:08Z
[00:00:09]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:00:09]                 │
[00:00:09]                 │      "
[00:00:09]                 │ debg ... sleep(501) start
[00:00:10]                 │ debg ... sleep(501) end
[00:00:10]                 │ debg in navigateTo url = http://localhost:6181/app/management
[00:00:10]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:12]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:13]                 │ debg clickKibanaIndexPatterns link
[00:00:13]                 │ debg TestSubjects.click(indexPatterns)
[00:00:13]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:13]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:13]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:13]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:13]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:15]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:15]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:00:15]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:00:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:00:16]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:00:16]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:16]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:00:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:00:19]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:00:22]               └-: data streams
[00:00:22]                 └-> "before all" hook
[00:00:22]                 └-> can be an index pattern
[00:00:22]                   └-> "before each" hook: global before each
[00:00:22]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/management  _Create Index Pattern_ wizard data streams can be an index pattern.png"
[00:00:22]                   │ info Current URL is: http://localhost:6181/app/management/kibana/indexPatterns/create
[00:00:22]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/management  _Create Index Pattern_ wizard data streams can be an index pattern.html
[00:00:22]                   └- ✖ fail: management  "Create Index Pattern" wizard data streams can be an index pattern
[00:00:22]                   │      Error: [x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]
[00:00:22]                   │       at respond (node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:22]                   │       at checkRespForFailure (node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:22]                   │       at HttpConnector.<anonymous> (node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:22]                   │       at IncomingMessage.wrapper (node_modules/lodash/lodash.js:4949:19)
[00:00:22]                   │       at endReadableNT (_stream_readable.js:1145:12)
[00:00:22]                   │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:22]                   │ 
[00:00:22]                   │ 

Stack Trace

{ Error: [x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]
    at respond (node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]',
  path: '/_index_template/generic-logs',
  query: undefined,
  body:
   { error:
      { root_cause: [Array],
        type: 'x_content_parse_exception',
        reason:
         '[1:152] [index_template] failed to parse field [data_stream]',
        caused_by: [Object] },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:134] [data_stream_template] unknown field [timestamp_field]"}],"type":"x_content_parse_exception","reason":"[1:152] [index_template] failed to parse field [data_stream]","caused_by":{"type":"x_content_parse_exception","reason":"[1:134] [data_stream_template] unknown field [timestamp_field]"}},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/management/_create_index_pattern_wizard·js.management "Create Index Pattern" wizard data streams can be an index pattern

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [empty_kibana] Loading "mappings.json"
[00:00:01]             │ info [empty_kibana] Loading "data.json.gz"
[00:00:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1/xf-sDetxTkmmQ0a8hqCZIw] deleting index
[00:00:02]             │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:02]             │ info [empty_kibana] Created index ".kibana"
[00:00:02]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:02]             │ info [empty_kibana] Indexed 1 docs into ".kibana"
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana/583LEk9kQdeqGN1Evsao-Q] update_mapping [_doc]
[00:00:02]             │ debg Migrating saved objects
[00:00:02]             │ proc [kibana]   log   [18:57:51.483] [info][savedobjects-service] Creating index .kibana_2.
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:02]             │ proc [kibana]   log   [18:57:51.588] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] 105 finished with response BulkByScrollResponse[took=80.3ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:02]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana/583LEk9kQdeqGN1Evsao-Q] deleting index
[00:00:02]             │ proc [kibana]   log   [18:57:52.033] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/Aghygen9RS2iVjiDTeo8Vw] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [18:57:52.126] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:03]             │ proc [kibana]   log   [18:57:52.196] [info][savedobjects-service] Finished in 716ms.
[00:00:03]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:04]             │ info [makelogs] Loading "mappings.json"
[00:00:04]             │ info [makelogs] Loading "data.json.gz"
[00:00:04]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.17][0]]"
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.17" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:04]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.18][0]]"
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.18" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:05]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:05]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:06]           └-: 
[00:00:06]             └-> "before all" hook
[00:00:06]             └-: "Create Index Pattern" wizard
[00:00:06]               └-> "before all" hook
[00:00:06]               └-> "before all" hook
[00:00:06]                 │ debg replacing kibana config doc: {}
[00:00:06]                 │ debg navigating to settings url: http://localhost:6181/app/management
[00:00:06]                 │ debg navigate to: http://localhost:6181/app/management
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594925875669 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:06]                 │
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:06]                 │ debg ... sleep(700) start
[00:00:07]                 │ debg ... sleep(700) end
[00:00:07]                 │ debg returned from get, calling refresh
[00:00:08]                 │ debg browser[INFO] http://localhost:6181/34581/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-16T18:57:57Z
[00:00:08]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:00:08]                 │
[00:00:08]                 │      "
[00:00:08]                 │ERROR browser[SEVERE] http://localhost:6181/34581/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:08]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594925875669 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:08]                 │
[00:00:08]                 │ debg browser[INFO] http://localhost:6181/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:08]                 │ debg currentUrl = http://localhost:6181/app/management
[00:00:08]                 │          appUrl = http://localhost:6181/app/management
[00:00:08]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:10]                 │ debg browser[INFO] http://localhost:6181/34581/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-16T18:57:59Z
[00:00:10]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:00:10]                 │
[00:00:10]                 │      "
[00:00:10]                 │ debg ... sleep(501) start
[00:00:11]                 │ debg ... sleep(501) end
[00:00:11]                 │ debg in navigateTo url = http://localhost:6181/app/management
[00:00:11]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:13]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:14]                 │ debg clickKibanaIndexPatterns link
[00:00:14]                 │ debg TestSubjects.click(indexPatterns)
[00:00:14]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:14]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:14]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:14]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:16]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:17]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:00:17]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:00:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:00:17]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:00:17]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:18]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:00:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:00:20]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:00:24]               └-: data streams
[00:00:24]                 └-> "before all" hook
[00:00:24]                 └-> can be an index pattern
[00:00:24]                   └-> "before each" hook: global before each
[00:00:24]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/management  _Create Index Pattern_ wizard data streams can be an index pattern.png"
[00:00:24]                   │ info Current URL is: http://localhost:6181/app/management/kibana/indexPatterns/create
[00:00:24]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/management  _Create Index Pattern_ wizard data streams can be an index pattern.html
[00:00:24]                   └- ✖ fail: management  "Create Index Pattern" wizard data streams can be an index pattern
[00:00:24]                   │      Error: [x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]
[00:00:24]                   │       at respond (node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:24]                   │       at checkRespForFailure (node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:24]                   │       at HttpConnector.<anonymous> (node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:24]                   │       at IncomingMessage.wrapper (node_modules/lodash/lodash.js:4949:19)
[00:00:24]                   │       at endReadableNT (_stream_readable.js:1145:12)
[00:00:24]                   │       at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:24]                   │ 
[00:00:24]                   │ 

Stack Trace

{ Error: [x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]
    at respond (node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (node_modules/lodash/lodash.js:4949:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[x_content_parse_exception] [1:134] [data_stream_template] unknown field [timestamp_field]',
  path: '/_index_template/generic-logs',
  query: undefined,
  body:
   { error:
      { root_cause: [Array],
        type: 'x_content_parse_exception',
        reason:
         '[1:152] [index_template] failed to parse field [data_stream]',
        caused_by: [Object] },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:134] [data_stream_template] unknown field [timestamp_field]"}],"type":"x_content_parse_exception","reason":"[1:152] [index_template] failed to parse field [data_stream]","caused_by":{"type":"x_content_parse_exception","reason":"[1:134] [data_stream_template] unknown field [timestamp_field]"}},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_filter_bar·js.dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 8 times on tracked branches: https://github.com/elastic/kibana/issues/71987

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:02]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:02]               │ debg [dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]               │ info progress: 7822
[00:00:16]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:16]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:16]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:16]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:16]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:16]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:01:18]             └-: dashboard filter bar
[00:01:18]               └-> "before all" hook
[00:01:18]               └-> "before all" hook
[00:01:18]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:18]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:18]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/vc_dBpGYSlKDp201SVn09g] deleting index
[00:01:18]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1/AJfV3hVBR7O1k90NT4L3sg] deleting index
[00:01:18]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:18]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:18]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:18]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:18]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_1/9u1JNxE8R7yw7yfMZuMt9Q] update_mapping [_doc]
[00:01:19]                 │ debg Migrating saved objects
[00:01:19]                 │ proc [kibana]   log   [18:57:42.353] [info][savedobjects-service] Creating index .kibana_2.
[00:01:19]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:19]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:19]                 │ proc [kibana]   log   [18:57:42.463] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/1C2Y5VhIR62DhCStCz4Iyw] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/1C2Y5VhIR62DhCStCz4Iyw] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/1C2Y5VhIR62DhCStCz4Iyw] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/1C2Y5VhIR62DhCStCz4Iyw] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1594924744069173742] [.kibana_2/1C2Y5VhIR62DhCStCz4Iyw] update_mapping [_doc]
[00:01:19]                 │ proc [kibana]   log   [18:57:42.800] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:19]                 │ proc [kibana]   log   [18:57:42.890] [info][savedobjects-service] Finished in 540ms.
[00:01:19]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:21]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:21]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1594925864481#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:21]                 │
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:21]                 │ debg ... sleep(700) start
[00:01:22]                 │ debg ... sleep(700) end
[00:01:22]                 │ debg returned from get, calling refresh
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/34581/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-16T18:57:46Z
[00:01:23]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:23]                 │
[00:01:23]                 │      "
[00:01:23]                 │ERROR browser[SEVERE] http://localhost:6141/34581/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1594925864481#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:23]                 │
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:23]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:23]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:24]                 │ debg browser[INFO] http://localhost:6141/34581/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-16T18:57:47Z
[00:01:24]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:24]                 │
[00:01:24]                 │      "
[00:01:24]                 │ debg ... sleep(501) start
[00:01:25]                 │ debg ... sleep(501) end
[00:01:25]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:25]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:01:26]                 │ debg ... sleep(501) start
[00:01:26]                 │ debg ... sleep(501) end
[00:01:26]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:26]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:29]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:52]               └-: filter editor field list
[00:01:52]                 └-> "before all" hook
[00:01:52]                 └-> "before all" hook
[00:01:52]                   │ debg gotoDashboardLandingPage
[00:01:52]                   │ debg onDashboardLandingPage
[00:01:52]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:54]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:58]                   │ debg clickDashboardBreadcrumbLink
[00:01:58]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:58]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:58]                   │ debg expectExistsDashboardLandingPage
[00:01:58]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:58]                   │ debg TestSubjects.exists(newItemButton)
[00:01:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:01:59]                   │ debg TestSubjects.click(newItemButton)
[00:01:59]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:59]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:59]                   │ debg waitForRenderComplete
[00:01:59]                   │ debg in getSharedItemsCount
[00:01:59]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:59]                   │ debg Renderable.waitForRender for 0 elements
[00:01:59]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:09]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:10]                 └-> uses default index pattern on an empty dashboard
[00:02:10]                   └-> "before each" hook: global before each
[00:02:10]                   │ debg TestSubjects.click(addFilter)
[00:02:10]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:10]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:10]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:10]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:10]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:10]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:10]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:10]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:10]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:11]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:11]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:11]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:12]                   └- ✓ pass  (1.7s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:12]                 └-> shows index pattern of vis when one is added
[00:02:12]                   └-> "before each" hook: global before each
[00:02:12]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:12]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:14]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:15]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:15]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:15]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:15]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:15]                   │ debg ... sleep(500) start
[00:02:15]                   │ debg ... sleep(500) end
[00:02:15]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:15]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:18]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:18]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:19]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg ... sleep(500) start
[00:02:19]                   │ debg ... sleep(500) end
[00:02:19]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:19]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:23]                   │ debg --- retry.try failed again with the same message...
[00:02:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:23]                   │ debg ... sleep(500) start
[00:02:24]                   │ debg ... sleep(500) end
[00:02:24]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:24]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:26]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:27]                   │ debg --- retry.try failed again with the same message...
[00:02:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:27]                   │ debg ... sleep(500) start
[00:02:28]                   │ debg ... sleep(500) end
[00:02:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:31]                   │ debg --- retry.try failed again with the same message...
[00:02:31]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:31]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:31]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:32]                   │ debg ... sleep(500) start
[00:02:32]                   │ debg ... sleep(500) end
[00:02:32]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:32]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:35]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:35]                   │ debg --- retry.try failed again with the same message...
[00:02:36]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:36]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:36]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg ... sleep(500) start
[00:02:36]                   │ debg ... sleep(500) end
[00:02:36]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:36]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:39]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:39]                   │ debg --- retry.try failed again with the same message...
[00:02:40]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:40]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:40]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg ... sleep(500) start
[00:02:40]                   │ debg ... sleep(500) end
[00:02:40]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:40]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:43]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:43]                   │ debg --- retry.try failed again with the same message...
[00:02:44]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:44]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:44]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:44]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:44]                   │ debg ... sleep(500) start
[00:02:45]                   │ debg ... sleep(500) end
[00:02:45]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:45]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:47]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:48]                   │ debg --- retry.try failed again with the same message...
[00:02:48]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:48]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:48]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:48]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:48]                   │ debg ... sleep(500) start
[00:02:49]                   │ debg ... sleep(500) end
[00:02:49]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:49]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:52]                   │ debg --- retry.try failed again with the same message...
[00:02:52]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:52]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:52]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg ... sleep(500) start
[00:02:53]                   │ debg ... sleep(500) end
[00:02:53]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:53]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:56]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:56]                   │ debg --- retry.try failed again with the same message...
[00:02:57]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:57]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:57]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg ... sleep(500) start
[00:02:57]                   │ debg ... sleep(500) end
[00:02:57]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:57]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:00]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:00]                   │ debg --- retry.try failed again with the same message...
[00:03:01]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:01]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:01]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg ... sleep(500) start
[00:03:01]                   │ debg ... sleep(500) end
[00:03:01]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:04]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:05]                   │ debg --- retry.try failed again with the same message...
[00:03:05]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:05]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:05]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:05]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:05]                   │ debg ... sleep(500) start
[00:03:06]                   │ debg ... sleep(500) end
[00:03:06]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:06]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:08]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:09]                   │ debg --- retry.try failed again with the same message...
[00:03:09]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:09]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:09]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:09]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:09]                   │ debg ... sleep(500) start
[00:03:10]                   │ debg ... sleep(500) end
[00:03:10]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:10]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:12]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:13]                   │ debg --- retry.try failed again with the same message...
[00:03:13]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:13]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:13]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:13]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg ... sleep(500) start
[00:03:14]                   │ debg ... sleep(500) end
[00:03:14]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:14]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:17]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:17]                   │ debg --- retry.try failed again with the same message...
[00:03:18]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:18]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:18]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg ... sleep(500) start
[00:03:18]                   │ debg ... sleep(500) end
[00:03:18]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:18]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:21]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:21]                   │ debg --- retry.try failed again with the same message...
[00:03:22]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:22]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:22]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg ... sleep(500) start
[00:03:23]                   │ debg ... sleep(500) end
[00:03:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:25]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:26]                   │ debg --- retry.try failed again with the same message...
[00:03:26]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:26]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:26]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg ... sleep(500) start
[00:03:27]                   │ debg ... sleep(500) end
[00:03:27]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:27]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:29]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:30]                   │ debg --- retry.try failed again with the same message...
[00:03:30]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:30]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:30]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:30]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:30]                   │ debg ... sleep(500) start
[00:03:31]                   │ debg ... sleep(500) end
[00:03:31]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:31]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:33]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:34]                   │ debg --- retry.try failed again with the same message...
[00:03:34]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:34]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:34]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:34]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg ... sleep(500) start
[00:03:35]                   │ debg ... sleep(500) end
[00:03:35]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:35]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:38]                   │ debg --- retry.try failed again with the same message...
[00:03:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg ... sleep(500) start
[00:03:39]                   │ debg ... sleep(500) end
[00:03:39]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:39]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:42]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:42]                   │ debg --- retry.try failed again with the same message...
[00:03:43]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:43]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:43]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg ... sleep(500) start
[00:03:43]                   │ debg ... sleep(500) end
[00:03:43]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:43]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:46]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:46]                   │ debg --- retry.try failed again with the same message...
[00:03:47]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:47]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:47]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg ... sleep(500) start
[00:03:48]                   │ debg ... sleep(500) end
[00:03:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:50]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:51]                   │ debg --- retry.try failed again with the same message...
[00:03:51]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:51]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:51]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg ... sleep(500) start
[00:03:52]                   │ debg ... sleep(500) end
[00:03:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:54]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:55]                   │ debg --- retry.try failed again with the same message...
[00:03:55]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:55]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:55]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:55]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:55]                   │ debg ... sleep(500) start
[00:03:56]                   │ debg ... sleep(500) end
[00:03:56]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:56]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:58]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:59]                   │ debg --- retry.try failed again with the same message...
[00:03:59]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:59]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:59]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:59]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg ... sleep(500) start
[00:04:00]                   │ debg ... sleep(500) end
[00:04:00]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:00]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:03]                   │ debg --- retry.try failed again with the same message...
[00:04:04]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:04]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg ... sleep(500) start
[00:04:04]                   │ debg ... sleep(500) end
[00:04:04]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:04]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:07]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:07]                   │ debg --- retry.try failed again with the same message...
[00:04:08]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:08]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:08]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg ... sleep(500) start
[00:04:08]                   │ debg ... sleep(500) end
[00:04:08]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:08]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:11]                   │ debg --- retry.try failed again with the same message...
[00:04:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg ... sleep(500) start
[00:04:12]                   │ debg ... sleep(500) end
[00:04:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:15]                   │ debg --- retry.try failed again with the same message...
[00:04:16]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.png"
[00:04:16]                   │ info Current URL is: http://localhost:6141/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:04:16]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.html
[00:04:16]                   └- ✖ fail: dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added
[00:04:16]                   │      retry.try timeout: Error: Add panel still not open, trying again.
[00:04:16]                   │     at retry.try (/dev/shm/workspace/kibana/test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:16]                   │   Error: retry.try timeout: Error: Add panel still not open, trying again.
[00:04:16]                   │       at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:16]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:16]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:16]                   │ 
[00:04:16]                   │ 

Stack Trace

Error: retry.try timeout: Error: Add panel still not open, trying again.
    at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature Feature:TSVB TSVB (Time Series Visual Builder) release_note:enhancement Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Filter Ratio's mertric aggregation contains incompatible aggregations.
9 participants