Skip to content

[7.x] Timelion reads raw field list from saved object, should grab from index pattern api (#89988)#90124

Merged
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-89988
Feb 3, 2021
Merged

[7.x] Timelion reads raw field list from saved object, should grab from index pattern api (#89988)#90124
alexwizp merged 1 commit intoelastic:7.xfrom
alexwizp:backport/7.x/pr-89988

Conversation

@alexwizp
Copy link
Copy Markdown
Contributor

@alexwizp alexwizp commented Feb 3, 2021

Backports the following commits to 7.x:

…ex pattern api (elastic#89988)

* Timelion reads raw field list from saved object, should grab from index pattern api

Closes: elastic#84387

* fix PR comment
@alexwizp alexwizp added the backport This PR is a backport of another PR label Feb 3, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/console/_console·ts.console app console app "before all" hook for "should show the default request"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: console app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: console app
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ debg navigateTo console
[00:00:00]               │ debg navigating to console url: http://localhost:61131/app/dev_tools#/console
[00:00:00]               │ debg navigate to: http://localhost:61131/app/dev_tools#/console
[00:00:00]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339291740#/console 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:00:00]               │
[00:00:00]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:00]               │ debg ... sleep(700) start
[00:00:01]               │ debg ... sleep(700) end
[00:00:01]               │ debg returned from get, calling refresh
[00:00:02]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:02]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:00:02]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:00:02]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:00:02]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:00:02]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:00:02]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:00:02]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:00:02]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339291740#/console 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:00:02]               │
[00:00:02]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:02]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:02]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:00:02]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:00:02]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:00:02]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:00:02]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:00:02]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:00:02]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:00:02]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:02]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:02]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:02]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:00:02]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:00:02]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:00:02]               │ debg currentUrl = http://localhost:61131/app/dev_tools#/console
[00:00:02]               │          appUrl = http://localhost:61131/app/dev_tools#/console
[00:00:02]               │ debg TestSubjects.find(kibanaChrome)
[00:00:02]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:02]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:02]               │      Wait timed out after 60081ms
[00:01:03]               │ debg navigate to: http://localhost:61131/app/dev_tools#/console
[00:01:03]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339354914#/console 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:01:03]               │
[00:01:03]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:03]               │ debg ... sleep(700) start
[00:01:04]               │ debg ... sleep(700) end
[00:01:04]               │ debg returned from get, calling refresh
[00:01:04]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:04]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:01:04]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:01:04]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:01:04]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:01:04]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:01:04]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:01:04]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:01:04]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:04]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:04]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:04]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:01:04]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:04]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:01:04]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339354914#/console 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:01:04]               │
[00:01:04]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:04]               │ debg currentUrl = http://localhost:61131/app/dev_tools#/console
[00:01:04]               │          appUrl = http://localhost:61131/app/dev_tools#/console
[00:01:04]               │ debg TestSubjects.find(kibanaChrome)
[00:01:04]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:05]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:05]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:01:05]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:01:05]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:01:05]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:01:05]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:01:05]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:01:05]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:01:05]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:05]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:05]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:05]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:01:05]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:05]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:04]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:04]               │      Wait timed out after 60087ms
[00:02:05]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:05]               │      Wait timed out after 60087ms
[00:02:05]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:05]               │          at runMicrotasks (<anonymous>)
[00:02:05]               │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:05]               │ debg navigate to: http://localhost:61131/app/dev_tools#/console
[00:02:05]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339417137#/console 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:02:05]               │
[00:02:05]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:05]               │ debg ... sleep(700) start
[00:02:06]               │ debg ... sleep(700) end
[00:02:06]               │ debg returned from get, calling refresh
[00:02:06]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:06]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:02:06]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:02:06]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:02:06]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:02:06]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:02:06]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:02:06]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:02:06]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:06]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:06]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:06]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:02:06]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:06]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:06]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339417137#/console 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:02:06]               │
[00:02:06]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:06]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:06]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:02:06]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:02:06]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:02:06]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:02:06]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:02:06]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:02:06]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:02:06]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:06]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:06]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:06]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:02:06]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:06]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:06]               │ debg currentUrl = http://localhost:61131/app/dev_tools#/console
[00:02:06]               │          appUrl = http://localhost:61131/app/dev_tools#/console
[00:02:06]               │ debg TestSubjects.find(kibanaChrome)
[00:02:06]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:06]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:06]               │      Wait timed out after 60011ms
[00:03:07]               │ debg navigate to: http://localhost:61131/app/dev_tools#/console
[00:03:07]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339479042#/console 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:03:07]               │
[00:03:07]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:07]               │ debg ... sleep(700) start
[00:03:08]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:08]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:03:08]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:03:08]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:03:08]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:03:08]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:03:08]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:03:08]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:03:08]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:08]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:08]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:08]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:03:08]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:08]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:08]               │ debg ... sleep(700) end
[00:03:08]               │ debg returned from get, calling refresh
[00:03:08]               │ debg browser[INFO] http://localhost:61131/app/dev_tools?_t=1612339479042#/console 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:03:08]               │
[00:03:08]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:08]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:158720 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:08]               │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:03:08]               │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61131/38428/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:03:08]               │          at plugin_DataPublicPlugin.setup (http://localhost:61131/38428/bundles/plugin/data/data.plugin.js:8:195776)
[00:03:08]               │          at plugin_PluginWrapper.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:196788)
[00:03:08]               │          at async plugins_service_PluginsService.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:200417)
[00:03:08]               │          at async core_system_CoreSystem.setup (http://localhost:61131/38428/bundles/core/core.entry.js:13:271687)
[00:03:08]               │          at async Module.__kbnBootstrap__ (http://localhost:61131/38428/bundles/core/core.entry.js:13:277832)
[00:03:08]               │ debg browser[INFO] http://localhost:61131/38428/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:08]               │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:08]               │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:08]               │ debg browser[INFO] http://localhost:61131/38428/bundles/core/core.entry.js 12:159668 "Detected an unhandled Promise rejection.
[00:03:08]               │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:08]               │ERROR browser[SEVERE] http://localhost:61131/38428/bundles/core/core.entry.js 12:277975 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:08]               │ debg currentUrl = http://localhost:61131/app/dev_tools#/console
[00:03:08]               │          appUrl = http://localhost:61131/app/dev_tools#/console
[00:03:08]               │ debg TestSubjects.find(kibanaChrome)
[00:03:08]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:08]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:08]               │      Wait timed out after 60196ms
[00:04:09]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:09]               │      Wait timed out after 60196ms
[00:04:09]               │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:09]               │          at runMicrotasks (<anonymous>)
[00:04:09]               │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:09]               │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/test/functional/screenshots/failure/console app console app _before all_ hook.png"
[00:04:10]               │ info Current URL is: http://localhost:61131/app/dev_tools#/console
[00:04:10]               │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/test/functional/failure_debug/html/console app console app _before all_ hook.html
[00:04:10]               └- ✖ fail: console app console app "before all" hook for "should show the default request"
[00:04:10]               │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:10]               │ Wait timed out after 60196ms
[00:04:10]               │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:10]               │     at runMicrotasks (<anonymous>)
[00:04:10]               │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:10]               │     at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:10]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:10]               │     at Retry.try (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:10]               │     at /dev/shm/workspace/parallel/13/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:10]               │     at runAttempt (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:10]               │     at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:10]               │     at Retry.tryForTime (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:10]               │     at CommonPage.navigateToApp (/dev/shm/workspace/parallel/13/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:10]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/13/kibana/test/functional/apps/console/_console.ts:33:7)
[00:04:10]               │     at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:10]               │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:10]               │   Wait timed out after 60196ms
[00:04:10]               │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:10]               │       at runMicrotasks (<anonymous>)
[00:04:10]               │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:10]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:10]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:10]               │       at Retry.try (test/common/services/retry/retry.ts:32:14)
[00:04:10]               │       at /dev/shm/workspace/parallel/13/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:10]               │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:04:10]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:04:10]               │       at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
[00:04:10]               │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
[00:04:10]               │       at Context.<anonymous> (test/functional/apps/console/_console.ts:33:7)
[00:04:10]               │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:10]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:10]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:10]               │       at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
[00:04:10]               │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
[00:04:10]               │       at Context.<anonymous> (test/functional/apps/console/_console.ts:33:7)
[00:04:10]               │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:10]               │ 
[00:04:10]               │ 

Stack Trace

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 60196ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (test/common/services/retry/retry.ts:32:14)
    at /dev/shm/workspace/parallel/13/kibana/test/functional/page_objects/common_page.ts:227:23
    at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
    at Context.<anonymous> (test/functional/apps/console/_console.ts:33:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
    at Context.<anonymous> (test/functional/apps/console/_console.ts:33:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
visTypeTimelion 25.7KB 24.8KB -927.0B

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

@alexwizp alexwizp merged commit f6c243d into elastic:7.x Feb 3, 2021
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