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: Chrome X-Pack UI Functional Tests - ML short_tests.x-pack/test/functional/apps/ml/short_tests/model_management/model_list·ts - machine learning - short tests model management trained models for ML power user with imported models deletes the imported model pt_tiny_pass_through #175443

Open
kibanamachine opened this issue Jan 24, 2024 · 11 comments · Fixed by #177407
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test :ml skipped-test v8.16.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 24, 2024

A test failed on a tracked branch

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj~="mlModelsTable"] [data-test-subj~="row-pt_tiny_pass_through"] [data-test-subj="euiCollapsedItemActionsButton"])
Wait timed out after 10053ms
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-262f2164bd719cf6/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:929:17
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:67:13)
    at RetryService.try (retry.ts:37:12)
    at Proxy.clickByCssSelector (find.ts:419:5)
    at TestSubjects.click (test_subjects.ts:164:5)
    at common_ui.ts:428:11
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:79:21)
    at RetryService.tryForTime (retry.ts:23:12)
    at Object.invokeTableRowAction (common_ui.ts:424:7)
    at ModelsTable.deleteModel (trained_models_table.ts:335:7)
    at Context.<anonymous> (model_list.ts:496:13)
    at Object.apply (wrap_function.js:73:16)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:67:13)
    at RetryService.tryForTime (retry.ts:23:12)
    at Object.invokeTableRowAction (common_ui.ts:424:7)
    at ModelsTable.deleteModel (trained_models_table.ts:335:7)
    at Context.<anonymous> (model_list.ts:496:13)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 24, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 24, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 24, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Jan 25, 2024

Skipped.

main: 3f02a72

jloleysens added a commit that referenced this issue Jan 25, 2024
* main: (520 commits)
  Update Kibana code editor dependencies (#171720)
  [SLOs] Hide view in app in slo alerts table in slo details page (#175441)
  [api-docs] 2024-01-25 Daily api_docs build (#175502)
  [DOCS] Add buildkite links to doc preview comments (#175463)
  skip flaky suite (#175443)
  [Security Solution][Timeline] refactor timeline modal save timeline button (#175343)
  [RAM] Stack Management::Rules loses user selections when navigating back (#174954)
  [Security Solution][Timeline] refactor timeline modal attach to case button (#175163)
  Upgrade EUI to v92.1.1 (#174955)
  [Fleet]: Beta label is shown inconsistently while selecting proxy under Fleet settings. (#170634)
  [Cloud Security] Rules Combo Box filters Custom component (#175175)
  skip flaky suite (#175407)
  [Security Solution][Timeline] refactor timeline modal open timeline button (#175335)
  [Embedded Console] Introduce kbnSolutionNavOffset CSS variable (#175348)
  [Console] disable access to embedded console without dev tools capability (#175321)
  fix(x-pack/reporting): use FIPS-compliant ID generator `uuidv4` in Reporting plugin (#174809)
  [Security Solution] Data quality dashboard persistence (#173185)
  [RAM][Observability] Add alert fields table to Observability flyout (#174685)
  test: add missing await for connector table disappearance (#175430)
  [RAM][Maintenance Window] Fix maintenance window FE types and transforms  (#173888)
  ...
@peteharverson
Copy link
Contributor

Removing blocker label as the functionality (deleting an imported third party model) works as expected in manual testing.

Failure is on the check that the collapsed actions menu button euiCollapsedItemActionsButton exists for the row.

lcawl pushed a commit to lcawl/kibana that referenced this issue Jan 26, 2024
@darnautov darnautov self-assigned this Jan 29, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
darnautov added a commit that referenced this issue Feb 22, 2024
## Summary

Closes #175443

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Feb 22, 2024
## Summary

Closes elastic#175443

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit 84889d0)
kibanamachine added a commit that referenced this issue Feb 22, 2024
… (#177567)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Enable function tests for imported trained models
(#177407)](#177407)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Dima
Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2024-02-22T10:54:35Z","message":"[ML]
Enable function tests for imported trained models (#177407)\n\n##
Summary\r\n\r\nCloses
#175443
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"84889d0399b222c9372dd9602a044ae5ff9b12c2","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","test_ui_functional","release_note:skip","Team:ML","v8.13.0","v8.14.0"],"title":"[ML]
Enable function tests for imported trained models
","number":177407,"url":"#177407
Enable function tests for imported trained models (#177407)\n\n##
Summary\r\n\r\nCloses
#175443
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"84889d0399b222c9372dd9602a044ae5ff9b12c2"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"#177407
Enable function tests for imported trained models (#177407)\n\n##
Summary\r\n\r\nCloses
#175443
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"84889d0399b222c9372dd9602a044ae5ff9b12c2"}}]}]
BACKPORT-->

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine kibanamachine reopened this Feb 23, 2024
fkanout pushed a commit to fkanout/kibana that referenced this issue Mar 4, 2024
## Summary

Closes elastic#175443

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Jul 4, 2024

Skipped.

main: ed038ad

@peteharverson
Copy link
Contributor

Removing the blocker label. Models can be deleted successfully in the trained models UI. Will look into a fix for the flaky test for the actions menu items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test :ml skipped-test v8.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants