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

TS 3.9 Project references #71736

Closed
wants to merge 13 commits into from
Closed

Conversation

rudolf
Copy link
Contributor

@rudolf rudolf commented Jul 14, 2020

Summary

Typescript project references and incremental builds to speed up performance. I've been fairly aggressive in either excluding typechecking or adding any to get the typechecker to work. I hope to get to fully working project references first and then pulling in teams to see if they can help solve the remaining type errors in a more elegant way.

Status

  • OSS
  • OSS unit tests (.test.ts)
  • examples/
  • x-pack
  • x-pack/test

Checklist

Delete any items that are not applicable to this PR.

For maintainers

rudolf added 8 commits July 13, 2020 17:04
We need declaration: true to use incremental builds. But when generating declaration files new TS errors show up.

This commit fixes errors like:
Exported variable 'expressionsPluginMock' has or is using name 'MockedElasticSearchServiceSetup' from external module "/Users/rudolf/dev/kibana/src/core/server/elasticsearch/elasticsearch_service.mock" but cannot be named.
@rudolf rudolf added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jul 14, 2020
@rudolf rudolf changed the title Ts project references TS Project references Jul 14, 2020
@rudolf rudolf changed the title TS Project references TS 3.9 Project references Jul 17, 2020
@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-centos-tests-xl-1594995943426140581] [.kibana_1/AkZMuJegSqqzANfFc8c2LQ] 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-centos-tests-xl-1594995943426140581] [.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-centos-tests-xl-1594995943426140581] [.kibana/q-dDZCKMSMmOfCw2AG9zcg] update_mapping [_doc]
[00:00:01]             │ debg Migrating saved objects
[00:00:01]             │ proc [kibana]   log   [14:47:21.243] [info][savedobjects-service] Creating index .kibana_2.
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:01]             │ proc [kibana]   log   [14:47:21.347] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] 105 finished with response BulkByScrollResponse[took=102.8ms,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-centos-tests-xl-1594995943426140581] [.kibana/q-dDZCKMSMmOfCw2AG9zcg] deleting index
[00:00:02]             │ proc [kibana]   log   [14:47:21.813] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/aaQ-MSngQ56ShphQ8-_Xug] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [14:47:21.891] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:02]             │ proc [kibana]   log   [14:47:21.953] [info][savedobjects-service] Finished in 716ms.
[00:00:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:03]             │ info [makelogs] Loading "mappings.json"
[00:00:03]             │ info [makelogs] Loading "data.json.gz"
[00:00:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] 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:03]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:03]             │ 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:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0]
[00:00:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] 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:03]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:03]             │ 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:04]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:04]             │ 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:05]                 │ debg navigating to settings url: http://localhost:6181/app/management
[00:00:05]                 │ debg navigate to: http://localhost:6181/app/management
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594997245414 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=1594997245414 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/34564/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-17T14:47:28Z
[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:09]                 │ debg ... sleep(501) end
[00:00:09]                 │ debg in navigateTo url = http://localhost:6181/app/management
[00:00:09]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:09]                 │ 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:12]                 │ debg clickKibanaIndexPatterns link
[00:00:12]                 │ debg TestSubjects.click(indexPatterns)
[00:00:12]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:12]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatterns"]') with timeout=10000
[00:00:12]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:12]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:12]                 │ 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:15]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:00:15]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:15]                 │ 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:18]                 │ 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:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1/Zc9wWfOfQyOvG_edRo_3Ww] 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-centos-tests-xl-1594995943426140581] [.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-centos-tests-xl-1594995943426140581] [.kibana/6B2KzBh0SQmw9G_oVjXzCQ] update_mapping [_doc]
[00:00:01]             │ debg Migrating saved objects
[00:00:01]             │ proc [kibana]   log   [14:45:17.787] [info][savedobjects-service] Creating index .kibana_2.
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:01]             │ proc [kibana]   log   [14:45:17.879] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] 105 finished with response BulkByScrollResponse[took=70.8ms,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-centos-tests-xl-1594995943426140581] [.kibana/6B2KzBh0SQmw9G_oVjXzCQ] deleting index
[00:00:02]             │ proc [kibana]   log   [14:45:18.297] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/3nLX_3rBQDSFVbO54e6kxg] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [14:45:18.379] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:02]             │ proc [kibana]   log   [14:45:18.442] [info][savedobjects-service] Finished in 658ms.
[00:00:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:03]             │ info [makelogs] Loading "mappings.json"
[00:00:03]             │ info [makelogs] Loading "data.json.gz"
[00:00:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0]
[00:00:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] 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-centos-tests-xl-1594995943426140581] [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-centos-tests-xl-1594995943426140581] 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:04]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:04]             │ 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:05]                 │ debg navigating to settings url: http://localhost:6181/app/management
[00:00:05]                 │ debg navigate to: http://localhost:6181/app/management
[00:00:06]                 │ debg browser[INFO] http://localhost:6181/app/management?_t=1594997121907 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=1594997121907 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/34564/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-17T14:45:24Z
[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:15]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:00:15]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:00:15]                 │ 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/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-centos-tests-xl-1594995943426140581] [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-centos-tests-xl-1594995943426140581] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:01]               │ 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-centos-tests-xl-1594995943426140581] [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-centos-tests-xl-1594995943426140581] [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-centos-tests-xl-1594995943426140581] [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: 10529
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:13]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:01:16]             └-: dashboard filter bar
[00:01:16]               └-> "before all" hook
[00:01:16]               └-> "before all" hook
[00:01:16]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:16]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1/2GccwtyhRMeYorfG3KL9kg] deleting index
[00:01:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/skPL5H3jRzCJJuvyONVdPw] deleting index
[00:01:16]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:16]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:16]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:16]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_1/-KaISCGcQHasDyrsldn5Mw] update_mapping [_doc]
[00:01:17]                 │ debg Migrating saved objects
[00:01:17]                 │ proc [kibana]   log   [14:45:10.629] [info][savedobjects-service] Creating index .kibana_2.
[00:01:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:17]                 │ proc [kibana]   log   [14:45:10.717] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/VvKbkhFqTP2YQkhLJQHsvQ] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/VvKbkhFqTP2YQkhLJQHsvQ] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/VvKbkhFqTP2YQkhLJQHsvQ] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/VvKbkhFqTP2YQkhLJQHsvQ] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1594995943426140581] [.kibana_2/VvKbkhFqTP2YQkhLJQHsvQ] update_mapping [_doc]
[00:01:17]                 │ proc [kibana]   log   [14:45:11.017] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:17]                 │ proc [kibana]   log   [14:45:11.095] [info][savedobjects-service] Finished in 469ms.
[00:01:17]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:19]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:19]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:19]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1594997112751#/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:19]                 │
[00:01:19]                 │ 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:19]                 │ debg ... sleep(700) start
[00:01:20]                 │ debg ... sleep(700) end
[00:01:20]                 │ debg returned from get, calling refresh
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/34564/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-17T14:45:14Z
[00:01:21]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:21]                 │
[00:01:21]                 │      "
[00:01:21]                 │ERROR browser[SEVERE] http://localhost:6141/34564/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1594997112751#/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 currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:21]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/34564/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-17T14:45:15Z
[00:01:22]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:22]                 │
[00:01:22]                 │      "
[00:01:22]                 │ debg ... sleep(501) start
[00:01:23]                 │ debg ... sleep(501) end
[00:01:23]                 │ 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:23]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:25]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:49]               └-: filter editor field list
[00:01:49]                 └-> "before all" hook
[00:01:49]                 └-> "before all" hook
[00:01:49]                   │ debg gotoDashboardLandingPage
[00:01:49]                   │ debg onDashboardLandingPage
[00:01:49]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:55]                   │ debg clickDashboardBreadcrumbLink
[00:01:55]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:55]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:55]                   │ debg expectExistsDashboardLandingPage
[00:01:55]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:55]                   │ debg TestSubjects.exists(newItemButton)
[00:01:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:01:56]                   │ debg TestSubjects.click(newItemButton)
[00:01:56]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:56]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:56]                   │ debg waitForRenderComplete
[00:01:56]                   │ debg in getSharedItemsCount
[00:01:56]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:56]                   │ debg Renderable.waitForRender for 0 elements
[00:01:56]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:06]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:07]                 └-> uses default index pattern on an empty dashboard
[00:02:07]                   └-> "before each" hook: global before each
[00:02:07]                   │ debg TestSubjects.click(addFilter)
[00:02:07]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:07]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:07]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:07]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:07]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:07]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:08]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:08]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:09]                   └- ✓ pass  (1.8s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:09]                 └-> shows index pattern of vis when one is added
[00:02:09]                   └-> "before each" hook: global before each
[00:02:09]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:09]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:09]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:09]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:12]                   │ debg ... sleep(500) start
[00:02:12]                   │ debg ... sleep(500) end
[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:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:15]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:16]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:16]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:16]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg ... sleep(500) start
[00:02:16]                   │ debg ... sleep(500) end
[00:02:16]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:16]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:19]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:20]                   │ debg --- retry.try failed again with the same message...
[00:02:20]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:20]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:20]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg ... sleep(500) start
[00:02:21]                   │ debg ... sleep(500) end
[00:02:21]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:21]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:23]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:24]                   │ debg --- retry.try failed again with the same message...
[00:02:24]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:24]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:25]                   │ debg ... sleep(500) end
[00:02:25]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:25]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:28]                   │ debg --- retry.try failed again with the same message...
[00:02:28]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:28]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:28]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:29]                   │ debg ... sleep(500) start
[00:02:29]                   │ debg ... sleep(500) end
[00:02:29]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:29]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:32]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:32]                   │ debg --- retry.try failed again with the same message...
[00:02:33]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:33]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:33]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg ... sleep(500) start
[00:02:33]                   │ debg ... sleep(500) end
[00:02:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:36]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:36]                   │ debg --- retry.try failed again with the same message...
[00:02:37]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:37]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:37]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg ... sleep(500) start
[00:02:37]                   │ debg ... sleep(500) end
[00:02:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:40]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:41]                   │ debg --- retry.try failed again with the same message...
[00:02:41]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:41]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:41]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg ... sleep(500) start
[00:02:42]                   │ debg ... sleep(500) end
[00:02:42]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:42]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:44]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:45]                   │ debg --- retry.try failed again with the same message...
[00:02:45]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:45]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:45]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg ... sleep(500) start
[00:02:46]                   │ debg ... sleep(500) end
[00:02:46]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:49]                   │ debg --- retry.try failed again with the same message...
[00:02:49]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:49]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:49]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:50]                   │ debg ... sleep(500) start
[00:02:50]                   │ debg ... sleep(500) end
[00:02:50]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:50]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:53]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:53]                   │ debg --- retry.try failed again with the same message...
[00:02:54]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:54]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:54]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:54]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:54]                   │ debg ... sleep(500) start
[00:02:54]                   │ debg ... sleep(500) end
[00:02:54]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:54]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:57]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:57]                   │ debg --- retry.try failed again with the same message...
[00:02:58]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:58]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:58]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:58]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:58]                   │ debg ... sleep(500) start
[00:02:58]                   │ debg ... sleep(500) end
[00:02:58]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:58]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:01]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:01]                   │ debg --- retry.try failed again with the same message...
[00:03:02]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:02]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:02]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg ... sleep(500) start
[00:03:03]                   │ debg ... sleep(500) end
[00:03:03]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:03]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:05]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:06]                   │ debg --- retry.try failed again with the same message...
[00:03:06]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:06]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:06]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg ... sleep(500) start
[00:03:07]                   │ debg ... sleep(500) end
[00:03:07]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:07]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:09]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:10]                   │ debg --- retry.try failed again with the same message...
[00:03:10]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:10]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:10]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg ... sleep(500) start
[00:03:11]                   │ debg ... sleep(500) end
[00:03:11]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:11]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:14]                   │ debg --- retry.try failed again with the same message...
[00:03:14]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:14]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:14]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:15]                   │ debg ... sleep(500) start
[00:03:15]                   │ debg ... sleep(500) end
[00:03:15]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:15]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:18]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:18]                   │ debg --- retry.try failed again with the same message...
[00:03:19]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:19]                   │ debg ... sleep(500) start
[00:03:19]                   │ debg ... sleep(500) end
[00:03:19]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:19]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:22]                   │ debg --- retry.try failed again with the same message...
[00:03:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:23]                   │ debg ... sleep(500) start
[00:03:24]                   │ debg ... sleep(500) end
[00:03:24]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:24]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:26]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:27]                   │ debg --- retry.try failed again with the same message...
[00:03:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg ... sleep(500) start
[00:03:28]                   │ debg ... sleep(500) end
[00:03:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:31]                   │ debg --- retry.try failed again with the same message...
[00:03:31]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:31]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:31]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg ... sleep(500) start
[00:03:32]                   │ debg ... sleep(500) end
[00:03:32]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:32]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:35]                   │ debg --- retry.try failed again with the same message...
[00:03:35]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:35]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:35]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg ... sleep(500) start
[00:03:36]                   │ debg ... sleep(500) end
[00:03:36]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:36]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:39]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:39]                   │ debg --- retry.try failed again with the same message...
[00:03:40]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:40]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:40]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:40]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:40]                   │ debg ... sleep(500) start
[00:03:40]                   │ debg ... sleep(500) end
[00:03:40]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:40]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:43]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:43]                   │ debg --- retry.try failed again with the same message...
[00:03:44]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:44]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:44]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:44]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:44]                   │ debg ... sleep(500) start
[00:03:44]                   │ debg ... sleep(500) end
[00:03:44]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:44]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:47]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:47]                   │ debg --- retry.try failed again with the same message...
[00:03:48]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:48]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:48]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg ... sleep(500) start
[00:03:49]                   │ debg ... sleep(500) end
[00:03:49]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:49]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:52]                   │ debg --- retry.try failed again with the same message...
[00:03:52]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:52]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:52]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg ... sleep(500) start
[00:03:53]                   │ debg ... sleep(500) end
[00:03:53]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:53]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:55]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:56]                   │ debg --- retry.try failed again with the same message...
[00:03:56]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:56]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:56]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:56]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:56]                   │ debg ... sleep(500) start
[00:03:57]                   │ debg ... sleep(500) end
[00:03:57]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:57]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:00]                   │ debg --- retry.try failed again with the same message...
[00:04:00]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:00]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:00]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:01]                   │ debg ... sleep(500) start
[00:04:01]                   │ debg ... sleep(500) end
[00:04:01]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:04]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:04]                   │ debg --- retry.try failed again with the same message...
[00:04:05]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:05]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:05]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:05]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:05]                   │ debg ... sleep(500) start
[00:04:05]                   │ debg ... sleep(500) end
[00:04:05]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:05]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:08]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:08]                   │ debg --- retry.try failed again with the same message...
[00:04:09]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:09]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:09]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:09]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:09]                   │ debg ... sleep(500) start
[00:04:09]                   │ debg ... sleep(500) end
[00:04:09]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:09]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:12]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:12]                   │ debg --- retry.try failed again with the same message...
[00:04:13]                   │ 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:13]                   │ 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:13]                   │ 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:13]                   └- ✖ fail: dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added
[00:04:13]                   │      retry.try timeout: Error: Add panel still not open, trying again.
[00:04:13]                   │     at retry.try (/dev/shm/workspace/kibana/test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:13]                   │   Error: retry.try timeout: Error: Add panel still not open, trying again.
[00:04:13]                   │       at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:13]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:13]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:13]                   │ 
[00:04:13]                   │ 

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

@kbn/optimizer bundle module count

id value diff baseline
apm 628 -23 651
beats_management 172 -3 175
canvas 537 -262 799
cloud 2 -2 4
crossClusterReplication 58 -2 60
enterpriseSearch 40 -1 41
features 3 -3 6
fileUpload 13 -1 14
globalSearch 10 -6 16
indexLifecycleManagement 91 -1 92
indexManagement 160 -12 172
infra 411 -195 606
ingestManager 344 -19 363
licenseManagement 90 -5 95
licensing 3 -5 8
logstash 141 -8 149
ml 374 -12 386
monitoring 201 -1 202
observability 42 -2 44
remoteClusters 64 -2 66
reporting 17 -2 19
rollup 67 -2 69
searchprofiler 27 -2 29
security 256 -8 264
securitySolution 695 -127 822
snapshotRestore 24 -9 33
spaces 115 -3 118
transform 150 -8 158
upgradeAssistant 25 -1 26
uptime 224 -26 250
watcher 24 -25 49
total - -778 -

History

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

@joshdover
Copy link
Contributor

With TS v4 very close I think we should close this in favor of #72280. If we start to run into issues that are going to significantly slow down our 4.0 upgrade, we can reconsider going with this route. But otherwise, doing in this 4.0 requires a lot fewer changes to enable incremental builds (due to not having to emit any declaration files).

@joshdover joshdover closed this Aug 14, 2020
@rudolf rudolf deleted the ts-project-references branch September 16, 2021 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants