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: API Integration Tests.test/api_integration/apis/saved_objects_management/scroll_count·ts - apis saved objects management apis scroll_count with less than 10k objects "before all" hook for "returns the count for each included types" #130305

Closed
kibanamachine opened this issue Apr 14, 2022 · 10 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Apr 14, 2022

A test failed on a tracked branch

ResponseError: invalid_alias_name_exception: [invalid_alias_name_exception] Reason: Invalid alias name [.kibana_8.3.0]: an index or data stream exists with the same name as the alias
    at SniffingTransport.request (node_modules/@elastic/transport/src/Transport.ts:532:17)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Indices.create (node_modules/@elastic/elasticsearch/src/api/api/indices.ts:227:12)
    at attemptToCreate (node_modules/@kbn/es-archiver/target_node/lib/indices/create_index_stream.js:82:9)
    at handleIndex (node_modules/@kbn/es-archiver/target_node/lib/indices/create_index_stream.js:127:5)
    at Transform.transform [as _transform] (node_modules/@kbn/es-archiver/target_node/lib/indices/create_index_stream.js:138:13) {
  meta: {
    body: { error: [Object], status: 400 },
    statusCode: 400,
    headers: {
      'x-elastic-product': 'Elasticsearch',
      'content-type': 'application/json;charset=utf-8',
      'content-length': '337'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    },
    warnings: [Getter]
  }
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Apr 14, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 14, 2022
@dmlemeshko dmlemeshko added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label May 17, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 17, 2022
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

mistic added a commit that referenced this issue Apr 11, 2023
@mistic
Copy link
Member

mistic commented Apr 11, 2023

Skipped.

7.17: f5a7473

@gsoldevila gsoldevila self-assigned this Aug 1, 2023
gsoldevila added a commit that referenced this issue Aug 11, 2023
…ives to reduce flakiness (#162259) (#163479)

# Backport

This will backport the following commits from `main` to `7.17`:
- [[FTR - esArchiver] Update `saved_objects_management` test archives to
reduce flakiness
(#162259)](#162259)

<!--- Backport version: 8.9.8 -->

### Related issues:
- #132855
- #130305
- #147635
- #132566
- #131871
- #131830
- #131834

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2023-07-24T08:11:39Z","message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","technical
debt","release_note:skip","backport:skip","FTR","v8.10.0"],"number":162259,"url":"https://github.com/elastic/kibana/pull/162259","mergeCommit":{"message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162259","number":162259,"mergeCommit":{"message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

5 participants