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: apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser #103023

Closed
tylersmalley opened this issue Jun 22, 2021 · 3 comments · Fixed by #103114

Comments

@tylersmalley
Copy link
Contributor

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

CI failure logs: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/2950/execution/node/445/log/

13:50:15                     └-> "before each" hook: global before each for "as ML Poweruser"
13:50:19                     └- ✖ fail: apis Machine Learning jobs close_jobs close jobs fail because they are running as ML Poweruser
13:50:19                     │       Error: expected true to sort of equal false
13:50:19                     │       + expected - actual
13:50:19                     │ 
13:50:19                     │       -true
13:50:19                     │       +false
13:50:19                     │       
13:50:19                     │       at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:100:11)
13:50:19                     │       at Assertion.eql (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/expect/expect.js:244:8)
13:50:19                     │       at forEach (test/api_integration/apis/ml/jobs/close_jobs.ts:165:40)
13:50:19                     │       at Array.forEach (<anonymous>)
13:50:19                     │       at Context.<anonymous> (test/api_integration/apis/ml/jobs/close_jobs.ts:164:29)
13:50:19                     │       at Object.apply (/dev/shm/workspace/parallel/7/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@pheyos pheyos self-assigned this Jun 23, 2021
@pheyos
Copy link
Member

pheyos commented Jun 23, 2021

Job closing behavior has been updated on the ES side with elastic/elasticsearch#74257, so this is a legit test failure.

I've temporarily skipped the close_jobs API tests so we can get the ES snapshot promoted and adjust the tests to reflect the new behavior:
master 5a8e740
7.x/7.14: 04b6326

@tylersmalley
Copy link
Contributor Author

The snapshot was promoted - closing the issue. Thanks @pheyos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants