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

[7.x] [TSVB] Adds a color picker in percentiles and percentiles rank aggs (#107390) #108357

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

stratoula
Copy link
Contributor

Backports the following commits to 7.x:

…lastic#107390)

* WIP - Improve the way that percentiles are rendered in TSVB

* Adds color picker to percentile and percentile ranks

* initialize color

* Be backwards compatible

* Fixes unit tests

* Add a unit test for percentile rank

* Fix unit tests

* Address PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@stratoula stratoula enabled auto-merge (squash) August 12, 2021 11:58
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/drag_and_drop·ts.lens app lens drag and drop tests basic drag and drop should construct the basic split xy chart

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:11:36]         └-: lens app
[00:11:36]           └-> "before all" hook in "lens app"
[00:11:36]           └-> "before all" hook in "lens app"
[00:11:36]             │ debg Starting lens before method
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:11:37]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.22/i2uGZHdVTReBJlMF9htsuw] deleting index
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.22"
[00:11:37]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:11:37]             │ debg [x-pack/test/functional/es_archives/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:11:37]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.20/AAldeQcJTbaOX7Yf3-psoQ] deleting index
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.20"
[00:11:37]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:11:37]             │ debg [x-pack/test/functional/es_archives/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:11:37]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.21/qJVodn1FSVeLpQ5DaOLuOQ] deleting index
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.21"
[00:11:37]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:11:37]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:11:37]             │ debg [x-pack/test/functional/es_archives/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:11:37]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/KCY629UARye3QxyayOIbZQ] update_mapping [_doc]
[00:11:41]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/DWdwIUZSQlqV9BS7gOlCNA] update_mapping [_doc]
[00:11:47]             │ info progress: 11735
[00:11:48]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:11:48]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:11:48]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "mappings.json"
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json"
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json.gz"
[00:11:49]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.15.0_001/TB8sLdEeQ_CSh9lLbxRDGQ] deleting index
[00:11:49]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.15.0_001/buy9f8r2TFCrDLzVfvrjRQ] deleting index
[00:11:49]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/b5cG0qvFQCy5i_pDIYejBA] deleting index
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_7.15.0_001"
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_task_manager_7.15.0_001"
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_1"
[00:11:49]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Created index ".kibana_1"
[00:11:49]             │ debg [x-pack/test/functional/es_archives/lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:11:49]             │ info [x-pack/test/functional/es_archives/lens/basic] Indexed 24 docs into ".kibana_1"
[00:11:49]             │ debg Migrating saved objects
[00:11:49]             │ proc [kibana]   log   [12:43:15.440] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.443] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 9ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.445] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 2ms.
[00:11:49]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.15.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:49]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.15.0_001]
[00:11:49]             │ proc [kibana]   log   [12:43:15.451] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:11:49]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/CLN3Q5QuR9KxB6Td3TnZgw]]
[00:11:49]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:11:49]             │ proc [kibana]   log   [12:43:15.529] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 89ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.543] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 92ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.548] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.565] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 36ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.566] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 129ms
[00:11:49]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.15.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:49]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.15.0_reindex_temp]
[00:11:49]             │ proc [kibana]   log   [12:43:15.618] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 70ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.621] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 3ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.629] [info][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:11:49]             │ proc [kibana]   log   [12:43:15.630] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 8ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.671] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 42ms.
[00:11:49]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] update_mapping [_doc]
[00:11:49]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] update_mapping [_doc]
[00:11:49]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] update_mapping [_doc]
[00:11:49]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] update_mapping [_doc]
[00:11:49]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] update_mapping [_doc]
[00:11:49]             │ proc [kibana]   log   [12:43:15.819] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 148ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.825] [info][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:11:49]             │ proc [kibana]   log   [12:43:15.826] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:11:49]             │ proc [kibana]   log   [12:43:15.829] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:11:49]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ]]
[00:11:49]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.15.0_reindex_temp]
[00:11:49]             │ proc [kibana]   log   [12:43:15.876] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 47ms.
[00:11:49]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.15.0_reindex_temp] metadata
[00:11:49]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.15.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:49]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.15.0_001]
[00:11:50]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/h1M-xN4fRrGgDfNk1rB8-g] create_mapping [_doc]
[00:11:50]             │ proc [kibana]   log   [12:43:15.986] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 110ms.
[00:11:50]             │ proc [kibana]   log   [12:43:15.990] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:11:50]             │ proc [kibana]   log   [12:43:15.992] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 2ms.
[00:11:50]             │ proc [kibana]   log   [12:43:15.999] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:11:50]             │ proc [kibana]   log   [12:43:16.002] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:11:50]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/h1M-xN4fRrGgDfNk1rB8-g] update_mapping [_doc]
[00:11:50]             │ proc [kibana]   log   [12:43:16.068] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 66ms.
[00:11:50]             │ info [o.e.t.LoggingTaskListener] [node-01] 22386 finished with response BulkByScrollResponse[took=32.2ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:50]             │ proc [kibana]   log   [12:43:16.173] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:11:50]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.15.0_reindex_temp/9AQl6suOQvqI9zgatpEEeQ] deleting index
[00:11:50]             │ proc [kibana]   log   [12:43:16.216] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 43ms.
[00:11:50]             │ proc [kibana]   log   [12:43:16.216] [info][savedobjects-service] [.kibana] Migration completed after 782ms
[00:11:50]             │ debg [x-pack/test/functional/es_archives/lens/basic] Migrated Kibana index after loading Kibana data
[00:11:50]             │ debg [x-pack/test/functional/es_archives/lens/basic] Ensured that default space exists in .kibana
[00:11:50]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:11:52]           └-: 
[00:11:52]             └-> "before all" hook in ""
[01:04:48]             └-: lens drag and drop tests
[01:04:48]               └-> "before all" hook in "lens drag and drop tests"
[01:04:48]               └-: basic drag and drop
[01:04:48]                 └-> "before all" hook for "should construct the basic split xy chart"
[01:04:48]                 └-> should construct the basic split xy chart
[01:04:48]                   └-> "before each" hook: global before each for "should construct the basic split xy chart"
[01:04:48]                   │ debg navigating to visualize url: http://localhost:61171/app/visualize#/
[01:04:48]                   │ debg navigate to: http://localhost:61171/app/visualize#/
[01:04:48]                   │ debg ... sleep(700) start
[01:04:48]                   │ debg browser[INFO] http://localhost:61171/app/visualize?_t=1628775374527#/ 281 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.
[01:04:48]                   │
[01:04:48]                   │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:04:49]                   │ debg ... sleep(700) end
[01:04:49]                   │ debg returned from get, calling refresh
[01:04:51]                   │ debg browser[INFO] http://localhost:61171/app/visualize?_t=1628775374527#/ 281 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.
[01:04:51]                   │
[01:04:51]                   │ debg browser[INFO] http://localhost:61171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:04:51]                   │ debg currentUrl = http://localhost:61171/app/visualize#/
[01:04:51]                   │          appUrl = http://localhost:61171/app/visualize#/
[01:04:51]                   │ debg TestSubjects.find(kibanaChrome)
[01:04:51]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:04:51]                   │ debg ... sleep(501) start
[01:04:52]                   │ debg ... sleep(501) end
[01:04:52]                   │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:04:52]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[01:04:52]                   │ debg ... sleep(501) start
[01:04:53]                   │ debg ... sleep(501) end
[01:04:53]                   │ debg in navigateTo url = http://localhost:61171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[01:04:53]                   │ debg isGlobalLoadingIndicatorVisible
[01:04:53]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:54]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:55]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:55]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:55]                   │ debg TestSubjects.exists(newItemButton)
[01:04:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:55]                   │ debg TestSubjects.click(newItemButton)
[01:04:55]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:55]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:04:55]                   │ debg TestSubjects.find(visNewDialogGroups)
[01:04:55]                   │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[01:04:55]                   │ debg TestSubjects.click(visType-lens)
[01:04:55]                   │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:55]                   │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[01:04:55]                   │ debg isGlobalLoadingIndicatorVisible
[01:04:55]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:04:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:04:57]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:04:57]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:04:57]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:04:57]                   │ debg lensPage.goToTimeRange()
[01:04:57]                   │ debg TestSubjects.exists(noDataPopoverDismissButton)
[01:04:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[01:04:57]                   │ debg TestSubjects.click(noDataPopoverDismissButton)
[01:04:57]                   │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:04:57]                   │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[01:04:57]                   │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[01:04:57]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[01:04:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[01:04:57]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[01:04:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[01:04:57]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[01:04:57]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:04:57]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[01:04:57]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[01:04:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[01:04:57]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[01:04:57]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:04:57]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[01:04:57]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:04:57]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:04:57]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:57]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:58]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:58]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:58]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:58]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[01:04:58]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:58]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:58]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:58]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[01:04:58]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:04:58]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[01:04:58]                   │ debg Find.waitForElementStale with timeout=10000
[01:04:59]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[01:04:59]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[01:04:59]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:59]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[01:04:59]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:59]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:59]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:59]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[01:04:59]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[01:04:59]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:59]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[01:04:59]                   │ debg Waiting up to 20000ms for Timepicker popover to close...
[01:04:59]                   │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[01:04:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[01:04:59]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[01:05:02]                   │ debg --- retry.tryForTime failed again with the same message...
[01:05:03]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[01:05:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[01:05:05]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[01:05:06]                   │ debg TestSubjects.click(querySubmitButton)
[01:05:06]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:05:06]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[01:05:06]                   │ debg Find.waitForElementStale with timeout=10000
[01:05:06]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:06]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:06]                   │ debg isGlobalLoadingIndicatorVisible
[01:05:06]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:06]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:06]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:07]                   │ debg lensPage.dragFieldToWorkspace('@timestamp')
[01:05:07]                   │ debg lensPage.waitForLensDragDropToFinish()
[01:05:07]                   │ debg Find.existsByCssSelector('.lnsDragDrop-isActiveGroup') with timeout=2500
[01:05:10]                   │ debg isGlobalLoadingIndicatorVisible
[01:05:10]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[01:05:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:05:11]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:05:12]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:05:12]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:05:12]                   │ debg lensPage.getDimensionTriggerText('lnsXY_xDimensionPanel')
[01:05:12]                   │ debg lensPage.getDimensionTriggersTexts('lnsXY_xDimensionPanel')
[01:05:12]                   │ debg TestSubjects.findAll(lnsXY_xDimensionPanel > lns-dimensionTrigger)
[01:05:12]                   │ debg Find.allByCssSelector('[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-dimensionTrigger"]') with timeout=10000
[01:05:22]                   │ info Taking screenshot "/dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/screenshots/failure/lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart.png"
[01:05:22]                   │ info Current URL is: http://localhost:61171/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[01:05:22]                   │ info Saving page source to: /dev/shm/workspace/parallel/17/kibana/x-pack/test/functional/failure_debug/html/lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart.html
[01:05:22]                   └- ✖ fail: lens app  lens drag and drop tests basic drag and drop should construct the basic split xy chart
[01:05:22]                   │      Error: expected undefined to sort of equal '@timestamp'
[01:05:22]                   │       at Assertion.assert (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/expect/expect.js:100:11)
[01:05:22]                   │       at Assertion.eql (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/expect/expect.js:244:8)
[01:05:22]                   │       at Context.<anonymous> (test/functional/apps/lens/drag_and_drop.ts:23:92)
[01:05:22]                   │       at runMicrotasks (<anonymous>)
[01:05:22]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[01:05:22]                   │       at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[01:05:22]                   │ 
[01:05:22]                   │ 

Stack Trace

Error: expected undefined to sort of equal '@timestamp'
    at Assertion.assert (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/lens/drag_and_drop.ts:23:92)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/17/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: undefined,
  expected: '@timestamp',
  showDiff: true
}

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimeseries 1004.2KB 1005.9KB +1.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
visTypeTimeseries 24.8KB 24.9KB +118.0B

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

@stratoula stratoula merged commit a718b38 into elastic:7.x Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants