Skip to content

[Lens] Use agg functions instead of string#77565

Closed
wylieconlon wants to merge 1 commit intoelastic:masterfrom
wylieconlon:lens/use-agg-fns
Closed

[Lens] Use agg functions instead of string#77565
wylieconlon wants to merge 1 commit intoelastic:masterfrom
wylieconlon:lens/use-agg-fns

Conversation

@wylieconlon
Copy link
Copy Markdown
Contributor

Does not work, but sets us up for the esaggs function to be user-editable

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow editing saved visualizations

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:14:23]         └-: lens app
[00:14:23]           └-> "before all" hook
[00:14:23]           └-> "before all" hook
[00:14:23]             │ debg Starting lens before method
[00:14:23]             │ info [logstash_functional] Loading "mappings.json"
[00:14:23]             │ info [logstash_functional] Loading "data.json.gz"
[00:14:23]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:23]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:23]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:24]             │ info [lens/basic] Loading "mappings.json"
[00:14:24]             │ info [lens/basic] Loading "data.json.gz"
[00:14:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/1MAdTgn-RUCyGPzVLxqPsg] deleting index
[00:14:24]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/6qIUsj0XT3ChgblmN-g0qA] deleting index
[00:14:24]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:14:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:14:24]             │ info [lens/basic] Created index ".kibana_1"
[00:14:24]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:14:24]             │ info [lens/basic] Indexed 11 docs into ".kibana_1"
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/9_z6NxhRQF-jOm1niKQaxQ] update_mapping [_doc]
[00:14:24]             │ debg Migrating saved objects
[00:14:24]             │ proc [kibana]   log   [01:02:07.699] [info][savedobjects-service] Creating index .kibana_2.
[00:14:24]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:14:24]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] updating number_of_replicas to [0] for indices [.kibana_2]
[00:14:24]             │ proc [kibana]   log   [01:02:07.762] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZMeCeYRMT9y72_o6BZ8_Hg] update_mapping [_doc]
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZMeCeYRMT9y72_o6BZ8_Hg] update_mapping [_doc]
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZMeCeYRMT9y72_o6BZ8_Hg] update_mapping [_doc]
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZMeCeYRMT9y72_o6BZ8_Hg] update_mapping [_doc]
[00:14:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZMeCeYRMT9y72_o6BZ8_Hg] update_mapping [_doc]
[00:14:24]             │ proc [kibana]   log   [01:02:08.062] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:14:24]             │ proc [kibana]   log   [01:02:08.103] [info][savedobjects-service] Finished in 406ms.
[00:14:24]           └-: 
[00:14:24]             └-> "before all" hook
[00:14:24]             └-: lens smokescreen tests
[00:14:24]               └-> "before all" hook
[00:14:24]               └-> should allow editing saved visualizations
[00:14:24]                 └-> "before each" hook: global before each
[00:14:24]                 │ debg navigating to visualize url: http://localhost:61241/app/visualize#/
[00:14:24]                 │ debg navigate to: http://localhost:61241/app/visualize#/
[00:14:25]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600218128116#/ 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:14:25]                 │
[00:14:25]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:25]                 │ debg ... sleep(700) start
[00:14:25]                 │ debg ... sleep(700) end
[00:14:25]                 │ debg returned from get, calling refresh
[00:14:25]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600218128116#/ 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:14:25]                 │
[00:14:25]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:26]                 │ debg currentUrl = http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600218128116#/
[00:14:26]                 │          appUrl = http://localhost:61241/app/visualize#/
[00:14:26]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:26]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:26]                 │ debg Found login page
[00:14:26]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:14:26]                 │ debg TestSubjects.click(loginUsername)
[00:14:26]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:26]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:26]                 │ERROR browser[SEVERE] http://localhost:61241/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:26]                 │ debg browser[WARNING] http://localhost:61241/36295/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63291 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:14:27]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:14:27]                 │ debg TestSubjects.click(loginPassword)
[00:14:27]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:27]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:27]                 │ debg TestSubjects.click(loginSubmit)
[00:14:27]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:27]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:27]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:14:27]                 │ proc [kibana]   log   [01:02:10.381] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:14:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/app/visualize?_t=1600218128116#/ 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:14:30]                 │
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/app/visualize?_t=1600218133561#/ 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:14:30]                 │
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:30]                 │ debg Finished login process currentUrl = http://localhost:61241/app/visualize#/
[00:14:30]                 │ debg ... sleep(501) start
[00:14:31]                 │ debg ... sleep(501) end
[00:14:31]                 │ debg in navigateTo url = http://localhost:61241/app/visualize#/
[00:14:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:33]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:34]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:14:34]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:14:34]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:34]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:34]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:34]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:35]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:14:35]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:14:35]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:14:35]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:14:35]                 │ debg lensPage.goToTimeRange()
[00:14:35]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:14:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:14:35]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:14:36]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:36]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:14:36]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:36]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:36]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:36]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:36]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:36]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:14:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:37]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:37]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:37]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:14:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:38]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:40]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:41]                 │ debg TestSubjects.click(querySubmitButton)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:41]                 │ debg lensPage.assertMetric('Maximum of bytes', '19,986')
[00:14:41]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:14:41]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:14:41]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:14:51]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
[00:14:51]                 │      Wait timed out after 10040ms
[00:14:52]                 │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow editing saved visualizations.png"
[00:14:52]                 │ info Current URL is: http://localhost:61241/app/lens#/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:14:52]                 │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow editing saved visualizations.html
[00:14:52]                 └- ✖ fail: lens app  lens smokescreen tests should allow editing saved visualizations
[00:14:52]                 │      Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
[00:14:52]                 │ Wait timed out after 10040ms
[00:14:52]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:14:52]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:14:52]                 │       at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
[00:14:52]                 │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:14:52]                 │ 
[00:14:52]                 │ 

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
Wait timed out after 10040ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow editing saved visualizations

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:14:24]         └-: lens app
[00:14:24]           └-> "before all" hook
[00:14:24]           └-> "before all" hook
[00:14:24]             │ debg Starting lens before method
[00:14:24]             │ info [logstash_functional] Loading "mappings.json"
[00:14:24]             │ info [logstash_functional] Loading "data.json.gz"
[00:14:24]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:24]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:24]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:26]             │ info [lens/basic] Loading "mappings.json"
[00:14:26]             │ info [lens/basic] Loading "data.json.gz"
[00:14:26]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ZQQbAeH0Q5iDcpM6Px_W5g] deleting index
[00:14:26]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/e70rmaYqRnKM1PhsUKYVlg] deleting index
[00:14:26]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:14:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:14:26]             │ info [lens/basic] Created index ".kibana_1"
[00:14:26]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:14:26]             │ info [lens/basic] Indexed 11 docs into ".kibana_1"
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/t0jtXehZQpOir_7giozrJQ] update_mapping [_doc]
[00:14:26]             │ debg Migrating saved objects
[00:14:26]             │ proc [kibana]   log   [00:44:56.531] [info][savedobjects-service] Creating index .kibana_2.
[00:14:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:14:26]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] updating number_of_replicas to [0] for indices [.kibana_2]
[00:14:26]             │ proc [kibana]   log   [00:44:56.592] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/d4emVv8CSBqzkJm9ExFttw] update_mapping [_doc]
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/d4emVv8CSBqzkJm9ExFttw] update_mapping [_doc]
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/d4emVv8CSBqzkJm9ExFttw] update_mapping [_doc]
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/d4emVv8CSBqzkJm9ExFttw] update_mapping [_doc]
[00:14:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/d4emVv8CSBqzkJm9ExFttw] update_mapping [_doc]
[00:14:26]             │ proc [kibana]   log   [00:44:56.882] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:14:26]             │ proc [kibana]   log   [00:44:56.919] [info][savedobjects-service] Finished in 389ms.
[00:14:26]           └-: 
[00:14:26]             └-> "before all" hook
[00:14:26]             └-: lens smokescreen tests
[00:14:26]               └-> "before all" hook
[00:14:26]               └-> should allow editing saved visualizations
[00:14:26]                 └-> "before each" hook: global before each
[00:14:26]                 │ debg navigating to visualize url: http://localhost:61241/app/visualize#/
[00:14:26]                 │ debg navigate to: http://localhost:61241/app/visualize#/
[00:14:26]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600217096931#/ 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:14:26]                 │
[00:14:26]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:26]                 │ debg ... sleep(700) start
[00:14:27]                 │ debg ... sleep(700) end
[00:14:27]                 │ debg returned from get, calling refresh
[00:14:28]                 │ERROR browser[SEVERE] http://localhost:61241/36295/bundles/core/core.entry.js 97:270822 TypeError: Failed to fetch
[00:14:28]                 │ debg browser[INFO] http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600217096931#/ 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:14:28]                 │
[00:14:28]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:29]                 │ERROR browser[SEVERE] http://localhost:61241/internal/licensing/feature_usage/register - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:29]                 │ debg currentUrl = http://localhost:61241/login?next=%2Fapp%2Fvisualize%3F_t%3D1600217096931#/
[00:14:29]                 │          appUrl = http://localhost:61241/app/visualize#/
[00:14:29]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:29]                 │ debg Found login page
[00:14:29]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:14:29]                 │ debg TestSubjects.click(loginUsername)
[00:14:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:29]                 │ debg browser[WARNING] http://localhost:61241/36295/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63291 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:14:29]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:14:29]                 │ debg TestSubjects.click(loginPassword)
[00:14:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:29]                 │ debg TestSubjects.click(loginSubmit)
[00:14:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:29]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:14:29]                 │ proc [kibana]   log   [00:45:00.012] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/app/visualize?_t=1600217096931#/ 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:14:30]                 │
[00:14:30]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:14:32]                 │ debg browser[INFO] http://localhost:61241/app/visualize?_t=1600217102315#/ 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:14:32]                 │
[00:14:32]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:33]                 │ debg Finished login process currentUrl = http://localhost:61241/app/visualize#/
[00:14:33]                 │ debg ... sleep(501) start
[00:14:33]                 │ debg ... sleep(501) end
[00:14:33]                 │ debg in navigateTo url = http://localhost:61241/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:33]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:34]                 │ debg ... sleep(501) start
[00:14:34]                 │ debg ... sleep(501) end
[00:14:34]                 │ debg in navigateTo url = http://localhost:61241/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:34]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:37]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:37]                 │ debg searchForItemWithName: Artistpreviouslyknownaslens
[00:14:37]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:14:38]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:38]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:38]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:38]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:38]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:14:38]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:14:38]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:14:38]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:14:38]                 │ debg lensPage.goToTimeRange()
[00:14:38]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:14:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:14:39]                 │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:14:39]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:14:39]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:39]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:14:39]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:14:39]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:40]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:40]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:40]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:40]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:40]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:40]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:40]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:14:40]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:40]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:40]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:40]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:41]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:41]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:14:41]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:41]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:41]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:41]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:44]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:44]                 │ debg TestSubjects.click(querySubmitButton)
[00:14:44]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:44]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:45]                 │ debg Find.waitForElementStale with timeout=10000
[00:14:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:45]                 │ debg lensPage.assertMetric('Maximum of bytes', '19,986')
[00:14:45]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:14:45]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:14:45]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:14:45]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:14:55]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
[00:14:55]                 │      Wait timed out after 10039ms
[00:14:56]                 │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests should allow editing saved visualizations.png"
[00:14:56]                 │ info Current URL is: http://localhost:61241/app/lens#/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:14:56]                 │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests should allow editing saved visualizations.html
[00:14:56]                 └- ✖ fail: lens app  lens smokescreen tests should allow editing saved visualizations
[00:14:56]                 │      Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
[00:14:56]                 │ Wait timed out after 10039ms
[00:14:56]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:14:56]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:14:56]                 │       at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
[00:14:56]                 │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:14:56]                 │ 
[00:14:56]                 │ 

Stack Trace

Error: timed out waiting for assertExpectedText -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns_metric_title"])
Wait timed out after 10039ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:50:13)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard_mode/dashboard_empty_screen·js.dashboard mode empty dashboard adds Lens visualization to empty dashboard

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:17:23]         └-: dashboard mode
[00:17:23]           └-> "before all" hook
[00:21:31]           └-: empty dashboard
[00:21:31]             └-> "before all" hook
[00:21:31]             └-> "before all" hook
[00:21:31]               │ info [logstash_functional] Loading "mappings.json"
[00:21:31]               │ info [logstash_functional] Loading "data.json.gz"
[00:21:31]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:21:31]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:21:31]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:21:32]               │ proc [kibana]   log   [00:52:18.954] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [96], primary term [1]. current document has seqNo [97] and primary term [1]
[00:21:32]               │ info [lens/basic] Loading "mappings.json"
[00:21:32]               │ info [lens/basic] Loading "data.json.gz"
[00:21:32]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/hCRu41LkQne272-T8iA8VA] deleting index
[00:21:32]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/GVJm9P_pTl2PS1H41RzMfw] deleting index
[00:21:32]               │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:21:32]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:21:32]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_1][0]]"
[00:21:33]               │ info [lens/basic] Created index ".kibana_1"
[00:21:33]               │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:21:33]               │ info [lens/basic] Indexed 11 docs into ".kibana_1"
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/NJMd2tj8QbitHo1AXYg-zQ] update_mapping [_doc]
[00:21:33]               │ debg Migrating saved objects
[00:21:33]               │ proc [kibana]   log   [00:52:19.828] [info][savedobjects-service] Creating index .kibana_2.
[00:21:33]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:21:33]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] updating number_of_replicas to [0] for indices [.kibana_2]
[00:21:33]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_2][0]]"
[00:21:33]               │ proc [kibana]   log   [00:52:19.892] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ow8PeKsFQ-GyXtWT1TF8zw] update_mapping [_doc]
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_1/NJMd2tj8QbitHo1AXYg-zQ] update_mapping [_doc]
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ow8PeKsFQ-GyXtWT1TF8zw] update_mapping [_doc]
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ow8PeKsFQ-GyXtWT1TF8zw] update_mapping [_doc]
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ow8PeKsFQ-GyXtWT1TF8zw] update_mapping [_doc]
[00:21:33]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600214540863099044] [.kibana_2/ow8PeKsFQ-GyXtWT1TF8zw] update_mapping [_doc]
[00:21:33]               │ proc [kibana]   log   [00:52:20.268] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:21:33]               │ proc [kibana]   log   [00:52:20.318] [info][savedobjects-service] Finished in 492ms.
[00:21:33]               │ debg navigating to dashboard url: http://localhost:6161/app/dashboards#/list
[00:21:33]               │ debg navigate to: http://localhost:6161/app/dashboards#/list
[00:21:34]               │ debg browser[INFO] http://localhost:6161/app/dashboards?_t=1600217540323#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:21:34]               │
[00:21:34]               │ debg browser[INFO] http://localhost:6161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:21:34]               │ debg ... sleep(700) start
[00:21:34]               │ debg ... sleep(700) end
[00:21:34]               │ debg returned from get, calling refresh
[00:21:36]               │ debg browser[WARNING] http://localhost:6161/36295/bundles/plugin/uiActionsEnhanced/uiActionsEnhanced.plugin.js 15:63291 "ActionFactory [actionFactory.id = URL_DRILLDOWN] fail to register feature for featureUsage."
[00:21:36]               │ERROR browser[SEVERE] http://localhost:6161/36295/bundles/core/core.entry.js 97:270822 TypeError: Failed to fetch
[00:21:36]               │          at Fetch._callee3$ (http://localhost:6161/36295/bundles/core/core.entry.js:34:106766)
[00:21:36]               │          at l (http://localhost:6161/36295/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186860)
[00:21:36]               │          at Generator._invoke (http://localhost:6161/36295/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:186613)
[00:21:36]               │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6161/36295/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:187217)
[00:21:36]               │          at fetch_asyncGeneratorStep (http://localhost:6161/36295/bundles/core/core.entry.js:34:100859)
[00:21:36]               │          at _throw (http://localhost:6161/36295/bundles/core/core.entry.js:34:101267)
[00:21:36]               │ debg browser[INFO] http://localhost:6161/app/dashboards?_t=1600217540323#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:21:36]               │
[00:21:36]               │ debg browser[INFO] http://localhost:6161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:21:36]               │ debg currentUrl = http://localhost:6161/app/dashboards#/list
[00:21:36]               │          appUrl = http://localhost:6161/app/dashboards#/list
[00:21:36]               │ debg TestSubjects.find(kibanaChrome)
[00:21:36]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:21:37]               │ debg ... sleep(501) start
[00:21:37]               │ debg ... sleep(501) end
[00:21:37]               │ debg in navigateTo url = http://localhost:6161/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:21:37]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:21:38]               │ debg ... sleep(501) start
[00:21:38]               │ debg ... sleep(501) end
[00:21:38]               │ debg in navigateTo url = http://localhost:6161/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:21:38]               │ debg TestSubjects.exists(statusPageContainer)
[00:21:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:21:41]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:21:41]               │ debg isGlobalLoadingIndicatorVisible
[00:21:41]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:21:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:21:41]               │ debg browser[INFO] http://localhost:6161/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 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:21:41]               │
[00:21:41]               │ debg browser[INFO] http://localhost:6161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:21:43]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:21:44]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:21:44]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:21:44]               │ debg TestSubjects.exists(newItemButton)
[00:21:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:21:46]               │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:21:49]               │ debg --- retry.tryForTime failed again with the same message...
[00:21:53]               │ debg --- retry.tryForTime failed again with the same message...
[00:21:56]               │ debg --- retry.tryForTime failed again with the same message...
[00:21:56]               │ debg TestSubjects.click(createDashboardPromptButton)
[00:21:56]               │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:21:56]               │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:21:56]               │ debg waitForRenderComplete
[00:21:56]               │ debg in getSharedItemsCount
[00:21:56]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:21:56]               │ debg Renderable.waitForRender for 0 elements
[00:21:56]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:22:06]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:22:07]             └-> adds Lens visualization to empty dashboard
[00:22:07]               └-> "before each" hook: global before each
[00:22:07]               │ debg TestSubjects.exists(addVisualizationButton)
[00:22:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="addVisualizationButton"]') with timeout=2500
[00:22:08]               │ debg TestSubjects.click(addVisualizationButton)
[00:22:08]               │ debg Find.clickByCssSelector('[data-test-subj="addVisualizationButton"]') with timeout=10000
[00:22:08]               │ debg Find.findByCssSelector('[data-test-subj="addVisualizationButton"]') with timeout=10000
[00:22:08]               │ debg DashboardVisualizations.isNewVisDialogShowing
[00:22:08]               │ debg Find.existsByCssSelector('.visNewVisDialog') with timeout=2500
[00:22:08]               │ debg DashboardVisualizations.ensureNewVisualizationDialogIsShowing:true
[00:22:08]               │ debg createAndAddLens(Dashboard Test Lens)
[00:22:08]               │ debg getIsInViewMode
[00:22:08]               │ debg TestSubjects.exists(dashboardEditMode)
[00:22:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=2500
[00:22:10]               │ debg --- retry.tryForTime error: [data-test-subj="dashboardEditMode"] is not displayed
[00:22:11]               │ debg TestSubjects.click(visType-lens)
[00:22:11]               │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:22:11]               │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:22:11]               │ debg isGlobalLoadingIndicatorVisible
[00:22:11]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:22:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:22:11]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:11]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:11]               │ERROR browser[SEVERE] http://localhost:6161/plugins/lens/assets/lens_app_graphic_light_2x.png - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:22:11]               │ debg lensPage.goToTimeRange()
[00:22:11]               │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:22:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:22:12]               │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:22:12]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:22:12]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:22:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:22:12]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:22:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:22:12]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:22:12]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:22:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:22:12]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:12]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:12]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:12]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:22:12]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:12]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:12]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:13]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:22:13]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:13]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:22:13]               │ debg Find.waitForElementStale with timeout=10000
[00:22:13]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:22:13]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:22:13]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:13]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:22:13]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:13]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:13]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:13]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:22:13]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:22:13]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:13]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:22:13]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:22:13]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:22:16]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:22:16]               │ debg TestSubjects.click(querySubmitButton)
[00:22:16]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:16]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:22:17]               │ debg Find.waitForElementStale with timeout=10000
[00:22:17]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:17]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:17]               │ debg lensPage.configureDimension([object Object])
[00:22:17]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_xDimensionPanel > lns-empty-dimension)
[00:22:17]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:17]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:17]               │ debg TestSubjects.exists(lns-indexPatternDimension-date_histogram)
[00:22:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=2500
[00:22:17]               │ debg TestSubjects.click(lns-indexPatternDimension-date_histogram)
[00:22:17]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:22:17]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:22:17]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:22:17]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:22:17]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:20]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:21]               │ debg comboBox.setElement, value: @timestamp
[00:22:21]               │ debg comboBox.isOptionSelected, value: @timestamp
[00:22:23]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:23]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:22:23]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:26]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:26]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:22:26]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:26]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:26]               │ debg lensPage.configureDimension([object Object])
[00:22:26]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_yDimensionPanel > lns-empty-dimension)
[00:22:26]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:26]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:26]               │ debg TestSubjects.exists(lns-indexPatternDimension-avg)
[00:22:26]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=2500
[00:22:26]               │ debg TestSubjects.click(lns-indexPatternDimension-avg)
[00:22:26]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:22:26]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-avg"]') with timeout=10000
[00:22:26]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:22:26]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:22:26]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:26]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:29]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:30]               │ debg comboBox.setElement, value: bytes
[00:22:30]               │ debg comboBox.isOptionSelected, value: bytes
[00:22:32]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:32]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:32]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:22:32]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:32]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:35]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:35]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:22:35]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:35]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:35]               │ debg lensPage.configureDimension([object Object])
[00:22:35]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_splitDimensionPanel > lns-empty-dimension)
[00:22:35]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:35]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:35]               │ debg TestSubjects.exists(lns-indexPatternDimension-terms)
[00:22:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=2500
[00:22:35]               │ debg TestSubjects.click(lns-indexPatternDimension-terms)
[00:22:35]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:22:35]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:22:36]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:22:36]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:22:36]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:36]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:38]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:39]               │ debg comboBox.setElement, value: ip
[00:22:39]               │ debg comboBox.isOptionSelected, value: ip
[00:22:41]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:41]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="ip"]') with timeout=2500
[00:22:41]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:22:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:22:44]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:22:44]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerTitle)
[00:22:44]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:44]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerTitle"]') with timeout=10000
[00:22:44]               │ debg lensPage.save('Dashboard Test Lens', false, true)
[00:22:44]               │ debg isGlobalLoadingIndicatorVisible
[00:22:44]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:22:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:22:46]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:22:46]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:22:46]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:22:46]               │ debg TestSubjects.click(lnsApp_saveButton)
[00:22:46]               │ debg Find.clickByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:22:46]               │ debg Find.findByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:22:47]               │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Test Lens)
[00:22:47]               │ debg TestSubjects.click(savedObjectTitle)
[00:22:47]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:22:47]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:22:47]               │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:22:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:22:49]               │ debg --- retry.tryForTime error: [data-test-subj="saveAsNewCheckbox"] is not displayed
[00:22:50]               │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:22:50]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:22:50]               │ debg TestSubjects.find(returnToOriginModeSwitch)
[00:22:50]               │ debg Find.findByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=10000
[00:22:50]               │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:22:50]               │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:22:50]               │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:22:50]               │ debg Waiting up to 1000ms for Save modal to disappear...
[00:22:50]               │ debg TestSubjects.missingOrFail(confirmSaveSavedObjectButton)
[00:22:50]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=2500
[00:22:51]               │ debg waitForRenderComplete
[00:22:51]               │ debg in getSharedItemsCount
[00:22:51]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:22:52]               │ debg Renderable.waitForRender for 1 elements
[00:22:52]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:02]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:23:12]               │ debg --- retry.try error: 0 elements completed rendering, still waiting on a total of 1
[00:23:12]               │                      specifically:
[00:23:12]               │
[00:23:12]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:22]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:23:32]               │ debg --- retry.try failed again with the same message...
[00:23:33]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:23:43]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:23:53]               │ debg --- retry.try failed again with the same message...
[00:23:53]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:24:03]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:24:13]               │ debg --- retry.try failed again with the same message...
[00:24:14]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:24:24]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:24:34]               │ debg --- retry.try failed again with the same message...
[00:24:34]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:24:44]               │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:24:54]               │ debg --- retry.try failed again with the same message...
[00:24:55]               │ info Taking screenshot "/dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/screenshots/failure/dashboard mode empty dashboard adds Lens visualization to empty dashboard.png"
[00:24:55]               │ info Current URL is: http://localhost:6161/app/dashboards#/create?_g=(filters:!(),query:(language:kuery,query:%27%27),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:d64bd4e6-1d46-4b44-bcec-86dc4dd9bce0,w:24,x:0,y:0),id:%270dd61070-f7b7-11ea-a5d4-95cb8a209e67%27,panelIndex:d64bd4e6-1d46-4b44-bcec-86dc4dd9bce0,type:lens,version:%278.0.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:24:55]               │ info Saving page source to: /dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/failure_debug/html/dashboard mode empty dashboard adds Lens visualization to empty dashboard.html
[00:24:55]               └- ✖ fail: dashboard mode empty dashboard adds Lens visualization to empty dashboard
[00:24:55]               │      Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
[00:24:55]               │                 specifically:
[00:24:55]               │ 
[00:24:55]               │     at retry.try (/dev/shm/workspace/parallel/6/kibana/test/functional/services/renderable.ts:50:17)
[00:24:55]               │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:24:55]               │       at onFailure (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:24:55]               │       at retryForSuccess (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:24:55]               │ 
[00:24:55]               │ 

Stack Trace

Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
                specifically:

    at retry.try (/dev/shm/workspace/parallel/6/kibana/test/functional/services/renderable.ts:50:17)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

page load bundle size

id value diff baseline
lens 1.1MB +573.0B 1.1MB

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

@ppisljar
Copy link
Copy Markdown
Contributor

is this ready to review ? general approach looks ok.

@wylieconlon
Copy link
Copy Markdown
Contributor Author

@ppisljar I don't think this is ready to review because at the time, it was causing errors on every Lens visualization. So it's not ready. Have you done any work on the esaggs function so that it can take non-JSON input?

@ppisljar
Copy link
Copy Markdown
Contributor

its in progress, currently we are moving search source to the server and after that we plan to cleanup esaggs and move it to the server.

@lukeelmers
Copy link
Copy Markdown
Contributor

currently we are moving search source to the server and after that we plan to cleanup esaggs and move it to the server.

++ The plan was to update esaggs to use the agg functions when we move it to the server

@wylieconlon
Copy link
Copy Markdown
Contributor Author

Closed in #84973

@wylieconlon wylieconlon deleted the lens/use-agg-fns branch December 14, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants