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

Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE #66838

Conversation

YulNaumenko
Copy link
Contributor

@YulNaumenko YulNaumenko commented May 16, 2020

Resolve #59799

Dev Docs

Renamed alerting plugin to alerts.

API changes:

  1. Changed actions BASE_ALERT_API_PATH to '/api/alerts' - according to styleguide it should keep structure /api/plugin_id
  2. Changed endpoint /api/alert/_find just to /api/alerts/_find
  3. Changed /types to /list_alert_types
  4. Changes POST /api/alert to POST /api/alerts/alert
  5. Changed GET /api/alert/{id} to GET /api/alerts/alert/{id}
  6. Changed PUT /api/alert/{id} PUT /api/alerts/alert/{id}
  7. Changed DELETE /api/alert/{id} to DELETE /api/alerts/alert/{id}
  8. Changed GET /api/alert/{id}/state to GET /api/alerts/alert/{id}/state
  9. Changed POST /api/alert/{id}/_enable to POST /api/alerts/alert/{id}/_enable
  10. Changed POST /api/alert/{id}/_disable to POST /api/alerts/alert/{id}/_disable
  11. Changed POST /api/alert/{id}/_mute_all to POST /api/alerts/alert/{id}/_mute_all
  12. Changed POST /api/alert/{alertId}/alert_instance/{alertInstanceId}/_mute to POST /api/alerts/alert/{alertId}/alert_instance/{alertInstanceId}/_mute
  13. Changed POST /api/alert/{id}/_unmute_all to POST /api/alerts/alert/{id}/_unmute_all
  14. Changed POST /api/alert/{id}/_update_api_key to POST /api/alerts/alert/{id}/_update_api_key
  15. Changed POST /api/alert/{alertId}/alert_instance/{alertInstanceId}/_unmute to POST /api/alerts/alert/{alertId}/alert_instance/{alertInstanceId}/_unmute

@YulNaumenko YulNaumenko added Feature:Alerting v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 labels May 16, 2020
@YulNaumenko YulNaumenko requested a review from a team as a code owner May 16, 2020 00:36
@YulNaumenko YulNaumenko self-assigned this May 16, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

…rls-to-kibana-styleguide

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@YulNaumenko YulNaumenko changed the title [Draft] Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE May 26, 2020
@YulNaumenko YulNaumenko requested review from a team as code owners May 26, 2020 21:05
@spalger
Copy link
Contributor

spalger commented May 26, 2020

@elasticmachine merge upstream

@spalger
Copy link
Contributor

spalger commented May 26, 2020

(jenkins upgrade required killing all jobs)

…m:YulNaumenko/kibana into alerting-change-urls-to-kibana-styleguide
…rls-to-kibana-styleguide

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@YulNaumenko
Copy link
Contributor Author

@elastic/kibana-alerting-services I want to get the team thoughts about renaming alerting plugin to alerts - according to the current PR our API for alerts will look like api/alerts/alert/{id} and it seems to be right according to Kibana styleguide to have a pattern for our apis like api/{plugin}/{type}/{id}

Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

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

SIEM changes LGTM -- thanks! 🙂👍

@mikecote
Copy link
Contributor

I'm +1 on renaming the plugin to alerts curious what others think as well.

…rls-to-kibana-styleguide

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@YulNaumenko YulNaumenko requested review from a team as code owners May 27, 2020 23:34
@YulNaumenko YulNaumenko requested a review from a team May 27, 2020 23:34
Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM for stack monitoring

@mikecote
Copy link
Contributor

mikecote commented May 28, 2020

@jarpy

EDIT2: But under the new model, do you still need the underscore?

This is based on the way that the Elasticsearch team has designed their APIs. There isn't a formal convention for this but I've seen a few teams in Kibana follow it whenever an API doesn't fit cleanly within the common interpretation of a RESTful HTTP API, a _ is used to denote exactly this. I'd say we keep the prefix for consistency.

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

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

In Uptime I'm seeing an error when I try to open our alert flyouts. When the flyout opens the plugin crashes.

May-28-2020 09-54-00

Primary error message:

TypeError: alertTypesIndex[alertTypeRegistryItem.id] is undefined

Looking briefly at the code changes for Uptime I am not seeing exactly where the error was. I tried moving the alert registration out of mount (which is something we're implementing right now anyway) but that didn't seem to be the cause.

Copy link
Contributor

@smith smith left a comment

Choose a reason for hiding this comment

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

APM changes look good.

@YulNaumenko
Copy link
Contributor Author

In Uptime I'm seeing an error when I try to open our alert flyouts. When the flyout opens the plugin crashes.

May-28-2020 09-54-00

Primary error message:

TypeError: alertTypesIndex[alertTypeRegistryItem.id] is undefined

Looking briefly at the code changes for Uptime I am not seeing exactly where the error was. I tried moving the alert registration out of mount (which is something we're implementing right now anyway) but that didn't seem to be the cause.

@justinkambic thank you for catching this issue, I will fix it.

…rls-to-kibana-styleguide

# Conflicts:
#	x-pack/plugins/siem/server/lib/detection_engine/signals/search_after_bulk_create.ts
@YulNaumenko YulNaumenko added v7.9.0 and removed v7.8.0 labels May 28, 2020
Copy link
Member

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

code LGTM

@@ -4,6 +4,6 @@
"kibanaVersion": "kibana",
Copy link
Member

Choose a reason for hiding this comment

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

should we also change the directory name alerting_example to alerts_example. I'd suggest opening a separate issue for that, 307 files already now, this one isn't critical

@@ -1,7 +1,7 @@
# alerting_builtins plugin
Copy link
Member

Choose a reason for hiding this comment

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

same as with the alerting example, we probably want this renamed as well, to alerts_builtins, but it's not critical ATM - I don't think anything should be referencing this plugin anyway

x-pack/test/case_api_integration/common/config.ts Outdated Show resolved Hide resolved
@pmuellr
Copy link
Member

pmuellr commented May 29, 2020

Noticed there are a lot of functional test failures. Just starting to look at it, on the server side I see a lot of these:

   │ proc [kibana] server    log   [15:39:55.654] [warning][api-authorization][plugins][security] User not authorized for "/api/alerts/alert": responding with 404

There must be some basic security thing going on here, I guess with the URL path change.

…rls-to-kibana-styleguide

# Conflicts:
#	x-pack/plugins/alerts/server/alerts_client.test.ts
#	x-pack/plugins/alerts/server/alerts_client_factory.test.ts
…rls-to-kibana-styleguide

# Conflicts:
#	x-pack/plugins/siem/server/lib/detection_engine/routes/rules/validate.test.ts
@YulNaumenko YulNaumenko merged commit ce45dad into elastic:master Jun 2, 2020
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Jun 2, 2020
…na STYLEGUIDE (elastic#66838)

* Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE

* Changed alerting REST API to keep the pattern 'alerts/alert/{id}'

* fixed tests

* fixed tests

* Fixed jest tests

* Renamed plugin from alerting to alerts

* fixed tests

* fixed tests

* Fixed alert type check error

* Fixed find api

* fixed type checks

* fixed tests security issues

* Fixed view in app

* -

Co-authored-by: Elastic Machine <[email protected]>
# Conflicts:
#	.github/CODEOWNERS
#	rfcs/text/0003_handler_interface.md
@mikecote mikecote added release_note:breaking and removed release_note:skip Skip the PR/issue when compiling release notes labels Jun 2, 2020
YulNaumenko added a commit that referenced this pull request Jun 2, 2020
…na STYLEGUIDE (#66838) (#67919)

* Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE

* Changed alerting REST API to keep the pattern 'alerts/alert/{id}'

* fixed tests

* fixed tests

* Fixed jest tests

* Renamed plugin from alerting to alerts

* fixed tests

* fixed tests

* Fixed alert type check error

* Fixed find api

* fixed type checks

* fixed tests security issues

* Fixed view in app

* -

Co-authored-by: Elastic Machine <[email protected]>
# Conflicts:
#	.github/CODEOWNERS
#	rfcs/text/0003_handler_interface.md
@gchaps gchaps 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
@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:/elastic/kibana/issues/58815

[00:00:00]       │
[00:00:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:13]             │ 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:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:13]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:13]             │ 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:23]             │ info progress: 8683
[00:00:27]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:27]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:27]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1/VyJQr6NuSBuYvSFNk-bQlA] deleting index
[00:00:28]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:28]             │ info [visualize] Created index ".kibana"
[00:00:28]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/c567_uITQMa-Di1WkFex5g] update_mapping [_doc]
[00:00:28]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/c567_uITQMa-Di1WkFex5g] update_mapping [_doc]
[00:00:28]             │ debg Migrating saved objects
[00:00:28]             │ proc [kibana]   log   [16:41:57.339] [info][savedobjects-service] Creating index .kibana_2.
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:28]             │ proc [kibana]   log   [16:41:57.428] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.tasks]
[00:00:28]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 831 finished with response BulkByScrollResponse[took=68.3ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/c567_uITQMa-Di1WkFex5g] deleting index
[00:00:28]             │ proc [kibana]   log   [16:41:57.861] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [16:41:57.897] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/YaI3zqC9RduzLDN5_hmwbw] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/YaI3zqC9RduzLDN5_hmwbw] update_mapping [_doc]
[00:00:29]             │ proc [kibana]   log   [16:41:58.027] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:29]             │ proc [kibana]   log   [16:41:58.088] [info][savedobjects-service] Finished in 752ms.
[00:00:29]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/YaI3zqC9RduzLDN5_hmwbw] update_mapping [_doc]
[00:00:30]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/YaI3zqC9RduzLDN5_hmwbw] update_mapping [_doc]
[00:00:31]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:31]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:31]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596559320476#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:31]             │
[00:00:31]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]             │ debg ... sleep(700) start
[00:00:32]             │ debg ... sleep(700) end
[00:00:32]             │ debg returned from get, calling refresh
[00:00:33]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596559320476#/ 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 currentUrl = http://localhost:6121/app/discover#/
[00:00:33]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:33]             │ debg TestSubjects.find(kibanaChrome)
[00:00:33]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:34]             │ debg browser[INFO] http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T16:42:03Z
[00:00:34]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:34]             │
[00:00:34]             │      "
[00:00:34]             │ debg ... sleep(501) start
[00:00:35]             │ debg ... sleep(501) end
[00:00:35]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:35]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:35]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:37]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:14]           └-: context view for date_nanos
[00:01:14]             └-> "before all" hook
[00:01:14]             └-> "before all" hook
[00:01:14]               │ info [date_nanos] Loading "mappings.json"
[00:01:14]               │ info [date_nanos] Loading "data.json"
[00:01:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:14]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:14]               │ info [date_nanos] Created index "date-nanos"
[00:01:14]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [date-nanos/qBS-NPJmSqKR7130cTefQA] update_mapping [_doc]
[00:01:14]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:14]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/YaI3zqC9RduzLDN5_hmwbw] update_mapping [_doc]
[00:01:14]               │ debg Migrating saved objects
[00:01:14]               │ proc [kibana]   log   [16:42:43.494] [info][savedobjects-service] Creating index .kibana_3.
[00:01:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:14]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:14]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:14]               │ proc [kibana]   log   [16:42:43.596] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:14]               │ proc [kibana]   log   [16:42:43.607] [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:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/jSAjPHEaSIKS0Eoze-cGJg] update_mapping [_doc]
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/jSAjPHEaSIKS0Eoze-cGJg] update_mapping [_doc]
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/jSAjPHEaSIKS0Eoze-cGJg] update_mapping [_doc]
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/jSAjPHEaSIKS0Eoze-cGJg] update_mapping [_doc]
[00:01:14]               │ proc [kibana]   log   [16:42:43.755] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:14]               │ proc [kibana]   log   [16:42:43.825] [info][savedobjects-service] Finished in 333ms.
[00:01:14]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:15]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/jSAjPHEaSIKS0Eoze-cGJg] update_mapping [_doc]
[00:01:16]             └-> displays predessors - anchor - successors in right order 
[00:01:16]               └-> "before each" hook: global before each
[00:01:16]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:16]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:16]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:16]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596559365612#/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:16]               │
[00:01:16]               │ 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/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T16:42:47Z
[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:18]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:18]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:18]               │ debg --- retry.try error: loading context rows
[00:01:18]               │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:18]               │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:18]               │ERROR browser[SEVERE] http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 333:78758 Error: Bad Request
[00:01:18]               │          at Fetch._callee3$ (http://localhost:6121/33538/bundles/core/core.entry.js:26:69977)
[00:01:18]               │          at l (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702619)
[00:01:18]               │          at Generator._invoke (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702372)
[00:01:18]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702976)
[00:01:18]               │          at fetch_asyncGeneratorStep (http://localhost:6121/33538/bundles/core/core.entry.js:26:63429)
[00:01:18]               │          at _next (http://localhost:6121/33538/bundles/core/core.entry.js:26:63745) "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\":\"iGcZvvCmTuScu5N8SNSLjw\",\"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:19]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:19]               │ 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 ... sleep(1000) start
[00:01:20]               │ debg ... sleep(1000) end
[00:01:20]               │ debg TestSubjects.find(docTable)
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:20]               │ 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:20]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:01:20]               │ 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:20]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:01:20]               │

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:/elastic/kibana/issues/58815

[00:00:00]       │
[00:00:12]         └-: context app
[00:00:12]           └-> "before all" hook
[00:00:12]           └-> "before all" hook
[00:00:12]             │ info [logstash_functional] Loading "mappings.json"
[00:00:12]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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: 12029
[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:24]             │ info [visualize] Loading "mappings.json"
[00:00:24]             │ info [visualize] Loading "data.json"
[00:00:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1/ml6Fg2bBQ8mUdoQTcfJ9CQ] deleting index
[00:00:24]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [visualize] Created index ".kibana"
[00:00:24]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/-3N23BJmTJGP9GGH6jwc3g] update_mapping [_doc]
[00:00:24]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/-3N23BJmTJGP9GGH6jwc3g] update_mapping [_doc]
[00:00:24]             │ debg Migrating saved objects
[00:00:24]             │ proc [kibana]   log   [16:38:58.143] [info][savedobjects-service] Creating index .kibana_2.
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:24]             │ proc [kibana]   log   [16:38:58.233] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.tasks]
[00:00:25]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 837 finished with response BulkByScrollResponse[took=80.4ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/-3N23BJmTJGP9GGH6jwc3g] deleting index
[00:00:25]             │ proc [kibana]   log   [16:38:58.691] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:25]             │ proc [kibana]   log   [16:38:58.720] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/DQ5667niTiWrvoV1DTgMHw] update_mapping [_doc]
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/DQ5667niTiWrvoV1DTgMHw] update_mapping [_doc]
[00:00:25]             │ proc [kibana]   log   [16:38:58.835] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:25]             │ proc [kibana]   log   [16:38:58.908] [info][savedobjects-service] Finished in 767ms.
[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-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/DQ5667niTiWrvoV1DTgMHw] update_mapping [_doc]
[00:00:26]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/DQ5667niTiWrvoV1DTgMHw] update_mapping [_doc]
[00:00:28]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:28]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:28]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596559141289#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:28]             │
[00:00:28]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 11:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:28]             │ debg ... sleep(700) start
[00:00: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=1596559141289#/ 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:31]             │ debg browser[INFO] http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T16:39:04Z
[00:00:31]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:31]             │
[00:00:31]             │      "
[00:00:31]             │ debg ... sleep(501) start
[00:00:32]             │ debg ... sleep(501) end
[00:00:32]             │ debg in navigateTo url = http://localhost:6121/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:32]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:32]             │ debg ... sleep(501) start
[00:00:33]             │ debg ... sleep(501) end
[00:00:33]             │ debg in navigateTo url = http://localhost:6121/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:00:33]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:33]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:35]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:10]           └-: context view for date_nanos
[00:01:10]             └-> "before all" hook
[00:01:10]             └-> "before all" hook
[00:01:10]               │ info [date_nanos] Loading "mappings.json"
[00:01:10]               │ info [date_nanos] Loading "data.json"
[00:01:10]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:10]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:10]               │ info [date_nanos] Created index "date-nanos"
[00:01:10]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:10]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [date-nanos/GW25ixeVS32Tvrfh656Gmg] update_mapping [_doc]
[00:01:10]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:10]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:10]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/DQ5667niTiWrvoV1DTgMHw] update_mapping [_doc]
[00:01:10]               │ debg Migrating saved objects
[00:01:10]               │ proc [kibana]   log   [16:39:44.194] [info][savedobjects-service] Creating index .kibana_3.
[00:01:10]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:10]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:10]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 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:11]               │ proc [kibana]   log   [16:39:44.297] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:11]               │ proc [kibana]   log   [16:39:44.308] [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:11]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/PXs1DiIqQdK5dbtaIE1lhg] update_mapping [_doc]
[00:01:11]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/PXs1DiIqQdK5dbtaIE1lhg] update_mapping [_doc]
[00:01:11]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/PXs1DiIqQdK5dbtaIE1lhg] update_mapping [_doc]
[00:01:11]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/PXs1DiIqQdK5dbtaIE1lhg] update_mapping [_doc]
[00:01:11]               │ proc [kibana]   log   [16:39:44.488] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:11]               │ proc [kibana]   log   [16:39:44.571] [info][savedobjects-service] Finished in 380ms.
[00:01:11]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:11]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:11]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_3/PXs1DiIqQdK5dbtaIE1lhg] update_mapping [_doc]
[00:01:12]             └-> displays predessors - anchor - successors in right order 
[00:01:12]               └-> "before each" hook: global before each
[00:01:12]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:13]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:13]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:14]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596559186288#/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:14]               │
[00:01:14]               │ 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:14]               │ debg browser[INFO] http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T16:39:47Z
[00:01:14]               │        Adding connection to http://localhost:6121/elasticsearch
[00:01:14]               │
[00:01:14]               │      "
[00:01:14]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:14]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:15]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:15]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:15]               │ debg --- retry.try error: loading context rows
[00:01:15]               │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:15]               │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:15]               │ERROR browser[SEVERE] http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 333:78758 Error: Bad Request
[00:01:15]               │          at Fetch._callee3$ (http://localhost:6121/33538/bundles/core/core.entry.js:26:69977)
[00:01:15]               │          at l (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702619)
[00:01:15]               │          at Generator._invoke (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702372)
[00:01:15]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:702976)
[00:01:15]               │          at fetch_asyncGeneratorStep (http://localhost:6121/33538/bundles/core/core.entry.js:26:63429)
[00:01:15]               │          at _next (http://localhost:6121/33538/bundles/core/core.entry.js:26:63745) "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\":\"aGcr74uNTY25j-Bw6fYYpw\",\"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:15]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:01:15]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:01:15]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:01:15]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:01:15]               │ debg ... sleep(1000) start
[00:01:16]               │ debg ... sleep(1000) end
[00:01:16]               │ debg TestSubjects.find(docTable)
[00:01:16]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:01:17]               │ 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:17]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:01:17]               │ 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:17]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:01:17]               │

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:/elastic/kibana/issues/71987

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [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: 10436
[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-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/FMN6Og7ERdKiBFoX1Tfg4A] deleting index
[00:01:25]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1/m2sGF0JyT-qrc9vVykZpFA] 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-ubuntu-16-tests-xl-1596558059810105609] [.kibana] creating index, cause [api], templates [], shards [1]/[0]
[00:01:25]                 │ info [dashboard/current/kibana] Created index ".kibana"
[00:01:25]                 │ debg [dashboard/current/kibana] ".kibana" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:25]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/9VIBW95aQ6SqHsFqNesqJg] update_mapping [_doc]
[00:01:25]                 │ info [dashboard/current/kibana] Indexed 86 docs into ".kibana"
[00:01:25]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/9VIBW95aQ6SqHsFqNesqJg] update_mapping [_doc]
[00:01:25]                 │ debg Migrating saved objects
[00:01:25]                 │ proc [kibana]   log   [16:40:42.655] [info][savedobjects-service] Creating index .kibana_2.
[00:01:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:25]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:25]                 │ proc [kibana]   log   [16:40:42.728] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:01:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:01:25]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] updating number_of_replicas to [0] for indices [.kibana_1]
[00:01:25]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] 1572 finished with response BulkByScrollResponse[took=68.7ms,timed_out=false,sliceId=null,updated=0,created=86,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:01:26]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana/9VIBW95aQ6SqHsFqNesqJg] deleting index
[00:01:26]                 │ proc [kibana]   log   [16:40:43.097] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:26]                 │ proc [kibana]   log   [16:40:43.565] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:26]                 │ proc [kibana]   log   [16:40:43.621] [info][savedobjects-service] Finished in 969ms.
[00:01:26]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:01:26]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596558059810105609] [.kibana_2/rER1zzYgSTeC8i4kmyNneg] update_mapping [_doc]
[00:01:27]                 │ 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:29]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596559245786#/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:29]                 │
[00:01:29]                 │ 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:29]                 │ 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=1596559245786#/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:31]                 │ debg browser[INFO] http://localhost:6141/33538/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-08-04T16:40:48Z
[00:01:31]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:31]                 │
[00:01:31]                 │      "
[00:01:31]                 │ debg ... sleep(501) start
[00:01:32]                 │ debg ... sleep(501) end
[00:01:32]                 │ 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:32]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:34]                 │ 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:02:00]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:02:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:04]                   │ debg clickDashboardBreadcrumbLink
[00:02:04]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:02:04]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:02:04]                   │ debg expectExistsDashboardLandingPage
[00:02:04]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:02:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:02:04]                   │ debg TestSubjects.exists(newItemButton)
[00:02:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:02:04]                   │ debg TestSubjects.click(newItemButton)
[00:02:04]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:04]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:02:04]                   │ debg waitForRenderComplete
[00:02:04]                   │ debg in getSharedItemsCount
[00:02:04]                   │ 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:16]                 └-> uses default index pattern on an empty dashboard
[00:02:16]                   └-> "before each" hook: global before each
[00:02:16]                   │ debg TestSubjects.click(addFilter)
[00:02:16]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:16]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:16]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:16]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:16]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:16]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:17]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:17]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:17]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:17]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:17]                   └- ✓ pass  (1.5s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:17]                 └-> shows index pattern of vis when one is added
[00:02:17]                   └-> "before each" hook: global before each
[00:02:17]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:17]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:17]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:17]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:20]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:20]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:20]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:20]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg ... sleep(500) start
[00:02:21]                   │ debg ... sleep(500) end
[00:02:21]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:21]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:23]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:24]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:24]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:24]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:25]                   │ debg ... sleep(500) end
[00:02:25]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:25]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:28]                   │ debg --- retry.try failed again with the same message...
[00:02:28]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:28]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:28]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:29]                   │ debg ... sleep(500) start
[00:02:29]                   │ debg ... sleep(500) end
[00:02:29]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:29]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:32]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:32]                   │ debg --- retry.try failed again with the same message...
[00:02:33]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:33]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:33]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg ... sleep(500) start
[00:02:33]                   │ debg ... sleep(500) end
[00:02:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:36]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:36]                   │ debg --- retry.try failed again with the same message...
[00:02:37]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:37]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:37]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg ... sleep(500) start
[00:02:37]                   │ debg ... sleep(500) end
[00:02:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:40]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:40]                   │ debg --- retry.try failed again with the same message...
[00:02:41]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:41]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:41]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:41]                   │ debg ... sleep(500) start
[00:02:42]                   │ debg ... sleep(500) end
[00:02:42]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:42]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:44]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:45]                   │ debg --- retry.try failed again with the same message...
[00:02:45]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:45]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:45]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg ... sleep(500) start
[00:02:46]                   │ debg ... sleep(500) end
[00:02:46]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:49]                   │ debg --- retry.try failed again with the same message...
[00:02:49]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:49]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:49]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg ... sleep(500) start
[00:02:50]                   │ debg ... sleep(500) end
[00:02:50]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:50]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:52]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:53]                   │ debg --- retry.try failed again with the same message...
[00:02:53]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:53]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:53]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:54]                   │ debg ... sleep(500) start
[00:02:54]                   │ debg ... sleep(500) end
[00:02:54]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:54]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:57]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:57]                   │ debg --- retry.try failed again with the same message...
[00:02:58]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:58]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:58]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:58]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:58]                   │ debg ... sleep(500) start
[00:02:58]                   │ debg ... sleep(500) end
[00:02:58]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:58]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:01]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:01]                   │ debg --- retry.try failed again with the same message...
[00:03:02]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:02]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:02]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:02]                   │ debg ... sleep(500) start
[00:03:02]                   │ debg ... sleep(500) end
[00:03:02]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:02]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:05]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:06]                   │ debg --- retry.try failed again with the same message...
[00:03:06]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:06]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:06]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:06]                   │ debg ... sleep(500) start
[00:03:07]                   │ debg ... sleep(500) end
[00:03:07]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:07]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:09]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:10]                   │ debg --- retry.try failed again with the same message...
[00:03:10]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:10]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:10]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg ... sleep(500) start
[00:03:11]                   │ debg ... sleep(500) end
[00:03:11]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:11]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:14]                   │ debg --- retry.try failed again with the same message...
[00:03:14]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:14]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:14]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg ... sleep(500) start
[00:03:15]                   │ debg ... sleep(500) end
[00:03:15]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:15]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:18]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:18]                   │ debg --- retry.try failed again with the same message...
[00:03:19]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:19]                   │ debg ... sleep(500) start
[00:03:19]                   │ debg ... sleep(500) end
[00:03:19]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:19]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:22]                   │ debg --- retry.try failed again with the same message...
[00:03:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:23]                   │ debg ... sleep(500) start
[00:03:23]                   │ debg ... sleep(500) end
[00:03:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:26]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:26]                   │ debg --- retry.try failed again with the same message...
[00:03:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:27]                   │ debg ... sleep(500) start
[00:03:28]                   │ debg ... sleep(500) end
[00:03:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:31]                   │ debg --- retry.try failed again with the same message...
[00:03:31]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:31]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:31]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:31]                   │ debg ... sleep(500) start
[00:03:32]                   │ debg ... sleep(500) end
[00:03:32]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:32]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:35]                   │ debg --- retry.try failed again with the same message...
[00:03:35]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:35]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:35]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg ... sleep(500) start
[00:03:36]                   │ debg ... sleep(500) end
[00:03:36]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:36]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:39]                   │ debg --- retry.try failed again with the same message...
[00:03:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03: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:44]                   │ debg ... sleep(500) start
[00:03:44]                   │ debg ... sleep(500) end
[00:03:44]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:44]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:47]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:47]                   │ debg --- retry.try failed again with the same message...
[00:03:48]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:48]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:48]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:48]                   │ debg ... sleep(500) start
[00:03:48]                   │ debg ... sleep(500) end
[00:03:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:51]                   │ debg --- retry.try failed again with the same message...
[00:03:52]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:52]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:52]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:52]                   │ debg ... sleep(500) start
[00:03: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:57]                   │ debg ... sleep(500) end
[00:03:57]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:57]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:00]                   │ debg --- retry.try failed again with the same message...
[00:04:00]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:00]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:00]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:00]                   │ debg ... sleep(500) start
[00:04:01]                   │ debg ... sleep(500) end
[00:04:01]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:04]                   │ debg --- retry.try failed again with the same message...
[00:04:04]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:04]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg ... sleep(500) start
[00:04:05]                   │ debg ... sleep(500) end
[00:04:05]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:05]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04: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:13]                   │ 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:16]                   │ 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:17]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:17]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:17]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:17]                   │ 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.js:119: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 6 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:Alerting 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:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) 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.

Alerting and action APIs to follow kibana STYLEGUIDE