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 delete should delete a job that has been stopped #184073

Closed
kibanamachine opened this issue May 22, 2024 · 4 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 22, 2024

A test failed on a tracked branch

Error: expected 200 "OK", got 404 "Not Found"
    at Context.<anonymous> (rollup.js:212:51)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)
----
    at Test._assertStatus (node_modules/supertest/lib/test.js:252:14)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1716412596754961050/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 22, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label May 22, 2024
@kibanamachine kibanamachine added failed-es-promotion Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels May 22, 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 May 22, 2024
@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

Skipped

main: 4ac8432

@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.

4 participants