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/management/rollup/rollup·js - management rollup jobs crud create should create a rollup job #183928

Closed
kibanamachine opened this issue May 21, 2024 · 12 comments · Fixed by #186079
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 May 21, 2024

A test failed on a tracked branch

Error: expected 200 "OK", got 400 "Bad Request"
    at Context.apply (rollup.js:105:37)
    at Object.apply (wrap_function.js:73:30)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
    at Test._assertStatus (node_modules/supertest/lib/test.js:252:14)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1716298905889772332/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/supertest/lib/test.js:308:13
    at Test._assertFunction (node_modules/supertest/lib/test.js:285:13)
    at Test.assert (node_modules/supertest/lib/test.js:164:23)
    at localAssert (node_modules/supertest/lib/test.js:120:14)
    at fn (node_modules/supertest/lib/test.js:125:7)
    at Test.callback (node_modules/superagent/src/node/index.js:899:3)
    at fn (node_modules/superagent/src/node/index.js:1165:18)
    at IncomingMessage.<anonymous> (node_modules/superagent/src/node/parsers/json.js:19:7)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

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

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label May 21, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label May 21, 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

@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-qa (Team:QA)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 22, 2024
mistic added a commit that referenced this issue May 22, 2024
@mistic
Copy link
Member

mistic commented May 22, 2024

Skipped.

main: 9840517

@mistic mistic added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed Team:QA Team label for QA Team labels May 22, 2024
@elasticmachine
Copy link
Contributor

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

@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

@mistic
Copy link
Member

mistic commented May 22, 2024

Skipped.

main: 492652d

@alisonelizabeth
Copy link
Contributor

Likely related to elastic/elasticsearch#108624; we are addressing via #169996 and will evaluate tests at that time

ElenaStoeva added a commit that referenced this issue Jun 13, 2024
Fixes #183928
Fixes #184073
Fixes #184081
Fixes #184128

## Summary

This PR fixes the failing Rollup API integration tests. The reason for
the failures is that, since 8.15, Es doesn't allow creating a new rollup
job if there is no existing rollup usage in the cluster, where rollup
usage is considered rollup jobs or rollup indices. To fix the tests, we
create a mock rollup index which essentially is an index that has a
`_meta` mappings property with rollup information.

Flaky test runner build x200:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6296
(there are some failure but they are not related to rollups)
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

Successfully merging a pull request may close this issue.

5 participants