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 ES Promotion: Index Lifecycle Management #114030

Closed
tylersmalley opened this issue Oct 5, 2021 · 4 comments · Fixed by #116207 or #162525
Closed

Failing ES Promotion: Index Lifecycle Management #114030

tylersmalley opened this issue Oct 5, 2021 · 4 comments · Fixed by #116207 or #162525
Assignees
Labels
failed-es-promotion Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@tylersmalley
Copy link
Contributor

tylersmalley commented Oct 5, 2021

This failure is preventing the promotion of the current Elasticsearch nightly snapshot.

For more information on the Elasticsearch snapshot promotion process including how to reproduce using the unverified nightly ES build: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

Failed promotion job: https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify/builds/211

This might be caused by elastic/elasticsearch#78468 cc @joegallo Though, maybe it's because the snapshot doesn't actually exist being tested? Will need someone from Stack Management with more knowledge to provide input.

apis
 management
   index lifecycle management
     policies
       list
         should add the indices linked to the policies:

TypeError: Cannot read property 'indices' of undefined
 at Context.<anonymous> (test/api_integration/apis/management/index_lifecycle_management/policies.js:72:30)
 at runMicrotasks (<anonymous>)
 at processTicksAndRejections (internal/process/task_queues.js:95:5)
 at Object.apply (/var/lib/buildkite-agent/builds/kb-cigroup-6-d8cebcce9d010180/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
--
     Index Lifecycle Management app
      Home page
        Create new policy with all Phases:

     Error: timed out waiting for navigation back to home page. -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="ilmPageHeader"])
Wait timed out after 10011ms
    at /var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at onFailure (/var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
      at retryForSuccess (/var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/test/common/services/retry/retry_for_success.ts:57:13)
      at retryForTruthy (/var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
      at RetryService.waitFor (/var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/test/common/services/retry/retry.ts:59:5)
      at Context.<anonymous> (test/functional/apps/index_lifecycle_management/home_page.ts:46:7)
      at Object.apply (/var/lib/buildkite-agent/builds/kb-cigroup-6-824d3fbcc1ba4649/elastic/kibana-elasticsearch-snapshot-verify/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 5, 2021
@tylersmalley tylersmalley added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Oct 5, 2021
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 5, 2021
@joegallo
Copy link
Contributor

joegallo commented Oct 6, 2021

Though, maybe it's because the snapshot doesn't actually exist being tested? Will need someone from Stack Management with more knowledge to provide input.

Yeah, you got it.

https://github.com/elastic/kibana/blob/master/x-pack/test/api_integration/apis/management/index_lifecycle_management/fixtures.js

^ is trying to put policies that reference snapshot repos and slm policies. Previously, those snapshot repos and slm policies didn't have to exist -- ILM didn't do any validation at policy creation/update time. Now it does -- those referenced things need to actually exist.

@spalger
Copy link
Contributor

spalger commented Oct 6, 2021

Skipped in master for now

master/8.0: 4e41894

@yuliacech
Copy link
Contributor

This issue was not closed by #116207 because it didn't fix api integration tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-es-promotion Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
6 participants