Skip to content

Conversation

@rashmivkulkarni
Copy link
Contributor

@rashmivkulkarni rashmivkulkarni commented Aug 20, 2020

@rashmivkulkarni rashmivkulkarni requested a review from LeeDr August 20, 2020 16:19
@rashmivkulkarni rashmivkulkarni added v8.0.0 test_ui_functional Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// labels Aug 20, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@rashmivkulkarni rashmivkulkarni changed the title [wip]- adding sorting mechanism to scipted fields in discover [wip]- adding sorting test to scripted fields in discover Aug 20, 2020
@rashmivkulkarni
Copy link
Contributor Author

@elasticmachine merge upstream

@rashmivkulkarni
Copy link
Contributor Author

ESTF - Flaky test runner : ( ran multiple times and is successful )https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/799/

@LeeDr
Copy link

LeeDr commented Aug 22, 2020

@elasticmachine merge upstream

@rashmivkulkarni rashmivkulkarni changed the title [wip]- adding sorting test to scripted fields in discover Adding sorting test to scripted fields in discover Aug 24, 2020
@rashmivkulkarni
Copy link
Contributor Author

Related PR : #72681 - this didn't have any sorting functionality UI test added - hence this test.

@rashmivkulkarni rashmivkulkarni added v7.10.0 v7.9.0 release_note:skip Skip the PR/issue when compiling release notes labels Aug 24, 2020
Copy link

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

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

LGTM - code review and Jenkins results

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome UI Functional Tests.test/functional/apps/visualize/_vega_chart·ts.visualize app vega chart in visualize app vega chart with filters should render different data in response to filter change

Link to Jenkins

Standard Out

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

[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:01]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] 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:01]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:01]             │ 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:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] 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:01]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:01]             │ 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:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] 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:01]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:01]             │ 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:11]             │ info progress: 1502
[00:00:21]             │ info progress: 6015
[00:00:31]             │ info progress: 12841
[00:00:32]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:32]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:32]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:33]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:33]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:33]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:33]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] 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:33]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:33]             │ 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:43]             │ info progress: 8128
[00:00:48]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:49]             │ info [visualize] Loading "mappings.json"
[00:00:49]             │ info [visualize] Loading "data.json"
[00:00:49]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_1/bys5z9L_TDeYbYrn-xUlGg] deleting index
[00:00:49]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:49]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:49]             │ info [visualize] Created index ".kibana"
[00:00:49]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:49]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana/B5BA4dQBQqaKVhIBiXXHXw] update_mapping [_doc]
[00:00:49]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:49]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana/B5BA4dQBQqaKVhIBiXXHXw] update_mapping [_doc]
[00:00:49]             │ debg Migrating saved objects
[00:00:49]             │ proc [kibana]   log   [19:18:01.124] [info][savedobjects-service] Creating index .kibana_2.
[00:00:49]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:49]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:50]             │ proc [kibana]   log   [19:18:01.235] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:50]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:50]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:50]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:50]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] updating number_of_replicas to [0] for indices [.tasks]
[00:00:50]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] 1587 finished with response BulkByScrollResponse[took=117.9ms,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:50]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana/B5BA4dQBQqaKVhIBiXXHXw] deleting index
[00:00:50]             │ proc [kibana]   log   [19:18:01.971] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:50]             │ proc [kibana]   log   [19:18:02.007] [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:50]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_2/wM9Tes1LSnWfQq2jQU-Lpg] update_mapping [_doc]
[00:00:50]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_2/wM9Tes1LSnWfQq2jQU-Lpg] update_mapping [_doc]
[00:00:50]             │ proc [kibana]   log   [19:18:02.169] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:51]             │ proc [kibana]   log   [19:18:02.204] [info][savedobjects-service] Finished in 1083ms.
[00:00:51]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:51]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1598295610696962770] [.kibana_2/wM9Tes1LSnWfQq2jQU-Lpg] update_mapping [_doc]
[00:00:53]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:54]           └-: 
[00:00:54]             └-> "before all" hook
[00:23:06]             └-: vega chart in visualize app
[00:23:06]               └-> "before all" hook
[00:23:06]               └-> "before all" hook
[00:23:06]                 │ debg navigateToApp visualize
[00:23:06]                 │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[00:23:06]                 │ debg navigate to: http://localhost:61191/app/visualize#/
[00:23:06]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1598298017504#/ 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:23:06]                 │
[00:23:06]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:06]                 │ debg ... sleep(700) start
[00:23:07]                 │ debg ... sleep(700) end
[00:23:07]                 │ debg returned from get, calling refresh
[00:23:08]                 │ debg browser[INFO] http://localhost:61191/35795/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-24T19:40:18Z
[00:23:08]                 │        Adding connection to http://localhost:61191/elasticsearch
[00:23:08]                 │
[00:23:08]                 │      "
[00:23:08]                 │ERROR browser[SEVERE] http://localhost:61191/35795/bundles/core/core.entry.js 83:272829 TypeError: Failed to fetch
[00:23:08]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1598298017504#/ 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:23:08]                 │
[00:23:08]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:08]                 │ debg currentUrl = http://localhost:61191/app/visualize#/
[00:23:08]                 │          appUrl = http://localhost:61191/app/visualize#/
[00:23:08]                 │ debg TestSubjects.find(kibanaChrome)
[00:23:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:23:09]                 │ debg browser[INFO] http://localhost:61191/35795/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-24T19:40:20Z
[00:23:09]                 │        Adding connection to http://localhost:61191/elasticsearch
[00:23:09]                 │
[00:23:09]                 │      "
[00:23:09]                 │ debg ... sleep(501) start
[00:23:10]                 │ debg ... sleep(501) end
[00:23:10]                 │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:23:10]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:23:10]                 │ debg ... sleep(501) start
[00:23:11]                 │ debg ... sleep(501) end
[00:23:11]                 │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:23:11]                 │ debg TestSubjects.exists(statusPageContainer)
[00:23:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:23:13]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:23:14]                 │ debg TestSubjects.exists(newItemButton)
[00:23:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:23:14]                 │ debg TestSubjects.click(newItemButton)
[00:23:14]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:23:14]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:23:14]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:23:14]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:23:14]                 │ debg clickVega
[00:23:14]                 │ debg TestSubjects.click(visType-vega)
[00:23:14]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-vega"]') with timeout=10000
[00:23:14]                 │ debg Find.findByCssSelector('[data-test-subj="visType-vega"]') with timeout=10000
[00:23:14]                 │ debg isGlobalLoadingIndicatorVisible
[00:23:14]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:23:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:23:14]                 │ debg browser[INFO] http://localhost:61191/app/visualize#/create?type=vega 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:23:14]                 │
[00:23:14]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:23:15]                 │ debg browser[INFO] http://localhost:61191/35795/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-24T19:40:26Z
[00:23:15]                 │        Adding connection to http://localhost:61191/elasticsearch
[00:23:15]                 │
[00:23:15]                 │      "
[00:23:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:23:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:23:15]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:23:15]                 │ debg TestSubjects.find(visualizationLoader)
[00:23:15]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:15]                 │ debg -- firstCount=0
[00:23:15]                 │ debg ... sleep(2000) start
[00:23:15]                 │ debg browser[INFO] http://localhost:61191/35795/bundles/plugin/visTypeVega/visTypeVega.chunk.1.js 0:16114 "%cWelcome to Kibana Vega Plugin!" "font-size: 16px; font-weight: bold;"
[00:23:15]                 │ debg browser[INFO] http://localhost:61191/35795/bundles/plugin/visTypeVega/visTypeVega.chunk.1.js 0:16200 "You can access the Vega view with VEGA_DEBUG. Learn more at https://vega.github.io/vega/docs/api/debugging/."
[00:23:17]                 │ debg ... sleep(2000) end
[00:23:17]                 │ debg TestSubjects.find(visualizationLoader)
[00:23:17]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:17]                 │ debg -- secondCount=1
[00:23:18]                 │ debg TestSubjects.find(visualizationLoader)
[00:23:18]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:18]                 │ debg -- firstCount=1
[00:23:18]                 │ debg ... sleep(2000) start
[00:23:20]                 │ debg ... sleep(2000) end
[00:23:20]                 │ debg TestSubjects.find(visualizationLoader)
[00:23:20]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:20]                 │ debg -- secondCount=1
[00:23:20]               └-: vega chart
[00:23:20]                 └-> "before all" hook
[00:23:23]                 └-: with filters
[00:23:23]                   └-> "before all" hook
[00:23:23]                   └-> "before all" hook
[00:23:23]                     │ debg setAbsoluteRange
[00:23:23]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:23:23]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:23:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:23:23]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:23:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:23:23]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:23:23]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:23:23]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:23:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:23:23]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:23:23]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:23]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:23]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:23]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:23]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:23]                     │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:23:23]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:23]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:23]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:24]                     │ debg ... sleep(500) start
[00:23:24]                     │ debg ... sleep(500) end
[00:23:24]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:23:24]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:24]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:23:24]                     │ debg Find.waitForElementStale with timeout=10000
[00:23:25]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:23:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:23:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:23:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                     │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:23:25]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:23:25]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:23:25]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:23:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:23:28]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:23:28]                     │ debg TestSubjects.click(querySubmitButton)
[00:23:28]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:28]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:23:29]                     │ debg Find.waitForElementStale with timeout=10000
[00:23:29]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:23:29]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:23:29]                   └-> should render different data in response to filter change
[00:23:29]                     └-> "before each" hook: global before each
[00:23:29]                     │ debg TestSubjects.find(vega-editor)
[00:23:29]                     │ debg Find.findByCssSelector('[data-test-subj="vega-editor"]') with timeout=10000
[00:23:30]                     │ debg TestSubjects.find(visualizationLoader)
[00:23:30]                     │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:30]                     │ debg Before Rendering count 2
[00:23:30]                     │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:23:30]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:23:30]                     │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:23:30]                     │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [3]...
[00:23:30]                     │ debg TestSubjects.find(visualizationLoader)
[00:23:30]                     │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:30]                     │ debg -- currentRenderingCount=2
[00:23:30]                     │ debg TestSubjects.find(visualizationLoader)
[00:23:30]                     │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:31]                     │ debg -- currentRenderingCount=3
[00:23:31]                     │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:23:31]                     │ debg TestSubjects.find(visualizationLoader)
[00:23:31]                     │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:31]                     │ debg -- firstCount=3
[00:23:31]                     │ debg ... sleep(2000) start
[00:23:33]                     │ debg ... sleep(2000) end
[00:23:33]                     │ debg TestSubjects.find(visualizationLoader)
[00:23:33]                     │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:23:33]                     │ debg -- secondCount=3
[00:23:33]                     │ debg Find.findByCssSelector('[aria-label^="Y-axis"]') with timeout=10000
[00:23:43]                     │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/test/functional/screenshots/failure/visualize app  vega chart in visualize app vega chart with filters should render different data in response to filter change.png"
[00:23:43]                     │ info Current URL is: http://localhost:61191/app/visualize#/create?type=vega&_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:(),vis:(aggs:!(),params:(spec:%27%7B%0A%2F*%0A%0AWelcome%20to%20Vega%20visualizations.%20%20Here%20you%20can%20design%20your%20own%20dataviz%20from%20scratch%20using%20a%20declarative%20language%20called%20Vega,%20or%20its%20simpler%20form%20Vega-Lite.%20%20In%20Vega,%20you%20have%20the%20full%20control%20of%20what%20data%20is%20loaded,%20even%20from%20multiple%20sources,%20how%20that%20data%20is%20transformed,%20and%20what%20visual%20elements%20are%20used%20to%20show%20it.%20%20Use%20help%20icon%20to%20view%20Vega%20examples,%20tutorials,%20and%20other%20docs.%20%20Use%20the%20wrench%20icon%20to%20reformat%20this%20text,%20or%20to%20remove%20comments.%0A%0AThis%20example%20graph%20shows%20the%20document%20count%20in%20all%20indexes%20in%20the%20current%20time%20range.%20%20You%20might%20need%20to%20adjust%20the%20time%20filter%20in%20the%20upper%20right%20corner.%0A*%2F%0A%0A%20%20$schema:%20https:%2F%2Fvega.github.io%2Fschema%2Fvega-lite%2Fv4.json%0A%20%20title:%20Event%20counts%20from%20all%20indexes%0A%0A%20%20%2F%2F%20Define%20the%20data%20source%0A%20%20data:%20%7B%0A%20%20%20%20url:%20%7B%0A%2F*%0AAn%20object%20instead%20of%20a%20string%20for%20the%20%22url%22%20param%20is%20treated%20as%20an%20Elasticsearch%20query.%20Anything%20inside%20this%20object%20is%20not%20part%20of%20the%20Vega%20language,%20but%20only%20understood%20by%20Kibana%20and%20Elasticsearch%20server.%20This%20query%20counts%20the%20number%20of%20documents%20per%20time%20interval,%20assuming%20you%20have%20a%20@timestamp%20field%20in%20your%20data.%0A%0AKibana%20has%20a%20special%20handling%20for%20the%20fields%20surrounded%20by%20%22%25%22.%20%20They%20are%20processed%20before%20the%20the%20query%20is%20sent%20to%20Elasticsearch.%20This%20way%20the%20query%20becomes%20context%20aware,%20and%20can%20use%20the%20time%20range%20and%20the%20dashboard%20filters.%0A*%2F%0A%0A%20%20%20%20%20%20%2F%2F%20Apply%20dashboard%20context%20filters%20when%20set%0A%20%20%20%20%20%20%25context%25:%20true%0A%20%20%20%20%20%20%2F%2F%20Filter%20the%20time%20picker%20(upper%20right%20corner)%20with%20this%20field%0A%20%20%20%20%20%20%25timefield%25:%20@timestamp%0A%0A%2F*%0ASee%20.search()%20documentation%20for%20:%20%20https:%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Fclient%2Fjavascript-api%2Fcurrent%2Fapi-reference.html%23api-search%0A*%2F%0A%0A%20%20%20%20%20%20%2F%2F%20Which%20index%20to%20search%0A%20%20%20%20%20%20index:%20_all%0A%20%20%20%20%20%20%2F%2F%20Aggregate%20data%20by%20the%20time%20field%20into%20time%20buckets,%20counting%20the%20number%20of%20documents%20in%20each%20bucket.%0A%20%20%20%20%20%20body:%20%7B%0A%20%20%20%20%20%20%20%20aggs:%20%7B%0A%20%20%20%20%20%20%20%20%20%20time_buckets:%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20date_histogram:%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Use%20date%20histogram%20aggregation%20on%20@timestamp%20field%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20field:%20@timestamp%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20The%20interval%20value%20will%20depend%20on%20the%20daterange%20picker%20(true),%20or%20use%20an%20integer%20to%20set%20an%20approximate%20bucket%20count%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20interval:%20%7B%25autointerval%25:%20true%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Make%20sure%20we%20get%20an%20entire%20range,%20even%20if%20it%20has%20no%20data%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20extended_bounds:%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Use%20the%20current%20time%20range!%27s%20start%20and%20end%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20min:%20%7B%25timefilter%25:%20%22min%22%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20max:%20%7B%25timefilter%25:%20%22max%22%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Use%20this%20for%20linear%20(e.g.%20line,%20area)%20graphs.%20%20Without%20it,%20empty%20buckets%20will%20not%20show%20up%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20min_doc_count:%200%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%2F%2F%20Speed%20up%20the%20response%20by%20only%20including%20aggregation%20results%0A%20%20%20%20%20%20%20%20size:%200%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%2F*%0AElasticsearch%20will%20return%20results%20in%20this%20format:%0A%0Aaggregations:%20%7B%0A%20%20time_buckets:%20%7B%0A%20%20%20%20buckets:%20%5B%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20key_as_string:%202015-11-30T22:00:00.000Z%0A%20%20%20%20%20%20%20%20key:%201448920800000%0A%20%20%20%20%20%20%20%20doc_count:%200%0A%20%20%20%20%20%20%7D,%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20key_as_string:%202015-11-30T23:00:00.000Z%0A%20%20%20%20%20%20%20%20key:%201448924400000%0A%20%20%20%20%20%20%20%20doc_count:%200%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20...%0A%20%20%20%20%5D%0A%20%20%7D%0A%7D%0A%0AFor%20our%20graph,%20we%20only%20need%20the%20list%20of%20bucket%20values.%20%20Use%20the%20format.property%20to%20discard%20everything%20else.%0A*%2F%0A%20%20%20%20format:%20%7Bproperty:%20%22aggregations.time_buckets.buckets%22%7D%0A%20%20%7D%0A%0A%20%20%2F%2F%20%22mark%22%20is%20the%20graphics%20element%20used%20to%20show%20our%20data.%20%20Other%20mark%20values%20are:%20area,%20bar,%20circle,%20line,%20point,%20rect,%20rule,%20square,%20text,%20and%20tick.%20%20See%20https:%2F%2Fvega.github.io%2Fvega-lite%2Fdocs%2Fmark.html%0A%20%20mark:%20line%0A%0A%20%20%2F%2F%20%22encoding%22%20tells%20the%20%22mark%22%20what%20data%20to%20use%20and%20in%20what%20way.%20%20See%20https:%2F%2Fvega.github.io%2Fvega-lite%2Fdocs%2Fencoding.html%0A%20%20encoding:%20%7B%0A%20%20%20%20x:%20%7B%0A%20%20%20%20%20%20%2F%2F%20The%20%22key%22%20value%20is%20the%20timestamp%20in%20milliseconds.%20%20Use%20it%20for%20X%20axis.%0A%20%20%20%20%20%20field:%20key%0A%20%20%20%20%20%20type:%20temporal%0A%20%20%20%20%20%20axis:%20%7Btitle:%20false%7D%20%2F%2F%20Customize%20X%20axis%20format%0A%20%20%20%20%7D%0A%20%20%20%20y:%20%7B%0A%20%20%20%20%20%20%2F%2F%20The%20%22doc_count%22%20is%20the%20count%20per%20bucket.%20%20Use%20it%20for%20Y%20axis.%0A%20%20%20%20%20%20field:%20doc_count%0A%20%20%20%20%20%20type:%20quantitative%0A%20%20%20%20%20%20axis:%20%7Btitle:%20%22Document%20count%22%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%22config%22:%20%7B%20%22kibana%22:%20%7B%22renderer%22:%20%22svg%22%7D%20%7D,%27),title:%27%27,type:vega))
[00:23:43]                     │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/test/functional/failure_debug/html/visualize app  vega chart in visualize app vega chart with filters should render different data in response to filter change.html
[00:23:43]                     └- ✖ fail: visualize app  vega chart in visualize app vega chart with filters should render different data in response to filter change
[00:23:43]                     │      TimeoutError: Waiting for element to be located By(css selector, [aria-label^="Y-axis"])
[00:23:43]                     │ Wait timed out after 10030ms
[00:23:43]                     │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:23:43]                     │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:23:43]                     │ 
[00:23:43]                     │ 

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [aria-label^="Y-axis"])
Wait timed out after 10030ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Build metrics

✅ unchanged

History

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

@rashmivkulkarni rashmivkulkarni merged commit eddd39a into elastic:master Aug 24, 2020
rashmivkulkarni added a commit to rashmivkulkarni/kibana that referenced this pull request Aug 24, 2020
rashmivkulkarni added a commit to rashmivkulkarni/kibana that referenced this pull request Aug 24, 2020
rashmivkulkarni added a commit that referenced this pull request Aug 25, 2020
rashmivkulkarni added a commit that referenced this pull request Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Functional Testing release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// test_ui_functional v7.9.0 v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants