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 test: 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 #203044

Closed
kibanamachine opened this issue Dec 5, 2024 · 27 comments · Fixed by #203418
Assignees
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

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 5, 2024

A test failed on a tracked branch

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 'lobtqei-1733373547721'. 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-1733370726214920116/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': '766'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    },
    warnings: null
  }
}

First failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 5, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 5, 2024
@kibanamachine kibanamachine added failed-es-promotion Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Dec 5, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 5, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@sabarasaba
Copy link
Member

Hey @Bamieh, could this be due to #202204 ? 🤔

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@Bamieh
Copy link
Member

Bamieh commented Dec 6, 2024

@sabarasaba No this is not related to #202204 . ES changed their interface and it broke our integration tests because UA is broken again after the ES change. So we need to fix the UA code due to the ES change.

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@alisonelizabeth
Copy link
Contributor

alisonelizabeth commented Dec 11, 2024

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

rudolf added a commit that referenced this issue Dec 16, 2024
## Summary

Related #203044
Skips failing test to allow for ES promotion. Once promoted we can
re-enable and merge #203418 which
fixes this test.
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this issue Dec 19, 2024
## Summary

Related elastic#203044
Skips failing test to allow for ES promotion. Once promoted we can
re-enable and merge elastic#203418 which
fixes this test.
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
7 participants