[7.17][Maps] Update @elastic/ems-client to 7.17.5 #205098
+33
−47
Open
checks-reporter / Jest Unit Tests 3
succeeded
Dec 23, 2024 in 23m 56s
.buildkite/scripts/steps/test/jest_parallel.sh jest.config.js
Details
[truncated]
t/kibana/node_modules/moment/moment.js:3037:16)
at createLocal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3041:16)
at hooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:16:29)
at render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx:132:30)
at EuiBasicTable.renderItemFieldDataCell (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:1018:21)
at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:870:29
at Array.forEach (<anonymous>)
at EuiBasicTable.renderItemRow (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:864:15)
at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:803:23
at Array.map (<anonymous>)
at EuiBasicTable.renderTableBody (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:800:24)
at EuiBasicTable.renderTable (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:522:23)
at EuiBasicTable.render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:498:24)
at finishClassComponent (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:17160:31)
at updateClassComponent (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:17110:24)
at beginWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:18620:16)
at beginWork$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:23179:14)
at performUnitOfWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22157:12)
at workLoopSync (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22130:22)
at performSyncWorkOnRoot (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21756:9)
at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:11089:24
at unstable_runWithPriority (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/scheduler/cjs/scheduler.development.js:653:12)
at runWithPriority$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:11039:10)
at flushSyncCallbackQueueImpl (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:11084:7)
at flushSyncCallbackQueue (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:11072:3)
at scheduleUpdateOnFiber (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21199:9)
at dispatchAction (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:15660:5)
at setIsLoading (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/src/plugins/es_ui_shared/public/request/use_request.ts:111:9)
130 | sortable: true,
131 | render: (value: string) => {
> 132 | return value ? moment(value).format('MMM D, YYYY') : value;
| ^
133 | },
134 | },
135 | {
at warn (node_modules/moment/moment.js:287:21)
at Function.createFromInputFallback (node_modules/moment/moment.js:319:17)
at configFromString (node_modules/moment/moment.js:2550:19)
at configFromInput (node_modules/moment/moment.js:2993:13)
at prepareConfig (node_modules/moment/moment.js:2976:13)
at createFromConfig (node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (node_modules/moment/moment.js:3037:16)
at createLocal (node_modules/moment/moment.js:3041:16)
at hooks (node_modules/moment/moment.js:16:29)
at render (x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx:132:30)
at EuiBasicTable.renderItemFieldDataCell (node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:1018:21)
at node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:870:29
at Array.forEach (<anonymous>)
at EuiBasicTable.renderItemRow (node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:864:15)
at node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:803:23
at Array.map (<anonymous>)
at EuiBasicTable.renderTableBody (node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:800:24)
at EuiBasicTable.renderTable (node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:522:23)
at EuiBasicTable.render (node_modules/@elastic/eui/test-env/components/basic_table/basic_table.js:498:24)
at finishClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17160:31)
at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17110:24)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620: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 setIsLoading (src/plugins/es_ui_shared/public/request/use_request.ts:111:9)
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/node_allocation/cold_phase.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/node_allocation/warm_phase.test.ts
PASS x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/hot_phase_validation.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/node_allocation/cloud_aware_behavior.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/error_indicators.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/delete_phase.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/request_flyout.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/node_allocation/general_behavior.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/timing.test.ts (5.755 s)
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/warm_phase_validation.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/edit_warning.test.ts
PASS x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/__jest__/register_list_route.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/rollover.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/policy_name_validation.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/form_validation/cold_phase_validation.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/timeline.test.ts
PASS x-pack/plugins/index_lifecycle_management/public/application/services/ui_metric.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/frozen_phase.test.ts
PASS x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/features/timing.test.ts
Test Suites: 26 passed, 26 total
Tests: 229 passed, 229 total
Snapshots: 24 passed, 24 total
Time: 112.972 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/lists/jest.config.js
PASS x-pack/plugins/lists/public/exceptions/components/builder/helpers.test.ts
PASS x-pack/plugins/lists/common/exceptions/build_exceptions_filter.test.ts
PASS x-pack/plugins/lists/server/services/utils/get_query_filter_from_type_value.test.ts
PASS x-pack/plugins/lists/public/exceptions/api.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/entry_renderer.test.tsx (9.647 s)
PASS x-pack/plugins/lists/server/services/utils/transform_list_item_to_elastic_query.test.ts
PASS x-pack/plugins/lists/public/exceptions/hooks/use_exception_lists.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/exception_items_renderer.test.tsx
PASS x-pack/plugins/lists/public/exceptions/hooks/use_api.test.ts
PASS x-pack/plugins/lists/public/exceptions/hooks/use_exception_list_items.test.ts
PASS x-pack/plugins/lists/server/services/utils/find_source_value.test.ts
PASS x-pack/plugins/lists/public/lists/api.test.ts
PASS x-pack/plugins/lists/server/services/items/write_list_items_to_stream.test.ts
PASS x-pack/plugins/lists/server/schemas/common/schemas.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/exception_item_renderer.test.tsx
PASS x-pack/plugins/lists/public/exceptions/transforms.test.ts
PASS x-pack/plugins/lists/server/services/items/buffer_lines.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/logic_buttons.test.tsx
PASS x-pack/plugins/lists/server/saved_objects/migrations.test.ts
PASS x-pack/plugins/lists/public/exceptions/hooks/persist_exception_item.test.ts
PASS x-pack/plugins/lists/server/services/items/write_lines_to_bulk_list_items.test.ts
PASS x-pack/plugins/lists/server/services/exception_lists/find_exception_list_items.test.ts (7.632 s)
PASS x-pack/plugins/lists/server/services/utils/transform_elastic_named_search_to_list_item.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/entry_delete_button.test.tsx
PASS x-pack/plugins/lists/public/exceptions/hooks/persist_exception_list.test.ts
PASS x-pack/plugins/lists/server/services/exception_lists/utils.test.ts
PASS x-pack/plugins/lists/server/services/items/search_list_item_by_values.test.ts
PASS x-pack/plugins/lists/server/services/lists/create_list.test.ts
PASS x-pack/plugins/lists/server/routes/utils/route_validation.test.ts
PASS x-pack/plugins/lists/server/services/items/get_list_item.test.ts
PASS x-pack/plugins/lists/server/services/exception_lists/find_exception_list.test.ts
PASS x-pack/plugins/lists/server/services/items/create_list_item.test.ts
PASS x-pack/plugins/lists/server/services/utils/transform_elastic_to_list_item.test.ts
PASS x-pack/plugins/lists/server/config.test.ts
PASS x-pack/plugins/lists/server/services/utils/get_query_filter.test.ts
PASS x-pack/plugins/lists/server/services/lists/update_list.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_import_list.test.ts
PASS x-pack/plugins/lists/server/services/items/find_list_item.test.ts
PASS x-pack/plugins/lists/server/services/items/create_list_items_bulk.test.ts
PASS x-pack/plugins/lists/server/services/lists/delete_list.test.ts
PASS x-pack/plugins/lists/server/services/items/update_list_item.test.ts
PASS x-pack/plugins/lists/server/get_user.test.ts
PASS x-pack/plugins/lists/server/services/items/delete_list_item_by_value.test.ts
PASS x-pack/plugins/lists/server/services/exception_lists/export_exception_list_and_items.test.ts
PASS x-pack/plugins/lists/server/services/items/get_list_item_by_values.test.ts
PASS x-pack/plugins/lists/server/services/items/delete_list_item.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/and_or_badge/index.test.tsx
PASS x-pack/plugins/lists/server/services/lists/get_list.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/builder/and_badge.test.tsx
PASS x-pack/plugins/lists/server/get_space_id.test.ts
PASS x-pack/plugins/lists/server/schemas/elastic_response/search_es_list_item_schema.test.ts
PASS x-pack/plugins/lists/server/services/utils/find_source_type.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/and_or_badge/rounded_badge_antenna.test.tsx
PASS x-pack/plugins/lists/server/schemas/elastic_response/search_es_list_schema.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_find_lists.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_create_list_index.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_read_list_index.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_delete_list.test.ts
PASS x-pack/plugins/lists/public/lists/hooks/use_export_list.test.ts
PASS x-pack/plugins/lists/server/services/exception_lists/exception_list_client.test.ts
PASS x-pack/plugins/lists/server/services/items/get_list_item_by_value.test.ts
PASS x-pack/plugins/lists/server/services/lists/list_client.test.ts
PASS x-pack/plugins/lists/server/services/items/get_list_item_template.test.ts
PASS x-pack/plugins/lists/server/services/lists/get_list_template.test.ts
PASS x-pack/plugins/lists/public/exceptions/components/and_or_badge/rounded_badge.test.tsx
PASS x-pack/plugins/lists/server/services/items/get_list_item_index.test.ts
PASS x-pack/plugins/lists/server/services/lists/get_list_index.test.ts
Test Suites: 67 passed, 67 total
Tests: 608 passed, 608 total
Snapshots: 0 total
Time: 72.542 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/remote_clusters/jest.config.js
PASS x-pack/plugins/remote_clusters/__jest__/client_integration/list/remote_clusters_list.test.js (38.365 s)
PASS x-pack/plugins/remote_clusters/server/routes/api/update_route.test.ts (8.133 s)
PASS x-pack/plugins/remote_clusters/server/routes/api/delete_route.test.ts
PASS x-pack/plugins/remote_clusters/__jest__/client_integration/add/remote_clusters_add.test.ts (5.009 s)
PASS x-pack/plugins/remote_clusters/server/routes/api/add_route.test.ts
PASS x-pack/plugins/remote_clusters/common/lib/cluster_serialization.test.ts
PASS x-pack/plugins/remote_clusters/server/routes/api/get_route.test.ts
PASS x-pack/plugins/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.test.tsx
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.test.ts
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.test.ts
PASS x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.test.ts
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.test.ts
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.test.ts
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.test.ts
PASS x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.test.ts
Test Suites: 15 passed, 15 total
Tests: 159 passed, 159 total
Snapshots: 24 passed, 24 total
Time: 60.163 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/common/jest.config.js
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/import_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/add_prepackaged_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/patch_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/rule_schemas.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/license/policy_config.test.ts
PASS x-pack/plugins/security_solution/common/endpoint/generate_data.test.ts
PASS x-pack/plugins/security_solution/common/endpoint/schema/trusted_apps.test.ts
PASS x-pack/plugins/security_solution/common/endpoint/service/trusted_apps/validations.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/update_rules_bulk_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_rules_bulk_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/find_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/utils/field_formatters.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/export_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/utils.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/prepackaged_rules_status_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/rules_bulk_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/import_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/prepackaged_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/patch_rules_bulk_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/patch_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/add_prepackaged_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_rules_bulk_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/import_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/endpoint/service/host_isolation/utils.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/update_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/endpoint/models/event.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/perform_bulk_action_schema.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/type_timeline_only_schema.test.ts
PASS x-pack/plugins/security_solution/common/utils/path_placeholder.test.ts
PASS x-pack/plugins/security_solution/common/search_strategy/eql/validation/helpers.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/response/export_rules_details_schema.test.ts
PASS x-pack/plugins/security_solution/common/ecs/ecs_fields/extend_map.test.ts
PASS x-pack/plugins/security_solution/common/machine_learning/has_ml_admin_permissions.test.ts
PASS x-pack/plugins/security_solution/common/machine_learning/helpers.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/find_rule_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/transform_actions.test.ts
PASS x-pack/plugins/security_solution/common/machine_learning/has_ml_user_permissions.test.ts
PASS x-pack/plugins/security_solution/common/machine_learning/is_security_job.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_rules_type_dependents.test.ts
PASS x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_rules_schema.test.ts
PASS x-pack/plugins/security_solution/common/machine_learning/has_ml_license.test.ts
PASS x-pack/plugins/security_solution/common/utils/data_retrieval.test.ts
Test Suites: 49 passed, 49 total
Tests: 801 passed, 801 total
Snapshots: 1 passed, 1 total
Time: 23.732 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/public/network/jest.config.js
PASS x-pack/plugins/security_solution/public/network/components/source_destination/source_destination_ip.test.tsx (74.397 s)
PASS x-pack/plugins/security_solution/public/network/components/source_destination/index.test.tsx (6.183 s)
PASS x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/tooltip_footer.test.tsx
PASS x-pack/plugins/security_solution/public/network/store/helpers.test.ts
PASS x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/pages/network.test.tsx (6.467 s)
PASS x-pack/plugins/security_solution/public/network/components/network_top_n_flow_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/pages/details/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/map_config.test.ts
PASS x-pack/plugins/security_solution/public/network/components/users_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/arrows/helpers.test.ts
PASS x-pack/plugins/security_solution/public/network/components/network_dns_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/network_http_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/tls_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/flow_controls/flow_target_select.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/port/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/details/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/ip/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/line_tool_tip_content.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/flow_controls/flow_direction_select.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/embeddable_header.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/kpi_network/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/direction/direction.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/flow_target_select_connected/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/network_dns_table/is_ptr_included.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/arrows/index.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/selector.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/index_patterns_missing_prompt.test.tsx
PASS x-pack/plugins/security_solution/public/network/components/embeddables/embeddable.test.tsx
Test Suites: 33 passed, 33 total
Tests: 203 passed, 203 total
Snapshots: 28 passed, 28 total
Time: 159.562 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/server/deprecations/jest.config.js
PASS x-pack/plugins/security_solution/server/deprecations/alerts_as_data_privileges.test.ts
PASS x-pack/plugins/security_solution/server/deprecations/rule_preview_privileges.test.ts
PASS x-pack/plugins/security_solution/server/deprecations/utils.test.ts
Test Suites: 3 passed, 3 total
Tests: 16 passed, 16 total
Snapshots: 0 total
Time: 6.478 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/snapshot_restore/jest.config.js
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts (46.795 s)
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts
PASS x-pack/plugins/snapshot_restore/server/routes/api/repositories.test.ts
PASS x-pack/plugins/snapshot_restore/server/routes/api/snapshots.test.ts
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/snapshot_list.test.tsx
PASS x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_add.test.ts
● Console
console.error
Warning: Cannot update a component (`PolicyForm`) while rendering a different component (`PolicyStepLogistics`). To locate the bad setState() call inside `PolicyStepLogistics`, follow the stack trace as described in https://fb.me/setstate-in-render
in PolicyStepLogistics (created by PolicyForm)
in div (created by EuiForm)
in EuiForm (created by PolicyForm)
in PolicyForm (created by PolicyAdd)
in div (created by EuiPageContentBody)
in EuiPageContentBody (created by PolicyAdd)
in PolicyAdd
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
90 | const newPolicy = { ...policy, ...updatedFields };
91 | const newValidation = validatePolicy(newPolicy, validationHelperData);
> 92 | setPolicy(newPolicy);
| ^
93 | setValidation(newValidation);
94 | };
95 |
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 setPolicy (x-pack/plugins/snapshot_restore/public/application/components/policy_form/policy_form.tsx:92:5)
at updatePolicy (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:243:9)
at renderRepositorySelect (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:168:10)
at renderRepositoryField (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:533:8)
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 setIsLoading (src/plugins/es_ui_shared/public/request/use_request.ts:111:9)
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_edit.test.ts
● Console
console.error
Warning: Cannot update a component (`PolicyForm`) while rendering a different component (`PolicyStepLogistics`). To locate the bad setState() call inside `PolicyStepLogistics`, follow the stack trace as described in https://fb.me/setstate-in-render
in PolicyStepLogistics (created by PolicyForm)
in div (created by EuiForm)
in EuiForm (created by PolicyForm)
in PolicyForm (created by PolicyEdit)
in div (created by EuiPageContentBody)
in EuiPageContentBody (created by PolicyEdit)
in PolicyEdit
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
90 | const newPolicy = { ...policy, ...updatedFields };
91 | const newValidation = validatePolicy(newPolicy, validationHelperData);
> 92 | setPolicy(newPolicy);
| ^
93 | setValidation(newValidation);
94 | };
95 |
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 setPolicy (x-pack/plugins/snapshot_restore/public/application/components/policy_form/policy_form.tsx:92:5)
at updatePolicy (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:254:7)
at renderRepositorySelect (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:168:10)
at renderRepositoryField (x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx:533:8)
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 setIsLoading (src/plugins/es_ui_shared/public/request/use_request.ts:111:9)
PASS x-pack/plugins/snapshot_restore/common/lib/policy_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/common/lib/snapshot_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/__jest__/client_integration/restore_snapshot.test.ts
PASS x-pack/plugins/snapshot_restore/server/lib/restore_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/server/routes/api/restore.test.ts
PASS x-pack/plugins/snapshot_restore/common/lib/restore_settings_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/server/lib/get_snapshot_search_wildcard.test.ts
PASS x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.test.ts
PASS x-pack/plugins/snapshot_restore/server/lib/repository_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.test.ts
PASS x-pack/plugins/snapshot_restore/common/lib/time_serialization.test.ts
PASS x-pack/plugins/snapshot_restore/common/lib/flatten.test.ts
Test Suites: 21 passed, 21 total
Tests: 3 skipped, 200 passed, 203 total
Snapshots: 0 total
Time: 73.131 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/ui_actions_enhanced/jest.config.js
PASS x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts (23.804 s)
● Console
console.warn
Action factory for action [action.factoryId = ACTION_FACTORY_2] doesn't exist. Skipping action [action.name = Action 3] revive.
81 | if (!uiActions.hasActionFactory(action.factoryId)) {
82 | // eslint-disable-next-line no-console
> 83 | console.warn(
| ^
84 | `Action factory for action [action.factoryId = ${action.factoryId}] doesn't exist. Skipping action [action.name = ${action.name}] revive.`
85 | );
86 | return;
at DynamicActionManager.warn [as reviveAction] (x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts:83:15)
at DynamicActionManager.reviveAction [as start] (x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts:175:40)
at Object.<anonymous> (x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts:732:5)
PASS x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts
● Console
console.warn
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: fake, _f: undefined, _strict: undefined, _locale: [object Object]
Error:
at Function.createFromInputFallback (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:324:25)
at configFromString (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2550:19)
at configFromInput (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2993:13)
at prepareConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2976:13)
at createFromConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3037:16)
at createLocal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3041:16)
at hooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:16:29)
at Object.parse (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/datemath/target_node/index.js:115:12)
at Object.parse (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts:56:27)
at Object.wrapper (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js:10:19)
at Object.eval (eval at createFunctionContext (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js:265:23), <anonymous>:11:149)
at main (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/handlebars/lib/handlebars/runtime.js:230:22)
at ret (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/handlebars/lib/handlebars/runtime.js:250:12)
at ret (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/handlebars/lib/handlebars/compiler/compiler.js:548:21)
at handlebarsTemplate (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts:21:30)
at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts:124:12)
54 | let momentDate: Moment | undefined;
55 | if (typeof date === 'string') {
> 56 | momentDate = dateMath.parse(date);
| ^
57 | if (!momentDate || !momentDate.isValid()) {
58 | const ts = Number(date);
59 | if (!Number.isNaN(ts)) {
at warn (node_modules/moment/moment.js:287:21)
at Function.createFromInputFallback (node_modules/moment/moment.js:319:17)
at configFromString (node_modules/moment/moment.js:2550:19)
at configFromInput (node_modules/moment/moment.js:2993:13)
at prepareConfig (node_modules/moment/moment.js:2976:13)
at createFromConfig (node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (node_modules/moment/moment.js:3037:16)
at createLocal (node_modules/moment/moment.js:3041:16)
at hooks (node_modules/moment/moment.js:16:29)
at Object.parse (node_modules/@elastic/datemath/target_node/index.js:115:12)
at Object.parse (x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts:56:27)
at Object.wrapper (node_modules/handlebars/lib/handlebars/internal/wrapHelper.js:10:19)
at Object.eval (eval at createFunctionContext (node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js:265:23), <anonymous>:11:149)
at main (node_modules/handlebars/lib/handlebars/runtime.js:230:22)
at ret (node_modules/handlebars/lib/handlebars/runtime.js:250:12)
at ret (node_modules/handlebars/lib/handlebars/compiler/compiler.js:548:21)
at handlebarsTemplate (x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts:21:30)
at Object.<anonymous> (x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts:124:12)
PASS x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx (13.274 s)
PASS x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts
● Console
console.warn
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1, _f: undefined, _strict: undefined, _locale: [object Object]
Error:
at Function.createFromInputFallback (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:324:25)
at configFromString (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2550:19)
at configFromInput (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2993:13)
at prepareConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2976:13)
at createFromConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3037:16)
at createLocal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3041:16)
at hooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:16:29)
at Object.parse (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/datemath/target_node/index.js:115:12)
at isRangeInvalid (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:81:39)
at new EuiSuperDatePicker (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:114:18)
at constructClassInstance (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:12880:18)
at updateClassComponent (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:17100:5)
at beginWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:18620:16)
at beginWork$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:23179:14)
at performUnitOfWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22157:12)
at workLoopSync (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22130:22)
at performSyncWorkOnRoot (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21756:9)
at scheduleUpdateOnFiber (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21188:7)
at updateContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24373:3)
at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24758:7
at unbatchedUpdates (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21903:12)
at legacyRenderSubtreeIntoContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24757:5)
at Object.render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24840:10)
at render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
at fn (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
at batchedUpdates$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21856:12)
at Object.act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
at act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
at Object.wrapAct [as render] (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
at new render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/ReactWrapper.js:115:16)
at mount (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/mount.js:10:10)
at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts:211:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
209 | const openModal = openModalMock.mock.calls[0][0] as ReactElement;
210 |
> 211 | const wrapper = mount(openModal);
| ^
212 | wrapper.setState({ timeRange: { from: 'now-300m', to: 'now-400m' } });
213 |
214 | findTestSubject(wrapper, 'cancelPerPanelTimeRangeButton').simulate('click');
at warn (node_modules/moment/moment.js:287:21)
at Function.createFromInputFallback (node_modules/moment/moment.js:319:17)
at configFromString (node_modules/moment/moment.js:2550:19)
at configFromInput (node_modules/moment/moment.js:2993:13)
at prepareConfig (node_modules/moment/moment.js:2976:13)
at createFromConfig (node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (node_modules/moment/moment.js:3037:16)
at createLocal (node_modules/moment/moment.js:3041:16)
at hooks (node_modules/moment/moment.js:16:29)
at Object.parse (node_modules/@elastic/datemath/target_node/index.js:115:12)
at isRangeInvalid (node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:81:39)
at new EuiSuperDatePicker (node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:114:18)
at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12880:18)
at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17100:5)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620: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 scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
at node_modules/react-dom/cjs/react-dom.development.js:24758:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
at mount (node_modules/enzyme/src/mount.js:10:10)
at Object.<anonymous> (x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts:211:24)
PASS x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts
PASS x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts
PASS x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts
● Console
console.warn
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1, _f: undefined, _strict: undefined, _locale: [object Object]
Error:
at Function.createFromInputFallback (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:324:25)
at configFromString (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2550:19)
at configFromInput (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2993:13)
at prepareConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2976:13)
at createFromConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3037:16)
at createLocal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3041:16)
at hooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:16:29)
at Object.parse (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/datemath/target_node/index.js:115:12)
at isRangeInvalid (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:81:39)
at new EuiSuperDatePicker (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:114:18)
at constructClassInstance (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:12880:18)
at updateClassComponent (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:17100:5)
at beginWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:18620:16)
at beginWork$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:23179:14)
at performUnitOfWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22157:12)
at workLoopSync (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22130:22)
at performSyncWorkOnRoot (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21756:9)
at scheduleUpdateOnFiber (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21188:7)
at updateContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24373:3)
at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24758:7
at unbatchedUpdates (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21903:12)
at legacyRenderSubtreeIntoContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24757:5)
at Object.render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24840:10)
at render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
at fn (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
at batchedUpdates$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21856:12)
at Object.act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
at act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
at Object.wrapAct [as render] (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
at new render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/ReactWrapper.js:115:16)
at mount (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/mount.js:10:10)
at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1734972734711703127/elastic/kibana-pull-request/kibana/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts:61:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
59 | const openModal = openModalMock.mock.calls[0][0] as ReactElement;
60 |
> 61 | const wrapper = mount(openModal);
| ^
62 | findTestSubject(wrapper, 'removePerPanelTimeRangeButton').simulate('click');
63 |
64 | const promise = Rx.merge(child1.getInput$(), container.getOutput$(), container.getInput$())
at warn (node_modules/moment/moment.js:287:21)
at Function.createFromInputFallback (node_modules/moment/moment.js:319:17)
at configFromString (node_modules/moment/moment.js:2550:19)
at configFromInput (node_modules/moment/moment.js:2993:13)
at prepareConfig (node_modules/moment/moment.js:2976:13)
at createFromConfig (node_modules/moment/moment.js:2943:44)
at createLocalOrUTC (node_modules/moment/moment.js:3037:16)
at createLocal (node_modules/moment/moment.js:3041:16)
at hooks (node_modules/moment/moment.js:16:29)
at Object.parse (node_modules/@elastic/datemath/target_node/index.js:115:12)
at isRangeInvalid (node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:81:39)
at new EuiSuperDatePicker (node_modules/@elastic/eui/test-env/components/date_picker/super_date_picker/super_date_picker.js:114:18)
at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12880:18)
at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17100:5)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620: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 scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
at node_modules/react-dom/cjs/react-dom.development.js:24758:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
at mount (node_modules/enzyme/src/mount.js:10:10)
at Object.<anonymous> (x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts:61:24)
PASS x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts
PASS x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx
PASS x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts
PASS x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts
PASS x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx
PASS x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx
PASS x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts
Test Suites: 14 passed, 14 total
Tests: 1 skipped, 1 todo, 175 passed, 177 total
Snapshots: 43 passed, 43 total
Time: 53.426 s
Ran all test suites.
Loading