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] [Query] Remove es query dependency on format.convert (#103174) #103449

Closed
wants to merge 1 commit into from

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Jun 28, 2021

Backports the following commits to 7.x:

* remove es query dependency on format.convert

* fix types

* types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@lizozom lizozom enabled auto-merge (squash) June 28, 2021 08:55
@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 28, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Plugin Functional Tests.test/plugin_functional/test_suites/telemetry/telemetry·ts.telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:14]         └-: telemetry
[00:00:14]           └-> "before all" hook in "telemetry"
[00:00:14]           └-: Telemetry service
[00:00:14]             └-> "before all" hook for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]             └-> detects that telemetry cannot be sent in screenshot mode
[00:00:14]               └-> "before each" hook: global before each for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]               │ debg navigating to home url: http://localhost:61141/app/home#/
[00:00:14]               │ debg navigate to: http://localhost:61141/app/home#/
[00:00:14]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872351746#/ 281 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:14]               │
[00:00:14]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:14]               │ debg ... sleep(700) start
[00:00:15]               │ debg ... sleep(700) end
[00:00:15]               │ debg returned from get, calling refresh
[00:00:15]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872351746#/ 281 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:15]               │
[00:00:15]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:00:15]               │          appUrl = http://localhost:61141/app/home#/
[00:00:15]               │ debg TestSubjects.find(kibanaChrome)
[00:00:15]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:17]               │      Wait timed out after 61246ms
[00:01:17]               │ debg navigate to: http://localhost:61141/app/home#/
[00:01:17]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872414942#/ 281 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:17]               │
[00:01:17]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17]               │ debg ... sleep(700) start
[00:01:18]               │ debg ... sleep(700) end
[00:01:18]               │ debg returned from get, calling refresh
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:19]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872414942#/ 281 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:19]               │
[00:01:19]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:19]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:01:19]               │          appUrl = http://localhost:61141/app/home#/
[00:01:19]               │ debg TestSubjects.find(kibanaChrome)
[00:01:19]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:20]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20]               │      Wait timed out after 61133ms
[00:02:20]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20]               │      Wait timed out after 61133ms
[00:02:20]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:20]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:21]               │ debg navigate to: http://localhost:61141/app/home#/
[00:02:21]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872478480#/ 281 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:21]               │
[00:02:21]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:21]               │ debg ... sleep(700) start
[00:02:22]               │ debg ... sleep(700) end
[00:02:22]               │ debg returned from get, calling refresh
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:22]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872478480#/ 281 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:22]               │
[00:02:22]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:02:22]               │          appUrl = http://localhost:61141/app/home#/
[00:02:22]               │ debg TestSubjects.find(kibanaChrome)
[00:02:22]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:24]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:24]               │      Wait timed out after 61279ms
[00:03:24]               │ debg navigate to: http://localhost:61141/app/home#/
[00:03:24]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872541810#/ 281 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:24]               │
[00:03:24]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:24]               │ debg ... sleep(700) start
[00:03:25]               │ debg ... sleep(700) end
[00:03:25]               │ debg returned from get, calling refresh
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:26]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872541810#/ 281 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:26]               │
[00:03:26]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:26]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:03:26]               │          appUrl = http://localhost:61141/app/home#/
[00:03:26]               │ debg TestSubjects.find(kibanaChrome)
[00:03:26]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:04:27]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27]               │      Wait timed out after 61186ms
[00:04:27]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27]               │      Wait timed out after 61186ms
[00:04:27]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.png"
[00:04:28]               │ info Current URL is: http://localhost:61141/app/home#/
[00:04:28]               │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/plugin_functional/failure_debug/html/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.html
[00:04:28]               └- ✖ fail: telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode
[00:04:28]               │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │ Wait timed out after 61186ms
[00:04:28]               │     at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │     at onFailure (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │     at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:28]               │     at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:28]               │     at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28]               │     at RetryService.tryForTime (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:22:12)
[00:04:28]               │     at CommonPageObject.navigateToApp (/dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/14/kibana/test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │     at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │   Wait timed out after 61186ms
[00:04:28]               │       at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:04:28]               │       at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:28]               │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:28]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:28]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │ 
[00:04:28]               │ 

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 61186ms
    at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at processTicksAndRejections (internal/process/task_queues.js:95: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 RetryService.try (test/common/services/retry/retry.ts:31:12)
    at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
    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 RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
    at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
    at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
    at Object.apply (node_modules/@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 RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
    at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
    at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Plugin Functional Tests.test/plugin_functional/test_suites/telemetry/telemetry·ts.telemetry Telemetry service "after all" hook for "detects that telemetry cannot be sent in screenshot mode"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:14]         └-: telemetry
[00:00:14]           └-> "before all" hook in "telemetry"
[00:00:14]           └-: Telemetry service
[00:00:14]             └-> "before all" hook for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]             └-> detects that telemetry cannot be sent in screenshot mode
[00:00:14]               └-> "before each" hook: global before each for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]               │ debg navigating to home url: http://localhost:61141/app/home#/
[00:00:14]               │ debg navigate to: http://localhost:61141/app/home#/
[00:00:14]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872351746#/ 281 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:14]               │
[00:00:14]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:14]               │ debg ... sleep(700) start
[00:00:15]               │ debg ... sleep(700) end
[00:00:15]               │ debg returned from get, calling refresh
[00:00:15]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872351746#/ 281 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:15]               │
[00:00:15]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:00:15]               │          appUrl = http://localhost:61141/app/home#/
[00:00:15]               │ debg TestSubjects.find(kibanaChrome)
[00:00:15]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:25]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:17]               │      Wait timed out after 61246ms
[00:01:17]               │ debg navigate to: http://localhost:61141/app/home#/
[00:01:17]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872414942#/ 281 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:17]               │
[00:01:17]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17]               │ debg ... sleep(700) start
[00:01:18]               │ debg ... sleep(700) end
[00:01:18]               │ debg returned from get, calling refresh
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:19]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872414942#/ 281 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:19]               │
[00:01:19]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:19]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:01:19]               │          appUrl = http://localhost:61141/app/home#/
[00:01:19]               │ debg TestSubjects.find(kibanaChrome)
[00:01:19]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:20]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20]               │      Wait timed out after 61133ms
[00:02:20]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20]               │      Wait timed out after 61133ms
[00:02:20]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:20]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:21]               │ debg navigate to: http://localhost:61141/app/home#/
[00:02:21]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872478480#/ 281 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:21]               │
[00:02:21]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:21]               │ debg ... sleep(700) start
[00:02:22]               │ debg ... sleep(700) end
[00:02:22]               │ debg returned from get, calling refresh
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:22]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:22]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872478480#/ 281 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:22]               │
[00:02:22]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:02:22]               │          appUrl = http://localhost:61141/app/home#/
[00:02:22]               │ debg TestSubjects.find(kibanaChrome)
[00:02:22]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:32]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:24]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:24]               │      Wait timed out after 61279ms
[00:03:24]               │ debg navigate to: http://localhost:61141/app/home#/
[00:03:24]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872541810#/ 281 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:24]               │
[00:03:24]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:24]               │ debg ... sleep(700) start
[00:03:25]               │ debg ... sleep(700) end
[00:03:25]               │ debg returned from get, calling refresh
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:26]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:26]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872541810#/ 281 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:26]               │
[00:03:26]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:26]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:03:26]               │          appUrl = http://localhost:61141/app/home#/
[00:03:26]               │ debg TestSubjects.find(kibanaChrome)
[00:03:26]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:36]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:04:27]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27]               │      Wait timed out after 61186ms
[00:04:27]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:27]               │      Wait timed out after 61186ms
[00:04:27]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:27]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.png"
[00:04:28]               │ info Current URL is: http://localhost:61141/app/home#/
[00:04:28]               │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/plugin_functional/failure_debug/html/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.html
[00:04:28]               └- ✖ fail: telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode
[00:04:28]               │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │ Wait timed out after 61186ms
[00:04:28]               │     at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │     at onFailure (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │     at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:28]               │     at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:28]               │     at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28]               │     at RetryService.tryForTime (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:22:12)
[00:04:28]               │     at CommonPageObject.navigateToApp (/dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/14/kibana/test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │     at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │   Wait timed out after 61186ms
[00:04:28]               │       at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:04:28]               │       at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:28]               │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:04:28]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:28]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:28]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:28]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:28]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:28]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:28]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:28]               │ 
[00:04:28]               │ 
[00:04:28]             └-> "after all" hook for "detects that telemetry cannot be sent in screenshot mode"
[00:04:28]               │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/telemetry Telemetry service _after all_ hook for _detects that telemetry cannot be sent in screenshot mode_.png"
[00:04:28]               │ info Current URL is: http://localhost:61141/app/home#/
[00:04:28]               │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/plugin_functional/failure_debug/html/telemetry Telemetry service _after all_ hook for _detects that telemetry cannot be sent in screenshot mode_.html
[00:04:28]               └- ✖ fail: telemetry Telemetry service "after all" hook for "detects that telemetry cannot be sent in screenshot mode"
[00:04:28]               │      JavascriptError: javascript error: window._resetTelemetry is not a function
[00:04:28]               │ JavaScript stack:
[00:04:28]               │ TypeError: window._resetTelemetry is not a function
[00:04:28]               │     at eval (eval at executeAsyncScript (:521:26), <anonymous>:4:16)
[00:04:28]               │     at eval (eval at executeAsyncScript (:521:26), <anonymous>:5:10)
[00:04:28]               │     at eval (eval at executeAsyncScript (:521:26), <anonymous>:5:36)
[00:04:28]               │     at executeAsyncScript (<anonymous>:521:47)
[00:04:28]               │     at <anonymous>:536:29
[00:04:28]               │     at callFunction (<anonymous>:415:22)
[00:04:28]               │     at <anonymous>:429:23
[00:04:28]               │     at <anonymous>:430:3
[00:04:28]               │   (Session info: headless chrome=91.0.4472.114)
[00:04:28]               │       at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
[00:04:28]               │       at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
[00:04:28]               │       at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
[00:04:28]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:28]               │       at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:28:20)
[00:04:28]               │ 
[00:04:28]               │ 

Stack Trace

JavascriptError: javascript error: window._resetTelemetry is not a function
JavaScript stack:
TypeError: window._resetTelemetry is not a function
    at eval (eval at executeAsyncScript (:521:26), <anonymous>:4:16)
    at eval (eval at executeAsyncScript (:521:26), <anonymous>:5:10)
    at eval (eval at executeAsyncScript (:521:26), <anonymous>:5:36)
    at executeAsyncScript (<anonymous>:521:47)
    at <anonymous>:536:29
    at callFunction (<anonymous>:415:22)
    at <anonymous>:429:23
    at <anonymous>:430:3
  (Session info: headless chrome=91.0.4472.114)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:28:20) {
  remoteStacktrace: '#0 0x5605a46ad949 <unknown>\n'
}

Kibana Pipeline / general / Plugin Functional Tests.test/plugin_functional/test_suites/telemetry/telemetry·ts.telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:14]         └-: telemetry
[00:00:14]           └-> "before all" hook in "telemetry"
[00:00:14]           └-: Telemetry service
[00:00:14]             └-> "before all" hook for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]             └-> detects that telemetry cannot be sent in screenshot mode
[00:00:14]               └-> "before each" hook: global before each for "detects that telemetry cannot be sent in screenshot mode"
[00:00:14]               │ debg navigating to home url: http://localhost:61141/app/home#/
[00:00:14]               │ debg navigate to: http://localhost:61141/app/home#/
[00:00:15]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872021914#/ 281 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:15]               │
[00:00:15]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15]               │ debg ... sleep(700) start
[00:00:15]               │ debg ... sleep(700) end
[00:00:15]               │ debg returned from get, calling refresh
[00:00:16]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872021914#/ 281 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:16]               │
[00:00:16]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:16]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:00:16]               │          appUrl = http://localhost:61141/app/home#/
[00:00:16]               │ debg TestSubjects.find(kibanaChrome)
[00:00:16]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:26]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:26]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:17]               │      Wait timed out after 61183ms
[00:01:18]               │ debg navigate to: http://localhost:61141/app/home#/
[00:01:18]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872085244#/ 281 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:18]               │
[00:01:18]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18]               │ debg ... sleep(700) start
[00:01:19]               │ debg ... sleep(700) end
[00:01:19]               │ debg returned from get, calling refresh
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:19]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:01:19]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872085244#/ 281 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:19]               │
[00:01:19]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:19]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:01:19]               │          appUrl = http://localhost:61141/app/home#/
[00:01:19]               │ debg TestSubjects.find(kibanaChrome)
[00:01:19]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:29]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:20]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:20]               │      Wait timed out after 61210ms
[00:02:21]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:21]               │      Wait timed out after 61210ms
[00:02:21]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:21]               │          at runMicrotasks (<anonymous>)
[00:02:21]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:02:21]               │ debg navigate to: http://localhost:61141/app/home#/
[00:02:22]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872148917#/ 281 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:22]               │
[00:02:22]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22]               │ debg ... sleep(700) start
[00:02:22]               │ debg ... sleep(700) end
[00:02:22]               │ debg returned from get, calling refresh
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:02:23]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872148917#/ 281 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:23]               │
[00:02:23]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:23]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:02:23]               │          appUrl = http://localhost:61141/app/home#/
[00:02:23]               │ debg TestSubjects.find(kibanaChrome)
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:33]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:33]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:02:33]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:24]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:24]               │      Wait timed out after 61212ms
[00:03:25]               │ debg navigate to: http://localhost:61141/app/home#/
[00:03:25]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872212295#/ 281 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:25]               │
[00:03:25]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:25]               │ debg ... sleep(700) start
[00:03:26]               │ debg ... sleep(700) end
[00:03:26]               │ debg returned from get, calling refresh
[00:03:27]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:27]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:27]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:03:27]               │ debg browser[INFO] http://localhost:61141/app/home?_t=1624872212295#/ 281 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:27]               │
[00:03:27]               │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:27]               │ debg currentUrl = http://localhost:61141/app/home#/
[00:03:27]               │          appUrl = http://localhost:61141/app/home#/
[00:03:27]               │ debg TestSubjects.find(kibanaChrome)
[00:03:27]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:37]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreAppStatus/0.0.1/coreAppStatus.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:37]               │ERROR browser[SEVERE] http://localhost:61141/9007199254740991/bundles/plugin/coreProviderPlugin/0.0.1/coreProviderPlugin.plugin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:03:37]               │ERROR browser[SEVERE] http://localhost:61141/bootstrap.js 57:68 Uncaught TypeError: Cannot read property 'dataset' of null
[00:04:28]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │      Wait timed out after 61208ms
[00:04:28]               │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:28]               │      Wait timed out after 61208ms
[00:04:28]               │          at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:28]               │          at runMicrotasks (<anonymous>)
[00:04:28]               │          at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:29]               │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/test/functional/screenshots/failure/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.png"
[00:04:29]               │ info Current URL is: http://localhost:61141/app/home#/
[00:04:29]               │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/test/plugin_functional/failure_debug/html/telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode.html
[00:04:29]               └- ✖ fail: telemetry Telemetry service detects that telemetry cannot be sent in screenshot mode
[00:04:29]               │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:29]               │ Wait timed out after 61208ms
[00:04:29]               │     at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:29]               │     at runMicrotasks (<anonymous>)
[00:04:29]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:29]               │     at onFailure (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:29]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:29]               │     at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:29]               │     at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:29]               │     at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:29]               │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:29]               │     at RetryService.tryForTime (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:22:12)
[00:04:29]               │     at CommonPageObject.navigateToApp (/dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:225:5)
[00:04:29]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/14/kibana/test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:29]               │     at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:29]               │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:29]               │   Wait timed out after 61208ms
[00:04:29]               │       at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:29]               │       at runMicrotasks (<anonymous>)
[00:04:29]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:29]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:29]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:29]               │       at RetryService.try (test/common/services/retry/retry.ts:31:12)
[00:04:29]               │       at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
[00:04:29]               │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:04:29]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:04:29]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:29]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:29]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:29]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:29]               │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:29]               │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:29]               │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:04:29]               │       at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
[00:04:29]               │       at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
[00:04:29]               │       at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:29]               │ 
[00:04:29]               │ 

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 61208ms
    at /dev/shm/workspace/parallel/14/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95: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 RetryService.try (test/common/services/retry/retry.ts:31:12)
    at /dev/shm/workspace/parallel/14/kibana/test/functional/page_objects/common_page.ts:226:21
    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 RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
    at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
    at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
    at Object.apply (node_modules/@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 RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
    at CommonPageObject.navigateToApp (test/functional/page_objects/common_page.ts:225:5)
    at Context.<anonymous> (test/plugin_functional/test_suites/telemetry/telemetry.ts:36:7)
    at Object.apply (node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

and 1 more failures, only showing the first 3.

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
data 836.2KB 836.0KB -155.0B

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

@lizozom
Copy link
Contributor Author

lizozom commented Jul 1, 2021

Duplicate

@lizozom lizozom closed this Jul 1, 2021
auto-merge was automatically disabled July 1, 2021 17:25

Pull request was closed

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