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

Failing ES Promotion: FTR Configs #96 / Upgrade Assistant Elasticsearch deprecation logs GET /api/upgrade_assistant/deprecation_logging /count should filter out the deprecation from Elastic products #203469

Closed
mistic opened this issue Dec 9, 2024 · 4 comments
Labels
failed-es-promotion failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@mistic
Copy link
Member

mistic commented Dec 9, 2024

X-Pack API Integration Tests
x-pack/test/api_integration/apis/upgrade_assistant/es_deprecation_logs.ts

Upgrade Assistant Elasticsearch deprecation logs GET /api/upgrade_assistant/deprecation_logging /count should filter out the deprecation from Elastic products

This failure is preventing the promotion of the current Elasticsearch snapshot.

For more information on the Elasticsearch snapshot process including how to reproduce using the unverified ES build please read the failed promotion annotation. Other important information can be found at:

ResponseError: document_parsing_exception
	Caused by:
		illegal_argument_exception: [constant_keyword] field [data_stream.dataset] only accepts values that are equal to the value defined in the mappings [elasticsearch.deprecation], but got [deprecation.elasticsearch]
	Root causes:
		document_parsing_exception: [1:544] failed to parse field [data_stream.dataset] of type [constant_keyword] in document with id 'taqrgutruhltztg-1733718392582'. Preview of field's value: 'deprecation.elasticsearch'
    at SniffingTransport._request (node_modules/@elastic/transport/src/Transport.ts:602:17)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1733715783690009199/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@elastic/transport/src/Transport.ts:708:22
    at SniffingTransport.request (node_modules/@elastic/transport/src/Transport.ts:705:14)
    at Client.IndexApi [as index] (node_modules/@elastic/elasticsearch/src/api/api/index.ts:83:10)
    at createDeprecationLog (es_deprecation_logs.helpers.ts:55:5)
    at Context.<anonymous> (es_deprecation_logs.ts:32:24)
    at Object.apply (wrap_function.js:74:16) {
  options: { redaction: { type: 'replace', additionalKeys: [] } },
  meta: {
    body: { error: [Object], status: 400 },
    statusCode: 400,
    headers: {
      'x-elastic-product': 'Elasticsearch',
      'content-type': 'application/vnd.elasticsearch+json;compatible-with=8',
      'content-length': '782'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    },
    warnings: null
  }
}
@mistic mistic added failed-es-promotion failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Dec 9, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@mistic mistic added the blocker label Dec 9, 2024
@alisonelizabeth
Copy link
Contributor

PR to fix --> #203418

However, I believe we will first need to skip the test and then re-enable when the ES promotion is successful.

cc @rudolf

@rudolf
Copy link
Contributor

rudolf commented Dec 10, 2024

Waiting for green CI/merge on PR to skip #203491

@alisonelizabeth
Copy link
Contributor

Fixed via #203418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-es-promotion failed-test A test failure on a tracked branch, potentially flaky-test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

5 participants