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] Removes legacy infra plugin and moves saved objects registration to NP (#64848) #65327

Merged
merged 1 commit into from
May 6, 2020

Conversation

jasonrhodes
Copy link
Member

Backports the following commits to 7.x:

elastic#64848)

* Removes legacy infra plugin and moves saved objects to NP

* Removes unnecessary legacy getLibs method

* Reverts saved objects to "single" namespace mode
@jasonrhodes jasonrhodes force-pushed the backport/7.x/pr-64848 branch from a44feb4 to f0bbcdf Compare May 6, 2020 14:45
@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 Edit alert button should open edit alert flyout

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Actions and Triggers app
[00:00:00]           └-> "before all" hook
[00:04:39]           └-: Alert Details
[00:04:39]             └-> "before all" hook
[00:04:56]             └-: Edit alert button
[00:04:56]               └-> "before all" hook
[00:04:56]               └-> should open edit alert flyout
[00:04:56]                 └-> "before each" hook: global before each
[00:04:56]                 │ debg navigating to triggersActions url: http://localhost:61111/app/kibana#/management/kibana/triggersActions
[00:04:56]                 │ debg navigate to: http://localhost:61111/app/kibana#/management/kibana/triggersActions
[00:04:56]                 │ debg browser[INFO] http://localhost:61111/app/kibana?_t=1588781141070#/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:04:56]                 │
[00:04:56]                 │ debg browser[INFO] http://localhost:61111/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:56]                 │ debg ... sleep(700) start
[00:04:57]                 │ debg ... sleep(700) end
[00:04:57]                 │ debg returned from get, calling refresh
[00:04:58]                 │ debg browser[INFO] http://localhost:61111/app/kibana?_t=1588781141070#/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:04:58]                 │
[00:04:58]                 │ debg browser[INFO] http://localhost:61111/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:58]                 │ debg currentUrl = http://localhost:61111/app/kibana#/management/kibana/triggersActions
[00:04:58]                 │          appUrl = http://localhost:61111/app/kibana#/management/kibana/triggersActions
[00:04:58]                 │ debg TestSubjects.find(kibanaChrome)
[00:04:58]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:00]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:00]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:00]                 │ debg browser[INFO] http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T16:05:44Z
[00:05:00]                 │        Adding connection to http://localhost:61111/elasticsearch
[00:05:00]                 │
[00:05:00]                 │      "
[00:05:00]                 │ debg ... sleep(501) start
[00:05:00]                 │ debg ... sleep(501) end
[00:05:01]                 │ debg in navigateTo url = http://localhost:61111/app/kibana#/management/kibana/triggersActions/alerts
[00:05:01]                 │ debg TestSubjects.exists(statusPageContainer)
[00:05:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:02]                 │ proc [kibana]   log   [16:05:46.775] [warning][plugins][taskManager][taskManager] Cancelling task vis_telemetry "oss_telemetry-vis_telemetry" as it expired at 2020-05-06T16:05:40.924Z after running for 05m 05s (with timeout set at 5m).
[00:05:03]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:04]                 │ debg creating alert f3fe3941-1a7c-4afe-9782-d2e6e4b9b648
[00:05:06]                 │ debg created alert 37df2e9d-5949-4f07-9b73-a4dd22f73b96
[00:05:06]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:06]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:06]                 │ debg browser[INFO] http://localhost:61111/app/kibana?_t=1588781141070#/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:05:06]                 │
[00:05:06]                 │ debg browser[INFO] http://localhost:61111/bundles/app/kibana/bootstrap.js 10:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:08]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:08]                 │ debg browser[INFO] http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-05-06T16:05:53Z
[00:05:08]                 │        Adding connection to http://localhost:61111/elasticsearch
[00:05:08]                 │
[00:05:08]                 │      "
[00:05:08]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:08]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:09]                 │ debg TestSubjects.exists(alertsList)
[00:05:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="alertsList"]') with timeout=120000
[00:05:09]                 │ debg TestSubjects.find(alertSearchField)
[00:05:09]                 │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:05:10]                 │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:05:10]                 │ debg Find.clickDisplayedByCssSelector('[data-test-subj="alertsList"] [title="f3fe3941-1a7c-4afe-9782-d2e6e4b9b648"]') with timeout=10000
[00:05:10]                 │ debg Find.displayedByCssSelector([data-test-subj="alertsList"] [title="f3fe3941-1a7c-4afe-9782-d2e6e4b9b648"])
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="alertsList"] [title="f3fe3941-1a7c-4afe-9782-d2e6e4b9b648"]') with timeout=10000
[00:05:10]                 │ debg Wait for element become visible: [data-test-subj="alertsList"] [title="f3fe3941-1a7c-4afe-9782-d2e6e4b9b648"] with timeout=10000
[00:05:10]                 │ debg TestSubjects.find(openEditAlertFlyoutButton)
[00:05:10]                 │ debg Find.findByCssSelector('[data-test-subj="openEditAlertFlyoutButton"]') with timeout=10000
[00:05:11]                 │ debg TestSubjects.exists(hasActionsDisabled)
[00:05:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="hasActionsDisabled"]') with timeout=2500
[00:05:13]                 │ERROR browser[SEVERE] http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 341:77071 TypeError: Cannot read property '.server-log' of undefined
[00:05:13]                 │          at getActionTypeForm (http://localhost:61111/31563/bundles/plugin/triggers_actions_ui/triggers_actions_ui.plugin.js:1:772203)
[00:05:13]                 │          at http://localhost:61111/31563/bundles/plugin/triggers_actions_ui/triggers_actions_ui.plugin.js:1:782865
[00:05:13]                 │          at Array.map (<anonymous>)
[00:05:13]                 │          at ActionForm (http://localhost:61111/31563/bundles/plugin/triggers_actions_ui/triggers_actions_ui.plugin.js:1:782454)
[00:05:13]                 │          at ua (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:59332)
[00:05:13]                 │          at Ya (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:67554)
[00:05:13]                 │          at xs (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:105593)
[00:05:13]                 │          at ml (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:90018)
[00:05:13]                 │          at hl (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:89943)
[00:05:13]                 │          at ol (http://localhost:61111/31563/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:342:87291)
[00:05:13]                 │ debg --- retry.tryForTime error: [data-test-subj="hasActionsDisabled"] is not displayed
[00:05:14]                 │ debg TestSubjects.setValue(alertNameInput, Changed Alert Name 9b062d17-dd3e-41be-86b2-52867236d82c)
[00:05:14]                 │ debg TestSubjects.click(alertNameInput)
[00:05:14]                 │ debg Find.clickByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:05:14]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:05:24]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:05:24]                 │      Wait timed out after 10056ms
[00:05:24]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:05:34]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:05:34]                 │      Wait timed out after 10031ms
[00:05:35]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:05:45]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:05:45]                 │      Wait timed out after 10040ms
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:05:55]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:05:55]                 │      Wait timed out after 10045ms
[00:05:56]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:06]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:06]                 │      Wait timed out after 10005ms
[00:06:06]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:17]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:17]                 │      Wait timed out after 10047ms
[00:06:17]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:27]                 │      Wait timed out after 10052ms
[00:06:28]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:38]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:38]                 │      Wait timed out after 10005ms
[00:06:38]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:48]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:48]                 │      Wait timed out after 10045ms
[00:06:49]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:06:59]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:06:59]                 │      Wait timed out after 10013ms
[00:06:59]                 │ proc [kibana]   log   [16:07:43.819] [warning][plugins][taskManager][taskManager] Cancelling task lens_telemetry "Lens-lens_telemetry" as it expired at 2020-05-06T16:07:43.799Z after running for 01m 00s (with timeout set at 1m).
[00:06:59]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:07:09]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:07:09]                 │      Wait timed out after 10054ms
[00:07:10]                 │ debg Find.findByCssSelector('[data-test-subj="alertNameInput"]') with timeout=10000
[00:07:20]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:07:20]                 │      Wait timed out after 10005ms
[00:07:20]                 │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
[00:07:20]                 │      Wait timed out after 10005ms
[00:07:20]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:07:20]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:07:21]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Actions and Triggers app Alert Details Edit alert button should open edit alert flyout.png"
[00:07:21]                 │ info Current URL is: http://localhost:61111/app/kibana#/management/kibana/triggersActions/alert/37df2e9d-5949-4f07-9b73-a4dd22f73b96
[00:07:21]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Actions and Triggers app Alert Details Edit alert button should open edit alert flyout.html
[00:07:21]                 └- ✖ fail: "Actions and Triggers app Alert Details Edit alert button should open edit alert flyout"
[00:07:21]                 │

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="alertNameInput"])
Wait timed out after 10005ms
    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/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

  • 💔 Build #45705 failed 4a40e7409c0689256c4762e722233a0c7c701200
  • 💔 Build #45642 failed 47c45bbc415417f15d2924d31e870b6d7dab66b7

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

@jasonrhodes jasonrhodes merged commit 958bf2d into elastic:7.x May 6, 2020
@jasonrhodes jasonrhodes deleted the backport/7.x/pr-64848 branch May 6, 2020 17:33
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.

2 participants