elastic / kibana

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

Failing test: Entity Analytics - Risk Engine Integration Tests - Serverless Env - Complete Tier.x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/init_and_status_apis·ts - Entity Analytics - Risk Engine @ess @serverless @serverlessQA init_and_status_apis init api should remove legacy risk score transform if it exists #191637

Open kibanamachine opened 2 months ago

kibanamachine commented 2 months ago

A test failed on a tracked branch

ResponseError: resource_not_found_exception
    Root causes:
        resource_not_found_exception: Transform with id [ml_hostriskscore_pivot_transform_default] could not be found
    at SniffingTransport._request (node_modules/@elastic/transport/src/Transport.ts:601:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1724851580616668417/elastic/kibana-elasticsearch-serverless-verify-and-promote/kibana/node_modules/@elastic/transport/src/Transport.ts:704:22
    at SniffingTransport.request (node_modules/@elastic/transport/src/Transport.ts:701:14)
    at Transform.getTransform (node_modules/@elastic/elasticsearch/src/api/api/transform.ts:145:12)
    at Context.<anonymous> (init_and_status_apis.ts:306:22)
    at Object.apply (wrap_function.js:73:16) {
  options: { redaction: { type: 'replace', additionalKeys: [] } },
  meta: {
    body: { error: [Object], status: 404 },
    statusCode: 404,
    headers: {
      'x-elastic-product': 'Elasticsearch',
      'elastic-api-version': '2023-10-31',
      'content-type': 'application/json',
      'content-length': '299'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    },
    warnings: null
  }
}

First failure: kibana-elasticsearch-serverless-verify-and-promote - main

elasticmachine commented 2 months ago

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

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-serverless-verify-and-promote - main

jaredburgettelastic commented 2 months ago

Will have a team member look at this test. However, for external communication purposes, this test specific failing should not be a blocker on Serverless promotion, because the legacy risk scoring transform (which this test refers to) was never accessible to customers on Serverless.

mistic commented 2 months ago

@jaredburgettelastic does it means we can actually skip this test until your team figures it out to avoid having it failing in some serverless promotion pipeline?

jaredburgettelastic commented 2 months ago

@mistic yes, please feel free to skip for now if this is preventing promotion

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-serverless-verify-and-promote - main

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-serverless-verify-and-promote - main

delanni commented 2 months ago

With the above in mind, I'm skipping this.

delanni commented 2 months ago

/skip

kibanamachine commented 2 months ago

Skipped

main: 7adda78d6be3d88d55aec76716f16a63d698b32c

rayafratkina commented 1 month ago

@jaredburgettelastic is the team working on a fix for the underlying issue and do we expect a solution soon?

jaredburgettelastic commented 1 month ago

Hey @rayafratkina !

Per the conversation above, I mentioned that this was less of a priority from our side due to this legacy feature not being relevant for serverless.

Since it sounds like this is more of a priority for platform due to how the issue is being tracked, I'll have someone take a look at it tomorrow. Thank you!

jaredburgettelastic commented 1 month ago

First stop-gap: https://github.com/elastic/kibana/pull/195651