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

[Search] Server side search API #70446

Merged
merged 28 commits into from
Jul 14, 2020
Merged

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Jul 1, 2020

Summary

Depends on #69333

This PR simplifies some of the server side search type script and exposes a server side search service.

Dev Docs

This PR introduces a new server side search API.
The request should contain the query DSL.

const searchPromise = dataStart.search.search(context, request, options);

Note that in OSS, queries are executed synchronously. In Basic license, this API returns either the results, or for longer queries, it returns an ID that can be used to retrieve the results by polling.

@lizozom lizozom changed the title Search/server side search [Search] Server side search API Jul 1, 2020
@lizozom
Copy link
Contributor Author

lizozom commented Jul 2, 2020

@elasticmachine merge upstream

@lizozom lizozom self-assigned this Jul 5, 2020
@lizozom lizozom added the v7.9.0 label Jul 5, 2020
@lizozom
Copy link
Contributor Author

lizozom commented Jul 6, 2020

@elasticmachine merge upstream

@lizozom lizozom force-pushed the search/server-side-search branch from 0ca8076 to 696215b Compare July 7, 2020 22:03
@lizozom
Copy link
Contributor Author

lizozom commented Jul 8, 2020

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head

@lizozom lizozom marked this pull request as ready for review July 8, 2020 13:01
@lizozom lizozom requested a review from a team as a code owner July 8, 2020 13:01
@lizozom lizozom added the Feature:Search Querying infrastructure in Kibana label Jul 8, 2020
@lizozom lizozom added release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:AppArch v8.0.0 labels Jul 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lizozom lizozom requested a review from lukasolson July 8, 2020 13:05
@lizozom
Copy link
Contributor Author

lizozom commented Jul 9, 2020

@elasticmachine merge upstream

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

Played around with this locally, seems to be working. I did notice that we seem to be swallowing timeout errors now, but I'm not sure if it's related to this PR or not. I did leave a couple of minor comments below.

Eventually, we also need to figure out a way to expose a way for server-side code to poll at an interval (similar to what we do client-side), but I think that can be left for a future PR.

src/plugins/data/server/search/types.ts Outdated Show resolved Hide resolved
context: RequestHandlerContext,
request: IEsSearchRequest,
options?: ISearchOptions
) => Promise<IEsSearchResponse>;
Copy link
Member

Choose a reason for hiding this comment

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

I think this is fine for now but we may need to have a chat about how solutions teams/plugin developers may want to eventually return custom responses (other than IEsSearchResponse).

@lizozom
Copy link
Contributor Author

lizozom commented Jul 11, 2020

@elasticmachine merge upstream

@lizozom lizozom mentioned this pull request Jul 13, 2020
32 tasks
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.

Looks good!

@lizozom lizozom merged commit dc55b20 into elastic:master Jul 14, 2020
lizozom added a commit to lizozom/kibana that referenced this pull request Jul 14, 2020
* [search] Refactor the way search strategies are registered/retrieved on the server

* Fix types and tests and update docs

* Fix failing test

* Move strategy name into options

* Remove FE strategies

* TypeScript of hell
delete search explorer

* Fix search interceptor OSS tests

* test cleanup

* fix

* return search wrapper

* initial api

* Shiny happy cleanup

* docs

* fix jest test

* simplify strategy registration

* fix rebase

* fix rebase

* fix backport

* types

* TS for strategy

* docs

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
lizozom added a commit that referenced this pull request Jul 14, 2020
* [search] Refactor the way search strategies are registered/retrieved on the server

* Fix types and tests and update docs

* Fix failing test

* Move strategy name into options

* Remove FE strategies

* TypeScript of hell
delete search explorer

* Fix search interceptor OSS tests

* test cleanup

* fix

* return search wrapper

* initial api

* Shiny happy cleanup

* docs

* fix jest test

* simplify strategy registration

* fix rebase

* fix rebase

* fix backport

* types

* TS for strategy

* docs

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 14, 2020
* master: (21 commits)
  [Maps] 7.9 design improvements (elastic#71563)
  [ML] Changing all calls to ML endpoints to use internal user (elastic#70487)
  [eventLog] prevent log writing when initialization fails (elastic#71339)
  [Observability] landing page always being displayed (elastic#71494)
  [IM] Address data stream copy feedback (elastic#71615)
  [Logs UI] Anomalies page dataset filtering (elastic#71110)
  [data.search.aggs] Remove `use_field_mapping` from top hits agg (elastic#71168)
  [ML] Anomaly swim lane embeddable navigation and filter actions (elastic#71082)
  Fixes typo in siem_cloudtrail job description (elastic#71569)
  Require granted API Keys to have a name (elastic#71623)
  Update  getUsageForCollection (elastic#71609)
  Only fetch saved elements once (elastic#71310)
  [SecuritySolution][Resolver] Adding siem index and guarding process ancestry (elastic#71570)
  [APM] Additional data telemetry changes (elastic#71112)
  [Visualize] Fix export table for table export links (elastic#71249)
  [Search] Server side search API (elastic#70446)
  use inclusive language (elastic#71607)
  [Security Solution] Hide timeline footer when Resolver is open (elastic#71516)
  [Index template wizard] Remove shadow and use border for components panels (elastic#71606)
  [ML] Kibana API endpoint for histogram chart data (elastic#70976)
  ...
@jinmu03
Copy link
Contributor

jinmu03 commented Aug 3, 2020

Can you please add a Dev Doc section in the PR Summary? Release notes pull the summary of the PR from the Dev Doc section.

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:12]         └-: context app
[00:00:12]           └-> "before all" hook
[00:00:12]           └-> "before all" hook
[00:00:12]             │ info [logstash_functional] Loading "mappings.json"
[00:00:12]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" 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:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" 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:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.21" 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:22]             │ info progress: 8125
[00:00:27]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:27]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:27]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:27]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_1/KBEYK9a6Qiy7AD9OzzKHxg] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/WM_lEG1VRDug1xqPL7txfQ] update_mapping [_doc]
[00:00:27]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/WM_lEG1VRDug1xqPL7txfQ] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [10:19:00.682] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [10:19:00.767] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.tasks]
[00:00:28]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] 886 finished with response BulkByScrollResponse[took=74.6ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/WM_lEG1VRDug1xqPL7txfQ] deleting index
[00:00:28]             │ proc [kibana]   log   [10:19:01.203] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [10:19:01.231] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/XCY1jDifSBKN_IQrWDHDnw] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/XCY1jDifSBKN_IQrWDHDnw] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [10:19:01.349] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [10:19:01.406] [info][savedobjects-service] Finished in 726ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/XCY1jDifSBKN_IQrWDHDnw] update_mapping [_doc]
[00:00:29]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:30]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:30]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:31]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622743798#/ 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:31]             │
[00:00:31]             │ debg browser[INFO] http://localhost:6121/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:31]             │ debg ... sleep(700) start
[00:00:31]             │ debg ... sleep(700) end
[00:00:31]             │ debg returned from get, calling refresh
[00:00:32]             │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:19:05Z
[00:00:32]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:32]             │
[00:00:32]             │      "
[00:00:32]             │ERROR browser[SEVERE] http://localhost:6121/34669/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:32]             │          at Fetch._callee3$ (http://localhost:6121/34669/bundles/core/core.entry.js:34:105174)
[00:00:32]             │          at l (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155138)
[00:00:32]             │          at Generator._invoke (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:154891)
[00:00:32]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155495)
[00:00:32]             │          at fetch_asyncGeneratorStep (http://localhost:6121/34669/bundles/core/core.entry.js:34:99267)
[00:00:32]             │          at _throw (http://localhost:6121/34669/bundles/core/core.entry.js:34:99675)
[00:00:32]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622743798#/ 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:32]             │
[00:00:32]             │ debg browser[INFO] http://localhost:6121/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:33]             │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:19:05Z
[00:00:33]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:33]             │
[00:00:33]             │      "
[00:00:33]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:33]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:33]             │ debg TestSubjects.find(kibanaChrome)
[00:00:33]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:33]             │ debg ... sleep(501) start
[00:00:33]             │ debg ... sleep(501) end
[00:00:33]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:33]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:33]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:36]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:59]           └-: context view for date_nanos
[00:01:59]             └-> "before all" hook
[00:01:59]             └-> "before all" hook
[00:01:59]               │ info [date_nanos] Loading "mappings.json"
[00:01:59]               │ info [date_nanos] Loading "data.json"
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:59]               │ info [date_nanos] Created index "date-nanos"
[00:01:59]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [date-nanos/X6YaCcb6QVyd1kOYRhA3cg] update_mapping [_doc]
[00:01:59]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:59]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/XCY1jDifSBKN_IQrWDHDnw] update_mapping [_doc]
[00:01:59]               │ debg Migrating saved objects
[00:01:59]               │ proc [kibana]   log   [10:20:32.182] [info][savedobjects-service] Creating index .kibana_3.
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:01:59]               │ proc [kibana]   log   [10:20:32.269] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:59]               │ proc [kibana]   log   [10:20:32.278] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/g667KiVrSA2TcHA5wKJSWg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/g667KiVrSA2TcHA5wKJSWg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/g667KiVrSA2TcHA5wKJSWg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/g667KiVrSA2TcHA5wKJSWg] update_mapping [_doc]
[00:01:59]               │ proc [kibana]   log   [10:20:32.440] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:59]               │ proc [kibana]   log   [10:20:32.497] [info][savedobjects-service] Finished in 317ms.
[00:01:59]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:00]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:01]             └-> displays predessors - anchor - successors in right order 
[00:02:01]               └-> "before each" hook: global before each
[00:02:01]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:01]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622834264#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:02:01]               │
[00:02:01]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:02]               │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:20:35Z
[00:02:02]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:02]               │
[00:02:02]               │      "
[00:02:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:03]               │          at Fetch._callee3$ (http://localhost:6121/34669/bundles/core/core.entry.js:34:106126)
[00:02:03]               │          at l (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155138)
[00:02:03]               │          at Generator._invoke (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:154891)
[00:02:03]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155495)
[00:02:03]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34669/bundles/core/core.entry.js:34:99267)
[00:02:03]               │          at _next (http://localhost:6121/34669/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"E6ZZLkauTxWEtzUVA70osw\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg ... sleep(1000) start
[00:02:05]               │ debg ... sleep(1000) end
[00:02:05]               │ debg TestSubjects.find(docTable)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:05]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:05]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:05]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:05]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:05]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:05]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:05]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:05]               │       + expected - actual
[00:02:05]               │ 
[00:02:05]               │        [
[00:02:05]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:05]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:05]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:05]               │        ]
[00:02:05]               │       
[00:02:05]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:05]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:05]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:05]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:05]               │ 
[00:02:05]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:12]         └-: context app
[00:00:12]           └-> "before all" hook
[00:00:12]           └-> "before all" hook
[00:00:12]             │ info [logstash_functional] Loading "mappings.json"
[00:00:12]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" 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:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" 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:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.21" 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:22]             │ info progress: 11430
[00:00:24]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:24]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:24]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:24]             │ info [visualize] Loading "mappings.json"
[00:00:24]             │ info [visualize] Loading "data.json"
[00:00:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_1/I7lC8w48RHWQ86ldMAovWA] deleting index
[00:00:24]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [visualize] Created index ".kibana"
[00:00:24]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/yOdj8GGEQ02GN4GsHvfw8Q] update_mapping [_doc]
[00:00:24]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/yOdj8GGEQ02GN4GsHvfw8Q] update_mapping [_doc]
[00:00:25]             │ debg Migrating saved objects
[00:00:25]             │ proc [kibana]   log   [10:15:10.235] [info][savedobjects-service] Creating index .kibana_2.
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:25]             │ proc [kibana]   log   [10:15:10.362] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.tasks]
[00:00:25]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] 852 finished with response BulkByScrollResponse[took=119.5ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana/yOdj8GGEQ02GN4GsHvfw8Q] deleting index
[00:00:25]             │ proc [kibana]   log   [10:15:10.886] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:25]             │ proc [kibana]   log   [10:15:10.913] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/-Rpd81mHS2ePWoMLYyhC2w] update_mapping [_doc]
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/-Rpd81mHS2ePWoMLYyhC2w] update_mapping [_doc]
[00:00:25]             │ proc [kibana]   log   [10:15:11.045] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:26]             │ proc [kibana]   log   [10:15:11.113] [info][savedobjects-service] Finished in 884ms.
[00:00:26]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/-Rpd81mHS2ePWoMLYyhC2w] update_mapping [_doc]
[00:00:27]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:28]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:28]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:28]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622513401#/ 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:28]             │
[00:00:28]             │ debg browser[INFO] http://localhost:6121/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:28]             │ debg ... sleep(700) start
[00:00:29]             │ debg ... sleep(700) end
[00:00:29]             │ debg returned from get, calling refresh
[00:00:30]             │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:15:14Z
[00:00:30]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:30]             │
[00:00:30]             │      "
[00:00:30]             │ERROR browser[SEVERE] http://localhost:6121/34669/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:30]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622513401#/ 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:30]             │
[00:00:30]             │ debg browser[INFO] http://localhost:6121/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:30]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:30]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:30]             │ debg TestSubjects.find(kibanaChrome)
[00:00:30]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:31]             │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:15:15Z
[00:00:31]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:31]             │
[00:00:31]             │      "
[00:00:31]             │ debg ... sleep(501) start
[00:00:31]             │ debg ... sleep(501) end
[00:00:31]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:31]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:31]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:34]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:58]           └-: context view for date_nanos
[00:01:58]             └-> "before all" hook
[00:01:58]             └-> "before all" hook
[00:01:58]               │ info [date_nanos] Loading "mappings.json"
[00:01:58]               │ info [date_nanos] Loading "data.json"
[00:01:58]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:58]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:58]               │ info [date_nanos] Created index "date-nanos"
[00:01:58]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [date-nanos/1syV9NRbRRO_tIN3DHGAvw] update_mapping [_doc]
[00:01:58]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:58]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/-Rpd81mHS2ePWoMLYyhC2w] update_mapping [_doc]
[00:01:58]               │ debg Migrating saved objects
[00:01:58]               │ proc [kibana]   log   [10:16:44.044] [info][savedobjects-service] Creating index .kibana_3.
[00:01:58]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:01:59]               │ proc [kibana]   log   [10:16:44.145] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:59]               │ proc [kibana]   log   [10:16:44.155] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/V_S82u7HRGWbnSQYxa89Wg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/V_S82u7HRGWbnSQYxa89Wg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/V_S82u7HRGWbnSQYxa89Wg] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_3/V_S82u7HRGWbnSQYxa89Wg] update_mapping [_doc]
[00:01:59]               │ proc [kibana]   log   [10:16:44.380] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:59]               │ proc [kibana]   log   [10:16:44.473] [info][savedobjects-service] Finished in 432ms.
[00:01:59]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:00]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:01]             └-> displays predessors - anchor - successors in right order 
[00:02:01]               └-> "before each" hook: global before each
[00:02:01]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:01]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596622606166#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:02:01]               │
[00:02:01]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:02]               │ debg browser[INFO] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:16:47Z
[00:02:02]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:02]               │
[00:02:02]               │      "
[00:02:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:03]               │          at Fetch._callee3$ (http://localhost:6121/34669/bundles/core/core.entry.js:34:106126)
[00:02:03]               │          at l (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155138)
[00:02:03]               │          at Generator._invoke (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:154891)
[00:02:03]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155495)
[00:02:03]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34669/bundles/core/core.entry.js:34:99267)
[00:02:03]               │          at _next (http://localhost:6121/34669/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"QsewG3w9QpubxAu47ybD8g\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg ... sleep(1000) start
[00:02:05]               │ debg ... sleep(1000) end
[00:02:05]               │ debg TestSubjects.find(docTable)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:05]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:05]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:05]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:05]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:05]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:05]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:05]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:05]               │       + expected - actual
[00:02:05]               │ 
[00:02:05]               │        [
[00:02:05]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:05]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:05]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:05]               │        ]
[00:02:05]               │       
[00:02:05]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:05]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:05]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:05]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:05]               │ 
[00:02:05]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

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-16-tests-xl-1596621431343486402] [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-16-tests-xl-1596621431343486402] [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-ubuntu-16-tests-xl-1596621431343486402] [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-16-tests-xl-1596621431343486402] [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-16-tests-xl-1596621431343486402] [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-16-tests-xl-1596621431343486402] [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: 9597
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:14]               │ 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-16-tests-xl-1596621431343486402] [.kibana_1/_5nHzpjnQN6VgbzkvTf4oQ] deleting index
[00:01:18]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/3F_etOeNS8u4eaGJhm9aRw] 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-16-tests-xl-1596621431343486402] [.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:18]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_1/uYoWc5rmSJSAVCcIgro2mQ] update_mapping [_doc]
[00:01:18]                 │ debg Migrating saved objects
[00:01:18]                 │ proc [kibana]   log   [10:16:49.593] [info][savedobjects-service] Creating index .kibana_2.
[00:01:18]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:18]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:19]                 │ proc [kibana]   log   [10:16:49.700] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/YBdFOx2iSP6mqkjuG7PeVA] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/YBdFOx2iSP6mqkjuG7PeVA] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/YBdFOx2iSP6mqkjuG7PeVA] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/YBdFOx2iSP6mqkjuG7PeVA] update_mapping [_doc]
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596621431343486402] [.kibana_2/YBdFOx2iSP6mqkjuG7PeVA] update_mapping [_doc]
[00:01:19]                 │ proc [kibana]   log   [10:16:50.019] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:19]                 │ proc [kibana]   log   [10:16:50.135] [info][savedobjects-service] Finished in 544ms.
[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 ... sleep(700) start
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596622611707#/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) end
[00:01:21]                 │ debg returned from get, calling refresh
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:16:52Z
[00:01:22]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:22]                 │
[00:01:22]                 │      "
[00:01:22]                 │ERROR browser[SEVERE] http://localhost:6141/34669/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596622611707#/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:22]                 │
[00:01:22]                 │ 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 browser[INFO] http://localhost:6141/34669/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-05T10:16:53Z
[00:01:23]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:23]                 │
[00:01:23]                 │      "
[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:23]                 │ 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:26]                 │ 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=5000
[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.7s) "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:19]                   │ 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:28]                   │ 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:31]                   │ 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:32]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:32]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:32]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:32]                   │ 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:40]                   │ 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:49]                   │ 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:52]                   │ 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:53]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:53]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:53]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ 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:02]                   │ debg ... sleep(500) end
[00:03:02]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:02]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:02]                   │ 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:05]                   │ 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:14]                   │ 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:17]                   │ 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: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: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: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:26]                   │ 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: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:38]                   │ 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: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: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: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:51]                   │ 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: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:00]                   │ 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:03]                   │ 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: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: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)

and 8 more failures, only showing the first 3.

Build metrics

Saved Objects .kibana field count

id value diff baseline
_data_stream_timestamp 1 +1 -

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:Search Querying infrastructure in Kibana release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants