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

Correctly sort Index Management data streams by storage size. #86204

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

cjcenizal
Copy link
Contributor

@cjcenizal cjcenizal commented Dec 16, 2020

Fixes #86122

Release note

The list of data streams in Index Management previously sorted alphabetically using the humanized size value. This resulted in an incorrect sort order, for example sorting in ascending order would display a data stream sized at "1kb" before one sized at "5b". Now they're sorted numerically by the raw bytes value, which displays the sorted data streams in the correct order.

Screenshots

Original incorrect order:

image

Current correct order:

image

To test

You can create a data stream with a size in megabytes by following the instructions in the Index Management README for creating a data stream and then spamming the request for creating a document in Console by holding down Cmd+Enter. The Console history will be overwhelmed and you'll see a ton of error toasts but you can ignore those. After you create 800-1000 documents the data stream should be 1mb in size.

…rrectly by storage size.

They were previously being sorted alphabetically using the humanized size value. Now they're sorted numerically by the raw bytes value.
@cjcenizal cjcenizal added release_note:fix Feature:Index Management Index and index templates UI v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.11.0 v7.12.0 v7.10.2 labels Dec 16, 2020
@cjcenizal cjcenizal requested a review from a team as a code owner December 16, 2020 22:43
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

Code LGTM. Verified locally. Thanks for fixing this @cjcenizal!

@cjcenizal cjcenizal merged commit 7bac741 into elastic:master Dec 17, 2020
@cjcenizal cjcenizal deleted the bug/data-stream-sort-by-size branch December 17, 2020 17:52
cjcenizal added a commit to cjcenizal/kibana that referenced this pull request Dec 17, 2020
…rrectly by storage size. (elastic#86204)

They were previously being sorted alphabetically using the humanized size value. Now they're sorted numerically by the raw bytes value.
cjcenizal added a commit that referenced this pull request Dec 17, 2020
…rrectly by storage size. (#86204) (#86341)

They were previously being sorted alphabetically using the humanized size value. Now they're sorted numerically by the raw bytes value.
cjcenizal added a commit that referenced this pull request Dec 17, 2020
…rrectly by storage size. (#86204) (#86340)

They were previously being sorted alphabetically using the humanized size value. Now they're sorted numerically by the raw bytes value.
cjcenizal added a commit that referenced this pull request Dec 18, 2020
…ed incorrectly by storage size. (#86204) (#86390)

* Fix bug in which Index Management data streams were being sorted incorrectly by storage size. (#86204)

They were previously being sorted alphabetically using the humanized size value. Now they're sorted numerically by the raw bytes value.
# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts
#	x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.test.ts
#	x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts
#	x-pack/test/api_integration/apis/management/index_management/data_streams.ts

* Fix get data stream API and eslint error.
@cjcenizal cjcenizal changed the title Fix bug in which Index Management data streams were being sorted incorrectly by storage size. Sort Index Management data streams correctly by storage size. Feb 4, 2021
@cjcenizal cjcenizal changed the title Sort Index Management data streams correctly by storage size. Correctly sort Index Management data streams by storage size. Feb 4, 2021
@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 4, 2021

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack Detection Engine API Integration Tests.x-pack/test/detection_engine_api_integration/security_and_spaces/tests/add_actions·ts.detection engine api security and spaces enabled add_actions adding actions should be able to create a new webhook action and attach it to a rule

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: detection engine api security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook
[00:00:00]             └-: add_actions
[00:00:00]               └-> "before all" hook
[00:00:00]               └-: adding actions
[00:00:00]                 └-> "before all" hook
[00:00:00]                 └-> should be able to create a new webhook action and attach it to a rule
[00:00:00]                   └-> "before each" hook: global before each
[00:00:00]                   └-> "before each" hook
[00:00:00]                     │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] adding index lifecycle policy [.siem-signals-default-migration-cleanup]
[00:00:00]                     │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] adding index lifecycle policy [.siem-signals-default]
[00:00:00]                     │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:00:00]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:00:00]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:00:00]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [.siem-signals-default]
[00:00:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [.siem-signals-default]
[00:00:00]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_1/edaI4_TiRKGPsqqD18GRyw] update_mapping [_doc]
[00:00:00]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.ds-ilm-history-5-2021.02.04-000001] creating index, cause [initialize_data_stream], templates [ilm-history], shards [1]/[0]
[00:00:00]                   │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2021.02.04-000001] and backing indices []
[00:00:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.ds-ilm-history-5-2021.02.04-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.ds-ilm-history-5-2021.02.04-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]                   │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] moving index [.ds-ilm-history-5-2021.02.04-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ilm-history-ilm-policy]
[00:00:02]                   └- ✖ fail: detection engine api security and spaces enabled  add_actions adding actions should be able to create a new webhook action and attach it to a rule
[00:00:02]                   │      Error: expected 200 "OK", got 400 "Bad Request"
[00:00:02]                   │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:00:02]                   │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:00:02]                   │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:00:02]                   │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:00:02]                   │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:00:02]                   │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:00:02]                   │       at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:00:02]                   │       at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:00:02]                   │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:02]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:02]                   │ 
[00:00:02]                   │ 

Stack Trace

Error: expected 200 "OK", got 400 "Bad Request"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
    at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
    at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Chrome UI Functional Tests.test/functional/apps/visualize/_vertical_bar_chart_nontimeindex·js.visualize app vertical bar chart with index without time filter vertical bar with multiple splits should show correct series

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize before method
[00:00:00]             │ info [logstash_functional] Loading "mappings.json"
[00:00:00]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] 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:00]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]             │ 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:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] 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:00]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]             │ 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:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] 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:00]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]             │ 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:10]             │ info progress: 9915
[00:00:13]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:13]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:13]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:14]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:14]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:00:14]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:14]             │ debg [long_window_logstash] "long-window-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:24]             │ info progress: 10731
[00:00:26]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:27]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_1/8RDzSsR2QcKfjwqwFwz6tA] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana/BeerAlhcQNe0ipWFeaIhtg] 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-debian-tests-xxl-1612462878957502065] [.kibana/BeerAlhcQNe0ipWFeaIhtg] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [18:41:02.131] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ proc [kibana]   log   [18:41:02.193] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] 1491 finished with response BulkByScrollResponse[took=63.8ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana/BeerAlhcQNe0ipWFeaIhtg] deleting index
[00:00:28]             │ proc [kibana]   log   [18:41:02.579] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [18:41:02.608] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_2/qLaWXQ_5RLWHY4r8AJrzlQ] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_2/qLaWXQ_5RLWHY4r8AJrzlQ] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [18:41:02.714] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [18:41:02.749] [info][savedobjects-service] Finished in 621ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] [.kibana_2/qLaWXQ_5RLWHY4r8AJrzlQ] update_mapping [_doc]
[00:00:29]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:30]           └-: 
[00:00:30]             └-> "before all" hook
[00:08:22]             └-: vertical bar chart with index without time filter
[00:08:22]               └-> "before all" hook
[00:08:22]               └-> "before all" hook: initBarChart
[00:08:22]                 │ debg navigateToApp visualize
[00:08:22]                 │ debg navigating to visualize url: http://localhost:61211/app/visualize#/
[00:08:22]                 │ debg navigate to: http://localhost:61211/app/visualize#/
[00:08:22]                 │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464536688#/ 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:08:22]                 │
[00:08:22]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:22]                 │ debg ... sleep(700) start
[00:08:23]                 │ debg ... sleep(700) end
[00:08:23]                 │ debg returned from get, calling refresh
[00:08:23]                 │ERROR browser[SEVERE] http://localhost:61211/39022/bundles/core/core.entry.js 12:85159 TypeError: Failed to fetch
[00:08:23]                 │          at _callee3$ (http://localhost:61211/39022/bundles/core/core.entry.js:6:43987)
[00:08:23]                 │          at l (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:08:23]                 │          at Generator._invoke (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:08:23]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:08:23]                 │          at fetch_asyncGeneratorStep (http://localhost:61211/39022/bundles/core/core.entry.js:6:39045)
[00:08:23]                 │          at _throw (http://localhost:61211/39022/bundles/core/core.entry.js:6:39453)
[00:08:23]                 │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464536688#/ 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:08:23]                 │
[00:08:23]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:23]                 │ debg currentUrl = http://localhost:61211/app/visualize#/
[00:08:23]                 │          appUrl = http://localhost:61211/app/visualize#/
[00:08:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:08:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:23]                 │ debg ... sleep(501) start
[00:08:24]                 │ debg ... sleep(501) end
[00:08:24]                 │ debg in navigateTo url = http://localhost:61211/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:08:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:08:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:08:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:08:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:08:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:28]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:29]                 │ debg TestSubjects.exists(newItemButton)
[00:08:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:08:29]                 │ debg TestSubjects.click(newItemButton)
[00:08:29]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:08:29]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:08:29]                 │ debg TestSubjects.click(visGroupAggBasedExploreLink)
[00:08:29]                 │ debg Find.clickByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:08:29]                 │ debg Find.findByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:08:29]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:08:29]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:08:29]                 │ debg clickVerticalBarChart
[00:08:29]                 │ debg TestSubjects.click(visType-histogram)
[00:08:29]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:08:29]                 │ debg Find.findByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:08:29]                 │ debg isGlobalLoadingIndicatorVisible
[00:08:29]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:31]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:31]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:31]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:31]                 │ debg TestSubjects.click(savedObjectTitlelogstash*)
[00:08:31]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:08:31]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:08:31]                 │ debg isGlobalLoadingIndicatorVisible
[00:08:31]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:31]                 │ debg browser[INFO] http://localhost:61211/app/visualize#/create?type=histogram&indexPattern=logstash* 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:08:31]                 │
[00:08:31]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:33]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:34]                 │ debg ... sleep(500) start
[00:08:34]                 │ debg ... sleep(500) end
[00:08:34]                 │ debg Bucket = X-Axis
[00:08:34]                 │ debg TestSubjects.click(visEditorAdd_buckets)
[00:08:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:08:34]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:08:34]                 │ debg TestSubjects.click(visEditorAdd_buckets_X-axis)
[00:08:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:08:34]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:08:34]                 │ debg Aggregation = Date Histogram
[00:08:34]                 │ debg Find.findByCssSelector('
[00:08:34]                 │                [data-test-subj="bucketsAggGroup"]
[00:08:34]                 │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:08:34]                 │                
[00:08:34]                 │                [data-test-subj="defaultEditorAggSelect"]
[00:08:34]                 │              ') with timeout=10000
[00:08:34]                 │ debg comboBox.setElement, value: Date Histogram
[00:08:34]                 │ debg comboBox.isOptionSelected, value: Date Histogram
[00:08:37]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:37]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Date Histogram"]') with timeout=2500
[00:08:37]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:39]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:08:40]                 │ debg ... sleep(500) start
[00:08:40]                 │ debg ... sleep(500) end
[00:08:40]                 │ debg Field = @timestamp
[00:08:40]                 │ debg selectField @timestamp
[00:08:40]                 │ debg Find.findByCssSelector('
[00:08:40]                 │                [data-test-subj="bucketsAggGroup"]
[00:08:40]                 │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:08:40]                 │                [data-test-subj="visAggEditorParams"]
[00:08:40]                 │                
[00:08:40]                 │                [data-test-subj="visDefaultEditorField"]
[00:08:40]                 │              ') with timeout=10000
[00:08:40]                 │ debg comboBox.setElement, value: @timestamp
[00:08:40]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:08:43]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:43]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:08:43]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:45]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:08:46]                 │ debg visEditor.setInterval(3h, {custom, 2, false})
[00:08:46]                 │ debg comboBox.setCustom, comboBoxSelector: visEditorInterval, value: 3h
[00:08:46]                 │ debg TestSubjects.find(visEditorInterval)
[00:08:46]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorInterval"]') with timeout=10000
[00:08:48]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:51]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:08:51]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:08:51]                 │ debg TestSubjects.find(visualizationLoader)
[00:08:51]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:08:51]                 │ debg -- firstCount=1
[00:08:51]                 │ debg ... sleep(2000) start
[00:08:53]                 │ debg ... sleep(2000) end
[00:08:53]                 │ debg TestSubjects.find(visualizationLoader)
[00:08:53]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:08:53]                 │ debg -- secondCount=1
[00:08:53]                 │ debg TestSubjects.find(visualizationLoader)
[00:08:53]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:08:53]                 │ debg Before Rendering count 1
[00:08:53]                 │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:08:53]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:08:53]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:08:54]                 │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [2]...
[00:08:54]                 │ debg TestSubjects.find(visualizationLoader)
[00:08:54]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:08:54]                 │ debg -- currentRenderingCount=1
[00:08:54]                 │ debg TestSubjects.find(visualizationLoader)
[00:08:54]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:08:54]                 │ debg -- currentRenderingCount=2
[00:08:54]               └-> should save and load
[00:08:54]                 └-> "before each" hook: global before each
[00:08:54]                 │ debg ensureSavePanelOpen
[00:08:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:08:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:08:56]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:08:56]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:56]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:08:56]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:08:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=5000
[00:08:59]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:09:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:09:03]                 │ debg TestSubjects.click(visualizeSaveButton)
[00:09:03]                 │ debg Find.clickByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:09:03]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:09:03]                 │ debg TestSubjects.setValue(savedObjectTitle, Visualization VerticalBarChart without time filter)
[00:09:03]                 │ debg TestSubjects.click(savedObjectTitle)
[00:09:03]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:09:03]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:09:03]                 │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:09:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:09:05]                 │ debg --- retry.tryForTime error: [data-test-subj="saveAsNewCheckbox"] is not displayed
[00:09:06]                 │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:09:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:09:09]                 │ debg --- retry.tryForTime error: [data-test-subj="returnToOriginModeSwitch"] is not displayed
[00:09:09]                 │ debg Click Save Visualization button
[00:09:09]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:09:09]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:09:09]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:09:09]                 │ debg TestSubjects.exists(saveVisualizationSuccess)
[00:09:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveVisualizationSuccess"]') with timeout=120000
[00:09:10]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:09:10]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:09:10]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:09:10]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:09:10]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:10]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:12]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:12]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:12]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:12]                 │ debg Waiting for save modal to close
[00:09:12]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:09:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:09:15]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:09:15]                 │ debg Waiting up to 20000ms for last breadcrumb to have new vis name...
[00:09:15]                 │ debg TestSubjects.getVisibleText(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:09:15]                 │ debg TestSubjects.find(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:09:15]                 │ debg Find.findByCssSelector('[data-test-subj="headerGlobalNav"] [data-test-subj="breadcrumbs"] [data-test-subj~="breadcrumb"][data-test-subj~="last"]') with timeout=10000
[00:09:15]                 │ debg Find.clickByCssSelector('[href="#/"]') with timeout=10000
[00:09:15]                 │ debg Find.findByCssSelector('[href="#/"]') with timeout=10000
[00:09:15]                 │ debg TestSubjects.click(visListingTitleLink-Visualization-VerticalBarChart-without-time-filter)
[00:09:15]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Visualization-VerticalBarChart-without-time-filter"]') with timeout=20000
[00:09:15]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Visualization-VerticalBarChart-without-time-filter"]') with timeout=20000
[00:09:16]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:16]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:17]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:18]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:09:18]                 │ debg TestSubjects.find(visualizationLoader)
[00:09:18]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:18]                 │ debg -- firstCount=1
[00:09:18]                 │ debg ... sleep(2000) start
[00:09:20]                 │ debg ... sleep(2000) end
[00:09:20]                 │ debg TestSubjects.find(visualizationLoader)
[00:09:20]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:20]                 │ debg -- secondCount=1
[00:09:20]                 │ debg Find.findByCssSelector('.visualization') with timeout=10000
[00:09:20]                 └- ✓ pass  (25.5s) "visualize app  vertical bar chart with index without time filter should save and load"
[00:09:20]               └-> should have inspector enabled
[00:09:20]                 └-> "before each" hook: global before each
[00:09:20]                 │ debg TestSubjects.getAttribute(openInspectorButton, disabled, tryTimeout=120000, findTimeout=10000)
[00:09:20]                 │ debg TestSubjects.find(openInspectorButton)
[00:09:20]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:09:20]                 └- ✓ pass  (28ms) "visualize app  vertical bar chart with index without time filter should have inspector enabled"
[00:09:20]               └-> should show correct chart
[00:09:20]                 └-> "before each" hook: global before each
[00:09:20]                 │ debg Find.findByCssSelector('div.visAxis__splitAxes--y > div > svg > g.ValueAxis-1 > g:last-of-type.tick') with timeout=10000
[00:09:20]                 │ debg maxYLabel = 1600, maxYLabelYPosition = 200.40625
[00:09:20]                 │ debg Find.findByCssSelector('div.visAxis__column--y.visAxis__column--left  > div > div > svg:nth-child(2) > g > g:nth-child(1).tick') with timeout=10000
[00:09:20]                 │ debg Find.findByCssSelector('div.chart') with timeout=10000
[00:09:20]                 │ debg data=37,202,740,1437,1371,751,188,31,42,202,683,1361,1415,707,177,27,32,175,707,1408,1355,726,201,29
[00:09:20]                 │ debg data.length=24
[00:09:20]                 └- ✓ pass  (109ms) "visualize app  vertical bar chart with index without time filter should show correct chart"
[00:09:20]               └-> should show correct data
[00:09:20]                 └-> "before each" hook: global before each
[00:09:20]                 │ debg Inspector.open
[00:09:20]                 │ debg TestSubjects.exists(inspectorPanel)
[00:09:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:09:23]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:09:23]                 │ debg TestSubjects.click(openInspectorButton)
[00:09:23]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:09:23]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:09:23]                 │ debg TestSubjects.exists(inspectorPanel)
[00:09:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:09:23]                 │ debg Inspector.expectTableData(2015-09-20 00:00,37,2015-09-20 03:00,202,2015-09-20 06:00,740,2015-09-20 09:00,1,437,2015-09-20 12:00,1,371,2015-09-20 15:00,751,2015-09-20 18:00,188,2015-09-20 21:00,31,2015-09-21 00:00,42,2015-09-21 03:00,202,2015-09-21 06:00,683,2015-09-21 09:00,1,361,2015-09-21 12:00,1,415,2015-09-21 15:00,707,2015-09-21 18:00,177,2015-09-21 21:00,27,2015-09-22 00:00,32,2015-09-22 03:00,175,2015-09-22 06:00,707,2015-09-22 09:00,1,408)
[00:09:23]                 │ debg TestSubjects.find(inspectorPanel)
[00:09:23]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:09:23]                 └- ✓ pass  (3.4s) "visualize app  vertical bar chart with index without time filter should show correct data"
[00:09:23]               └-: switch between Y axis scale types
[00:09:23]                 └-> "before all" hook
[00:09:23]                 └-> "before all" hook: initBarChart
[00:09:23]                   │ debg navigateToApp visualize
[00:09:23]                   │ debg navigating to visualize url: http://localhost:61211/app/visualize#/
[00:09:23]                   │ debg navigate to: http://localhost:61211/app/visualize#/
[00:09:23]                   │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464598302#/ 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:09:23]                   │
[00:09:23]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:23]                   │ debg ... sleep(700) start
[00:09:24]                   │ debg ... sleep(700) end
[00:09:24]                   │ debg returned from get, calling refresh
[00:09:25]                   │ERROR browser[SEVERE] http://localhost:61211/39022/bundles/core/core.entry.js 12:85159 TypeError: Failed to fetch
[00:09:25]                   │          at _callee3$ (http://localhost:61211/39022/bundles/core/core.entry.js:6:43987)
[00:09:25]                   │          at l (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:09:25]                   │          at Generator._invoke (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:09:25]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:09:25]                   │          at fetch_asyncGeneratorStep (http://localhost:61211/39022/bundles/core/core.entry.js:6:39045)
[00:09:25]                   │          at _throw (http://localhost:61211/39022/bundles/core/core.entry.js:6:39453)
[00:09:25]                   │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464598302#/ 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:09:25]                   │
[00:09:25]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:25]                   │ debg currentUrl = http://localhost:61211/app/visualize#/
[00:09:25]                   │          appUrl = http://localhost:61211/app/visualize#/
[00:09:25]                   │ debg TestSubjects.find(kibanaChrome)
[00:09:25]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:25]                   │ debg ... sleep(501) start
[00:09:25]                   │ debg ... sleep(501) end
[00:09:25]                   │ debg in navigateTo url = http://localhost:61211/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:25]                   │ debg TestSubjects.exists(statusPageContainer)
[00:09:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:28]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:28]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:28]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:30]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:30]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:30]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:30]                   │ debg TestSubjects.exists(newItemButton)
[00:09:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:30]                   │ debg TestSubjects.click(newItemButton)
[00:09:30]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:30]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:31]                   │ debg TestSubjects.click(visGroupAggBasedExploreLink)
[00:09:31]                   │ debg Find.clickByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:09:31]                   │ debg Find.findByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:09:31]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:09:31]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:09:31]                   │ debg clickVerticalBarChart
[00:09:31]                   │ debg TestSubjects.click(visType-histogram)
[00:09:31]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:09:31]                   │ debg Find.findByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:09:31]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:31]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:32]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:33]                   │ debg TestSubjects.click(savedObjectTitlelogstash*)
[00:09:33]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:09:33]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:09:33]                   │ debg isGlobalLoadingIndicatorVisible
[00:09:33]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:33]                   │ debg browser[INFO] http://localhost:61211/app/visualize#/create?type=histogram&indexPattern=logstash* 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:09:33]                   │
[00:09:33]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:35]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:35]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:35]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:35]                   │ debg ... sleep(500) start
[00:09:36]                   │ debg ... sleep(500) end
[00:09:36]                   │ debg Bucket = X-Axis
[00:09:36]                   │ debg TestSubjects.click(visEditorAdd_buckets)
[00:09:36]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:09:36]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:09:36]                   │ debg TestSubjects.click(visEditorAdd_buckets_X-axis)
[00:09:36]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:09:36]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:09:36]                   │ debg Aggregation = Date Histogram
[00:09:36]                   │ debg Find.findByCssSelector('
[00:09:36]                   │                [data-test-subj="bucketsAggGroup"]
[00:09:36]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:09:36]                   │                
[00:09:36]                   │                [data-test-subj="defaultEditorAggSelect"]
[00:09:36]                   │              ') with timeout=10000
[00:09:36]                   │ debg comboBox.setElement, value: Date Histogram
[00:09:36]                   │ debg comboBox.isOptionSelected, value: Date Histogram
[00:09:38]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:09:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:09:38]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Date Histogram"]') with timeout=2500
[00:09:38]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:09:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:09:41]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:09:41]                   │ debg ... sleep(500) start
[00:09:42]                   │ debg ... sleep(500) end
[00:09:42]                   │ debg Field = @timestamp
[00:09:42]                   │ debg selectField @timestamp
[00:09:42]                   │ debg Find.findByCssSelector('
[00:09:42]                   │                [data-test-subj="bucketsAggGroup"]
[00:09:42]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:09:42]                   │                [data-test-subj="visAggEditorParams"]
[00:09:42]                   │                
[00:09:42]                   │                [data-test-subj="visDefaultEditorField"]
[00:09:42]                   │              ') with timeout=10000
[00:09:42]                   │ debg comboBox.setElement, value: @timestamp
[00:09:42]                   │ debg comboBox.isOptionSelected, value: @timestamp
[00:09:44]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:09:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:09:44]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:09:44]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:09:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:09:47]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:09:47]                   │ debg visEditor.setInterval(3h, {custom, 2, false})
[00:09:47]                   │ debg comboBox.setCustom, comboBoxSelector: visEditorInterval, value: 3h
[00:09:47]                   │ debg TestSubjects.find(visEditorInterval)
[00:09:47]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorInterval"]') with timeout=10000
[00:09:50]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:09:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:09:52]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:09:53]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:09:53]                   │ debg TestSubjects.find(visualizationLoader)
[00:09:53]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:53]                   │ debg -- firstCount=1
[00:09:53]                   │ debg ... sleep(2000) start
[00:09:55]                   │ debg ... sleep(2000) end
[00:09:55]                   │ debg TestSubjects.find(visualizationLoader)
[00:09:55]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:55]                   │ debg -- secondCount=1
[00:09:55]                   │ debg TestSubjects.find(visualizationLoader)
[00:09:55]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:55]                   │ debg Before Rendering count 1
[00:09:55]                   │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:09:55]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:09:55]                   │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:09:55]                   │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [2]...
[00:09:55]                   │ debg TestSubjects.find(visualizationLoader)
[00:09:55]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:55]                   │ debg -- currentRenderingCount=1
[00:09:56]                   │ debg TestSubjects.find(visualizationLoader)
[00:09:56]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:09:56]                   │ debg -- currentRenderingCount=2
[00:10:55]               └-: vertical bar with multiple splits
[00:10:55]                 └-> "before all" hook
[00:10:55]                 └-> "before all" hook: initBarChart
[00:10:55]                   │ debg navigateToApp visualize
[00:10:55]                   │ debg navigating to visualize url: http://localhost:61211/app/visualize#/
[00:10:55]                   │ debg navigate to: http://localhost:61211/app/visualize#/
[00:10:55]                   │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464689452#/ 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:10:55]                   │
[00:10:55]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:55]                   │ debg ... sleep(700) start
[00:10:55]                   │ debg ... sleep(700) end
[00:10:55]                   │ debg returned from get, calling refresh
[00:10:56]                   │ERROR browser[SEVERE] http://localhost:61211/39022/bundles/core/core.entry.js 12:194165 TypeError: Failed to fetch
[00:10:56]                   │          at _callee3$ (http://localhost:61211/39022/bundles/core/core.entry.js:6:43987)
[00:10:56]                   │          at l (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:10:56]                   │          at Generator._invoke (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:10:56]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61211/39022/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:10:56]                   │          at fetch_asyncGeneratorStep (http://localhost:61211/39022/bundles/core/core.entry.js:6:39045)
[00:10:56]                   │          at _throw (http://localhost:61211/39022/bundles/core/core.entry.js:6:39453)
[00:10:56]                   │ debg browser[INFO] http://localhost:61211/app/visualize?_t=1612464689452#/ 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:10:56]                   │
[00:10:56]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:56]                   │ debg currentUrl = http://localhost:61211/app/visualize#/
[00:10:56]                   │          appUrl = http://localhost:61211/app/visualize#/
[00:10:56]                   │ debg TestSubjects.find(kibanaChrome)
[00:10:56]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:56]                   │ debg ... sleep(501) start
[00:10:57]                   │ debg ... sleep(501) end
[00:10:57]                   │ debg in navigateTo url = http://localhost:61211/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:10:57]                   │ debg TestSubjects.exists(statusPageContainer)
[00:10:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:59]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:11:00]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:00]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:01]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:02]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:02]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:02]                   │ debg TestSubjects.exists(newItemButton)
[00:11:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg TestSubjects.click(newItemButton)
[00:11:02]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg TestSubjects.click(visGroupAggBasedExploreLink)
[00:11:02]                   │ debg Find.clickByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:11:02]                   │ debg Find.findByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:11:02]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:11:02]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:11:02]                   │ debg clickVerticalBarChart
[00:11:02]                   │ debg TestSubjects.click(visType-histogram)
[00:11:02]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:11:02]                   │ debg Find.findByCssSelector('[data-test-subj="visType-histogram"]') with timeout=10000
[00:11:02]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:02]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:04]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:04]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:04]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:04]                   │ debg TestSubjects.click(savedObjectTitlelogstash*)
[00:11:04]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:11:04]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash*"]') with timeout=10000
[00:11:04]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:04]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:04]                   │ debg browser[INFO] http://localhost:61211/app/visualize#/create?type=histogram&indexPattern=logstash* 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:11:04]                   │
[00:11:04]                   │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:11:06]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:06]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:06]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:07]                   │ debg ... sleep(500) start
[00:11:07]                   │ debg ... sleep(500) end
[00:11:07]                   │ debg Bucket = X-Axis
[00:11:07]                   │ debg TestSubjects.click(visEditorAdd_buckets)
[00:11:07]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:11:07]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:11:07]                   │ debg TestSubjects.click(visEditorAdd_buckets_X-axis)
[00:11:07]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:11:07]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:11:07]                   │ debg Aggregation = Date Histogram
[00:11:07]                   │ debg Find.findByCssSelector('
[00:11:07]                   │                [data-test-subj="bucketsAggGroup"]
[00:11:07]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:11:07]                   │                
[00:11:07]                   │                [data-test-subj="defaultEditorAggSelect"]
[00:11:07]                   │              ') with timeout=10000
[00:11:07]                   │ debg comboBox.setElement, value: Date Histogram
[00:11:07]                   │ debg comboBox.isOptionSelected, value: Date Histogram
[00:11:10]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:10]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Date Histogram"]') with timeout=2500
[00:11:10]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:13]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:13]                   │ debg ... sleep(500) start
[00:11:14]                   │ debg ... sleep(500) end
[00:11:14]                   │ debg Field = @timestamp
[00:11:14]                   │ debg selectField @timestamp
[00:11:14]                   │ debg Find.findByCssSelector('
[00:11:14]                   │                [data-test-subj="bucketsAggGroup"]
[00:11:14]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:11:14]                   │                [data-test-subj="visAggEditorParams"]
[00:11:14]                   │                
[00:11:14]                   │                [data-test-subj="visDefaultEditorField"]
[00:11:14]                   │              ') with timeout=10000
[00:11:14]                   │ debg comboBox.setElement, value: @timestamp
[00:11:14]                   │ debg comboBox.isOptionSelected, value: @timestamp
[00:11:15]                   │ info [o.e.c.r.a.DiskThresholdMonitor] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] low disk watermark [85%] exceeded on [JCP8ur1jS-i3akFHEFwCjw][kibana-ci-immutable-debian-tests-xxl-1612462878957502065][/dev/shm/workspace/parallel/21/kibana/.es/job-kibana-ciGroup12-worker-21-es-test-cluster/data] free: 15.6gb[13.2%], replicas will not be assigned to this node
[00:11:16]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:16]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:11:16]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:19]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:19]                   │ debg visEditor.setInterval(3h, {custom, 2, false})
[00:11:19]                   │ debg comboBox.setCustom, comboBoxSelector: visEditorInterval, value: 3h
[00:11:19]                   │ debg TestSubjects.find(visEditorInterval)
[00:11:19]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorInterval"]') with timeout=10000
[00:11:22]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:24]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:25]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:11:25]                   │ debg TestSubjects.find(visualizationLoader)
[00:11:25]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:11:25]                   │ debg -- firstCount=1
[00:11:25]                   │ debg ... sleep(2000) start
[00:11:27]                   │ debg ... sleep(2000) end
[00:11:27]                   │ debg TestSubjects.find(visualizationLoader)
[00:11:27]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:11:27]                   │ debg -- secondCount=1
[00:11:27]                   │ debg TestSubjects.find(visualizationLoader)
[00:11:27]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:11:27]                   │ debg Before Rendering count 1
[00:11:27]                   │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:11:27]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:11:27]                   │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:11:27]                   │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [2]...
[00:11:27]                   │ debg TestSubjects.find(visualizationLoader)
[00:11:27]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:11:27]                   │ debg -- currentRenderingCount=1
[00:11:28]                   │ debg TestSubjects.find(visualizationLoader)
[00:11:28]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:11:28]                   │ debg -- currentRenderingCount=2
[00:11:28]                 └-> should show correct series
[00:11:28]                   └-> "before each" hook: global before each
[00:11:28]                   │ debg Find.findByCssSelector('button[aria-controls="visEditorAggAccordion2"]') with timeout=10000
[00:11:28]                   │ debg toggle visEditorAggAccordion2 expand = true
[00:11:28]                   │ debg toggle visEditorAggAccordion2 click()
[00:11:28]                   │ debg TestSubjects.click(visEditorAdd_buckets)
[00:11:28]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:11:28]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:11:28]                   │ debg TestSubjects.click(visEditorAdd_buckets_Split series)
[00:11:28]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_Split series"]') with timeout=10000
[00:11:28]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_Split series"]') with timeout=10000
[00:11:28]                   │ debg Find.findByCssSelector('
[00:11:28]                   │                [data-test-subj="bucketsAggGroup"]
[00:11:28]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:11:28]                   │                
[00:11:28]                   │                [data-test-subj="defaultEditorAggSelect"]
[00:11:28]                   │              ') with timeout=10000
[00:11:28]                   │ debg comboBox.setElement, value: Terms
[00:11:28]                   │ debg comboBox.isOptionSelected, value: Terms
[00:11:30]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:30]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Terms"]') with timeout=2500
[00:11:31]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:33]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:11:34]                   │ debg ... sleep(500) start
[00:11:34]                   │ debg ... sleep(500) end
[00:11:34]                   │ debg selectField response.raw
[00:11:34]                   │ debg Find.findByCssSelector('
[00:11:34]                   │                [data-test-subj="bucketsAggGroup"]
[00:11:34]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:11:34]                   │                [data-test-subj="visAggEditorParams"]
[00:11:34]                   │                
[00:11:34]                   │                [data-test-subj="visDefaultEditorField"]
[00:11:34]                   │              ') with timeout=10000
[00:11:34]                   │ debg comboBox.setElement, value: response.raw
[00:11:34]                   │ debg comboBox.isOptionSelected, value: response.raw
[00:11:37]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:11:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:11:37]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="response.raw"]') with timeout=2500
[00:18:55]                   │ proc [kibana]   log   [18:54:37.136] [error][savedobjects-service] Unable to retrieve version information from Elasticsearch nodes.
[00:21:41]                   └- ✖ fail: visualize app  vertical bar chart with index without time filter vertical bar with multiple splits should show correct series
[00:21:41]                   │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/21/kibana/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js)
[00:21:41]                   │       at listOnTimeout (internal/timers.js:554:17)
[00:21:41]                   │       at processTimers (internal/timers.js:497:7)
[00:21:41]                   │ 
[00:21:41]                   │ 

Stack Trace

Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/21/kibana/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.js)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/find·ts.alerting api integration security and spaces enabled Alerts alerts find superuser at space1 should handle find alert request appropriately

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: alerting api integration security and spaces enabled
[00:00:00]           └-> "before all" hook
[00:03:58]           └-: Alerts
[00:03:58]             └-> "before all" hook
[00:05:24]             └-: alerts
[00:05:24]               └-> "before all" hook
[00:05:24]               └-> "before all" hook
[00:05:24]                 │ debg creating space
[00:05:24]                 │ proc [kibana]   log   [19:08:11.906] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-04T19:08:11.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-04T19:08:11.902Z","end":"2021-02-04T19:08:11.905Z","duration":3000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"b384be60-ec53-4b26-857e-0253ee55b277","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/b384be60-ec53-4b26-857e-0253ee55b277] not found"},"message":"test.always-firing:b384be60-ec53-4b26-857e-0253ee55b277: execution failed","ecs":{"version":"1.6.0"}}
[00:05:24]                 │ proc [kibana]   log   [19:08:11.907] [error][plugins][taskManager] Task actions:test.index-record "52668dd0-671c-11eb-b483-d36dea9f13d1" failed: Error: Saved object [action_task_params/51d8a5b0-671c-11eb-b483-d36dea9f13d1] not found
[00:05:24]                 │ proc [kibana]   log   [19:08:11.909] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-04T19:08:11.902Z","event":{"provider":"alerting","action":"execute","start":"2021-02-04T19:08:11.902Z","end":"2021-02-04T19:08:11.908Z","duration":6000000,"reason":"decrypt","outcome":"failure"},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"362e362b-a137-4aa2-9434-43e3d0d84a34","namespace":"space1"}],"alerting":{"status":"error"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"error":{"message":"Saved object [alert/362e362b-a137-4aa2-9434-43e3d0d84a34] not found"},"message":"test.always-firing:362e362b-a137-4aa2-9434-43e3d0d84a34: execution failed","ecs":{"version":"1.6.0"}}
[00:05:24]                 │ proc [kibana]   log   [19:08:11.910] [error][plugins][taskManager] Task actions:test.index-record "5266b4e0-671c-11eb-b483-d36dea9f13d1" failed: Error: Saved object [action_task_params/51d8ccc0-671c-11eb-b483-d36dea9f13d1] not found
[00:05:24]                 │ proc [kibana]   log   [19:08:11.910] [error][plugins][taskManager] Task actions:test.index-record "5266b4e1-671c-11eb-b483-d36dea9f13d1" failed: Error: Saved object [action_task_params/51d8ccc1-671c-11eb-b483-d36dea9f13d1] not found
[00:05:24]                 │ proc [kibana]   log   [19:08:11.911] [error][plugins][taskManager] Task alerting:test.always-firing "e4df5430-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/362e362b-a137-4aa2-9434-43e3d0d84a34] not found
[00:05:24]                 │ proc [kibana]   log   [19:08:11.912] [error][plugins][taskManager] Task alerting:test.always-firing "e39a02f0-eea4-11ea-a285-352ee3aecffa" failed: Error: Saved object [alert/b384be60-ec53-4b26-857e-0253ee55b277] not found
[00:05:24]                 │ debg created space
[00:05:24]                 │ debg creating space
[00:05:25]                 │ debg created space
[00:05:25]                 │ debg creating space
[00:05:26]                 │ debg created space
[00:05:26]                 │ debg creating user no_kibana_privileges
[00:05:26]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [no_kibana_privileges]
[00:05:26]                 │ debg created user no_kibana_privileges
[00:05:26]                 │ debg creating role no_kibana_privileges
[00:05:26]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added role [no_kibana_privileges]
[00:05:26]                 │ debg creating user superuser
[00:05:26]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [superuser]
[00:05:26]                 │ debg created user superuser
[00:05:26]                 │ debg creating user global_read
[00:05:27]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [global_read]
[00:05:27]                 │ debg created user global_read
[00:05:27]                 │ debg creating role global_read_role
[00:05:27]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added role [global_read_role]
[00:05:27]                 │ debg creating user space_1_all
[00:05:27]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [space_1_all]
[00:05:27]                 │ debg created user space_1_all
[00:05:27]                 │ debg creating role space_1_all_role
[00:05:27]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added role [space_1_all_role]
[00:05:27]                 │ debg creating user space_1_all_with_restricted_fixture
[00:05:27]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [space_1_all_with_restricted_fixture]
[00:05:27]                 │ debg created user space_1_all_with_restricted_fixture
[00:05:27]                 │ debg creating role space_1_all_with_restricted_fixture_role
[00:05:27]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added role [space_1_all_with_restricted_fixture_role]
[00:05:27]                 │ debg creating user space_1_all_alerts_none_actions
[00:05:27]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added user [space_1_all_alerts_none_actions]
[00:05:27]                 │ debg created user space_1_all_alerts_none_actions
[00:05:27]                 │ debg creating role space_1_all_alerts_none_actions_role
[00:05:27]                 │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1612462878957502065] added role [space_1_all_alerts_none_actions_role]
[00:05:27]               └-: find
[00:05:27]                 └-> "before all" hook
[00:06:08]                 └-: superuser at space1
[00:06:08]                   └-> "before all" hook
[00:06:08]                   └-> should handle find alert request appropriately
[00:06:08]                     └-> "before each" hook: global before each
[00:06:12]                     │ proc [kibana]   log   [19:08:59.945] [info][eventLog][plugins] event logged: {"@timestamp":"2021-02-04T19:08:59.904Z","event":{"provider":"alerting","action":"execute","start":"2021-02-04T19:08:59.904Z","outcome":"success","end":"2021-02-04T19:08:59.944Z","duration":40000000},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"6d7c25d0-671c-11eb-b483-d36dea9f13d1","namespace":"space1"}],"alerting":{"status":"ok"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"message":"alert executed: test.noop:6d7c25d0-671c-11eb-b483-d36dea9f13d1: 'abc'","ecs":{"version":"1.6.0"}}
[00:06:12]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts alerts find superuser at space1 should handle find alert request appropriately
[00:06:12]                     │       Error: expected 400 to sort of equal 200
[00:06:12]                     │       + expected - actual
[00:06:12]                     │ 
[00:06:12]                     │       -400
[00:06:12]                     │       +200
[00:06:12]                     │       
[00:06:12]                     │       at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
[00:06:12]                     │       at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:244:8)
[00:06:12]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/find.ts:58:46)
[00:06:12]                     │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:06:12]                     │ 
[00:06:12]                     │ 

Stack Trace

Error: expected 400 to sort of equal 200
    at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/find.ts:58:46)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16) {
  actual: '400',
  expected: '200',
  showDiff: true
}

and 20 more failures, only showing the first 3.

Metrics [docs]

‼️ ERROR: metrics for 272b2d0 were not reported

History

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

@cjcenizal cjcenizal added the release_note:feature Makes this part of the condensed release notes label Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Index Management Index and index templates UI release_note:feature Makes this part of the condensed release notes release_note:fix Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.10.2 v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect sorting on Storagesize when viewing data streams
4 participants