Skip to content

[7.x] [Fleet] Enrollment list page (#61346)#62138

Merged
nchaulet merged 1 commit intoelastic:7.xfrom
nchaulet:backport/7.x/pr-61346
Apr 1, 2020
Merged

[7.x] [Fleet] Enrollment list page (#61346)#62138
nchaulet merged 1 commit intoelastic:7.xfrom
nchaulet:backport/7.x/pr-61346

Conversation

@nchaulet
Copy link
Copy Markdown
Member

@nchaulet nchaulet commented Apr 1, 2020

Backports the following commits to 7.x:

@nchaulet nchaulet added the backport This PR is a backport of another PR label Apr 1, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_doc_navigation·js.discover app doc link in discover should open the doc view of the selected document

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:52]         └-: discover app
[00:01:52]           └-> "before all" hook
[00:01:52]           └-> "before all" hook
[00:14:57]           └-: doc link in discover
[00:14:57]             └-> "before all" hook
[00:14:57]             └-> "before all" hook
[00:14:57]               │ info [logstash_functional] Loading "mappings.json"
[00:14:57]               │ info [logstash_functional] Loading "data.json.gz"
[00:14:57]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:14:57]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:14:57]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:14:58]               │ debg navigating to discover url: http://localhost:6161/app/kibana#/discover
[00:14:58]               │ debg Navigate to: http://localhost:6161/app/kibana#/discover
[00:14:58]               │ debg ... sleep(700) start
[00:14:58]               │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1585742826764#/discover 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:58]               │
[00:14:58]               │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:59]               │ debg ... sleep(700) end
[00:14:59]               │ debg returned from get, calling refresh
[00:14:59]               │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1585742826764#/discover 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:59]               │
[00:14:59]               │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:00]               │ debg currentUrl = http://localhost:6161/app/kibana#/discover
[00:15:00]               │          appUrl = http://localhost:6161/app/kibana#/discover
[00:15:00]               │ debg TestSubjects.find(kibanaChrome)
[00:15:00]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:02]               │ debg TestSubjects.find(kibanaChrome)
[00:15:02]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:15:02]               │ debg browser[INFO] http://localhost:6161/bundles/plugin/data/data.plugin.js 96:139630 "INFO: 2020-04-01T12:07:09Z
[00:15:02]               │        Adding connection to http://localhost:6161/elasticsearch
[00:15:02]               │
[00:15:02]               │      "
[00:15:02]               │ debg ... sleep(501) start
[00:15:02]               │ debg ... sleep(501) end
[00:15:02]               │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:15:02]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:03]               │ debg ... sleep(501) start
[00:15:03]               │ debg ... sleep(501) end
[00:15:03]               │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:15:03]               │ debg TestSubjects.exists(statusPageContainer)
[00:15:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:06]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:06]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:15:06]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:15:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:15:06]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:15:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:15:06]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:15:06]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:06]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:06]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:15:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:15:06]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:15:06]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:06]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:07]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:07]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:07]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:07]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:07]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:07]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:07]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:07]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:15:07]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:07]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:07]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:07]               │ debg ... sleep(500) start
[00:15:08]               │ debg ... sleep(500) end
[00:15:08]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:08]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:08]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:08]               │ debg Find.waitForElementStale with timeout=10000
[00:15:08]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:08]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:08]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:08]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:08]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:08]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:08]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:09]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:15:09]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:09]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:12]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:12]               │ debg TestSubjects.click(querySubmitButton)
[00:15:12]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:12]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:12]               │ debg Find.waitForElementStale with timeout=10000
[00:15:13]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:13]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:14]               │ debg Find.waitForAttributeToChange('[data-test-subj="discoverDocTable"]', 'data-render-complete', 'true')
[00:15:14]               │ debg Waiting up to 20000ms for data-render-complete to equal "true"...
[00:15:14]               │ debg Find.findByCssSelector('[data-test-subj="discoverDocTable"]') with timeout=10000
[00:15:14]               │ debg TestSubjects.moveMouseTo(field-@message)
[00:15:14]               │ debg TestSubjects.find(field-@message)
[00:15:14]               │ debg Find.findByCssSelector('[data-test-subj="field-@message"]') with timeout=10000
[00:15:15]               │ debg TestSubjects.click(fieldToggle-@message)
[00:15:15]               │ debg Find.clickByCssSelector('[data-test-subj="fieldToggle-@message"]') with timeout=10000
[00:15:15]               │ debg Find.findByCssSelector('[data-test-subj="fieldToggle-@message"]') with timeout=10000
[00:15:15]               │ debg TestSubjects.click(field-extension)
[00:15:15]               │ debg Find.clickByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:15:15]               │ debg Find.findByCssSelector('[data-test-subj="field-extension"]') with timeout=10000
[00:15:16]               │ debg TestSubjects.exists(plus-extension-jpg)
[00:15:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=2500
[00:15:16]               │ debg TestSubjects.click(plus-extension-jpg)
[00:15:16]               │ debg Find.clickByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:15:16]               │ debg Find.findByCssSelector('[data-test-subj="plus-extension-jpg"]') with timeout=10000
[00:15:16]               │ debg isGlobalLoadingIndicatorVisible
[00:15:16]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:16]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:16]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:17]               │ debg TestSubjects.click(field-geo.src)
[00:15:17]               │ debg Find.clickByCssSelector('[data-test-subj="field-geo.src"]') with timeout=10000
[00:15:17]               │ debg Find.findByCssSelector('[data-test-subj="field-geo.src"]') with timeout=10000
[00:15:17]               │ debg TestSubjects.exists(plus-geo.src-IN)
[00:15:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="plus-geo.src-IN"]') with timeout=2500
[00:15:17]               │ debg TestSubjects.click(plus-geo.src-IN)
[00:15:17]               │ debg Find.clickByCssSelector('[data-test-subj="plus-geo.src-IN"]') with timeout=10000
[00:15:17]               │ debg Find.findByCssSelector('[data-test-subj="plus-geo.src-IN"]') with timeout=10000
[00:15:17]               │ debg isGlobalLoadingIndicatorVisible
[00:15:17]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:17]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:17]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:17]             └-> should open the doc view of the selected document
[00:15:17]               └-> "before each" hook: global before each
[00:15:17]               │ debg TestSubjects.find(docTable)
[00:15:17]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:15:18]               │ debg TestSubjects.find(docTable)
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:15:19]               │ debg TestSubjects.exists(doc-hit)
[00:15:19]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="doc-hit"]') with timeout=2500
[00:15:21]               │ debg --- retry.tryForTime error: [data-test-subj="doc-hit"] is not displayed
[00:15:22]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app doc link in discover should open the doc view of the selected document.png"
[00:15:22]               │ info Current URL is: http://localhost:6161/app/kibana#/discover?_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=(columns:!(%27@message%27),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27logstash-*%27,key:extension,negate:!f,params:(query:jpg),type:phrase),query:(match_phrase:(extension:jpg))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27logstash-*%27,key:geo.src,negate:!f,params:(query:IN),type:phrase),query:(match_phrase:(geo.src:IN)))),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:15:22]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app doc link in discover should open the doc view of the selected document.html
[00:15:22]               └- ✖ fail: "discover app doc link in discover should open the doc view of the selected document"
[00:15:22]               │

Stack Trace

Error: expected false to equal true
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (packages/kbn-expect/expect.js:227:8)
    at Assertion.be (packages/kbn-expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/discover/_doc_navigation.js:56:28)

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

@nchaulet nchaulet merged commit 397fd15 into elastic:7.x Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants