Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [ML] Cardinality validation API integration tests (#65971) #66047

Merged
merged 1 commit into from
May 12, 2020

Conversation

darnautov
Copy link
Contributor

Backports the following commits to 7.x:

* [ML] refactor validate_cardinality to TS

* [ML] cardinality api integration tests

* [ML] resolve PR comments, validateJobObject as TS guard
@darnautov darnautov self-assigned this May 11, 2020
@darnautov darnautov added the :ml label May 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:17:40]         └-: lens app
[00:17:40]           └-> "before all" hook
[00:17:40]           └-> "before all" hook
[00:17:40]             │ debg Starting lens before method
[00:17:40]             │ info [logstash_functional] Loading "mappings.json"
[00:17:40]             │ info [logstash_functional] Loading "data.json.gz"
[00:17:41]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:17:41]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:17:41]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:17:42]             │ info [lens/basic] Loading "mappings.json"
[00:17:42]             │ info [lens/basic] Loading "data.json.gz"
[00:17:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/bts8H9TVQMyG9ANHMfsn5A] deleting index
[00:17:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_1/dpCoCn6vQ46jB7i8uiSZRg] deleting index
[00:17:42]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:17:42]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] applying create index request using v1 templates []
[00:17:42]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:17:42]             │ info [lens/basic] Created index ".kibana_1"
[00:17:42]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:17:42]             │ info [lens/basic] Indexed 10 docs into ".kibana_1"
[00:17:42]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_1/hZfr1sXLRg6b8eh1n17wSQ] update_mapping [_doc]
[00:17:42]             │ debg Migrating saved objects
[00:17:43]             │ proc [kibana]   log   [15:40:33.345] [info][savedobjects-service] Creating index .kibana_2.
[00:17:43]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] applying create index request using v1 templates []
[00:17:43]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:17:43]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] updating number_of_replicas to [0] for indices [.kibana_2]
[00:17:43]             │ proc [kibana]   log   [15:40:33.412] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:17:43]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/Y5SNTR6YQXqX7tN3Pty8jA] update_mapping [_doc]
[00:17:43]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/Y5SNTR6YQXqX7tN3Pty8jA] update_mapping [_doc]
[00:17:43]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/Y5SNTR6YQXqX7tN3Pty8jA] update_mapping [_doc]
[00:17:43]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/Y5SNTR6YQXqX7tN3Pty8jA] update_mapping [_doc]
[00:17:43]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] [.kibana_2/Y5SNTR6YQXqX7tN3Pty8jA] update_mapping [_doc]
[00:17:43]             │ proc [kibana]   log   [15:40:33.674] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:17:43]             │ proc [kibana]   log   [15:40:33.715] [info][savedobjects-service] Finished in 372ms.
[00:17:43]           └-: 
[00:17:43]             └-> "before all" hook
[00:17:43]             └-: lens smokescreen tests
[00:17:43]               └-> "before all" hook
[00:17:43]               └-> should allow editing saved visualizations
[00:17:43]                 └-> "before each" hook: global before each
[00:17:43]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:17:43]                 │ debg navigate to: http://localhost:6151/app/kibana#/visualize
[00:17:44]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1589211633731#/visualize 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:17:44]                 │
[00:17:44]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:44]                 │ debg ... sleep(700) start
[00:17:44]                 │ debg ... sleep(700) end
[00:17:44]                 │ debg returned from get, calling refresh
[00:17:45]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1589211633731#/visualize 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:17:45]                 │
[00:17:45]                 │ debg browser[INFO] http://localhost:6151/bundles/app/core/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:45]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1589211633731#/visualize
[00:17:45]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:17:45]                 │ debg TestSubjects.find(kibanaChrome)
[00:17:45]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:47]                 │ debg Found login page
[00:17:47]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:17:47]                 │ debg TestSubjects.click(loginUsername)
[00:17:47]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:17:47]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:17:47]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:40:36Z
[00:17:47]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:17:47]                 │
[00:17:47]                 │      "
[00:17:47]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:17:47]                 │ debg TestSubjects.click(loginPassword)
[00:17:47]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:17:47]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:17:47]                 │ debg TestSubjects.click(loginSubmit)
[00:17:47]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:17:47]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:17:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:17:51]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211633731#/visualize 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:17:51]                 │
[00:17:51]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:51]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:40:40Z
[00:17:51]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:17:51]                 │
[00:17:51]                 │      "
[00:17:51]                 │ERROR browser[SEVERE] http://localhost:6151/31687/bundles/plugin/newsfeed/newsfeed.plugin.js 5:9779 TypeError: Failed to fetch
[00:17:51]                 │          at Fetch._callee3$ (http://localhost:6151/31687/bundles/commons.bundle.js:3:1174396)
[00:17:51]                 │          at l (http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969119)
[00:17:51]                 │          at Generator._invoke (http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:968872)
[00:17:51]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:288:969476)
[00:17:51]                 │          at asyncGeneratorStep (http://localhost:6151/31687/bundles/commons.bundle.js:3:1168132)
[00:17:51]                 │          at _throw (http://localhost:6151/31687/bundles/commons.bundle.js:3:1168529)
[00:17:51]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211640978#/visualize 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:17:51]                 │
[00:17:51]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:51]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:17:51]                 │ debg TestSubjects.find(kibanaChrome)
[00:17:51]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:17:54]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:40:43Z
[00:17:54]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:17:54]                 │
[00:17:54]                 │      "
[00:17:54]                 │ debg ... sleep(501) start
[00:17:54]                 │ debg ... sleep(501) end
[00:17:54]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:17:54]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:17:55]                 │ debg ... sleep(501) start
[00:17:55]                 │ debg ... sleep(501) end
[00:17:55]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:17:55]                 │ debg TestSubjects.exists(statusPageContainer)
[00:17:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:58]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:58]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:17:58]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:17:58]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:17:58]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:17:59]                 │ debg lensPage.goToTimeRange()
[00:17:59]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:17:59]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:17:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:17:59]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 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:17:59]                 │
[00:17:59]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:01]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:40:51Z
[00:18:01]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:01]                 │
[00:18:01]                 │      "
[00:18:01]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:18:02]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:02]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:02]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:02]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:02]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:02]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:02]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:03]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:18:03]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:03]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:03]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:04]                 │ debg ... sleep(500) start
[00:18:04]                 │ debg ... sleep(500) end
[00:18:04]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:04]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:04]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:04]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:04]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:04]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:04]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:04]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:04]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:04]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:04]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:05]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:18:05]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:05]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:05]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:05]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:08]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:08]                 │ debg TestSubjects.click(querySubmitButton)
[00:18:08]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:08]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:09]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:09]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:09]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:09]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:18:09]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:18:09]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:09]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:18:09]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:18:09]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:18:09]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:09]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:18:09]                 └- ✓ pass  (25.7s) "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:18:09]               └-> metric should be embeddable in dashboards
[00:18:09]                 └-> "before each" hook: global before each
[00:18:09]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:18:09]                 │ debg navigate to: http://localhost:6151/app/kibana#/dashboards
[00:18:09]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211659425#/dashboards 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:18:09]                 │
[00:18:09]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:09]                 │ debg ... sleep(700) start
[00:18:10]                 │ debg ... sleep(700) end
[00:18:10]                 │ debg returned from get, calling refresh
[00:18:11]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211659425#/dashboards 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:18:11]                 │
[00:18:11]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:11]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:11]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:11]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:13]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:13]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:18:13]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:41:02Z
[00:18:13]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:13]                 │
[00:18:13]                 │      "
[00:18:13]                 │ debg ... sleep(501) start
[00:18:13]                 │ debg ... sleep(501) end
[00:18:13]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:13]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:18:14]                 │ debg ... sleep(501) start
[00:18:15]                 │ debg ... sleep(501) end
[00:18:15]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:15]                 │ debg TestSubjects.exists(statusPageContainer)
[00:18:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:17]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:18]                 │ debg TestSubjects.exists(newItemButton)
[00:18:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:18:20]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:18:21]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:18:21]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:21]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:21]                 │ debg waitForRenderComplete
[00:18:21]                 │ debg in getSharedItemsCount
[00:18:21]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:18:21]                 │ debg Renderable.waitForRender for 0 elements
[00:18:21]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:18:31]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:18:32]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:18:32]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:18:32]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:18:32]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:18:32]                 │ debg Find.clickByButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:18:32]                 │ debg Find.byButtonText('Artistpreviouslyknownaslens') with timeout=10000
[00:18:33]                 │ debg --- retry.tryForTime error: Button not found
[00:18:34]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:18:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:18:34]                 │ debg Closing flyout dashboardAddPanel
[00:18:34]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:18:34]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:18:34]                 │ debg Waiting up to 20000ms for flyout closed...
[00:18:34]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:18:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:18:35]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:18:36]                 │ debg lensPage.goToTimeRange()
[00:18:36]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:18:36]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:18:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:18:36]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:18:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:18:36]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:18:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:18:36]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:18:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:18:36]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:18:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:18:36]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:36]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:36]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:36]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:37]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:18:37]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:37]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:37]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:37]                 │ debg ... sleep(500) start
[00:18:38]                 │ debg ... sleep(500) end
[00:18:38]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:18:38]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:18:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:18:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:18:38]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:18:38]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:38]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:18:39]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:18:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:18:41]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:18:42]                 │ debg TestSubjects.click(querySubmitButton)
[00:18:42]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:18:42]                 │ debg Find.waitForElementStale with timeout=10000
[00:18:43]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:43]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:43]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_title"]', 'Maximum of bytes')
[00:18:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_title"]', value => value === expectedText)
[00:18:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:43]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_title"]') with timeout=10000
[00:18:43]                 │ debg lensPage.assertExactText('[data-test-subj="lns_metric_value"]', '19,986')
[00:18:43]                 │ debg lensPage.assertExpectedText('[data-test-subj="lns_metric_value"]', value => value === expectedText)
[00:18:43]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:18:43]                 │ debg Find.findByCssSelector('[data-test-subj="lns_metric_value"]') with timeout=10000
[00:18:43]                 └- ✓ pass  (33.6s) "lens app  lens smokescreen tests metric should be embeddable in dashboards"
[00:18:43]               └-> click on the bar in XYChart adds proper filters/timerange in dashboard
[00:18:43]                 └-> "before each" hook: global before each
[00:18:43]                 │ debg navigating to dashboard url: http://localhost:6151/app/kibana#/dashboards
[00:18:43]                 │ debg navigate to: http://localhost:6151/app/kibana#/dashboards
[00:18:43]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211692991#/dashboards 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:18:43]                 │
[00:18:43]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:43]                 │ debg ... sleep(700) start
[00:18:44]                 │ debg ... sleep(700) end
[00:18:44]                 │ debg returned from get, calling refresh
[00:18:44]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1589211692991#/dashboards 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:18:44]                 │
[00:18:44]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:18:44]                 │ debg currentUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:44]                 │          appUrl = http://localhost:6151/app/kibana#/dashboards
[00:18:44]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:44]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:18:47]                 │ debg TestSubjects.find(kibanaChrome)
[00:18:47]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:18:47]                 │ debg browser[INFO] http://localhost:6151/31687/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-11T15:41:36Z
[00:18:47]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:18:47]                 │
[00:18:47]                 │      "
[00:18:47]                 │ debg ... sleep(501) start
[00:18:47]                 │ debg ... sleep(501) end
[00:18:47]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:47]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:18:48]                 │ debg ... sleep(501) start
[00:18:48]                 │ debg ... sleep(501) end
[00:18:48]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/dashboards?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:18:48]                 │ debg TestSubjects.exists(statusPageContainer)
[00:18:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:18:51]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:18:51]                 │ debg TestSubjects.exists(newItemButton)
[00:18:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=2500
[00:18:54]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:18:54]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:18:54]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:54]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:18:55]                 │ debg waitForRenderComplete
[00:18:55]                 │ debg in getSharedItemsCount
[00:18:55]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:18:55]                 │ debg Renderable.waitForRender for 0 elements
[00:18:55]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:18:55]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] applying create index request using v1 templates [.kibana-event-log-7.9.0-template]
[00:18:55]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1589208256891567034] applying create index request using v1 templates [ilm-history]
[00:19:05]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:19:06]                 │ debg DashboardAddPanel.clickOpenAddPanel
[00:19:06]                 │ debg TestSubjects.click(dashboardAddPanelButton)
[00:19:06]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:19:06]                 │ debg Find.clickByButtonText('lnsXYvis') with timeout=10000
[00:19:06]                 │ debg Find.byButtonText('lnsXYvis') with timeout=10000
[00:19:07]                 │ debg --- retry.tryForTime error: Button not found
[00:19:08]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:08]                 │ debg Closing flyout dashboardAddPanel
[00:19:08]                 │ debg TestSubjects.find(dashboardAddPanel)
[00:19:08]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:19:08]                 │ debg Waiting up to 20000ms for flyout closed...
[00:19:08]                 │ debg TestSubjects.exists(dashboardAddPanel)
[00:19:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:19:09]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:19:10]                 │ debg lensPage.goToTimeRange()
[00:19:10]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:19:10]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:10]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:10]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:19:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:19:10]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:10]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:19:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:10]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:19:10]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:11]                 │ debg ... sleep(500) start
[00:19:11]                 │ debg ... sleep(500) end
[00:19:11]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:19:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:12]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:19:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:19:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:12]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:19:12]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:19:12]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:12]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:19:13]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:19:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:19:15]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:19:16]                 │ debg TestSubjects.click(querySubmitButton)
[00:19:16]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:16]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:19:16]                 │ debg Find.waitForElementStale with timeout=10000
[00:19:16]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:19:16]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:19:16]                 │ debg Find.findByCssSelector('.echChart canvas:last-of-type') with timeout=10000
[00:19:16]                 │ debg TestSubjects.click(applyFiltersPopoverButton)
[00:19:16]                 │ debg Find.clickByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:16]                 │ debg Find.findByCssSelector('[data-test-subj="applyFiltersPopoverButton"]') with timeout=10000
[00:19:16]                 │ debg lensPage.assertExactText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', 'lnsXYvis')
[00:19:16]                 │ debg lensPage.assertExpectedText('[data-test-subj="embeddablePanelHeading-lnsXYvis"]', value => value === expectedText)
[00:19:16]                 │ debg Waiting up to 1000ms for assertExpectedText...
[00:19:16]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelHeading-lnsXYvis"]') with timeout=10000
[00:19:16]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:19:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:19:17]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:19:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:19:19]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:19:20]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:19:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:19:20]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:19:20]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:19:20]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:19:20]                 │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:19:20]                 │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:19:20]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:19:20]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests click on the bar in XYChart adds proper filters_timerange in dashboard.png"
[00:19:20]                 │ info Current URL is: http://localhost:6151/app/kibana#/dashboard?_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=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:%27479f705c-b2bc-408b-8786-acc1d7e205cf%27,w:24,x:0,y:0),id:%2776fc4200-cf44-11e9-b933-fd84270f3ac2%27,panelIndex:%27479f705c-b2bc-408b-8786-acc1d7e205cf%27,type:lens,version:%277.9.0-SNAPSHOT%27)),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:19:20]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/lens app  lens smokescreen tests click on the bar in XYChart adds proper filters_timerange in dashboard.html
[00:19:20]                 └- ✖ fail: "lens app  lens smokescreen tests click on the bar in XYChart adds proper filters/timerange in dashboard"
[00:19:20]                 │

Stack Trace

Error: expected 'Sep 19, 2015 @ 06:31:44.000' to equal 'Sep 21, 2015 @ 09:00:00.000'
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:227:8)
    at assertExpectedTimerange (test/functional/apps/lens/smokescreen.ts:61:27)
    at process._tickCallback (internal/process/next_tick.js:68:7)

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

@darnautov darnautov merged commit 7d00e48 into elastic:7.x May 12, 2020
@darnautov darnautov deleted the backport/7.x/pr-65971 branch May 12, 2020 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants