elastic / kibana

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

Failing ES Promotion: machine learning data frame analytics outlier detection creation iowa house prices navigates through the wizard and sets all needed fields #79777

Closed tylersmalley closed 4 years ago

tylersmalley commented 4 years ago

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

main/8.0.0: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1533/execution/node/649/log/ 7x/7.10: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1533/execution/node/394/log/

For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

14:26:44                 └-> navigates through the wizard and sets all needed fields
14:26:44                   └-> "before each" hook: global before each
14:26:44                   │ proc [kibana]   log   [21:26:43.739] [error][data][elasticsearch] [security_exception]: action [indices:data/read/search] is unauthorized for user [kibana]
14:26:44                   │ERROR browser[SEVERE] http://localhost:6131/api/ml/data_frame/analytics/_explain - Failed to load resource: the server responded with a status of 403 (Forbidden)
14:28:50                   └- ✖ fail: machine learning data frame analytics outlier detection creation iowa house prices navigates through the wizard and sets all needed fields
14:28:50
                  │      Error: retry.tryForTime timeout: Error: expected testSubject(mlAnalyticsCreateJobWizardIncludesSelect) to exist
14:28:50                   │     at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)
14:28:50                   │       at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
14:28:50                   │       at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
An error occurred fetching analysis fields data.

action [indices:data/read/search] is unauthorized for user [kibana] on indices [ft_ihp_outlier], this action is granted by the privileges [read,all]
elasticmachine commented 4 years ago

Pinging @elastic/ml-ui (:ml)

tylersmalley commented 4 years ago

I am working to skip these tests as feature freeze is tomorrow morning and snapshots need to be built for that to occur.

tylersmalley commented 4 years ago

Skipped

master: 92ce8f3040991bd4473a93e9ee89b1f46580b87a 7.x: fa32e3c0eae9ed11196f5521a621d4bc916931b8

tylersmalley commented 4 years ago

Still failing after skipping that particular suite: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1537/execution/node/394/log/

Now the test is failing with required field [stab] is missing; analysis requires fields [stab] in the UI.

tylersmalley commented 4 years ago

I believe this issue is caused by https://github.com/elastic/elasticsearch/pull/63281