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

[KP] Separate onPreAuth & onPreRouting http interceptors #70775

Merged
merged 8 commits into from
Jul 13, 2020

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Jul 6, 2020

Summary

Renames onPreAuth interceptor to onPreRouting since it's used to support Spaces use-case to redirect an incoming request to space-aware URL before auth.
Adds onPreAuth interceptor to support #70495 Fleet circuit breaker use-case when some logic should be performed after a route lookup, but before auth to avoid potentially expensive requests to ES server.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

Dev Docs

onPreAuth interceptor has been renamed to onPreRouting which reflects its place in the execution order better: it's called right before route lookup step. We added a new onPreAuth interceptor executed before the Auth lifecycle step, but after onPreRouting step.

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.9.0 labels Jul 6, 2020
@mshustov mshustov requested review from a team as code owners July 6, 2020 09:22
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

LGTM.

src/core/server/http/http_server.test.ts Outdated Show resolved Hide resolved
src/core/server/http/http_server.ts Outdated Show resolved Hide resolved
src/core/server/http/integration_tests/lifecycle.test.ts Outdated Show resolved Hide resolved
@legrego legrego requested a review from azasypkin July 6, 2020 19:45
@azasypkin
Copy link
Member

ACK: will review later today

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

Spaces changes LGTM, tested locally - seems to work as expected.

src/core/server/http/lifecycle/on_pre_response.ts Outdated Show resolved Hide resolved
src/core/server/http/types.ts Outdated Show resolved Hide resolved
src/core/server/http/types.ts Outdated Show resolved Hide resolved
src/core/server/http/types.ts Outdated Show resolved Hide resolved
@jfsiii
Copy link
Contributor

jfsiii commented Jul 13, 2020

As the description says, this would help Fleet in #70495 and #67987 which we'd like to include in 7.9. I'm still learning norms here, but can we get merge this before FF and iterate, or even rollback, if we find bugs during QA?

@joshdover joshdover merged commit 0ea414c into elastic:master Jul 13, 2020
joshdover added a commit to joshdover/kibana that referenced this pull request Jul 13, 2020
@jfsiii jfsiii mentioned this pull request Jul 13, 2020
2 tasks
@kobelb
Copy link
Contributor

kobelb commented Jul 13, 2020

I'm still learning norms here, but can we get merge this before FF and iterate, or even rollback, if we find bugs during QA?

This PR was merged, so this is largely a moot point; however, we should only merge code to master which we are confident works as expected. Bugs are sometimes discovered after a PR has merged, but this should be the exception, not the norm.

joshdover added a commit that referenced this pull request Jul 13, 2020
… (#71523)

Co-authored-by: Aleh Zasypkin <[email protected]>
Co-authored-by: Josh Dover <[email protected]>
Co-authored-by: Mikhail Shustov <[email protected]>
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

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

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:12]         └-: context app
[00:00:12]           └-> "before all" hook
[00:00:12]           └-> "before all" hook
[00:00:12]             │ info [logstash_functional] Loading "mappings.json"
[00:00:12]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [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-centos-tests-xl-1596544771133571110] 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-centos-tests-xl-1596544771133571110] [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-centos-tests-xl-1596544771133571110] 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:22]             │ info progress: 9022
[00:00:26]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:26]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:26]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:26]             │ info [visualize] Loading "mappings.json"
[00:00:26]             │ info [visualize] Loading "data.json"
[00:00:26]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1/KRLxBL66R3iv5FA_9ZnKYQ] deleting index
[00:00:26]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:26]             │ info [visualize] Created index ".kibana"
[00:00:26]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/mS5nGOyASMKkLy4Zm5v4TQ] update_mapping [_doc]
[00:00:27]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/mS5nGOyASMKkLy4Zm5v4TQ] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [13:01:41.920] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [13:01:42.006] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 849 finished with response BulkByScrollResponse[took=66.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:27]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/mS5nGOyASMKkLy4Zm5v4TQ] deleting index
[00:00:27]             │ proc [kibana]   log   [13:01:42.426] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:27]             │ proc [kibana]   log   [13:01:42.450] [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:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/yOM76e_ESLebj4o1EatbIg] update_mapping [_doc]
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/yOM76e_ESLebj4o1EatbIg] update_mapping [_doc]
[00:00:27]             │ proc [kibana]   log   [13:01:42.557] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:27]             │ proc [kibana]   log   [13:01:42.630] [info][savedobjects-service] Finished in 713ms.
[00:00:27]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/yOM76e_ESLebj4o1EatbIg] update_mapping [_doc]
[00:00:29]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:30]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:30]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:30]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596546105052#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:30]             │
[00:00:30]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:30]             │ debg ... sleep(700) start
[00:00:31]             │ debg ... sleep(700) end
[00:00:31]             │ debg returned from get, calling refresh
[00:00:32]             │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:01:46Z
[00:00:32]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:32]             │
[00:00:32]             │      "
[00:00:32]             │ERROR browser[SEVERE] http://localhost:6121/34337/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:32]             │          at Fetch._callee3$ (http://localhost:6121/34337/bundles/core/core.entry.js:34:105174)
[00:00:32]             │          at l (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144815)
[00:00:32]             │          at Generator._invoke (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144568)
[00:00:32]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:145172)
[00:00:32]             │          at fetch_asyncGeneratorStep (http://localhost:6121/34337/bundles/core/core.entry.js:34:99267)
[00:00:32]             │          at _throw (http://localhost:6121/34337/bundles/core/core.entry.js:34:99675)
[00:00:32]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596546105052#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:32]             │
[00:00:32]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:32]             │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:01:46Z
[00:00:32]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:32]             │
[00:00:32]             │      "
[00:00:32]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:32]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:32]             │ debg TestSubjects.find(kibanaChrome)
[00:00:32]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[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#/
[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:58]           └-: context view for date_nanos
[00:01:58]             └-> "before all" hook
[00:01:58]             └-> "before all" hook
[00:01:58]               │ info [date_nanos] Loading "mappings.json"
[00:01:58]               │ info [date_nanos] Loading "data.json"
[00:01:58]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:58]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:58]               │ info [date_nanos] Created index "date-nanos"
[00:01:58]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [date-nanos/RZL2cCMdQM2DIWaD-09fmQ] update_mapping [_doc]
[00:01:58]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:58]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/yOM76e_ESLebj4o1EatbIg] update_mapping [_doc]
[00:01:58]               │ debg Migrating saved objects
[00:01:58]               │ proc [kibana]   log   [13:03:13.516] [info][savedobjects-service] Creating index .kibana_3.
[00:01:58]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:58]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:58]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 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:58]               │ proc [kibana]   log   [13:03:13.590] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:58]               │ proc [kibana]   log   [13:03:13.598] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/dzuG8bxoTGq3--8saj7I7g] update_mapping [_doc]
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/dzuG8bxoTGq3--8saj7I7g] update_mapping [_doc]
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/dzuG8bxoTGq3--8saj7I7g] update_mapping [_doc]
[00:01:58]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/dzuG8bxoTGq3--8saj7I7g] update_mapping [_doc]
[00:01:59]               │ proc [kibana]   log   [13:03:13.727] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:59]               │ proc [kibana]   log   [13:03:13.799] [info][savedobjects-service] Finished in 285ms.
[00:01:59]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:59]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:00]             └-> displays predessors - anchor - successors in right order 
[00:02:00]               └-> "before each" hook: global before each
[00:02:00]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:00]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:00]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:00]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596546195604#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:00]               │
[00:02:00]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:02]               │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T13:03:16Z
[00:02:02]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:02]               │
[00:02:02]               │      "
[00:02:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:03]               │          at Fetch._callee3$ (http://localhost:6121/34337/bundles/core/core.entry.js:34:106126)
[00:02:03]               │          at l (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144815)
[00:02:03]               │          at Generator._invoke (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144568)
[00:02:03]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:145172)
[00:02:03]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34337/bundles/core/core.entry.js:34:99267)
[00:02:03]               │          at _next (http://localhost:6121/34337/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"jKdz7Zd9TciLdNgXYLZfJQ\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:03]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg ... sleep(1000) start
[00:02:04]               │ debg ... sleep(1000) end
[00:02:04]               │ debg TestSubjects.find(docTable)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:04]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:05]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:05]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:05]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:02:05]               │

Stack Trace

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

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

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:11]         └-: context app
[00:00:11]           └-> "before all" hook
[00:00:11]           └-> "before all" hook
[00:00:11]             │ info [logstash_functional] Loading "mappings.json"
[00:00:11]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 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:11]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:11]             │ 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:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 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:11]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:11]             │ 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:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 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:11]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:11]             │ 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:21]             │ info progress: 12632
[00:00:22]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:22]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:22]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:22]             │ info [visualize] Loading "mappings.json"
[00:00:22]             │ info [visualize] Loading "data.json"
[00:00:22]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1/Xl3vQtlUTSq500Kkw7TC9g] deleting index
[00:00:22]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:22]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:22]             │ info [visualize] Created index ".kibana"
[00:00:22]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:22]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/hogwh5xDQWGnJT0N2ELsBw] update_mapping [_doc]
[00:00:23]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/hogwh5xDQWGnJT0N2ELsBw] update_mapping [_doc]
[00:00:23]             │ debg Migrating saved objects
[00:00:23]             │ proc [kibana]   log   [12:57:52.749] [info][savedobjects-service] Creating index .kibana_2.
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:23]             │ proc [kibana]   log   [12:57:52.867] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.tasks]
[00:00:23]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] 838 finished with response BulkByScrollResponse[took=79.1ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:23]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana/hogwh5xDQWGnJT0N2ELsBw] deleting index
[00:00:23]             │ proc [kibana]   log   [12:57:53.351] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:23]             │ proc [kibana]   log   [12:57:53.387] [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:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/VxLVJuLLSqmBi9wKQ1ERRQ] update_mapping [_doc]
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/VxLVJuLLSqmBi9wKQ1ERRQ] update_mapping [_doc]
[00:00:23]             │ proc [kibana]   log   [12:57:53.514] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:24]             │ proc [kibana]   log   [12:57:53.595] [info][savedobjects-service] Finished in 849ms.
[00:00:24]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/VxLVJuLLSqmBi9wKQ1ERRQ] update_mapping [_doc]
[00:00:25]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:26]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:26]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:26]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596545875898#/ 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:26]             │
[00:00:26]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:26]             │ debg ... sleep(700) start
[00:00:27]             │ debg ... sleep(700) end
[00:00:27]             │ debg returned from get, calling refresh
[00:00:28]             │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T12:57:57Z
[00:00:28]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:28]             │
[00:00:28]             │      "
[00:00:28]             │ERROR browser[SEVERE] http://localhost:6121/34337/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:28]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596545875898#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:28]             │
[00:00:28]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:28]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:28]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:28]             │ debg TestSubjects.find(kibanaChrome)
[00:00:28]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:28]             │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T12:57:58Z
[00:00:28]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:28]             │
[00:00:28]             │      "
[00:00:28]             │ debg ... sleep(501) start
[00:00:29]             │ debg ... sleep(501) end
[00:00:29]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:29]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:29]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:31]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:58]           └-: context view for date_nanos
[00:01:58]             └-> "before all" hook
[00:01:58]             └-> "before all" hook
[00:01:58]               │ info [date_nanos] Loading "mappings.json"
[00:01:58]               │ info [date_nanos] Loading "data.json"
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:59]               │ info [date_nanos] Created index "date-nanos"
[00:01:59]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [date-nanos/6wykIvk2RhGJTZHB5-mACA] update_mapping [_doc]
[00:01:59]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:59]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/VxLVJuLLSqmBi9wKQ1ERRQ] update_mapping [_doc]
[00:01:59]               │ debg Migrating saved objects
[00:01:59]               │ proc [kibana]   log   [12:59:28.785] [info][savedobjects-service] Creating index .kibana_3.
[00:01:59]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:59]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:01:59]               │ proc [kibana]   log   [12:59:28.870] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:59]               │ proc [kibana]   log   [12:59:28.878] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/YFA_zyViQY-9La1syW_2OQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/YFA_zyViQY-9La1syW_2OQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/YFA_zyViQY-9La1syW_2OQ] update_mapping [_doc]
[00:01:59]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_3/YFA_zyViQY-9La1syW_2OQ] update_mapping [_doc]
[00:01:59]               │ proc [kibana]   log   [12:59:29.042] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:59]               │ proc [kibana]   log   [12:59:29.108] [info][savedobjects-service] Finished in 325ms.
[00:01:59]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:02:00]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:02:01]             └-> displays predessors - anchor - successors in right order 
[00:02:01]               └-> "before each" hook: global before each
[00:02:01]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:02:01]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:02]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596545970892#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:02]               │
[00:02:02]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:02]               │ debg browser[INFO] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T12:59:32Z
[00:02:02]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:02]               │
[00:02:02]               │      "
[00:02:02]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:03]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:03]               │ debg --- retry.try error: loading context rows
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:03]               │ERROR browser[SEVERE] http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:03]               │          at Fetch._callee3$ (http://localhost:6121/34337/bundles/core/core.entry.js:34:106126)
[00:02:03]               │          at l (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144815)
[00:02:03]               │          at Generator._invoke (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144568)
[00:02:03]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:145172)
[00:02:03]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34337/bundles/core/core.entry.js:34:99267)
[00:02:03]               │          at _next (http://localhost:6121/34337/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"-WIpizUgSRCS6RYhdYSqUA\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:04]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:04]               │ debg ... sleep(1000) start
[00:02:05]               │ debg ... sleep(1000) end
[00:02:05]               │ debg TestSubjects.find(docTable)
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:05]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:05]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:05]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:05]               └- ✖ fail: "context app context view for date_nanos displays predessors - anchor - successors in right order "
[00:02:05]               │

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 works when a vis with no index pattern is added

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [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-centos-tests-xl-1596544771133571110] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:02]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:02]               │ debg [dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]               │ info progress: 10529
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:13]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:13]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:13]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:01:16]             └-: dashboard filter bar
[00:01:16]               └-> "before all" hook
[00:01:16]               └-> "before all" hook
[00:01:16]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:16]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1/Ysfsp73eTJaD_zIsrrfACA] deleting index
[00:01:16]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/Mq_2NlEmQ0SbChxu764pgA] deleting index
[00:01:16]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:16]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:16]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:16]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:17]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_1/RgA-HEtUTNqv4SK4b18w9w] update_mapping [_doc]
[00:01:17]                 │ debg Migrating saved objects
[00:01:17]                 │ proc [kibana]   log   [12:59:32.210] [info][savedobjects-service] Creating index .kibana_2.
[00:01:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:17]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:17]                 │ proc [kibana]   log   [12:59:32.309] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/tJ3L11TfSxu9qqsCdrXIHg] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/tJ3L11TfSxu9qqsCdrXIHg] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/tJ3L11TfSxu9qqsCdrXIHg] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/tJ3L11TfSxu9qqsCdrXIHg] update_mapping [_doc]
[00:01:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596544771133571110] [.kibana_2/tJ3L11TfSxu9qqsCdrXIHg] update_mapping [_doc]
[00:01:17]                 │ proc [kibana]   log   [12:59:32.623] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:17]                 │ proc [kibana]   log   [12:59:32.695] [info][savedobjects-service] Finished in 489ms.
[00:01:17]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:19]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:19]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:19]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596545974335#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:19]                 │
[00:01:19]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:19]                 │ debg ... sleep(700) start
[00:01:20]                 │ debg ... sleep(700) end
[00:01:20]                 │ debg returned from get, calling refresh
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T12:59:35Z
[00:01:21]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:21]                 │
[00:01:21]                 │      "
[00:01:21]                 │ERROR browser[SEVERE] http://localhost:6141/34337/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:01:21]                 │          at Fetch._callee3$ (http://localhost:6141/34337/bundles/core/core.entry.js:34:105174)
[00:01:21]                 │          at l (http://localhost:6141/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144815)
[00:01:21]                 │          at Generator._invoke (http://localhost:6141/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:144568)
[00:01:21]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6141/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:145172)
[00:01:21]                 │          at fetch_asyncGeneratorStep (http://localhost:6141/34337/bundles/core/core.entry.js:34:99267)
[00:01:21]                 │          at _throw (http://localhost:6141/34337/bundles/core/core.entry.js:34:99675)
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596545974335#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:21]                 │
[00:01:21]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:21]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:21]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/34337/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T12:59:37Z
[00:01:22]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:22]                 │
[00:01:22]                 │      "
[00:01:22]                 │ debg ... sleep(501) start
[00:01:23]                 │ debg ... sleep(501) end
[00:01:23]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:23]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:01:23]                 │ debg ... sleep(501) start
[00:01:24]                 │ debg ... sleep(501) end
[00:01:24]                 │ 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:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:49]               └-: filter editor field list
[00:01:49]                 └-> "before all" hook
[00:01:49]                 └-> "before all" hook
[00:01:49]                   │ debg gotoDashboardLandingPage
[00:01:49]                   │ debg onDashboardLandingPage
[00:01:49]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:52]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:55]                   │ debg clickDashboardBreadcrumbLink
[00:01:55]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:55]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:55]                   │ debg expectExistsDashboardLandingPage
[00:01:55]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:55]                   │ debg TestSubjects.exists(newItemButton)
[00:01:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:01:56]                   │ debg TestSubjects.click(newItemButton)
[00:01:56]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:56]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:56]                   │ debg waitForRenderComplete
[00:01:56]                   │ debg in getSharedItemsCount
[00:01:56]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:56]                   │ debg Renderable.waitForRender for 0 elements
[00:01:56]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:06]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:07]                 └-> uses default index pattern on an empty dashboard
[00:02:07]                   └-> "before each" hook: global before each
[00:02:07]                   │ debg TestSubjects.click(addFilter)
[00:02:07]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:07]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:07]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:07]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:07]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:07]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:08]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:08]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:09]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:09]                   └- ✓ pass  (1.6s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:09]                 └-> shows index pattern of vis when one is added
[00:02:09]                   └-> "before each" hook: global before each
[00:02:09]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:09]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:09]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:09]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:12]                   │ debg ... sleep(500) start
[00:02:12]                   │ debg ... sleep(500) end
[00:02:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:15]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:16]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:16]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:16]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:16]                   │ debg ... sleep(500) start
[00:02:16]                   │ debg ... sleep(500) end
[00:02:16]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:16]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:19]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:20]                   │ debg --- retry.try failed again with the same message...
[00:02:20]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:20]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:20]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:20]                   │ debg ... sleep(500) start
[00:02:21]                   │ debg ... sleep(500) end
[00:02:21]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:21]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:23]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:24]                   │ debg --- retry.try failed again with the same message...
[00:02:24]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:24]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:25]                   │ debg ... sleep(500) end
[00:02:25]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:25]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:28]                   │ debg --- retry.try failed again with the same message...
[00:02:28]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:28]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:28]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:29]                   │ debg ... sleep(500) start
[00:02:29]                   │ debg ... sleep(500) end
[00:02:29]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:29]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:32]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:32]                   │ debg --- retry.try failed again with the same message...
[00:02:33]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:33]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:33]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:33]                   │ debg ... sleep(500) start
[00:02:33]                   │ debg ... sleep(500) end
[00:02:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:36]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:36]                   │ debg --- retry.try failed again with the same message...
[00:02:37]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:37]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:37]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:37]                   │ debg ... sleep(500) start
[00:02:37]                   │ debg ... sleep(500) end
[00:02:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:40]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02: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:46]                   │ debg DashboardAddPanel.addToFilter(visualization)
[00:02:46]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:02:46]                   │ debg DashboardAddPanel.toggleFilter
[00:02:46]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:02:46]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:02:46]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:02:47]                   │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:02:47]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:02:47]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:02:47]                   │ debg DashboardAddPanel.toggleFilter
[00:02:47]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:02:47]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:02:47]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:02:47]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:02:47]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Rendering Test:-animal-sounds-pie")
[00:02:47]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:02:47]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:02:47]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:02:48]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:02:48]                   │ debg TestSubjects.click(savedObjectTitleRendering-Test:-animal-sounds-pie)
[00:02:48]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-animal-sounds-pie"]') with timeout=10000
[00:02:48]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleRendering-Test:-animal-sounds-pie"]') with timeout=10000
[00:02:49]                   │ debg TestSubjects.exists(addObjectToDashboardSuccess)
[00:02:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addObjectToDashboardSuccess"]') with timeout=2500
[00:02:51]                   │ debg --- retry.tryForTime error: [data-test-subj="addObjectToDashboardSuccess"] is not displayed
[00:02:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:02:52]                   │ debg Closing flyout dashboardAddPanel
[00:02:52]                   │ debg TestSubjects.find(dashboardAddPanel)
[00:02:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:02:52]                   │ debg Waiting up to 20000ms for flyout closed...
[00:02:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:02:53]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:53]                   │ debg isGlobalLoadingIndicatorVisible
[00:02:53]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:55]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:55]                   │ debg TestSubjects.exists(cancelSaveFilter)
[00:02:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="cancelSaveFilter"]') with timeout=2500
[00:02:58]                   │ debg --- retry.tryForTime error: [data-test-subj="cancelSaveFilter"] is not displayed
[00:02:58]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="cancelSaveFilter"]') with timeout=10000
[00:02:59]                   │ debg TestSubjects.click(addFilter)
[00:02:59]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:59]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:59]                   │ debg DashboardExpect.fieldSuggestions(animal)
[00:02:59]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:59]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:59]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:59]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:59]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:59]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:03:00]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:03:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:03:00]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:03:00]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:03:00]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:03:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:03:00]                   └- ✓ pass  (51.8s) "dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added"
[00:03:00]                 └-> works when a vis with no index pattern is added
[00:03:00]                   └-> "before each" hook: global before each
[00:03:00]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-markdown, type: visualization
[00:03:00]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:03:00]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:00]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:03]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:03]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:03]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:03]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:04]                   │ debg ... sleep(500) start
[00:03:04]                   │ debg ... sleep(500) end
[00:03:04]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:04]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:07]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:07]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:03:08]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:08]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:08]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:08]                   │ debg ... sleep(500) start
[00:03:08]                   │ debg ... sleep(500) end
[00:03:08]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:08]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:11]                   │ debg --- retry.try failed again with the same message...
[00:03:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:12]                   │ debg ... sleep(500) start
[00:03:12]                   │ debg ... sleep(500) end
[00:03:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:16]                   │ debg --- retry.try failed again with the same message...
[00:03:16]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:16]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:16]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:16]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:16]                   │ debg ... sleep(500) start
[00:03:17]                   │ debg ... sleep(500) end
[00:03:17]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:17]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:19]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:20]                   │ debg --- retry.try failed again with the same message...
[00:03:20]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:20]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:20]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:20]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:20]                   │ debg ... sleep(500) start
[00:03:21]                   │ debg ... sleep(500) end
[00:03:21]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:21]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:23]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:24]                   │ debg --- retry.try failed again with the same message...
[00:03:24]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:24]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:24]                   │ debg ... sleep(500) start
[00:03:25]                   │ debg ... sleep(500) end
[00:03:25]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:25]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:28]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:28]                   │ debg --- retry.try failed again with the same message...
[00:03:29]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:29]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:29]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:29]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:29]                   │ debg ... sleep(500) start
[00:03:29]                   │ debg ... sleep(500) end
[00:03:29]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:29]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:32]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:32]                   │ debg --- retry.try failed again with the same message...
[00:03:33]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:33]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:33]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:33]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:33]                   │ debg ... sleep(500) start
[00:03:33]                   │ debg ... sleep(500) end
[00:03:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:36]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:36]                   │ debg --- retry.try failed again with the same message...
[00:03:37]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:37]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:37]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:37]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:37]                   │ debg ... sleep(500) start
[00:03:37]                   │ debg ... sleep(500) end
[00:03:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:40]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:40]                   │ debg --- retry.try failed again with the same message...
[00:03:41]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:41]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:41]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:41]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:41]                   │ debg ... sleep(500) start
[00:03:42]                   │ debg ... sleep(500) end
[00:03:42]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:42]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:44]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:45]                   │ debg --- retry.try failed again with the same message...
[00:03:45]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:45]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:45]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:45]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:45]                   │ debg ... sleep(500) start
[00:03:46]                   │ debg ... sleep(500) end
[00:03:46]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:49]                   │ debg --- retry.try failed again with the same message...
[00:03:49]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:49]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:49]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:49]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:49]                   │ debg ... sleep(500) start
[00:03:50]                   │ debg ... sleep(500) end
[00:03:50]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:50]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:53]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:53]                   │ debg --- retry.try failed again with the same message...
[00:03:54]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:54]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:54]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:54]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:54]                   │ debg ... sleep(500) start
[00:03:54]                   │ debg ... sleep(500) end
[00:03:54]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:54]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:57]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:57]                   │ debg --- retry.try failed again with the same message...
[00:03:58]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:58]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:58]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:58]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:58]                   │ debg ... sleep(500) start
[00:03:58]                   │ debg ... sleep(500) end
[00:03:58]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:58]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:01]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:01]                   │ debg --- retry.try failed again with the same message...
[00:04:02]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:02]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:02]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:02]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:02]                   │ debg ... sleep(500) start
[00:04:02]                   │ debg ... sleep(500) end
[00:04:02]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:02]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:05]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:06]                   │ debg --- retry.try failed again with the same message...
[00:04:06]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:06]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:06]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:06]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:06]                   │ debg ... sleep(500) start
[00:04:07]                   │ debg ... sleep(500) end
[00:04:07]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:07]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:09]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:10]                   │ debg --- retry.try failed again with the same message...
[00:04:10]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:10]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:10]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:10]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:10]                   │ debg ... sleep(500) start
[00:04:11]                   │ debg ... sleep(500) end
[00:04:11]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:11]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:14]                   │ debg --- retry.try failed again with the same message...
[00:04:14]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:14]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:14]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:14]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:14]                   │ debg ... sleep(500) start
[00:04:15]                   │ debg ... sleep(500) end
[00:04:15]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:15]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:18]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:18]                   │ debg --- retry.try failed again with the same message...
[00:04:19]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:19]                   │ debg ... sleep(500) start
[00:04:19]                   │ debg ... sleep(500) end
[00:04:19]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:19]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:22]                   │ debg --- retry.try failed again with the same message...
[00:04:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:23]                   │ debg ... sleep(500) start
[00:04:23]                   │ debg ... sleep(500) end
[00:04:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:26]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:26]                   │ debg --- retry.try failed again with the same message...
[00:04:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:27]                   │ debg ... sleep(500) start
[00:04:27]                   │ debg ... sleep(500) end
[00:04:27]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:27]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:30]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:30]                   │ debg --- retry.try failed again with the same message...
[00:04:31]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:31]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:31]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:31]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:31]                   │ debg ... sleep(500) start
[00:04:32]                   │ debg ... sleep(500) end
[00:04:32]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:32]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:35]                   │ debg --- retry.try failed again with the same message...
[00:04:35]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:35]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:35]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:35]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:35]                   │ debg ... sleep(500) start
[00:04:36]                   │ debg ... sleep(500) end
[00:04:36]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:36]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:39]                   │ debg --- retry.try failed again with the same message...
[00:04:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:39]                   │ debg ... sleep(500) start
[00:04:40]                   │ debg ... sleep(500) end
[00:04:40]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:40]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:42]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:43]                   │ debg --- retry.try failed again with the same message...
[00:04:43]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:43]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:43]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:44]                   │ debg ... sleep(500) start
[00:04:44]                   │ debg ... sleep(500) end
[00:04:44]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:44]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:47]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:47]                   │ debg --- retry.try failed again with the same message...
[00:04:48]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:48]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:48]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:48]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:48]                   │ debg ... sleep(500) start
[00:04:48]                   │ debg ... sleep(500) end
[00:04:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:51]                   │ debg --- retry.try failed again with the same message...
[00:04:52]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:52]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:52]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:52]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:52]                   │ debg ... sleep(500) start
[00:04:52]                   │ debg ... sleep(500) end
[00:04:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:55]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:55]                   │ debg --- retry.try failed again with the same message...
[00:04:56]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:56]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:56]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:56]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:56]                   │ debg ... sleep(500) start
[00:04:56]                   │ debg ... sleep(500) end
[00:04:56]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:56]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:59]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:05:00]                   │ debg --- retry.try failed again with the same message...
[00:05:00]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:05:00]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:05:00]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:05:00]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:05:00]                   │ debg ... sleep(500) start
[00:05:01]                   │ debg ... sleep(500) end
[00:05:01]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:05:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:05:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:05:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:05:04]                   │ debg --- retry.try failed again with the same message...
[00:05:04]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filter bar filter editor field list works when a vis with no index pattern is added.png"
[00:05:04]                   │ 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:!((embeddableConfig:(),gridData:(h:15,i:fcde69c2-2c78-4435-b7ef-827367c2d7cd,w:24,x:0,y:0),id:%2750643b60-3dd3-11e8-b2b9-5d5dc1715159%27,panelIndex:fcde69c2-2c78-4435-b7ef-827367c2d7cd,type:visualization,version:%278.0.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:05:04]                   │ 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 works when a vis with no index pattern is added.html
[00:05:04]                   └- ✖ fail: "dashboard app using current data dashboard filter bar filter editor field list works when a vis with no index pattern is added"
[00:05:04]                   │

Stack Trace

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

and 3 more failures, only showing the first 3.

Build metrics

✅ unchanged

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants