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

[data.search.aggs] Remove fieldFormats from AggConfig & AggConfigs #69620

Closed
wants to merge 28 commits into from

Conversation

lukeelmers
Copy link
Member

@lukeelmers lukeelmers commented Jun 19, 2020

Closed in favor of #69762

@lukeelmers lukeelmers added review Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v8.0.0 Team:AppArch Feature:FieldFormatters v7.9.0 labels Jun 19, 2020
@lukeelmers lukeelmers requested a review from ppisljar June 19, 2020 15:31
@lukeelmers lukeelmers self-assigned this Jun 19, 2020
const value = parseInt(key, 10);
const params: RangeFilterParams = { gte: value, lt: value + aggConfig.params.interval };
/** @internal */
export const createFilterHistogram = (getInternalStartServices: GetInternalStartServicesFn) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Now that we don't have aggConfig.fieldFormatter, these need to be wrapped in a provider function so that getInternalStartServices can be passed in to access fieldFormats.deserialize instead. (This is also one of the reasons agg types still depend on field formats, even though agg configs & agg config doesnt)

expect(filter).toHaveProperty('range');
expect(filter).toHaveProperty('meta');
expect(filter.meta).toHaveProperty('index', '1234');
expect(filter.range).toHaveProperty('bytes');
expect(filter.range.bytes).toHaveProperty('gte', 1024.0);
expect(filter.range.bytes).toHaveProperty('lt', 2048.0);
expect(filter.meta).toHaveProperty('formattedValue', '≥ 1,024 and < 2,048');
expect(filter.meta).toHaveProperty('formattedValue');
Copy link
Member Author

Choose a reason for hiding this comment

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

We are no longer testing for specific values here since the mocks aren't returning any real values, but I don't think they were the right thing to test here anyway. Instead I'm just making sure a formattedValue is included, and also verifying that fieldFormats.deserialize was called as expected. Whether the values are deserialized correctly is something to test in field formats.

Comment on lines +39 to +42
deserialize: jest.fn().mockImplementation(() => {
const DefaultFieldFormat = FieldFormat.from(identity);
return new DefaultFieldFormat();
}),
Copy link
Member Author

Choose a reason for hiding this comment

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

Added a mock implementation to improve these somewhat. I just stole this from the getFormat function inside of fieldFormats.deserialize.

Important to note that since this is configured with identity, any calls against this mock are just going to return whatever they are given. So you'll get a convert function you can use, but of course it won't actually convert what you give to it.

type: {
id: 'bytes',
},
toJSON: () => ({ id: 'bytes' }),
Copy link
Member Author

Choose a reason for hiding this comment

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

These mocks were changed because this is basically the only part of field formats that AggConfig cares about: getting the serialized format for the field from the provided index pattern

@lukeelmers
Copy link
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/visualize/_tile_map·js.visualize app tile map visualize app complete config tile map chart should show correct tile map data on default zoom level

Link to Jenkins

Standard Out

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

[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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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: 11731
[00:00:11]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:11]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:11]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:12]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:12]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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:12]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:12]             │ 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:22]             │ info progress: 12342
[00:00:23]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:23]             │ info [visualize] Loading "mappings.json"
[00:00:23]             │ info [visualize] Loading "data.json"
[00:00:23]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_1/9nWFMrapQKu5gn0aYp6USw] deleting index
[00:00:23]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:23]             │ info [visualize] Created index ".kibana"
[00:00:23]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/YzgvldGeTDyTY7BsUaw9dw] update_mapping [_doc]
[00:00:24]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/YzgvldGeTDyTY7BsUaw9dw] update_mapping [_doc]
[00:00:24]             │ debg Migrating saved objects
[00:00:24]             │ proc [kibana]   log   [14:43:37.905] [info][savedobjects-service] Creating index .kibana_2.
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:24]             │ proc [kibana]   log   [14:43:37.978] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.tasks]
[00:00:24]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 1552 finished with response BulkByScrollResponse[took=74.6ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/YzgvldGeTDyTY7BsUaw9dw] deleting index
[00:00:24]             │ proc [kibana]   log   [14:43:38.362] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:24]             │ proc [kibana]   log   [14:43:38.388] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/EveytgpcSei-tHsy3J0i2A] update_mapping [_doc]
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/EveytgpcSei-tHsy3J0i2A] update_mapping [_doc]
[00:00:24]             │ proc [kibana]   log   [14:43:38.471] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:24]             │ proc [kibana]   log   [14:43:38.513] [info][savedobjects-service] Finished in 610ms.
[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-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/EveytgpcSei-tHsy3J0i2A] update_mapping [_doc]
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/EveytgpcSei-tHsy3J0i2A] update_mapping [_doc]
[00:00:26]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/EveytgpcSei-tHsy3J0i2A] update_mapping [_doc]
[00:00:27]           └-: 
[00:00:27]             └-> "before all" hook
[00:15:37]             └-: tile map visualize app
[00:15:37]               └-> "before all" hook
[00:16:01]               └-: complete config
[00:16:01]                 └-> "before all" hook
[00:16:01]                 └-> "before all" hook
[00:16:01]                   │ debg navigateToApp visualize
[00:16:01]                   │ debg navigating to visualize url: http://localhost:61121/app/visualize#/
[00:16:01]                   │ debg navigate to: http://localhost:61121/app/visualize#/
[00:16:01]                   │ debg ... sleep(700) start
[00:16:01]                   │ debg browser[INFO] http://localhost:61121/app/visualize?_t=1592924354944#/ 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:16:01]                   │
[00:16:01]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:01]                   │ debg ... sleep(700) end
[00:16:01]                   │ debg returned from get, calling refresh
[00:16:02]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:59:15Z
[00:16:02]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:02]                   │
[00:16:02]                   │      "
[00:16:02]                   │ debg browser[INFO] http://localhost:61121/app/visualize?_t=1592924354944#/ 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:16:02]                   │
[00:16:02]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:03]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:59:16Z
[00:16:03]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:03]                   │
[00:16:03]                   │      "
[00:16:03]                   │ debg currentUrl = http://localhost:61121/app/visualize#/
[00:16:03]                   │          appUrl = http://localhost:61121/app/visualize#/
[00:16:03]                   │ debg TestSubjects.find(kibanaChrome)
[00:16:03]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:03]                   │ debg ... sleep(501) start
[00:16:03]                   │ debg ... sleep(501) end
[00:16:03]                   │ debg in navigateTo url = http://localhost:61121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:16:03]                   │ debg TestSubjects.exists(statusPageContainer)
[00:16:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:06]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:06]                   │ debg TestSubjects.exists(newItemButton)
[00:16:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:16:06]                   │ debg TestSubjects.click(newItemButton)
[00:16:06]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:06]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:06]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:16:06]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:16:06]                   │ debg clickTileMap
[00:16:06]                   │ debg TestSubjects.click(visType-tile_map)
[00:16:06]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-tile_map"]') with timeout=10000
[00:16:06]                   │ debg Find.findByCssSelector('[data-test-subj="visType-tile_map"]') with timeout=10000
[00:16:07]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:07]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:07]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:16:09]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:09]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:09]                   │ debg TestSubjects.click(savedObjectTitlelogstash-*)
[00:16:09]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:16:09]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:16:10]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:10]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:10]                   │ debg browser[INFO] http://localhost:61121/app/visualize#/create?type=tile_map&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:16:10]                   │
[00:16:10]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:11]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:59:24Z
[00:16:11]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:11]                   │
[00:16:11]                   │      "
[00:16:11]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:11]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:11]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:11]                   │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:16:11]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:11]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:11]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:11]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:11]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:11]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:11]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:11]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:11]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:12]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:12]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:12]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:12]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:12]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:12]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:16:12]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:12]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:12]                   │ debg ... sleep(500) start
[00:16:13]                   │ debg ... sleep(500) end
[00:16:13]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:13]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:13]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:13]                   │ debg Find.waitForElementStale with timeout=10000
[00:16:13]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:13]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:13]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:13]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:13]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:13]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:13]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:13]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:16:13]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:13]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:13]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:14]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:16]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:17]                   │ debg TestSubjects.click(querySubmitButton)
[00:16:17]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:17]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:17]                   │ debg Find.waitForElementStale with timeout=10000
[00:16:17]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:17]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:17]                   │ debg select bucket Geo Coordinates
[00:16:17]                   │ debg TestSubjects.click(visEditorAdd_buckets)
[00:16:17]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:16:17]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:16:17]                   │ debg TestSubjects.click(visEditorAdd_buckets_Geo coordinates)
[00:16:17]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_Geo coordinates"]') with timeout=10000
[00:16:17]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_Geo coordinates"]') with timeout=10000
[00:16:18]                   │ debg Click aggregation Geohash
[00:16:18]                   │ debg Find.findByCssSelector('
[00:16:18]                   │                [data-test-subj="bucketsAggGroup"]
[00:16:18]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:16:18]                   │                
[00:16:18]                   │                [data-test-subj="defaultEditorAggSelect"]
[00:16:18]                   │              ') with timeout=10000
[00:16:18]                   │ debg comboBox.setElement, value: Geohash
[00:16:18]                   │ debg comboBox.isOptionSelected, value: Geohash
[00:16:20]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:20]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Geohash"]') with timeout=2500
[00:16:20]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:23]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:23]                   │ debg ... sleep(500) start
[00:16:24]                   │ debg ... sleep(500) end
[00:16:24]                   │ debg Click field geo.coordinates
[00:16:24]                   │ debg selectField geo.coordinates
[00:16:24]                   │ debg Find.findByCssSelector('
[00:16:24]                   │                [data-test-subj="bucketsAggGroup"]
[00:16:24]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:16:24]                   │                [data-test-subj="visAggEditorParams"]
[00:16:24]                   │                
[00:16:24]                   │                [data-test-subj="visDefaultEditorField"]
[00:16:24]                   │              ') with timeout=10000
[00:16:24]                   │ debg comboBox.setElement, value: geo.coordinates
[00:16:24]                   │ debg comboBox.isOptionSelected, value: geo.coordinates
[00:16:24]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:24]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:24]                   │ debg Before Rendering count 2
[00:16:24]                   │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:16:24]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:16:24]                   │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:16:24]                   │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [3]...
[00:16:24]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:24]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:24]                   │ debg -- currentRenderingCount=2
[00:16:25]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:25]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:25]                   │ debg -- currentRenderingCount=4
[00:16:25]                 └-: tile map chart
[00:16:25]                   └-> "before all" hook
[00:16:25]                   └-> should have inspector enabled
[00:16:25]                     └-> "before each" hook: global before each
[00:16:25]                     │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:16:25]                     │ debg TestSubjects.find(openInspectorButton)
[00:16:25]                     │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:25]                     └- ✓ pass  (30ms) "visualize app  tile map visualize app complete config tile map chart should have inspector enabled"
[00:16:25]                   └-> should show correct tile map data on default zoom level
[00:16:25]                     └-> "before each" hook: global before each
[00:16:25]                     │ debg Find.allByCssSelector('a.leaflet-control-zoom-out') with timeout=10000
[00:16:25]                     │ debg isGlobalLoadingIndicatorVisible
[00:16:25]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:27]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:27]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:27]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:27]                     │ debg Find.allByCssSelector('a.leaflet-control-zoom-out') with timeout=10000
[00:16:27]                     │ debg isGlobalLoadingIndicatorVisible
[00:16:27]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:27]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:29]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:29]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:29]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:29]                     │ debg Inspector.open
[00:16:29]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:29]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:32]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:16:32]                     │ debg TestSubjects.click(openInspectorButton)
[00:16:32]                     │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:32]                     │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:33]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:33]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:33]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:33]                     │ debg Find.clickByButtonText('Rows per page: 20') with timeout=10000
[00:16:33]                     │ debg Find.byButtonText('Rows per page: 20') with timeout=10000
[00:16:33]                     │ debg Find.findByCssSelector('.euiPanel .euiContextMenuPanel') with timeout=10000
[00:16:33]                     │ debg Find.clickByButtonText('50 rows') with timeout=10000
[00:16:33]                     │ debg Find.byButtonText('50 rows') with timeout=10000
[00:16:33]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:33]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:33]                     │ debg Close Inspector
[00:16:33]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:33]                     │ debg Closing flyout inspectorPanel
[00:16:33]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:33]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:33]                     │ debg Waiting up to 20000ms for flyout closed...
[00:16:33]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:16:34]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:16:35]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:35]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:37]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:16:38]                     │ debg comparing expected:  [ [ '-', '9', '5,787', { lat: 37, lon: -104 } ],
[00:16:38]                     │        [ '-', 'd', '5,600', { lat: 37, lon: -82 } ],
[00:16:38]                     │        [ '-', 'c', '1,319', { lat: 47, lon: -110 } ],
[00:16:38]                     │        [ '-', 'b', '999', { lat: 62, lon: -156 } ],
[00:16:38]                     │        [ '-', 'f', '187', { lat: 45, lon: -83 } ],
[00:16:38]                     │        [ '-', '8', '108', { lat: 18, lon: -157 } ] ]
[00:16:38]                     │ debg with actual:  [ [ '',
[00:16:38]                     │          '9',
[00:16:38]                     │          '5,787',
[00:16:38]                     │          '{ "lat": 37.224525026593234, "lon": -103.0192718078407 }' ],
[00:16:38]                     │        [ '',
[00:16:38]                     │          'd',
[00:16:38]                     │          '5,600',
[00:16:38]                     │          '{ "lat": 37.44275387189368, "lon": -81.72684432634186 }' ],
[00:16:38]                     │        [ '',
[00:16:38]                     │          'c',
[00:16:38]                     │          '1,319',
[00:16:38]                     │          '{ "lat": 47.727217809731386, "lon": -109.84743262966636 }' ],
[00:16:38]                     │        [ '',
[00:16:38]                     │          'b',
[00:16:38]                     │          '999',
[00:16:38]                     │          '{ "lat": 62.04130754852248, "lon": -155.28085906536796 }' ],
[00:16:38]                     │        [ '',
[00:16:38]                     │          'f',
[00:16:38]                     │          '187',
[00:16:38]                     │          '{ "lat": 45.65616771917451, "lon": -82.45830769346837 }' ],
[00:16:38]                     │        [ '',
[00:16:38]                     │          '8',
[00:16:38]                     │          '108',
[00:16:38]                     │          '{ "lat": 18.852603775061045, "lon": -156.5148794883862 }' ] ]
[00:16:38]                     │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level.png"
[00:16:38]                     │ info Current URL is: http://localhost:61121/app/visualize#/create?indexPattern=logstash-*&type=tile_map&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(mapCenter:!(0,0),mapZoom:0),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(autoPrecision:!t,field:geo.coordinates,isFilteredByCollar:!t,precision:2,useGeocentroid:!t),schema:segment,type:geohash_grid)),params:(addTooltip:!t,colorSchema:%27Yellow%20to%20Red%27,heatClusterSize:1.5,isDesaturated:!t,legendPosition:bottomright,mapCenter:!(0,0),mapType:%27Scaled%20Circle%20Markers%27,mapZoom:2,wms:(enabled:!f,options:(format:image%2Fpng,transparent:!t))),title:%27%27,type:tile_map))
[00:16:38]                     │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level.html
[00:16:38]                     └- ✖ fail: "visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level"
[00:16:38]                     │

Stack Trace

{ Error: expected [ [ '', '9', '5,787', { lat: 37, lon: -104 } ],
  [ '', 'd', '5,600', { lat: 37, lon: -82 } ],
  [ '', 'c', '1,319', { lat: 47, lon: -110 } ],
  [ '', 'b', '999', { lat: 62, lon: -156 } ],
  [ '', 'f', '187', { lat: 45, lon: -83 } ],
  [ '', '8', '108', { lat: 18, lon: -157 } ] ] to sort of equal [ [ '-', '9', '5,787', { lat: 37, lon: -104 } ],
  [ '-', 'd', '5,600', { lat: 37, lon: -82 } ],
  [ '-', 'c', '1,319', { lat: 47, lon: -110 } ],
  [ '-', 'b', '999', { lat: 62, lon: -156 } ],
  [ '-', 'f', '187', { lat: 45, lon: -83 } ],
  [ '-', '8', '108', { lat: 18, lon: -157 } ] ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at compareTableData (test/functional/apps/visualize/_tile_map.js:97:34)
    at Context.<anonymous> (test/functional/apps/visualize/_tile_map.js:123:11)
  actual:
   '[\n  [\n    ""\n    "9"\n    "5,787"\n    {\n      "lat": 37\n      "lon": -104\n    }\n  ]\n  [\n    ""\n    "d"\n    "5,600"\n    {\n      "lat": 37\n      "lon": -82\n    }\n  ]\n  [\n    ""\n    "c"\n    "1,319"\n    {\n      "lat": 47\n      "lon": -110\n    }\n  ]\n  [\n    ""\n    "b"\n    "999"\n    {\n      "lat": 62\n      "lon": -156\n    }\n  ]\n  [\n    ""\n    "f"\n    "187"\n    {\n      "lat": 45\n      "lon": -83\n    }\n  ]\n  [\n    ""\n    "8"\n    "108"\n    {\n      "lat": 18\n      "lon": -157\n    }\n  ]\n]',
  expected:
   '[\n  [\n    "-"\n    "9"\n    "5,787"\n    {\n      "lat": 37\n      "lon": -104\n    }\n  ]\n  [\n    "-"\n    "d"\n    "5,600"\n    {\n      "lat": 37\n      "lon": -82\n    }\n  ]\n  [\n    "-"\n    "c"\n    "1,319"\n    {\n      "lat": 47\n      "lon": -110\n    }\n  ]\n  [\n    "-"\n    "b"\n    "999"\n    {\n      "lat": 62\n      "lon": -156\n    }\n  ]\n  [\n    "-"\n    "f"\n    "187"\n    {\n      "lat": 45\n      "lon": -83\n    }\n  ]\n  [\n    "-"\n    "8"\n    "108"\n    {\n      "lat": 18\n      "lon": -157\n    }\n  ]\n]',
  showDiff: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/visualize/_tile_map·js.visualize app tile map visualize app complete config tile map chart should show correct tile map data on default zoom level

Link to Jenkins

Standard Out

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

[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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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-ubuntu-16-tests-xl-1592920815268803458] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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: 8421
[00:00:14]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:14]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:14]             │ 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-ubuntu-16-tests-xl-1592920815268803458] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 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: 10837
[00:00:27]             │ 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-ubuntu-16-tests-xl-1592920815268803458] [.kibana_1/xmmixpkkTLuoTUFNjncLog] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/k9WeBZ1fQnS95IHbBd7Elw] update_mapping [_doc]
[00:00:27]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:27]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/k9WeBZ1fQnS95IHbBd7Elw] update_mapping [_doc]
[00:00:27]             │ debg Migrating saved objects
[00:00:27]             │ proc [kibana]   log   [14:25:02.968] [info][savedobjects-service] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:28]             │ proc [kibana]   log   [14:25:03.061] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:28]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] updating number_of_replicas to [0] for indices [.tasks]
[00:00:28]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] 1553 finished with response BulkByScrollResponse[took=97.6ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana/k9WeBZ1fQnS95IHbBd7Elw] deleting index
[00:00:28]             │ proc [kibana]   log   [14:25:03.505] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:28]             │ proc [kibana]   log   [14:25:03.542] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/KS7VYlXyTKe2a7JJGiQ97A] update_mapping [_doc]
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/KS7VYlXyTKe2a7JJGiQ97A] update_mapping [_doc]
[00:00:28]             │ proc [kibana]   log   [14:25:03.663] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ proc [kibana]   log   [14:25:03.724] [info][savedobjects-service] Finished in 760ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:28]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/KS7VYlXyTKe2a7JJGiQ97A] update_mapping [_doc]
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/KS7VYlXyTKe2a7JJGiQ97A] update_mapping [_doc]
[00:00:30]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1592920815268803458] [.kibana_2/KS7VYlXyTKe2a7JJGiQ97A] update_mapping [_doc]
[00:00:31]           └-: 
[00:00:31]             └-> "before all" hook
[00:15:59]             └-: tile map visualize app
[00:15:59]               └-> "before all" hook
[00:16:23]               └-: complete config
[00:16:23]                 └-> "before all" hook
[00:16:23]                 └-> "before all" hook
[00:16:23]                   │ debg navigateToApp visualize
[00:16:23]                   │ debg navigating to visualize url: http://localhost:61121/app/visualize#/
[00:16:23]                   │ debg navigate to: http://localhost:61121/app/visualize#/
[00:16:23]                   │ debg ... sleep(700) start
[00:16:23]                   │ debg browser[INFO] http://localhost:61121/app/visualize?_t=1592923258508#/ 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:16:23]                   │
[00:16:23]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:24]                   │ debg ... sleep(700) end
[00:16:24]                   │ debg returned from get, calling refresh
[00:16:24]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:40:59Z
[00:16:24]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:24]                   │
[00:16:24]                   │      "
[00:16:24]                   │ERROR browser[SEVERE] http://localhost:61121/33988/bundles/plugin/newsfeed/newsfeed.plugin.js 0:19107 TypeError: Failed to fetch
[00:16:24]                   │          at Fetch._callee3$ (http://localhost:61121/33988/bundles/core/core.entry.js:26:105250)
[00:16:24]                   │          at l (http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:998712)
[00:16:24]                   │          at Generator._invoke (http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:998465)
[00:16:24]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:999069)
[00:16:24]                   │          at fetch_asyncGeneratorStep (http://localhost:61121/33988/bundles/core/core.entry.js:26:98881)
[00:16:24]                   │          at _throw (http://localhost:61121/33988/bundles/core/core.entry.js:26:99289)
[00:16:24]                   │ debg browser[INFO] http://localhost:61121/app/visualize?_t=1592923258508#/ 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:16:24]                   │
[00:16:24]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:24]                   │ debg currentUrl = http://localhost:61121/app/visualize#/
[00:16:24]                   │          appUrl = http://localhost:61121/app/visualize#/
[00:16:24]                   │ debg TestSubjects.find(kibanaChrome)
[00:16:24]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:25]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:41:00Z
[00:16:25]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:25]                   │
[00:16:25]                   │      "
[00:16:25]                   │ debg ... sleep(501) start
[00:16:26]                   │ debg ... sleep(501) end
[00:16:26]                   │ debg in navigateTo url = http://localhost:61121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:16:26]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:16:26]                   │ debg ... sleep(501) start
[00:16:27]                   │ debg ... sleep(501) end
[00:16:27]                   │ debg in navigateTo url = http://localhost:61121/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:16:27]                   │ debg TestSubjects.exists(statusPageContainer)
[00:16:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:29]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:30]                   │ debg TestSubjects.exists(newItemButton)
[00:16:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:16:30]                   │ debg TestSubjects.click(newItemButton)
[00:16:30]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:30]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:16:30]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:16:30]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:16:30]                   │ debg clickTileMap
[00:16:30]                   │ debg TestSubjects.click(visType-tile_map)
[00:16:30]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-tile_map"]') with timeout=10000
[00:16:30]                   │ debg Find.findByCssSelector('[data-test-subj="visType-tile_map"]') with timeout=10000
[00:16:30]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:30]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:31]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:16:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:33]                   │ debg TestSubjects.click(savedObjectTitlelogstash-*)
[00:16:33]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:16:33]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:16:33]                   │ debg isGlobalLoadingIndicatorVisible
[00:16:33]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:33]                   │ debg browser[INFO] http://localhost:61121/app/visualize#/create?type=tile_map&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:16:33]                   │
[00:16:33]                   │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 43:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:34]                   │ debg browser[INFO] http://localhost:61121/33988/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-06-23T14:41:09Z
[00:16:34]                   │        Adding connection to http://localhost:61121/elasticsearch
[00:16:34]                   │
[00:16:34]                   │      "
[00:16:34]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:34]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:34]                   │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:16:34]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:34]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:34]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:34]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:34]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:34]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:35]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:35]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:35]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:35]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:35]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:35]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:35]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:35]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:35]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:35]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:35]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:16:35]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:35]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:35]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:35]                   │ debg ... sleep(500) start
[00:16:36]                   │ debg ... sleep(500) end
[00:16:36]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:16:36]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:36]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:16:36]                   │ debg Find.waitForElementStale with timeout=10000
[00:16:36]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:36]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:36]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:36]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:36]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:36]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:36]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:37]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:16:37]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:37]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:37]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:37]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:16:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:16:39]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:16:40]                   │ debg TestSubjects.click(querySubmitButton)
[00:16:40]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:40]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:16:40]                   │ debg Find.waitForElementStale with timeout=10000
[00:16:40]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:40]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:40]                   │ debg select bucket Geo Coordinates
[00:16:40]                   │ debg TestSubjects.click(visEditorAdd_buckets)
[00:16:40]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:16:40]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:16:41]                   │ debg TestSubjects.click(visEditorAdd_buckets_Geo coordinates)
[00:16:41]                   │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_Geo coordinates"]') with timeout=10000
[00:16:41]                   │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_Geo coordinates"]') with timeout=10000
[00:16:41]                   │ debg Click aggregation Geohash
[00:16:41]                   │ debg Find.findByCssSelector('
[00:16:41]                   │                [data-test-subj="bucketsAggGroup"]
[00:16:41]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:16:41]                   │                
[00:16:41]                   │                [data-test-subj="defaultEditorAggSelect"]
[00:16:41]                   │              ') with timeout=10000
[00:16:41]                   │ debg comboBox.setElement, value: Geohash
[00:16:41]                   │ debg comboBox.isOptionSelected, value: Geohash
[00:16:43]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:43]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Geohash"]') with timeout=2500
[00:16:43]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:16:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:16:46]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:16:46]                   │ debg ... sleep(500) start
[00:16:47]                   │ debg ... sleep(500) end
[00:16:47]                   │ debg Click field geo.coordinates
[00:16:47]                   │ debg selectField geo.coordinates
[00:16:47]                   │ debg Find.findByCssSelector('
[00:16:47]                   │                [data-test-subj="bucketsAggGroup"]
[00:16:47]                   │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:16:47]                   │                [data-test-subj="visAggEditorParams"]
[00:16:47]                   │                
[00:16:47]                   │                [data-test-subj="visDefaultEditorField"]
[00:16:47]                   │              ') with timeout=10000
[00:16:47]                   │ debg comboBox.setElement, value: geo.coordinates
[00:16:47]                   │ debg comboBox.isOptionSelected, value: geo.coordinates
[00:16:47]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:47]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:47]                   │ debg Before Rendering count 2
[00:16:47]                   │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:16:47]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:16:47]                   │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:16:47]                   │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [3]...
[00:16:47]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:47]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:47]                   │ debg -- currentRenderingCount=2
[00:16:48]                   │ debg TestSubjects.find(visualizationLoader)
[00:16:48]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:16:48]                   │ debg -- currentRenderingCount=4
[00:16:48]                 └-: tile map chart
[00:16:48]                   └-> "before all" hook
[00:16:48]                   └-> should have inspector enabled
[00:16:48]                     └-> "before each" hook: global before each
[00:16:48]                     │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:16:48]                     │ debg TestSubjects.find(openInspectorButton)
[00:16:48]                     │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:48]                     └- ✓ pass  (23ms) "visualize app  tile map visualize app complete config tile map chart should have inspector enabled"
[00:16:48]                   └-> should show correct tile map data on default zoom level
[00:16:48]                     └-> "before each" hook: global before each
[00:16:48]                     │ debg Find.allByCssSelector('a.leaflet-control-zoom-out') with timeout=10000
[00:16:48]                     │ debg isGlobalLoadingIndicatorVisible
[00:16:48]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:49]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:50]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:50]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:50]                     │ debg Find.allByCssSelector('a.leaflet-control-zoom-out') with timeout=10000
[00:16:50]                     │ debg isGlobalLoadingIndicatorVisible
[00:16:50]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:52]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:52]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:52]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:52]                     │ debg Inspector.open
[00:16:52]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:55]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:16:55]                     │ debg TestSubjects.click(openInspectorButton)
[00:16:55]                     │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:55]                     │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:16:55]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:55]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:55]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:55]                     │ debg Find.clickByButtonText('Rows per page: 20') with timeout=10000
[00:16:55]                     │ debg Find.byButtonText('Rows per page: 20') with timeout=10000
[00:16:56]                     │ debg Find.findByCssSelector('.euiPanel .euiContextMenuPanel') with timeout=10000
[00:16:56]                     │ debg Find.clickByButtonText('50 rows') with timeout=10000
[00:16:56]                     │ debg Find.byButtonText('50 rows') with timeout=10000
[00:16:56]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:56]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:56]                     │ debg Close Inspector
[00:16:56]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:16:56]                     │ debg Closing flyout inspectorPanel
[00:16:56]                     │ debg TestSubjects.find(inspectorPanel)
[00:16:56]                     │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:16:56]                     │ debg Waiting up to 20000ms for flyout closed...
[00:16:56]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:16:57]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:16:58]                     │ debg TestSubjects.exists(inspectorPanel)
[00:16:58]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:17:00]                     │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:17:01]                     │ debg comparing expected:  [ [ '-', '9', '5,787', { lat: 37, lon: -104 } ],
[00:17:01]                     │        [ '-', 'd', '5,600', { lat: 37, lon: -82 } ],
[00:17:01]                     │        [ '-', 'c', '1,319', { lat: 47, lon: -110 } ],
[00:17:01]                     │        [ '-', 'b', '999', { lat: 62, lon: -156 } ],
[00:17:01]                     │        [ '-', 'f', '187', { lat: 45, lon: -83 } ],
[00:17:01]                     │        [ '-', '8', '108', { lat: 18, lon: -157 } ] ]
[00:17:01]                     │ debg with actual:  [ [ '',
[00:17:01]                     │          '9',
[00:17:01]                     │          '5,787',
[00:17:01]                     │          '{ "lat": 37.224525026593234, "lon": -103.0192718078407 }' ],
[00:17:01]                     │        [ '',
[00:17:01]                     │          'd',
[00:17:01]                     │          '5,600',
[00:17:01]                     │          '{ "lat": 37.44275387189368, "lon": -81.72684432634186 }' ],
[00:17:01]                     │        [ '',
[00:17:01]                     │          'c',
[00:17:01]                     │          '1,319',
[00:17:01]                     │          '{ "lat": 47.727217809731386, "lon": -109.84743262966636 }' ],
[00:17:01]                     │        [ '',
[00:17:01]                     │          'b',
[00:17:01]                     │          '999',
[00:17:01]                     │          '{ "lat": 62.04130754852248, "lon": -155.28085906536796 }' ],
[00:17:01]                     │        [ '',
[00:17:01]                     │          'f',
[00:17:01]                     │          '187',
[00:17:01]                     │          '{ "lat": 45.65616771917451, "lon": -82.45830769346837 }' ],
[00:17:01]                     │        [ '',
[00:17:01]                     │          '8',
[00:17:01]                     │          '108',
[00:17:01]                     │          '{ "lat": 18.852603775061045, "lon": -156.5148794883862 }' ] ]
[00:17:01]                     │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level.png"
[00:17:01]                     │ info Current URL is: http://localhost:61121/app/visualize#/create?indexPattern=logstash-*&type=tile_map&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(mapCenter:!(0,0),mapZoom:0),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(autoPrecision:!t,field:geo.coordinates,isFilteredByCollar:!t,precision:2,useGeocentroid:!t),schema:segment,type:geohash_grid)),params:(addTooltip:!t,colorSchema:%27Yellow%20to%20Red%27,heatClusterSize:1.5,isDesaturated:!t,legendPosition:bottomright,mapCenter:!(0,0),mapType:%27Scaled%20Circle%20Markers%27,mapZoom:2,wms:(enabled:!f,options:(format:image%2Fpng,transparent:!t))),title:%27%27,type:tile_map))
[00:17:01]                     │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level.html
[00:17:01]                     └- ✖ fail: "visualize app  tile map visualize app complete config tile map chart should show correct tile map data on default zoom level"
[00:17:01]                     │

Stack Trace

{ Error: expected [ [ '', '9', '5,787', { lat: 37, lon: -104 } ],
  [ '', 'd', '5,600', { lat: 37, lon: -82 } ],
  [ '', 'c', '1,319', { lat: 47, lon: -110 } ],
  [ '', 'b', '999', { lat: 62, lon: -156 } ],
  [ '', 'f', '187', { lat: 45, lon: -83 } ],
  [ '', '8', '108', { lat: 18, lon: -157 } ] ] to sort of equal [ [ '-', '9', '5,787', { lat: 37, lon: -104 } ],
  [ '-', 'd', '5,600', { lat: 37, lon: -82 } ],
  [ '-', 'c', '1,319', { lat: 47, lon: -110 } ],
  [ '-', 'b', '999', { lat: 62, lon: -156 } ],
  [ '-', 'f', '187', { lat: 45, lon: -83 } ],
  [ '-', '8', '108', { lat: 18, lon: -157 } ] ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at compareTableData (test/functional/apps/visualize/_tile_map.js:97:34)
    at Context.<anonymous> (test/functional/apps/visualize/_tile_map.js:123:11)
  actual:
   '[\n  [\n    ""\n    "9"\n    "5,787"\n    {\n      "lat": 37\n      "lon": -104\n    }\n  ]\n  [\n    ""\n    "d"\n    "5,600"\n    {\n      "lat": 37\n      "lon": -82\n    }\n  ]\n  [\n    ""\n    "c"\n    "1,319"\n    {\n      "lat": 47\n      "lon": -110\n    }\n  ]\n  [\n    ""\n    "b"\n    "999"\n    {\n      "lat": 62\n      "lon": -156\n    }\n  ]\n  [\n    ""\n    "f"\n    "187"\n    {\n      "lat": 45\n      "lon": -83\n    }\n  ]\n  [\n    ""\n    "8"\n    "108"\n    {\n      "lat": 18\n      "lon": -157\n    }\n  ]\n]',
  expected:
   '[\n  [\n    "-"\n    "9"\n    "5,787"\n    {\n      "lat": 37\n      "lon": -104\n    }\n  ]\n  [\n    "-"\n    "d"\n    "5,600"\n    {\n      "lat": 37\n      "lon": -82\n    }\n  ]\n  [\n    "-"\n    "c"\n    "1,319"\n    {\n      "lat": 47\n      "lon": -110\n    }\n  ]\n  [\n    "-"\n    "b"\n    "999"\n    {\n      "lat": 62\n      "lon": -156\n    }\n  ]\n  [\n    "-"\n    "f"\n    "187"\n    {\n      "lat": 45\n      "lon": -83\n    }\n  ]\n  [\n    "-"\n    "8"\n    "108"\n    {\n      "lat": 18\n      "lon": -157\n    }\n  ]\n]',
  showDiff: true }

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
data 207 -1 208

History

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

spalger and others added 12 commits June 23, 2020 16:21
* Fix flaky endpoints list unit test
* un-skip test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Change the bootstrap of the app

* rename SiemPageName to SecurityPageName

* modify alerts routes

* modify cases routes

* modify hosts routes

* modify network routes

* modify overview routes

* modify timelines routes

* wip change management route

* change route for common

* some fixing from the first commit

* modify route for management

* update url format hook to use history

* bug when you click on external alerts from host or network

* improvement from josh feedback

* redirect siem to security solution

* a little clean up

* Fix types

* fix breadcrumbs

* fix unit test

* Update index.tsx

* Fix cypress

* bug remove timeline when you are in case configure

* Fix functionel test for management

* Fix redirect siem + ml

* fixes some cypress tests

* adds 'URL compatibility' test

* bring ml back to alerts

* review I

* Fix memory leak in timelines page

* fix storage bug for timeline search bar

* fix endpoint merge + functional test

* avoid timeline flyout toggle

* Fix link to ml score

* Fix breadcrumb

* Fix management url

* fix unit test

* fixes typecheck issue

* fixes remaining url cypress tests

* fixes timeline scenario

* fix link to details rule from timeline

* review remove absolute path for consistency

* Fixing resolver alert generation (elastic#69587)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* [Security_Solution][Endpoint] Resolver leverage ancestry array for queries  (elastic#69264)

* Adding alerts route

* Adding related alerts generator changes, tests, and script updates

* Fixing missed parameter

* Aligning the AlertEvent and ResolverEvent definition

* Fixing type errors

* Fixing import error

* Adding ancestry functionality in generator

* Creating some tests for ancestry field

* Making progress on the ancestry

* Fixing the ancestry verification

* Fixing existing tests

* Removing unused code and fixing test

* Adding more comments

* Fixing endgame queries

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* fix cypress test

* skip failing suite (elastic#69595)

* [Endpoint] Fix flaky endpoints list unit test (elastic#69591)

* Fix flaky endpoints list unit test
* un-skip test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* remove flaky test

Co-authored-by: patrykkopycinski <contact@patrykkopycinski.com>
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
Closes: elastic#67469

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…9257)

* Adding specific apis for each plugin

* adding metric hosts stat

* addressing PR comment

* addressing PR comments

* changing series to key/value

* exporting interfaces

* adding label to stat

* refactoring types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@lukeelmers
Copy link
Member Author

Closing in favor of #69762

@lukeelmers lukeelmers closed this Jun 23, 2020
@jinmu03
Copy link
Contributor

jinmu03 commented Aug 3, 2020

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

@lukeelmers
Copy link
Member Author

@jinmu03 This PR was closed in favor of #69762 which has notes -- I forgot to change the label here to skip, but will go ahead and do that now.

@lukeelmers lukeelmers added release_note:skip Skip the PR/issue when compiling release notes and removed release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. labels Aug 3, 2020
@lukeelmers lukeelmers deleted the fix/aggs-remove-formats branch February 11, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:FieldFormatters release_note:skip Skip the PR/issue when compiling release notes review v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.