elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.04k forks source link

Failing test: X-Pack API Integration Tests.x-pack/test/api_integration/apis/management/rollup/rollup_search·js - apis management rollup search should return a 200 when searching on existing rollup index #184275

Open kibanamachine opened 1 month ago

kibanamachine commented 1 month ago

A test failed on a tracked branch

Error: expected 200 "OK", got 404 "Not Found"
    at Context.<anonymous> (test/api_integration/apis/management/rollup/rollup_search.js:43:10)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:78:16)
----
    at Test._assertStatus (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:252:14)
    at /opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:308:13
    at Test._assertFunction (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:285:13)
    at Test.assert (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:164:23)
    at localAssert (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:120:14)
    at fn (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/supertest/lib/test.js:125:7)
    at Test.callback (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/superagent/src/node/index.js:925:3)
    at fn (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/node_modules/superagent/src/node/index.js:1166:18)
    at IncomingMessage.<anonymous> (/opt/local-ssd/buildkite/builds/kb-n2-4-42f1168fd121ea12/elastic/kibana-7-dot-17-es-8-dot-15-forward-compatibility/kibana/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-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

elasticmachine commented 1 month ago

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

kibanamachine commented 1 month ago

New failure: kibana-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

kibanamachine commented 1 month ago

New failure: kibana-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

kibanamachine commented 1 month ago

New failure: kibana-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

kibanamachine commented 1 month ago

New failure: kibana-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

kibanamachine commented 1 month ago

New failure: kibana-7-dot-17-es-8-dot-15-forward-compatibility - 7.17

kibanamachine commented 1 month ago

Skipped

7.17: dc63a6a791d299e842d045cfc26ac51eda9d0363

alisonelizabeth commented 1 month ago

Support for rollup jobs will soon be removed. Elasticsearch made a step in this direction by disallowing the creation of rollups in some scenarios (see https://github.com/elastic/elasticsearch/pull/108624). This will be effective in 8.15. We will be making the corresponding changes in Kibana in 8.15 as well (tracked via https://github.com/elastic/kibana/issues/169996). This is the reason for the failures in the API integration tests.

On another note, since these tests were run in preparation for the next 7.17.x release, they should really be run against 8.14 Elasticsearch, not 8.15, since 8.15 has not yet been released.

jbudz commented 1 month ago

They are running against 8.14 too - https://buildkite.com/elastic/kibana-7-dot-17-es-8-dot-14-forward-compatibility. If you want to skip them for only 8.15+, this.onlyEsVersion('<=8.14'); can be added inside a describe block.