elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.67k stars 8.23k forks source link

Failing test: Entity Analytics - Entity Store Integration Tests - ESS Env - Trial License.x-pack/test/security_solution_api_integration/test_suites/entity_analytics/entity_store/trial_license_complete_tier/entity_store·ts - Entity Analytics - Entity Store @ess @skipInServerlessMKI Entity Store APIs status should return "started" when all engines are started #200758

Open kibanamachine opened 3 days ago

kibanamachine commented 3 days ago

A test failed on a tracked branch

Error: timed out waiting for Engines to start for entity types: host, user -- last error: Error: Engines not started: {"engines":[{"status":"error","type":"user","indexPattern":"","filter":"","fieldHistoryLength":10,"error":{"message":"Saved object [entity-definition/security_user_default] not found","stack":"Error: Saved object [entity-definition/security_user_default] not found\n    at Function.createGenericNotFoundError (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-saved-objects-server/src/saved_objects_error_helpers.js:237:37)\n    at executeUpdate (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-saved-objects-api-server-internal/src/lib/apis/update.js:131:60)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at performUpdate (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-saved-objects-api-server-internal/src/lib/apis/update.js:53:18)\n    at SavedObjectsRepository.update (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-saved-objects-api-server-internal/src/lib/repository.js:241:12)\n    at SavedObjectsClient.update (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-saved-objects-api-server-internal/src/saved_objects_client.js:83:12)\n    at updateEntityDefinition (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entities/save_entity_definition.js:35:10)\n    at install (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entities/install_entity_definition.js:138:24)\n    at installEntityDefinition (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entities/install_entity_definition.js:54:12)\n    at EntityClient.createEntityDefinition (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entity_client.js:31:33)\n    at EntityStoreDataClient.asyncSetup (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/security-solution-plugin/server/lib/entity_analytics/entity_store/entity_store_data_client.js:182:7)","action":"init"}},{"status":"started","type":"host","indexPattern":"","filter":"","fieldHistoryLength":10,"error":{"message":"resource_not_found_exception\n\tRoot causes:\n\t\tresource_not_found_exception: Transform with id [entities-v1-latest-security_host_default] could not be found","stack":"ResponseError: resource_not_found_exception\n\tRoot causes:\n\t\tresource_not_found_exception: Transform with id [entities-v1-latest-security_host_default] could not be found\n    at KibanaTransport._request (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@elastic/transport/lib/Transport.js:543:27)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@elastic/transport/lib/Transport.js:641:32\n    at KibanaTransport.request (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@elastic/transport/lib/Transport.js:637:20)\n    at KibanaTransport.request (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:60:16)\n    at Transform.startTransform (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@elastic/elasticsearch/lib/api/api/transform.js:279:16)\n    at retryTransientEsErrors (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entities/helpers/retry.js:35:12)\n    at async Promise.all (index 0)\n    at startTransforms (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/entityManager-plugin/server/lib/entities/start_transforms.js:18:5)\n    at EntityStoreDataClient.start (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/security-solution-plugin/server/lib/entity_analytics/entity_store/entity_store_data_client.js:294:5)\n    at EntityStoreDataClient.asyncSetup (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732026817470885818/elastic/kibana-on-merge/kibana-build-xpack/node_modules/@kbn/security-solution-plugin/server/lib/entity_analytics/entity_store/entity_store_data_client.js:229:23)","action":"init"}}],"count":2}
    at entity_store.ts:86:17
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runAttempt (retry_for_success.ts:30:15)
    at retryForSuccess (retry_for_success.ts:99:21)
    at retryForTruthy (retry_for_truthy.ts:28:3)
    at RetryService.waitForWithTimeout (retry.ts:74:5)
    at Object.initEntityEngineForEntityTypesAndWait (entity_store.ts:77:5)
    at Context.<anonymous> (entity_store.ts:222:9)
    at Object.apply (wrap_function.js:74:16)
    at onFailure (retry_for_truthy.ts:40:13)
    at retryForSuccess (retry_for_success.ts:85:7)
    at retryForTruthy (retry_for_truthy.ts:28:3)
    at RetryService.waitForWithTimeout (retry.ts:74:5)
    at Object.initEntityEngineForEntityTypesAndWait (entity_store.ts:77:5)
    at Context.<anonymous> (entity_store.ts:222:9)
    at Object.apply (wrap_function.js:74:16)

First failure: kibana-on-merge - main

elasticmachine commented 3 days ago

Pinging @elastic/security-entity-analytics (Team:Entity Analytics)

kibanamachine commented 3 days ago

New failure: kibana-on-merge - main

kibanamachine commented 3 days ago

New failure: kibana-on-merge - main

mistic commented 3 days ago

Skipped.

main: 78626c8

kibanamachine commented 3 days ago

New failure: kibana-on-merge - main

kibanamachine commented 3 days ago

New failure: kibana-on-merge - main

kibanamachine commented 1 day ago

New failure: kibana-on-merge - 8.x

kibanamachine commented 1 day ago

New failure: kibana-on-merge - 8.x

kibanamachine commented 1 day ago

Skipped

main: 03c3d775185e3aab8d3f32f12e2a475cf3e2ce77 8.x: 899ab48c555b892c6ce9814aa524b9ab99dd527e