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

[New Platform Migration]: Management - Implement NP API #66781

Merged
merged 129 commits into from
Jun 3, 2020

Conversation

alexwizp
Copy link
Contributor

@alexwizp alexwizp commented May 15, 2020

Closes: #47432

Dev Docs

Once #47431 is complete and reliance on old platform APIs has been removed we can implement the management NP interface and chrome - #43631

  • Refactor out use of registerLegacyApp and use react-router-dom for routing
  • Implement management landing page and sidebar in Management plugin, its currently implemented here - src/legacy/core_plugins/kibana/public/management/index.js
  • Remove legacy api from src/plugins/management/public/plugin.ts and related code

Todo List

  • Ingest Node Pipelines
    • [mattk] Appears complete
  • Logstash Pipelines
    • [mattk] Appears complete
  • Beats Central Management
    • [mattk] Initial views work with navigation. needs deeper verification

Data

Alerts and Insights

Secuity

Kibana

  • Index Patterns
    • Manually tested @mattkime
    • Issues:
    • navigation from ScriptedFields is tab not working. See functions test "management filter scripted fields should filter scripted fields"
  • Advanced Settings
  • Saved Objects e470a47
  • Spaces @alexwizp bda4b31

Stack

For maintainers

[mattk] I've set up routing in all the management sections below although it isn't working in some and needs troubleshooting. Keep the console open as you may see errors.

I created src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx to help with navigation, particularly reactRouterNavigate. Usage: <EuiLink {...reactRouterNavigate(history, '/create')} {...otherEuiLinkParams}> - it sets both onClick and href so you can navigate without a page load and yet it acts like a normal link.

@alexwizp alexwizp force-pushed the management-routing branch 2 times, most recently from 3400fd5 to a322ef7 Compare May 18, 2020 12:16
@alexwizp alexwizp changed the title [WIP][New Platform Migration]: Management - Implement NP API #47432 [WIP][New Platform Migration]: Management - Implement NP API May 18, 2020
@alexwizp alexwizp force-pushed the management-routing branch 2 times, most recently from 7cb9bff to e756202 Compare May 18, 2020 16:10
@elastic elastic deleted a comment from kibanamachine May 18, 2020
@alexwizp alexwizp force-pushed the management-routing branch from e756202 to 3740707 Compare May 18, 2020 18:13
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label May 20, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

alexwizp and others added 5 commits June 3, 2020 09:31
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
…nt_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
…nt_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

Unfortunately I identified an issue with the stack management navigation for the Anomaly Detection section. I can reproduce the issue consistently and verified it works on master as expected.

Steps to reproduce:

  • Navigate to Stack Management (works)
  • Click on Machine Learning Jobs (works)
  • Click on a job to view in Anomaly Explorer or Single Metric Viewer (works)
  • Navigate back to Stack Management (works)
  • Click on Machine Learning Jobs BLANK PAGE
  • If you then click on another menu item, Kibana completely reloads and you end up on its overall start page again.

An error gets thrown when you end up on the blank page: Uncaught (in promise) undefined

Hope this helps pinning down the problem.

stack-management-nav

@alexwizp alexwizp force-pushed the management-routing branch from cebef81 to 155c65f Compare June 3, 2020 11:34
@alexwizp
Copy link
Contributor Author

alexwizp commented Jun 3, 2020

@walterra this commit fixed problem which you showed in ML.

But I don’t really like how dependency passing is implemented in ML. Firstly, I don’t understand why a dependency caching mechanism is needed, and why we are clean that cache on app destroy (actually it was a reason of issue which you showed). It seems to me that this should be implemented in one place (plugin.ts) using setup / start / stop hooks.

@alexwizp alexwizp requested review from walterra and jportner June 3, 2020 11:42
@alexwizp
Copy link
Contributor Author

alexwizp commented Jun 3, 2020

@walterra honestly I think the following code can be also removed from plugin.ts cause it's not working fine if we execute cleanCache on app unmount. But probably I don't know all cases....

setDependencyCache({
     docLinks: core.docLinks!,
     basePath: core.http.basePath,
     http: core.http,
     i18n: core.i18n,
   });

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

@alexwizp LGTM, thanks for fixing it I can confirm it works with your commit! You're right about the dependency cache, it's a temporary workaround we used to be able to cut over to NP in time, we'll hopefully be able to remove it soonish.

@legrego legrego self-requested a review June 3, 2020 14:49
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

Security/spaces changes LGTM - thanks for the edits!

@alexwizp alexwizp merged commit d661d66 into elastic:master Jun 3, 2020
alexwizp added a commit to alexwizp/kibana that referenced this pull request Jun 3, 2020
* [New Platform Migration]: Management - Implement NP API

Part of elastic#47432

* partial progress on a number of management sections

* fix passing history

* Fixed types

* Fixed routing for Ingest Node Pipelines

* introduce and use react router wrapped eui components

* react router utils

* work in progress => hashRouter to router

* more partial progress

* remove console.log

* use reactRouterNavigate for management_sidebar

* Breadcrumbs will need to make use of the reactRouterNavigate function

* [triggersActions] app. Hash Router -> Router

* Replace /app/kibana#/management urls to /app/management

* remove ui/public/management

* fix some links to management apps

* fix management url for functional tests

* add data-test-subj for EuiSideNavItem

* partial progress

* fix some of ts issues

* Fixed breadcrumbs for data index management

* [kibana/spaces] section

* fix functional test

* [role_management] fix Breadcrumbs

* [api_keys] fix Breadcrumbs and Navigation

* Fixed routing for remote cluster

* [role_mapping] Partial progress

* [users] partial progress

* [watcher] partial progress

* fix eslint issues

* [snapshot_restore] partial progress

* [rollup_jobs] partial progress

* Fixed routing for cross cluster replications (partial progress). Enhanced reactRouterNavigate

* Perf optimization: fix extra re-rendering

* fix TS errors

* x-pack fix config for functional tests

* Fixed routing for index lifecycle management

* fix some broken CI tests

* fix PR comment

* [snapshot_restore] move onClick into reactRouterNavigate

* fix some jest

* fix some functional tests

* fix functiona test: management  scripted fields testing regression for issue

* fix some functional tests

* [licence_management] partial progress

* Fixed x-pack jest tests

* [saved_object_management] partial progress

* Fixed some tests

* fix functional test: should add new role myroleEast

* Reverted part of changes for ml

* [transforms] partial progress

* fix TS errors

* fix functional:  redirects to Kibana home

* add support of Backward compatibility

* fix functional: Saved objects management feature controls saved objects management global visualize all privileges listing redirects to Kibana home

* fix PR comment

* fix TS issues

* Fixed x-pack jest tests

* fix oss JEST

* Fixed functional test

* fix functional test

* fix PR comment

* Fixed i18n

* fix typo

* fix Styles

* Fixed paths for cross_cluster_replication

* fix wrong link

* Fixed jest

* Fixed some comments

* fix sorting

* fix type check

* fixed x-pack jest

* fixed x-pack jest

* reverted using of parentHistory

* Add debugging toasts to CCR.

* Comment out non-CCR functional tests.

* Fix typo.

* Uncomment non-CCR functional tests.

* Enable CCR.

* fix CI

* Add comment to explain why CCR is enabled by default and move config variable back to original location in CCR plugin.

* revert some changes in APM

* add space between index pattern name and tags

* fix function test

* Update x-pack/plugins/security/public/management/management_urls.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/api_keys/api_keys_management_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/spaces/public/management/spaces_management_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/roles/roles_management_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/users/users_management_app.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/management_urls.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/management_urls.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* [security] getUrlForApp -> navigateToApp

* [mp] fix Uncaught (in promise) undefined

Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
mattkime pushed a commit that referenced this pull request Jun 3, 2020
)

* [New Platform Migration]: Management - Implement NP API
@gchaps
Copy link
Contributor

gchaps commented Aug 3, 2020

@alexwizp This PR has the release_note:breaking label and therefore should be included in the Breaking Changes doc. Please add a description of the change to this PR that I can use in the doc. For an example, take a look at the 7.8 Breaking Changes doc.

@alexwizp alexwizp added release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. and removed release_note:breaking labels Aug 4, 2020
@alexwizp
Copy link
Contributor Author

alexwizp commented Aug 4, 2020

@gchaps, we decided to replace release_note:breaking label with release_note:dev_docs because this PR doesn't have any major changes for users/adminstrators.

release_note:dev_docs is more appropriate for this PR

@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:14]         └-: context app
[00:00:14]           └-> "before all" hook
[00:00:14]           └-> "before all" hook
[00:00:14]             │ info [logstash_functional] Loading "mappings.json"
[00:00:14]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:14]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:14]             │ 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:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ 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:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ 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:24]             │ info progress: 8416
[00:00:28]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:28]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:28]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:29]             │ info [visualize] Loading "mappings.json"
[00:00:29]             │ info [visualize] Loading "data.json"
[00:00:29]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1/8IJcODo3ShKUJriTn0JoNg] deleting index
[00:00:29]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [visualize] Created index ".kibana"
[00:00:29]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/9CIPkwCcQc6UYh-NpGDdDA] update_mapping [_doc]
[00:00:29]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/9CIPkwCcQc6UYh-NpGDdDA] update_mapping [_doc]
[00:00:29]             │ debg Migrating saved objects
[00:00:29]             │ proc [kibana]   log   [15:29:33.211] [info][savedobjects-service] Creating index .kibana_2.
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:29]             │ proc [kibana]   log   [15:29:33.332] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:30]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.tasks]
[00:00:30]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 831 finished with response BulkByScrollResponse[took=108.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:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/9CIPkwCcQc6UYh-NpGDdDA] deleting index
[00:00:30]             │ proc [kibana]   log   [15:29:33.805] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:30]             │ proc [kibana]   log   [15:29:33.845] [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:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/hXsr6neQTsSTzDp57kjM0A] update_mapping [_doc]
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/hXsr6neQTsSTzDp57kjM0A] update_mapping [_doc]
[00:00:30]             │ proc [kibana]   log   [15:29:34.000] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:30]             │ proc [kibana]   log   [15:29:34.070] [info][savedobjects-service] Finished in 863ms.
[00:00:30]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/hXsr6neQTsSTzDp57kjM0A] update_mapping [_doc]
[00:00:31]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/hXsr6neQTsSTzDp57kjM0A] update_mapping [_doc]
[00:00:32]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:32]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:33]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596554976375#/ 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:33]             │
[00:00:33]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:33]             │ debg ... sleep(700) start
[00:00:33]             │ debg ... sleep(700) end
[00:00:33]             │ debg returned from get, calling refresh
[00:00:34]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596554976375#/ 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:34]             │
[00:00:34]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:34]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:34]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:34]             │ debg TestSubjects.find(kibanaChrome)
[00:00:34]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:36]             │ debg browser[INFO] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T15:29:39Z
[00:00:36]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:36]             │
[00:00:36]             │      "
[00:00:36]             │ debg ... sleep(501) start
[00:00:37]             │ debg ... sleep(501) end
[00:00:37]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:37]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:37]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:39]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:15]           └-: context view for date_nanos
[00:01:15]             └-> "before all" hook
[00:01:15]             └-> "before all" hook
[00:01:15]               │ info [date_nanos] Loading "mappings.json"
[00:01:15]               │ info [date_nanos] Loading "data.json"
[00:01:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:15]               │ info [date_nanos] Created index "date-nanos"
[00:01:15]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [date-nanos/GUAl6L6_TEOpZpcFUsZBsw] update_mapping [_doc]
[00:01:15]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:15]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/hXsr6neQTsSTzDp57kjM0A] update_mapping [_doc]
[00:01:15]               │ debg Migrating saved objects
[00:01:15]               │ proc [kibana]   log   [15:30:18.966] [info][savedobjects-service] Creating index .kibana_3.
[00:01:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:15]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:15]               │ proc [kibana]   log   [15:30:19.073] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:15]               │ proc [kibana]   log   [15:30:19.087] [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:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/NVj-BlL5QBWkPjgjeFE_Yw] update_mapping [_doc]
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/NVj-BlL5QBWkPjgjeFE_Yw] update_mapping [_doc]
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/NVj-BlL5QBWkPjgjeFE_Yw] update_mapping [_doc]
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/NVj-BlL5QBWkPjgjeFE_Yw] update_mapping [_doc]
[00:01:15]               │ proc [kibana]   log   [15:30:19.275] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:15]               │ proc [kibana]   log   [15:30:19.364] [info][savedobjects-service] Finished in 401ms.
[00:01:15]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:16]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:16]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/NVj-BlL5QBWkPjgjeFE_Yw] update_mapping [_doc]
[00:01:17]             └-> displays predessors - anchor - successors in right order 
[00:01:17]               └-> "before each" hook: global before each
[00:01:17]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:17]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:17]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:17]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596555021071#/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:01:17]               │
[00:01:17]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18]               │ debg browser[INFO] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T15:30:22Z
[00:01:18]               │        Adding connection to http://localhost:6121/elasticsearch
[00:01:18]               │
[00:01:18]               │      "
[00:01:18]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:18]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:19]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:19]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:19]               │ debg --- retry.try error: loading context rows
[00:01:19]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:01:20]               │ERROR browser[SEVERE] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 333:78758 Error: Bad Request
[00:01:20]               │          at Fetch._callee3$ (http://localhost:6121/33675/bundles/core/core.entry.js:26:69976)
[00:01:20]               │          at l (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702619)
[00:01:20]               │          at Generator._invoke (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702372)
[00:01:20]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702976)
[00:01:20]               │          at fetch_asyncGeneratorStep (http://localhost:6121/33675/bundles/core/core.entry.js:26:63428)
[00:01:20]               │          at _next (http://localhost:6121/33675/bundles/core/core.entry.js:26:63744) "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\":\"HbORML06TeiRJuWmAnMjgw\",\"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:01:20]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:20]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:20]               │ debg ... sleep(1000) start
[00:01:21]               │ debg ... sleep(1000) end
[00:01:21]               │ debg TestSubjects.find(docTable)
[00:01:21]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:21]               │ 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:01:21]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:01:21]               │ 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:01:21]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:01:21]               │

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-centos-tests-xl-1596553613012908957] [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-centos-tests-xl-1596553613012908957] 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-centos-tests-xl-1596553613012908957] [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-centos-tests-xl-1596553613012908957] 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-centos-tests-xl-1596553613012908957] [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-centos-tests-xl-1596553613012908957] 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: 12334
[00:00:23]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:23]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:23]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:23]             │ info [visualize] Loading "mappings.json"
[00:00:23]             │ info [visualize] Loading "data.json"
[00:00:23]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1/WMNigTu2QzCa6-a8DrRlDA] deleting index
[00:00:23]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [visualize] Created index ".kibana"
[00:00:23]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/EuJDMxHeRMGcSLb12Psr6Q] update_mapping [_doc]
[00:00:23]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/EuJDMxHeRMGcSLb12Psr6Q] update_mapping [_doc]
[00:00:24]             │ debg Migrating saved objects
[00:00:24]             │ proc [kibana]   log   [15:26:24.640] [info][savedobjects-service] Creating index .kibana_2.
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:24]             │ proc [kibana]   log   [15:26:24.754] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.tasks]
[00:00:24]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 875 finished with response BulkByScrollResponse[took=115.1ms,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:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana/EuJDMxHeRMGcSLb12Psr6Q] deleting index
[00:00:24]             │ proc [kibana]   log   [15:26:25.253] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:24]             │ proc [kibana]   log   [15:26:25.282] [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:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/_PKE4M0MTxqJHJuMxmom9g] update_mapping [_doc]
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/_PKE4M0MTxqJHJuMxmom9g] update_mapping [_doc]
[00:00:24]             │ proc [kibana]   log   [15:26:25.425] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:25]             │ proc [kibana]   log   [15:26:25.503] [info][savedobjects-service] Finished in 866ms.
[00:00:25]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/_PKE4M0MTxqJHJuMxmom9g] update_mapping [_doc]
[00:00:26]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/_PKE4M0MTxqJHJuMxmom9g] update_mapping [_doc]
[00:00:27]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:27]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:27]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596554787837#/ 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:27]             │
[00:00:27]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:27]             │ debg ... sleep(700) start
[00:00:28]             │ debg ... sleep(700) end
[00:00:28]             │ debg returned from get, calling refresh
[00:00:29]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596554787837#/ 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:29]             │
[00:00:29]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:29]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:29]             │ debg TestSubjects.find(kibanaChrome)
[00:00:29]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:30]             │ debg browser[INFO] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T15:26:30Z
[00:00:30]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:30]             │
[00:00:30]             │      "
[00:00:30]             │ debg ... sleep(501) start
[00:00:30]             │ debg ... sleep(501) end
[00:00:30]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:30]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:30]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:33]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:06]           └-: context view for date_nanos
[00:01:06]             └-> "before all" hook
[00:01:06]             └-> "before all" hook
[00:01:06]               │ info [date_nanos] Loading "mappings.json"
[00:01:06]               │ info [date_nanos] Loading "data.json"
[00:01:06]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:06]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:06]               │ info [date_nanos] Created index "date-nanos"
[00:01:06]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:06]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [date-nanos/b_SI6TmWRL-w8VOflkHBhA] update_mapping [_doc]
[00:01:06]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:06]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:06]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/_PKE4M0MTxqJHJuMxmom9g] update_mapping [_doc]
[00:01:06]               │ debg Migrating saved objects
[00:01:06]               │ proc [kibana]   log   [15:27:07.471] [info][savedobjects-service] Creating index .kibana_3.
[00:01:07]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:07]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] 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:07]               │ proc [kibana]   log   [15:27:07.582] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:07]               │ proc [kibana]   log   [15:27:07.598] [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:07]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/H9QDJEHCTnOSdPuHbMTOOA] update_mapping [_doc]
[00:01:07]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/H9QDJEHCTnOSdPuHbMTOOA] update_mapping [_doc]
[00:01:07]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/H9QDJEHCTnOSdPuHbMTOOA] update_mapping [_doc]
[00:01:07]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/H9QDJEHCTnOSdPuHbMTOOA] update_mapping [_doc]
[00:01:07]               │ proc [kibana]   log   [15:27:07.827] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:07]               │ proc [kibana]   log   [15:27:07.920] [info][savedobjects-service] Finished in 451ms.
[00:01:07]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:08]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_3/H9QDJEHCTnOSdPuHbMTOOA] update_mapping [_doc]
[00:01:09]             └-> displays predessors - anchor - successors in right order 
[00:01:09]               └-> "before each" hook: global before each
[00:01:09]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:09]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:09]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:09]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596554829609#/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:01:09]               │
[00:01:09]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:11]               │ debg browser[INFO] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T15:27:11Z
[00:01:11]               │        Adding connection to http://localhost:6121/elasticsearch
[00:01:11]               │
[00:01:11]               │      "
[00:01:11]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:11]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:12]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:12]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:12]               │ debg --- retry.try error: loading context rows
[00:01:12]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:01:12]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:01:12]               │ERROR browser[SEVERE] http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 333:78758 Error: Bad Request
[00:01:12]               │          at Fetch._callee3$ (http://localhost:6121/33675/bundles/core/core.entry.js:26:69976)
[00:01:12]               │          at l (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702619)
[00:01:12]               │          at Generator._invoke (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702372)
[00:01:12]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702976)
[00:01:12]               │          at fetch_asyncGeneratorStep (http://localhost:6121/33675/bundles/core/core.entry.js:26:63428)
[00:01:12]               │          at _next (http://localhost:6121/33675/bundles/core/core.entry.js:26:63744) "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\":\"PjfW6IzIQGuglbJVWv9hhg\",\"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:01:13]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:13]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:13]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:13]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:13]               │ debg ... sleep(1000) start
[00:01:14]               │ debg ... sleep(1000) end
[00:01:14]               │ debg TestSubjects.find(docTable)
[00:01:14]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:14]               │ 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:01:14]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:01:14]               │ 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:01:14]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:01:14]               │

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-centos-tests-xl-1596553613012908957] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [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-centos-tests-xl-1596553613012908957] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [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: 10229
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:13]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:01:25]             └-: dashboard filter bar
[00:01:25]               └-> "before all" hook
[00:01:25]               └-> "before all" hook
[00:01:25]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:25]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:25]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1/rNvmnY6XRh-8bKwwROU0Kg] deleting index
[00:01:25]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/nr4n9d_XRwmAR4pRBuXFHg] deleting index
[00:01:25]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:26]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:26]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:26]                 │ info [dashboard/current/kibana] Indexed 139 docs into ".kibana_1"
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_1/zyolck9fSS6urd8Cg8jgUg] update_mapping [_doc]
[00:01:26]                 │ debg Migrating saved objects
[00:01:26]                 │ proc [kibana]   log   [15:28:10.859] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:01:26]                 │ proc [kibana]   log   [15:28:10.863] [info][savedobjects-service] Creating index .kibana_2.
[00:01:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:26]                 │ proc [kibana]   log   [15:28:10.961] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596553613012908957] [.kibana_2/Y62zTO9mRYKDIOwpcBVbLA] update_mapping [_doc]
[00:01:26]                 │ proc [kibana]   log   [15:28:11.364] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:26]                 │ proc [kibana]   log   [15:28:11.457] [info][savedobjects-service] Finished in 597ms.
[00:01:26]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:28]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:28]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:28]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596554892957#/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:28]                 │
[00:01:28]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:28]                 │ debg ... sleep(700) start
[00:01:29]                 │ debg ... sleep(700) end
[00:01:29]                 │ debg returned from get, calling refresh
[00:01:30]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596554892957#/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:30]                 │
[00:01:30]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:30]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:30]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:30]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:30]                 │ debg browser[INFO] http://localhost:6141/33675/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T15:28:15Z
[00:01:30]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:30]                 │
[00:01:30]                 │      "
[00:01:30]                 │ debg ... sleep(501) start
[00:01:31]                 │ debg ... sleep(501) end
[00:01:31]                 │ 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:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:33]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:57]               └-: filter editor field list
[00:01:57]                 └-> "before all" hook
[00:01:57]                 └-> "before all" hook
[00:01:57]                   │ debg gotoDashboardLandingPage
[00:01:57]                   │ debg onDashboardLandingPage
[00:01:57]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:02:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:03]                   │ debg clickDashboardBreadcrumbLink
[00:02:03]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:02:03]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:02:03]                   │ debg expectExistsDashboardLandingPage
[00:02:03]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:02:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:02:03]                   │ debg TestSubjects.exists(newItemButton)
[00:02:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:02:03]                   │ debg TestSubjects.click(newItemButton)
[00:02:03]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:03]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:03]                   │ debg waitForRenderComplete
[00:02:03]                   │ debg in getSharedItemsCount
[00:02:03]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:02:04]                   │ debg Renderable.waitForRender for 0 elements
[00:02:04]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:14]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:15]                 └-> uses default index pattern on an empty dashboard
[00:02:15]                   └-> "before each" hook: global before each
[00:02:15]                   │ debg TestSubjects.click(addFilter)
[00:02:15]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:15]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:15]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:15]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:15]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:15]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:15]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:15]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:15]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:16]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:16]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:16]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:16]                   └- ✓ pass  (1.6s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:16]                 └-> shows index pattern of vis when one is added
[00:02:16]                   └-> "before each" hook: global before each
[00:02:16]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:16]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[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 DashboardAddPanel.clickOpenAddPanel
[00:02:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg ... sleep(500) start
[00:02:20]                   │ debg ... sleep(500) end
[00:02:20]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:20]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:23]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:24]                   │ debg ... sleep(500) end
[00:02:24]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:24]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:27]                   │ debg --- retry.try failed again with the same message...
[00:02: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:28]                   │ debg ... sleep(500) end
[00:02:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:31]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:31]                   │ debg --- retry.try failed again with the same message...
[00:02: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:32]                   │ 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:35]                   │ 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:36]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:36]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:36]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg ... sleep(500) start
[00:02: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:39]                   │ 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:40]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:40]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:40]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg ... sleep(500) start
[00:02:41]                   │ debg ... sleep(500) end
[00:02:41]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:41]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:43]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:44]                   │ debg --- retry.try failed again with the same message...
[00:02:44]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:44]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:44]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:44]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg ... sleep(500) start
[00:02:45]                   │ debg ... sleep(500) end
[00:02:45]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:45]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:48]                   │ debg --- retry.try failed again with the same message...
[00:02: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:49]                   │ debg ... sleep(500) end
[00:02:49]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:49]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:52]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:52]                   │ debg --- retry.try failed again with the same message...
[00:02: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:53]                   │ 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:56]                   │ 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:57]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:57]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:57]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg ... sleep(500) start
[00:02: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:00]                   │ 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:01]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:01]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:01]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg ... sleep(500) start
[00:03: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:04]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:05]                   │ debg --- retry.try failed again with the same message...
[00:03:05]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:05]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:05]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:05]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg ... sleep(500) start
[00:03:06]                   │ debg ... sleep(500) end
[00:03:06]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:06]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:09]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:09]                   │ debg --- retry.try failed again with the same message...
[00:03: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:10]                   │ debg ... sleep(500) end
[00:03:10]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:10]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:13]                   │ debg --- retry.try failed again with the same message...
[00:03: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:14]                   │ debg ... sleep(500) end
[00:03:14]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:14]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:17]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:17]                   │ debg --- retry.try failed again with the same message...
[00:03:18]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:18]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:18]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg ... sleep(500) start
[00:03: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:21]                   │ 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:22]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:22]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:22]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg ... sleep(500) start
[00:03:23]                   │ debg ... sleep(500) end
[00:03:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:25]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:26]                   │ debg --- retry.try failed again with the same message...
[00:03:26]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:26]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:26]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg ... sleep(500) start
[00:03:27]                   │ debg ... sleep(500) end
[00:03:27]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:27]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:30]                   │ debg --- retry.try failed again with the same message...
[00:03: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:31]                   │ debg ... sleep(500) end
[00:03:31]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:31]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:34]                   │ debg --- retry.try failed again with the same message...
[00:03: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:35]                   │ debg ... sleep(500) end
[00:03:35]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:35]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:38]                   │ debg --- retry.try failed again with the same message...
[00:03:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg ... sleep(500) start
[00:03: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:42]                   │ 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:43]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:43]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:43]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg ... sleep(500) start
[00:03: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:46]                   │ 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:47]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:47]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:47]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg ... sleep(500) start
[00:03:48]                   │ debg ... sleep(500) end
[00:03:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:50]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:51]                   │ debg --- retry.try failed again with the same message...
[00:03:51]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:51]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:51]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg ... sleep(500) start
[00:03:52]                   │ debg ... sleep(500) end
[00:03:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:55]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:55]                   │ debg --- retry.try failed again with the same message...
[00:03: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:56]                   │ debg ... sleep(500) end
[00:03:56]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:56]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:59]                   │ 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:00]                   │ debg ... sleep(500) end
[00:04:00]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:00]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:03]                   │ debg --- retry.try failed again with the same message...
[00:04:04]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:04]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg ... sleep(500) start
[00:04:04]                   │ debg ... sleep(500) end
[00:04:04]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:04]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:07]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:08]                   │ debg --- retry.try failed again with the same message...
[00:04:08]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:08]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:08]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg ... sleep(500) start
[00:04: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:11]                   │ 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:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg ... sleep(500) start
[00:04:13]                   │ debg ... sleep(500) end
[00:04:13]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:13]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:16]                   │ debg --- retry.try failed again with the same message...
[00:04:16]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:16]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:16]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:16]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:17]                   │ debg ... sleep(500) start
[00:04:17]                   │ debg ... sleep(500) end
[00:04:17]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:17]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:20]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:20]                   │ debg --- retry.try failed again with the same message...
[00:04:21]                   │ 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:21]                   │ 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:21]                   │ 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:21]                   └- ✖ fail: "dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added"
[00:04:21]                   │

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 5 more failures, only showing the first 3.

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:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Feature:NP Migration release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Platform Migration]: Management - Implement NP API