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.17] Remove Agent Debug Info (#187126) #187805

Merged
merged 1 commit into from
Jul 9, 2024

Remove Agent Debug Info (#187126)

a29ce7a
Select commit
Loading
Failed to load commit list.
Merged

[7.17] Remove Agent Debug Info (#187126) #187805

Remove Agent Debug Info (#187126)
a29ce7a
Select commit
Loading
Failed to load commit list.
checks-reporter / Jest Unit Tests 3 succeeded Jul 8, 2024 in 31m 33s

.buildkite/scripts/steps/test/jest_parallel.sh jest.config.js

Details

[truncated]
-pack/plugins/reporting/server/routes/lib/job_response_handler.ts:106:11)
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
          at Router.handle (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/src/core/server/http/router/router.ts:275:30)
          at handler (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/src/core/server/http/router/router.ts:230:13)
          at Object.<anonymous>.exports.Manager.execute (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
          at Object.<anonymous>.internals.handler (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)
          at Object.<anonymous>.exports.execute (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)
          at Request._lifecycle (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@hapi/hapi/lib/request.js:371:32)
          at Request._execute (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/lib/content_stream.test.ts (5.57 s)
 PASS  x-pack/plugins/reporting/server/export_types/printable_pdf/create_job/compatibility_shim.test.ts
  ● Console

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The title has been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The title has been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn A title parameter should be provided with the job generation request. Please use Kibana to regenerate your POST URL to have a title included in the PDF.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The title has been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The relativeUrls have been derived from saved object parameters. This functionality will be removed with the next major version.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.test.ts
 PASS  x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.test.ts
 PASS  x-pack/plugins/reporting/server/config/schema.test.ts
 PASS  x-pack/plugins/reporting/server/routes/diagnostic/browser.test.ts (5.521 s)
  ● Console

    console.log
      info DevTools listening on (ws://localhost:4000)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Successfully sent 'SIGKILL' to browser process (PID: 123)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Could not find the default font

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info DevTools listening on (ws://localhost:4000)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Could not find the default font

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Could not find the default font

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      error Browser exited abnormally, received code: undefined

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info DevTools listening on (ws://localhost:4000)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Successfully sent 'SIGKILL' to browser process (PID: 123)

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/routes/lib/jobs_query.test.ts
  ● Console

    console.log
      warn No hits resulted in search

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn No ID provided for GET

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/browsers/network_policy.test.ts
 PASS  x-pack/plugins/reporting/server/routes/lib/job_response_handler.test.ts (6.664 s)
  ● Console

    console.log
      error Error: Some error.
          at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/x-pack/plugins/reporting/server/routes/lib/job_response_handler.test.ts:102:21)
          at Promise.then.completed (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/utils.js:300:28)
          at new Promise (<anonymous>)
          at callAsyncCircusFn (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/utils.js:233:10)
          at _callCircusTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:314:40)
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
          at _runTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:250:3)
          at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:125:9)
          at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:120:9)
          at run (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:70:3)
          at runAndTransformResultsToJestFormat (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
          at jestAdapter (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
          at runTestInternal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-runner/build/runTest.js:367:16)
          at runTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/jest-runner/build/runTest.js:444:34) {
        statusCode: 500
      }

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/routes/lib/request_handler.test.ts
  ● Console

    console.log
      info Scheduled PDF reporting task. Task ID: task:taskId. Report ID: lydkf5ur03h32b0f80e0xv2w

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn No version provided in report job params. Assuming 7.14.0

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Scheduled PDF reporting task. Task ID: task:taskId. Report ID: lydkf5we03h32b0f80ezmqtf

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn The "/generate/csv" endpoint is deprecated and will be removed in Kibana 8.0. Please recreate the POST URL used to automate this CSV export.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Scheduled CSV reporting task. Task ID: task:taskId. Report ID: lydkf60603h32b0f800pbco6

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/public/lib/stream_handler.test.ts
 PASS  x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts (5.027 s)
  ● Console

    console.log
      warn Failed to retrieve users when checking for deprecations: the "manage_security" cluster privilege is required.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Failed to retrieve role mappings when checking for deprecations: the "manage_security" cluster privilege is required.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/lib/check_license.test.ts
 PASS  x-pack/plugins/reporting/server/config/create_config.test.ts (5.229 s)
 PASS  x-pack/plugins/reporting/server/usage/get_export_stats.test.ts
 PASS  x-pack/plugins/reporting/server/routes/generate/generate_from_jobparams.test.ts (5.772 s)
  ● Console

    console.log
      rison parser error:  unable to parse string as rison: ''foo:''

      at rison.parser.error (node_modules/rison-node/js/rison.js:347:17)

    console.log
      rison parser error:  unable to parse string as rison: ''foo:''

      at rison.parser.error (node_modules/rison-node/js/rison.js:347:17)

    console.log
      warn No version provided in report job params. Assuming 7.14.0

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      error Error in adding a report!

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      error silly

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      error silly

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn No version provided in report job params. Assuming 7.14.0

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info Scheduled not sure why this field exists reporting task. Task ID: task:taskId. Report ID: foo

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/routes/lib/authorized_user_pre_routing.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/get_full_urls.test.ts (5.405 s)
 PASS  x-pack/plugins/reporting/server/export_types/csv/generate_csv/hit_iterator.test.ts
 PASS  x-pack/plugins/reporting/server/lib/screenshots/observable_handler.test.ts
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/reporting_panel_content.test.tsx
 PASS  x-pack/plugins/reporting/server/export_types/png_v2/execute_job.test.ts
 PASS  x-pack/plugins/reporting/server/config/ui_settings.test.ts
 PASS  x-pack/plugins/reporting/public/share_context_menu/screen_capture_panel_content.test.tsx
 PASS  x-pack/plugins/reporting/server/export_types/png/execute_job/index.test.ts
 PASS  x-pack/plugins/reporting/server/routes/lib/get_document_payload.test.ts (6.887 s)
 PASS  x-pack/plugins/reporting/server/export_types/csv/generate_csv/flatten_hit.test.ts
 PASS  x-pack/plugins/reporting/server/lib/store/report.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/printable_pdf_v2/execute_job.test.ts
 PASS  x-pack/plugins/reporting/server/lib/screenshots/get_element_position_data.test.ts (6.255 s)
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/export_types/printable_pdf/execute_job/index.test.ts
 PASS  x-pack/plugins/reporting/server/lib/screenshots/get_screenshots.test.ts
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info taking screenshots

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info screenshots taken: 2

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info taking screenshots

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info screenshots taken: 2

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info taking screenshots

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/lib/export_types_registry.test.js
 PASS  x-pack/plugins/reporting/server/export_types/csv_saved_object/execute_job.test.ts (5.098 s)
 PASS  x-pack/plugins/reporting/server/lib/layouts/create_layout.test.ts
 PASS  x-pack/plugins/reporting/server/routes/diagnostic/screenshot.test.ts (6.576 s)
 PASS  x-pack/plugins/reporting/server/deprecations/migrage_existing_indices_ilm_policy.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/max_size_string_builder.test.ts
 PASS  x-pack/plugins/reporting/server/plugin.test.ts
 PASS  x-pack/plugins/reporting/server/browsers/extract/extract.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/validate_urls.test.ts
 PASS  x-pack/plugins/reporting/server/lib/tasks/execute_report.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/get_absolute_url.test.ts
 PASS  x-pack/plugins/reporting/public/management/report_info_button.test.tsx
 PASS  x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/get_export_settings.test.ts
  ● Console

    console.log
      warn Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/lib/screenshots/get_number_of_items.test.ts
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/export_types/csv/generate_csv/format_csv_values.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/csv/generate_csv/check_cells_for_formulas.test.ts
 PASS  x-pack/plugins/reporting/server/lib/screenshots/get_render_errors.test.ts (5.542 s)
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Found 4 error messages. See report object for more information.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/config/index.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/csv/generate_csv/field_format_map.test.ts
 PASS  x-pack/plugins/reporting/server/lib/layouts/preserve_layout.test.ts
 PASS  x-pack/plugins/reporting/server/lib/tasks/monitor_report.test.ts (5.53 s)
 PASS  x-pack/plugins/reporting/server/lib/screenshots/get_time_range.test.ts
  ● Console

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      warn Enabling the Chromium sandbox provides an additional layer of protection.

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

    console.log
      info timeRange: 10

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/lib/tasks/error_logger.test.ts (5.43 s)
 PASS  x-pack/plugins/reporting/server/export_types/csv_searchsource/execute_job.test.ts
 PASS  x-pack/plugins/reporting/server/browsers/download/download.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/csv_saved_object/lib/get_sort_for_search_source.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/csv_saved_object/lib/get_sort.test.ts
 PASS  x-pack/plugins/reporting/server/browsers/chromium/driver_factory/metrics.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/get_conditional_headers.test.ts (5.159 s)
 PASS  x-pack/plugins/reporting/public/lib/license_check.test.ts
 PASS  x-pack/plugins/reporting/server/config/default_chromium_sandbox_disabled.test.ts
 PASS  x-pack/plugins/reporting/common/cancellation_token.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/get_custom_logo.test.ts (7.03 s)
 PASS  x-pack/plugins/reporting/server/export_types/common/decrypt_job_headers.test.ts
  ● Console

    console.log
      error TypeError: Invalid initialization vector
          at Decipheriv.createCipherBase (node:internal/crypto/cipher:121:19)
          at Decipheriv.createCipherWithIV (node:internal/crypto/cipher:140:3)
          at new Decipheriv (node:internal/crypto/cipher:289:3)
          at Object.createDecipheriv (node:crypto:155:10)
          at decrypt (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@elastic/node-crypto/src/crypto.ts:150:27)
          at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@elastic/node-crypto/src/crypto.ts:188:14)
          at step (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@elastic/node-crypto/lib/crypto.js:45:23)
          at Object.next (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@elastic/node-crypto/lib/crypto.js:26:53)
          at fulfilled (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720477055304974841/elastic/kibana-pull-request/kibana/node_modules/@elastic/node-crypto/lib/crypto.js:17:58) {
        code: 'ERR_CRYPTO_INVALID_IV'
      }

      at LevelLogger.log (x-pack/plugins/reporting/server/test_helpers/create_mock_levellogger.ts:15:72)

 PASS  x-pack/plugins/reporting/server/export_types/common/v2/get_full_redirect_app_url.test.ts
 PASS  x-pack/plugins/reporting/server/lib/store/saved_report.test.ts
 PASS  x-pack/plugins/reporting/server/browsers/extract/unzip.test.ts
 PASS  x-pack/plugins/reporting/server/browsers/download/checksum.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/pdf/get_font.test.ts
 PASS  x-pack/plugins/reporting/server/export_types/common/omit_blocked_headers.test.ts
 PASS  x-pack/plugins/reporting/server/lib/passthrough_stream.test.ts
 PASS  x-pack/plugins/reporting/common/schema_utils.test.ts

Test Suites: 3 skipped, 82 passed, 82 of 85 total
Tests:       9 skipped, 576 passed, 585 total
Snapshots:   154 passed, 154 total
Time:        312.721 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/public/app/jest.config.js
 PASS  x-pack/plugins/security_solution/public/app/deep_links/index.test.ts (67.071 s)
  deepLinks
    ✓ should return a subset of links for basic license and the full set for platinum (8 ms)
    ✓ should return case links for basic license with only read_cases capabilities (1 ms)
    ✓ should return case links with NO deepLinks for basic license with only read_cases capabilities
    ✓ should return case links with deepLinks for basic license with crud_cases capabilities
    ✓ should return NO case links for basic license with NO read_cases capabilities (1 ms)
    ✓ should return case links for basic license with undefined capabilities
    ✓ should return case deepLinks for basic license with undefined capabilities
    ✓ should return NO ueba link when enableExperimental.uebaEnabled === false (1 ms)
    ✓ should return ueba link when enableExperimental.uebaEnabled === true

Test Suites: 1 passed, 1 total
Tests:       9 passed, 9 total
Snapshots:   0 total
Time:        67.737 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/public/overview/jest.config.js
 PASS  x-pack/plugins/security_solution/public/overview/pages/overview.test.tsx (96.665 s)
  ● Console

    console.error
      Warning: An update to StatefulRecentTimelinesComponent inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

    console.error
      Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnAboutUpdateOnUnmountedFiberInDEV (node_modules/react-dom/cjs/react-dom.development.js:23161:5)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21169:5)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15660:5)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

    console.error
      Warning: An update to StatefulRecentTimelinesComponent inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

    console.error
      Warning: An update to StatefulRecentTimelinesComponent inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

    console.error
      Warning: An update to StatefulRecentTimelinesComponent inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

    console.error
      Warning: An update to StatefulRecentTimelinesComponent inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in StatefulRecentTimelinesComponent
          in div (created by EuiFlexItem)
          in EuiFlexItem
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by Styled(EuiFlexGroup))
          in Styled(EuiFlexGroup)
          in Unknown
          in Unknown (created by OverviewComponent)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by Styled(EuiFlexItem))
          in Styled(EuiFlexItem) (created by OverviewComponent)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by OverviewComponent)
          in div (created by Wrapper)
          in Wrapper (created by SecuritySolutionPageWrapperComponent)
          in SecuritySolutionPageWrapperComponent (created by Styled(Component))
          in Styled(Component) (created by OverviewComponent)
          in OverviewComponent
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Provider (created by App)
          in App (created by ErrorBoundary)
          in ErrorBoundary (created by DragDropContext)
          in DragDropContext (created by TestProvidersComponent)
          in ThemeProvider (created by TestProvidersComponent)
          in Provider (created by TestProvidersComponent)
          in Provider
          in Unknown (created by TestProvidersComponent)
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by TestProvidersComponent)
          in TestProvidersComponent (created by WrapperComponent)
          in WrapperComponent

      175 |               dispatchToaster,
      176 |             });
    > 177 |             setAllTimelines({
          |             ^
      178 |               loading: false,
      179 |               totalCount: 0,
      180 |               timelines: [],

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setAllTimelines (x-pack/plugins/security_solution/public/timelines/containers/all/index.tsx:177:13)

 PASS  x-pack/plugins/security_solution/public/overview/components/overview_network/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.test.tsx (8.587 s)
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_cti_links/cti_enabled_module.test.tsx (6.176 s)
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_cti_links/index.test.tsx (5.335 s)
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_host/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.test.tsx (7.102 s)
 PASS  x-pack/plugins/security_solution/public/overview/components/host_overview/endpoint_overview/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_empty/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/sidebar/sidebar.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_cti_links/cti_no_events.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_network_stats/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_cti_links/cti_with_events.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_host_stats/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/event_counts/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_disabled_module.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/host_overview/index.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/overview_cti_links/cti_disabled_module.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/link_panel/link_panel.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/link_panel/disabled_link_panel.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/link_panel/inner_link_panel.test.tsx
 PASS  x-pack/plugins/security_solution/public/overview/components/link_panel/link.test.tsx

Test Suites: 23 passed, 23 total
Tests:       2 skipped, 59 passed, 61 total
Snapshots:   4 passed, 4 total
Time:        192.842 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/server/endpoint/jest.config.js
 PASS  x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.test.ts (30.095 s)
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/actions/status.test.ts (17.223 s)
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/manifest.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/metadata.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/lists.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/resolver/tree/utils/fetch.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/mapping.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/task.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/actions/audit_log.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/query_builders.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/metadata/check_metadata_transforms_task.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/policy/handlers.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/support/agent_status.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/enrichment.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/migrate_artifacts_to_fleet.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/utils/yes_no_data_stream.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/support/unenroll.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_client.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/services/metadata/endpoint_metadata_service.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/resolver/utils/pagination.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/manifest_entry.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/services/artifacts/artifact_client.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/lib/artifacts/migrations.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/metadata/support/endpoint_package_policies.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/utils/create_internal_readonly_so_client.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/policy/service.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.test.ts
 PASS  x-pack/plugins/security_solution/server/endpoint/routes/resolver/tree/utils/index.test.ts

Test Suites: 32 passed, 32 total
Tests:       365 passed, 365 total
Snapshots:   0 total
Time:        114.854 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/spaces/jest.config.js
 PASS  x-pack/plugins/spaces/server/saved_objects/spaces_saved_objects_client.test.ts (12.931 s)
 PASS  x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.test.tsx (6.02 s)
 PASS  x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.test.tsx
 PASS  x-pack/plugins/spaces/public/copy_saved_objects_to_space/lib/summarize_copy_result.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/copy_to_space.test.ts
 PASS  x-pack/plugins/spaces/public/space_list/space_list_internal.test.tsx
 PASS  x-pack/plugins/spaces/server/lib/copy_to_spaces/copy_to_spaces.test.ts
 PASS  x-pack/plugins/spaces/public/management/edit_space/manage_space_page.test.tsx (35.74 s)
 PASS  x-pack/plugins/spaces/server/spaces_client/spaces_client.test.ts
 PASS  x-pack/plugins/spaces/server/lib/copy_to_spaces/resolve_copy_conflicts.test.ts
 PASS  x-pack/plugins/spaces/server/capabilities/capabilities_switcher.test.ts
 PASS  x-pack/plugins/spaces/server/default_space/default_space_service.test.ts
 PASS  x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts
 PASS  x-pack/plugins/spaces/server/usage_stats/usage_stats_client.test.ts
 PASS  x-pack/plugins/spaces/public/spaces_manager/spaces_manager.test.ts
 PASS  x-pack/plugins/spaces/public/management/edit_space/enabled_features/enabled_features.test.tsx
 PASS  x-pack/plugins/spaces/server/routes/api/external/update_objects_spaces.test.ts
 PASS  x-pack/plugins/spaces/server/lib/space_schema.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/put.test.ts
 PASS  x-pack/plugins/spaces/server/spaces_service/spaces_service.test.ts
 PASS  x-pack/plugins/spaces/server/spaces_client/spaces_client_service.test.ts
 PASS  x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/resolve_all_conflicts.test.tsx
 PASS  x-pack/plugins/spaces/public/management/spaces_grid/spaces_grid_page.test.tsx
 PASS  x-pack/plugins/spaces/public/management/spaces_management_app.test.tsx
 PASS  x-pack/plugins/spaces/server/routes/api/external/delete.test.ts
 PASS  x-pack/plugins/spaces/public/management/lib/validate_space.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/post.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/get_all.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/get_shareable_references.test.ts
 PASS  x-pack/plugins/spaces/server/plugin.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/disable_legacy_url_aliases.test.ts
 PASS  x-pack/plugins/spaces/common/lib/spaces_url_parser.test.ts
 PASS  x-pack/plugins/spaces/server/default_space/create_default_space.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/external/get.test.ts
 PASS  x-pack/plugins/spaces/public/plugin.test.ts
 PASS  x-pack/plugins/spaces/public/management/management_service.test.ts
 PASS  x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_mode_control.test.tsx
 PASS  x-pack/plugins/spaces/public/management/components/confirm_delete_modal/confirm_delete_modal.test.tsx
 PASS  x-pack/plugins/spaces/server/config.test.ts
 PASS  x-pack/plugins/spaces/public/nav_control/nav_control_popover.test.tsx
 PASS  x-pack/plugins/spaces/public/legacy_urls/components/legacy_url_conflict_internal.test.tsx
 PASS  x-pack/plugins/spaces/public/management/edit_space/customize_space/customize_space.test.tsx
 PASS  x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts
 PASS  x-pack/plugins/spaces/public/space_avatar/space_attributes.test.ts
 PASS  x-pack/plugins/spaces/server/lib/utils/url.test.ts
 PASS  x-pack/plugins/spaces/server/saved_objects/saved_objects_service.test.ts
 PASS  x-pack/plugins/spaces/server/routes/api/internal/get_active_space.test.ts
 PASS  x-pack/plugins/spaces/public/management/edit_space/customize_space/customize_space_avatar.test.tsx
 PASS  x-pack/plugins/spaces/common/licensing/license_service.test.ts
 PASS  x-pack/plugins/spaces/public/legacy_urls/redirect_legacy_url.test.ts
 PASS  x-pack/plugins/spaces/server/usage_stats/usage_stats_service.test.ts
 PASS  x-pack/plugins/spaces/public/management/lib/feature_utils.test.ts
 PASS  x-pack/plugins/spaces/public/space_selector/components/space_card.test.tsx
 PASS  x-pack/plugins/spaces/public/advanced_settings/advanced_settings_service.test.tsx
 PASS  x-pack/plugins/spaces/public/space_selector/space_selector.test.tsx
 PASS  x-pack/plugins/spaces/server/saved_objects/migrations/usage_stats_migrations.test.ts
 PASS  x-pack/plugins/spaces/server/saved_objects/migrations/space_migrations.test.ts
 PASS  x-pack/plugins/spaces/public/nav_control/components/manage_spaces_button.test.tsx
 PASS  x-pack/plugins/spaces/public/management/edit_space/delete_spaces_button.test.tsx
 PASS  x-pack/plugins/spaces/server/lib/utils/namespace.test.ts
 PASS  x-pack/plugins/spaces/public/advanced_settings/components/advanced_settings_subtitle/advanced_settings_subtitle.test.tsx
 PASS  x-pack/plugins/spaces/public/advanced_settings/components/advanced_settings_title/advanced_settings_title.test.tsx
 PASS  x-pack/plugins/spaces/public/management/edit_space/section_panel/section_panel.test.tsx
 PASS  x-pack/plugins/spaces/public/space_avatar/space_avatar_internal.test.tsx
 PASS  x-pack/plugins/spaces/public/management/edit_space/reserved_space_badge.test.tsx
 PASS  x-pack/plugins/spaces/public/management/lib/space_identifier_utils.test.ts
 PASS  x-pack/plugins/spaces/common/is_reserved_space.test.ts
 PASS  x-pack/plugins/spaces/server/routes/lib/convert_saved_object_to_space.test.ts
 PASS  x-pack/plugins/spaces/server/capabilities/capabilities_provider.test.ts
 PASS  x-pack/plugins/spaces/public/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.test.tsx
 PASS  x-pack/plugins/spaces/server/lib/get_space_selector_url.test.ts
 PASS  x-pack/plugins/spaces/public/space_selector/components/space_cards.test.tsx
 PASS  x-pack/plugins/spaces/public/management/components/unauthorized_prompt/unauthorized_prompt.test.tsx

Test Suites: 2 skipped, 73 passed, 73 of 75 total
Tests:       15 skipped, 487 passed, 502 total
Snapshots:   108 passed, 108 total
Time:        132.868 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/upgrade_assistant/jest.config.js
 PASS  x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts (5.311 s)
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecation_logs/es_deprecation_logs.test.tsx (39.831 s)
 PASS  x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.test.ts (7.887 s)
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/deprecations_list.test.ts (8.411 s)
 PASS  x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/ml_snapshots_deprecation_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/reindex_deprecation_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/status.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/elasticsearch_deprecation_issues.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/backup_step/backup_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecation_details_flyout/deprecation_details_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/progress.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/migrate_system_indices.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/kibana_deprecation_issues.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/index_settings_deprecation_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/logs_step/logs_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/cluster_settings_deprecation_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/deprecations_table.test.ts
 PASS  x-pack/plugins/upgrade_assistant/public/application/lib/utils.test.ts
 PASS  x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/upgrade_step/upgrade_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/error_handling.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana_deprecations/deprecations_table/error_handling.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/cluster_upgrade.test.tsx
  ● Console

    console.error
      Warning: Cannot update a component (`AppHandlingClusterUpgradeState`) while rendering a different component (`EsDeprecationIssuesPanel`). To locate the bad setState() call inside `EsDeprecationIssuesPanel`, follow the stack trace as described in https://fb.me/setstate-in-render
          in EsDeprecationIssuesPanel (created by FixIssuesStep)
          in div (created by EuiFlexItem)
          in EuiFlexItem (created by FixIssuesStep)
          in div (created by EuiFlexGroup)
          in EuiFlexGroup (created by FixIssuesStep)
          in FixIssuesStep
          in div (created by EuiStep)
          in div (created by EuiStep)
          in EuiStep (created by EuiSteps)
          in div (created by EuiSteps)
          in EuiSteps
          in div (created by EuiPageContentBody)
          in EuiPageContentBody
          in div (created by EuiPageBody)
          in EuiPageBody
          in Unknown (created by Context.Consumer)
          in withRouter() (created by Context.Consumer)
          in Route (created by AppHandlingClusterUpgradeState)
          in Switch (created by AppHandlingClusterUpgradeState)
          in AppHandlingClusterUpgradeState (created by App)
          in Router (created by App)
          in App
          in GlobalFlyoutProvider
          in AppContextProvider
          in Unknown
          in Unknown (created by Context.Consumer)
          in withRouter() (created by Context.Consumer)
          in Route
          in Unknown
          in Router (created by MemoryRouter)
          in MemoryRouter
          in Unknown (created by WrapperComponent)
          in WrapperComponent

      46 |   useEffect(() => {
      47 |     api.onClusterUpgradeStateChange((newClusterUpgradeState: ClusterUpgradeState) => {
    > 48 |       setClusterUpgradeState(newClusterUpgradeState);
         |       ^
      49 |     });
      50 |   }, [api]);
      51 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnAboutRenderPhaseUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23241:15)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21165:3)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15660:5)
      at setClusterUpgradeState (x-pack/plugins/upgrade_assistant/public/application/app.tsx:48:7)
      at listener (x-pack/plugins/upgrade_assistant/public/application/lib/api.ts:44:63)
          at Array.forEach (<anonymous>)
      at ApiService.forEach [as handleClusterUpgradeError] (x-pack/plugins/upgrade_assistant/public/application/lib/api.ts:44:41)
      at ApiService.handleClusterUpgradeError [as useRequest] (x-pack/plugins/upgrade_assistant/public/application/lib/api.ts:67:10)
      at ApiService.useRequest [as useLoadEsDeprecations] (x-pack/plugins/upgrade_assistant/public/application/lib/api.ts:123:17)
      at useLoadEsDeprecations (x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/es_deprecation_issues_panel.tsx:23:58)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14803:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/react-dom.development.js:17034:20)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18610:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at node_modules/react-dom/cjs/react-dom.development.js:11089:24
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:653:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11039:10)
      at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11084:7)
      at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11072:3)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21199:9)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15660:5)
      at setError (src/plugins/es_ui_shared/public/request/use_request.ts:98:7)

 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/step_completion.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/fix_issues_step/fix_issues_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/warning_step.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/es_deprecations/default_deprecation_flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/lib/kibana_status.test.ts
 PASS  x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/app/privileges.test.tsx
 PASS  x-pack/plugins/upgrade_assistant/server/lib/es_system_indices_migration.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/migrate_system_indices/flyout.test.ts
 PASS  x-pack/plugins/upgrade_assistant/server/saved_object_types/migrations/telemetry_saved_object_migrations.test.ts
 PASS  x-pack/plugins/upgrade_assistant/common/get_index_state.test.ts
 PASS  x-pack/plugins/upgrade_assistant/__jest__/client_integration/overview/overview.test.tsx

Test Suites: 48 passed, 48 total
Tests:       340 passed, 340 total
Snapshots:   7 passed, 7 total
Time:        132.667 s
Ran all test suites.