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.7] migrate saved object, reset validation counter and fix typo attribute (#62442) #62635

Merged
merged 2 commits into from
Apr 7, 2020

Conversation

flash1293
Copy link
Contributor

Backports the following commits to 7.7:

@flash1293
Copy link
Contributor Author

@elasticmachine merge upstream

@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_with_es_ssl/apps/triggers_actions_ui/details·ts.Actions and Triggers app Alert Details Alert Instance Pagination renders the first page

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Actions and Triggers app
[00:00:00]           └-> "before all" hook
[00:05:47]           └-: Alert Details
[00:05:47]             └-> "before all" hook
[00:07:14]             └-: Alert Instance Pagination
[00:07:14]               └-> "before all" hook
[00:07:14]               └-> "before all" hook
[00:07:14]                 │ debg navigating to triggersActions url: http://localhost:61101/app/kibana#/management/kibana/triggersActions
[00:07:14]                 │ debg Navigate to: http://localhost:61101/app/kibana#/management/kibana/triggersActions
[00:07:14]                 │ debg ... sleep(700) start
[00:07:14]                 │ debg browser[INFO] http://localhost:61101/app/kibana?_t=1586251925669#/management/kibana/triggersActions 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:07:14]                 │
[00:07:14]                 │ debg browser[INFO] http://localhost:61101/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:14]                 │ debg ... sleep(700) end
[00:07:14]                 │ debg returned from get, calling refresh
[00:07:15]                 │ debg browser[INFO] http://localhost:61101/app/kibana?_t=1586251925669#/management/kibana/triggersActions 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:07:15]                 │
[00:07:15]                 │ debg browser[INFO] http://localhost:61101/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:15]                 │ debg currentUrl = http://localhost:61101/app/kibana#/management/kibana/triggersActions
[00:07:15]                 │          appUrl = http://localhost:61101/app/kibana#/management/kibana/triggersActions
[00:07:15]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:18]                 │ debg TestSubjects.find(kibanaChrome)
[00:07:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:07:18]                 │ debg browser[INFO] http://localhost:61101/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-07T09:32:08Z
[00:07:18]                 │        Adding connection to http://localhost:61101/elasticsearch
[00:07:18]                 │
[00:07:18]                 │      "
[00:07:18]                 │ debg ... sleep(501) start
[00:07:18]                 │ debg ... sleep(501) end
[00:07:18]                 │ debg in navigateTo url = http://localhost:61101/app/kibana#/management/kibana/triggersActions/alerts
[00:07:18]                 │ debg TestSubjects.exists(statusPageContainer)
[00:07:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:21]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:21]                 │ debg creating action server-log-ce2b36fd-211c-4055-be6a-cd825493fe82-0
[00:07:21]                 │ debg creating action server-log-ce2b36fd-211c-4055-be6a-cd825493fe82-1
[00:07:22]                 │ debg created action ac14ead6-ed13-4b0b-970f-281a5ab1c55a
[00:07:22]                 │ debg created action c0aee9eb-6016-4f54-8fbf-a82403892591
[00:07:22]                 │ debg creating alert test-alert-ce2b36fd-211c-4055-be6a-cd825493fe82
[00:07:24]                 │ debg created alert 578ef256-495d-4ec8-98ed-800a21e00944
[00:07:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:07:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:24]                 │ debg browser[INFO] http://localhost:61101/app/kibana?_t=1586251925669#/management/kibana/triggersActions/alerts 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:07:24]                 │
[00:07:24]                 │ debg browser[INFO] http://localhost:61101/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:26]                 │ debg browser[INFO] http://localhost:61101/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-04-07T09:32:18Z
[00:07:26]                 │        Adding connection to http://localhost:61101/elasticsearch
[00:07:26]                 │
[00:07:26]                 │      "
[00:07:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:28]                 │ debg TestSubjects.exists(alertsList)
[00:07:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="alertsList"]') with timeout=120000
[00:07:28]                 │ debg TestSubjects.find(alertSearchField)
[00:07:28]                 │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:07:28]                 │ proc [kibana]   log   [09:32:20.600] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:28]                 │ proc [kibana]   log   [09:32:20.608] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:28]                 │ proc [kibana]   log   [09:32:20.615] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:28]                 │ proc [kibana]   log   [09:32:20.623] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ proc [kibana]   log   [09:32:20.685] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ proc [kibana]   log   [09:32:20.693] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ proc [kibana]   log   [09:32:20.700] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ proc [kibana]   log   [09:32:20.708] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ proc [kibana]   log   [09:32:20.715] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:29]                 │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:07:29]                 │ debg Find.clickDisplayedByCssSelector('[data-test-subj="alertsList"] [title="test-alert-ce2b36fd-211c-4055-be6a-cd825493fe82"]') with timeout=10000
[00:07:29]                 │ debg Find.displayedByCssSelector([data-test-subj="alertsList"] [title="test-alert-ce2b36fd-211c-4055-be6a-cd825493fe82"])
[00:07:29]                 │ debg Find.findByCssSelector('[data-test-subj="alertsList"] [title="test-alert-ce2b36fd-211c-4055-be6a-cd825493fe82"]') with timeout=10000
[00:07:29]                 │ debg Wait for element become visible: [data-test-subj="alertsList"] [title="test-alert-ce2b36fd-211c-4055-be6a-cd825493fe82"] with timeout=10000
[00:07:29]                 │ debg getting alert 578ef256-495d-4ec8-98ed-800a21e00944 state
[00:07:29]                 │ debg --- retry.try error: expected 0 to sort of equal 30
[00:07:29]                 │ debg getting alert 578ef256-495d-4ec8-98ed-800a21e00944 state
[00:07:29]               └-> renders the first page
[00:07:29]                 └-> "before each" hook: global before each
[00:07:29]                 │ debg TestSubjects.exists(alertInstancesList)
[00:07:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="alertInstancesList"]') with timeout=120000
[00:07:29]                 │ debg getting alert 578ef256-495d-4ec8-98ed-800a21e00944 state
[00:07:29]                 │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertInstancesList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:07:30]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Actions and Triggers app Alert Details Alert Instance Pagination renders the first page.png"
[00:07:30]                 │ proc [kibana]   log   [09:32:21.783] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ info Current URL is: http://localhost:61101/app/kibana#/management/kibana/triggersActions/alert/578ef256-495d-4ec8-98ed-800a21e00944
[00:07:30]                 │ proc [kibana]   log   [09:32:21.899] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ proc [kibana]   log   [09:32:21.910] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ proc [kibana]   log   [09:32:21.920] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ proc [kibana]   log   [09:32:21.927] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Actions and Triggers app Alert Details Alert Instance Pagination renders the first page.html
[00:07:30]                 │ proc [kibana]   log   [09:32:21.934] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ proc [kibana]   log   [09:32:21.941] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 │ proc [kibana]   log   [09:32:21.948] [warning][actions][actions][plugins] Server log: from alert 1s
[00:07:30]                 └- ✖ fail: "Actions and Triggers app Alert Details Alert Instance Pagination renders the first page"
[00:07:30]                 │

Stack Trace

{ Error: expected 0 to sort of equal 10
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.it (test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts:482:33)
    at process._tickCallback (internal/process/next_tick.js:68:7) actual: '0', expected: '10', showDiff: true }

History

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

@flash1293 flash1293 merged commit 3dc4515 into elastic:7.7 Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants