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

[Data/Search Sessions] Management UI #81707

Merged
merged 81 commits into from
Jan 20, 2021

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Oct 27, 2020

Release note

Adds Search Sessions to the Kibana section of Stack Management to allow users to Inspect, Extend or Delete a saved Search Session

Summary

Part of #61738

Closes #61741

This PR implements a Management UI for Background Sessions.

image

TODO:

  • Delete action
  • Confirmation modal for delete action
  • [ ] Use server-side table paging instead of in-memory table
  • Auto-refresh instead of manual
  • [ ] More actions support: cancel, extend lTODO in a later PR)
  • Functional tests

Release Note

For Background Sessions, there is a new management section featured under Stack Management, to manage background sessions. From there, a user can navigate back to the app and restore the search session to view the async search result data.

Depends on:

@tsullivan tsullivan changed the title Feature/data/management ui [Data/Background Sessions] Management UI Oct 27, 2020
@tsullivan tsullivan force-pushed the feature/data/management-ui branch 7 times, most recently from 0730d47 to f9b0d2b Compare November 3, 2020 16:36
@mdefazio
Copy link
Contributor

mdefazio commented Nov 3, 2020

Slight update to the copy below the header on management screen.

image

@tsullivan tsullivan force-pushed the feature/data/management-ui branch 10 times, most recently from cb91db0 to 33a2c6d Compare November 9, 2020 23:51
@tsullivan tsullivan force-pushed the feature/data/management-ui branch 2 times, most recently from 5ce124c to aa20b63 Compare December 1, 2020 01:21
@elastic elastic deleted a comment from kibanamachine Dec 1, 2020
@elastic elastic deleted a comment from kibanamachine Dec 1, 2020
@elastic elastic deleted a comment from kibanamachine Dec 1, 2020
@elastic elastic deleted a comment from kibanamachine Dec 1, 2020
@elastic elastic deleted a comment from kibanamachine Dec 1, 2020
@tsullivan tsullivan force-pushed the feature/data/management-ui branch 4 times, most recently from e05ae8a to 4a826e5 Compare December 1, 2020 22:01
@lizozom lizozom requested a review from lukasolson January 18, 2021 09:14
@lizozom
Copy link
Contributor

lizozom commented Jan 19, 2021

@elasticmachine merge upstream

@tsullivan
Copy link
Member Author

I can't approve this since it is my own Pull Request, but all the changes made since I last worked on this look GREAT!

I only have a couple things, which maybe are nits:

  • x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/actions/types.ts - this file seems to contain code that goes out of organization with Action components.
  • x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/table/table.tsx has an outdated comment
  • x-pack/test/send_search_to_background_integration/services/send_to_background.ts possibly needs a much larger timeout to be stable in Cloud tests

Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest changes LGTM!

@lizozom lizozom merged commit ef40806 into elastic:master Jan 20, 2021
lizozom added a commit to lizozom/kibana that referenced this pull request Jan 20, 2021
* logging and error handling in session client routes

* [Data] Background Search Session Management UI

* functional tests

* fix ci

* new functional tests

* fix fn tests

* cleanups

* cleanup

* restore test

* configurable refresh and fetch timeout

* more tests

* feedback items

* take expiresSoon field out of the interface

* move helper to common

* remove bg sessions w/find and delete

* add storybook

* fix tests

* storybook actions

* refactor expiration status calculation

* isViewable as calculated field

* refreshInterval 10s default

* list newest first

* "Type" => "App"

* remove inline view action

* in-progress status tooltip shows expire date

* move date_string to public

* fix tests

* Adds management to tsconfig refs

* removes preemptive script fix

* view action was removed

* rename the feature to Search Sessions

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <[email protected]>

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <[email protected]>

* add TODO

* use RedirectAppLinks

* code review and react improvements

* config

* fix test

* Fix merge

* Fix management test

* @Dosant code review

* code review

* Deleteed story

* some more code review stuffs

* fix ts

* Code review and cleanup

* Added functional tests for restoring, reloading and canceling a dashboard
Renamed search session test service

* Don't show expiration time for canceled, expired or errored sessions

* fix jest

* Moved UISession to public

* @tsullivan code review

* Fixed import

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Christiane Heiligers <[email protected]>
Co-authored-by: Liza Katz <[email protected]>
Co-authored-by: Liza K <[email protected]>
lizozom added a commit that referenced this pull request Jan 20, 2021
* logging and error handling in session client routes

* [Data] Background Search Session Management UI

* functional tests

* fix ci

* new functional tests

* fix fn tests

* cleanups

* cleanup

* restore test

* configurable refresh and fetch timeout

* more tests

* feedback items

* take expiresSoon field out of the interface

* move helper to common

* remove bg sessions w/find and delete

* add storybook

* fix tests

* storybook actions

* refactor expiration status calculation

* isViewable as calculated field

* refreshInterval 10s default

* list newest first

* "Type" => "App"

* remove inline view action

* in-progress status tooltip shows expire date

* move date_string to public

* fix tests

* Adds management to tsconfig refs

* removes preemptive script fix

* view action was removed

* rename the feature to Search Sessions

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <[email protected]>

* Update x-pack/plugins/data_enhanced/public/search/sessions_mgmt/components/status.tsx

Co-authored-by: Liza Katz <[email protected]>

* add TODO

* use RedirectAppLinks

* code review and react improvements

* config

* fix test

* Fix merge

* Fix management test

* @Dosant code review

* code review

* Deleteed story

* some more code review stuffs

* fix ts

* Code review and cleanup

* Added functional tests for restoring, reloading and canceling a dashboard
Renamed search session test service

* Don't show expiration time for canceled, expired or errored sessions

* fix jest

* Moved UISession to public

* @tsullivan code review

* Fixed import

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Christiane Heiligers <[email protected]>
Co-authored-by: Liza Katz <[email protected]>
Co-authored-by: Liza K <[email protected]>

Co-authored-by: Tim Sullivan <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Christiane Heiligers <[email protected]>
@tsullivan tsullivan deleted the feature/data/management-ui branch January 20, 2021 20:14
@lizozom lizozom added release_note:feature Makes this part of the condensed release notes and removed release_note:skip Skip the PR/issue when compiling release notes labels Feb 22, 2021
@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 22, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/data_frame_analytics/cloning·ts.machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form opens the existing job in the data frame analytics job wizard

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role ft_ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_source]
[00:00:00]             │ debg creating role ft_ml_source_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_source_readonly]
[00:00:00]             │ debg creating role ft_ml_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_dest]
[00:00:00]             │ debg creating role ft_ml_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_dest_readonly]
[00:00:00]             │ debg creating role ft_ml_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_ui_extras]
[00:00:00]             │ debg creating role ft_default_space_ml_all
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_all]
[00:00:00]             │ debg creating role ft_default_space1_ml_all
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space1_ml_all]
[00:00:00]             │ debg creating role ft_all_spaces_ml_all
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_all_spaces_ml_all]
[00:00:00]             │ debg creating role ft_default_space_ml_read
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_read]
[00:00:00]             │ debg creating role ft_default_space1_ml_read
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space1_ml_read]
[00:00:00]             │ debg creating role ft_all_spaces_ml_read
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_all_spaces_ml_read]
[00:00:00]             │ debg creating role ft_default_space_ml_none
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_none]
[00:00:00]             │ debg creating user ft_ml_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser]
[00:00:00]             │ debg created user ft_ml_poweruser
[00:00:00]             │ debg creating user ft_ml_poweruser_spaces
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_spaces]
[00:00:00]             │ debg created user ft_ml_poweruser_spaces
[00:00:00]             │ debg creating user ft_ml_poweruser_space1
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_space1]
[00:00:00]             │ debg created user ft_ml_poweruser_space1
[00:00:00]             │ debg creating user ft_ml_poweruser_all_spaces
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_all_spaces]
[00:00:01]             │ debg created user ft_ml_poweruser_all_spaces
[00:00:01]             │ debg creating user ft_ml_viewer
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer]
[00:00:01]             │ debg created user ft_ml_viewer
[00:00:01]             │ debg creating user ft_ml_viewer_spaces
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_spaces]
[00:00:01]             │ debg created user ft_ml_viewer_spaces
[00:00:01]             │ debg creating user ft_ml_viewer_space1
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_space1]
[00:00:01]             │ debg created user ft_ml_viewer_space1
[00:00:01]             │ debg creating user ft_ml_viewer_all_spaces
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_all_spaces]
[00:00:01]             │ debg created user ft_ml_viewer_all_spaces
[00:00:01]             │ debg creating user ft_ml_unauthorized
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_unauthorized]
[00:00:01]             │ debg created user ft_ml_unauthorized
[00:00:01]             │ debg creating user ft_ml_unauthorized_spaces
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_unauthorized_spaces]
[00:00:01]             │ debg created user ft_ml_unauthorized_spaces
[00:43:19]           └-: data frame analytics
[00:43:19]             └-> "before all" hook
[00:46:03]             └-: jobs cloning supported by UI form
[00:46:03]               └-> "before all" hook
[00:46:03]               └-> "before all" hook
[00:46:03]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:46:03]                 │ debg SecurityPage.forceLogout
[00:46:03]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:46:03]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:04]                 │ debg Redirecting to /logout to force the logout
[00:46:04]                 │ debg Waiting on the login form to appear
[00:46:04]                 │ debg Waiting for Login Page to appear.
[00:46:04]                 │ debg Waiting up to 100000ms for login page...
[00:46:04]                 │ debg browser[INFO] http://localhost:61151/logout?_t=1614023646582 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:46:04]                 │
[00:46:04]                 │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:04]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:07]                 │ERROR browser[SEVERE] http://localhost:61151/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:07]                 │ debg browser[INFO] http://localhost:61151/login?msg=LOGGED_OUT 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:46:07]                 │
[00:46:07]                 │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:07]                 │ERROR browser[SEVERE] http://localhost:61151/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:07]                 │ERROR browser[SEVERE] http://localhost:61151/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:07]                 │ debg browser[INFO] http://localhost:61151/39787/bundles/core/core.entry.js 12:194725 "Detected an unhandled Promise rejection.
[00:46:07]                 │      Error: Unauthorized"
[00:46:07]                 │ERROR browser[SEVERE] http://localhost:61151/39787/bundles/core/core.entry.js 5:3002 
[00:46:07]                 │ERROR browser[SEVERE] http://localhost:61151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:07]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:08]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:08]                 │ debg TestSubjects.exists(loginForm)
[00:46:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:08]                 │ debg Waiting for Login Form to appear.
[00:46:08]                 │ debg Waiting up to 100000ms for login form...
[00:46:08]                 │ debg TestSubjects.exists(loginForm)
[00:46:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:08]                 │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:46:08]                 │ debg TestSubjects.click(loginUsername)
[00:46:08]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:08]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:08]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:46:08]                 │ debg TestSubjects.click(loginPassword)
[00:46:08]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:08]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:08]                 │ debg TestSubjects.click(loginSubmit)
[00:46:08]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:08]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:08]                 │ debg Waiting for login result, expected: chrome.
[00:46:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:46:08]                 │ proc [kibana]   log   [19:54:10.918] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:46:10]                 │ debg browser[INFO] http://localhost:61151/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:46:10]                 │
[00:46:10]                 │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:10]                 │ debg Finished login process currentUrl = http://localhost:61151/app/home#/
[00:46:10]                 │ debg Waiting up to 20000ms for logout button visible...
[00:46:10]                 │ debg TestSubjects.exists(userMenuButton)
[00:46:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:46:10]                 │ debg TestSubjects.exists(userMenu)
[00:46:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:46:13]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:46:13]                 │ debg TestSubjects.click(userMenuButton)
[00:46:13]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:13]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:13]                 │ debg TestSubjects.exists(userMenu)
[00:46:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:46:13]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:46:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:46:13]               └-: classification job supported by the form
[00:46:13]                 └-> "before all" hook
[00:46:13]                 └-> "before all" hook
[00:46:13]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:46:13]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:46:13]                   │ info [ml/bm_classification] Skipped restore for existing index "ft_bank_marketing"
[00:46:14]                   │ debg Searching for 'index-pattern' with title 'ft_bank_marketing'...
[00:46:14]                   │ debg  > Found '922db950-7547-11eb-b4a5-816fe983eb65'
[00:46:14]                   │ debg Index pattern with title 'ft_bank_marketing' already exists. Nothing to create.
[00:46:14]                   │ debg Creating data frame analytic job with id 'bm_1_1614020881755' ...
[00:46:14]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:46:14]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-config]
[00:46:14]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:46:14]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:46:14]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:46:14]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:46:14]                   │ debg Waiting up to 5000ms for 'bm_1_1614020881755' to exist...
[00:46:14]                   │ debg Fetching data frame analytics job 'bm_1_1614020881755'...
[00:46:14]                   │ debg > DFA job fetched.
[00:46:14]                   │ debg > DFA job created.
[00:46:14]                   │ debg navigating to ml url: http://localhost:61151/app/ml
[00:46:14]                   │ debg navigate to: http://localhost:61151/app/ml
[00:46:14]                   │ debg browser[INFO] http://localhost:61151/app/ml?_t=1614023656969 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:46:14]                   │
[00:46:14]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:14]                   │ debg ... sleep(700) start
[00:46:15]                   │ debg ... sleep(700) end
[00:46:15]                   │ debg returned from get, calling refresh
[00:46:16]                   │ERROR browser[SEVERE] http://localhost:61151/39787/bundles/core/core.entry.js 12:193778 TypeError: Failed to fetch
[00:46:16]                   │          at _callee3$ (http://localhost:61151/39787/bundles/core/core.entry.js:6:43989)
[00:46:16]                   │          at l (http://localhost:61151/39787/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:46:16]                   │          at Generator._invoke (http://localhost:61151/39787/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:46:16]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61151/39787/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:46:16]                   │          at fetch_asyncGeneratorStep (http://localhost:61151/39787/bundles/core/core.entry.js:6:39047)
[00:46:16]                   │          at _throw (http://localhost:61151/39787/bundles/core/core.entry.js:6:39455)
[00:46:16]                   │ debg browser[INFO] http://localhost:61151/app/ml?_t=1614023656969 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:46:16]                   │
[00:46:16]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:16]                   │ debg currentUrl = http://localhost:61151/app/ml
[00:46:16]                   │          appUrl = http://localhost:61151/app/ml
[00:46:16]                   │ debg TestSubjects.find(kibanaChrome)
[00:46:16]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:46:16]                   │ debg ... sleep(501) start
[00:46:17]                   │ debg ... sleep(501) end
[00:46:17]                   │ debg in navigateTo url = http://localhost:61151/app/ml/overview
[00:46:17]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:46:17]                   │ debg ... sleep(501) start
[00:46:18]                   │ debg ... sleep(501) end
[00:46:18]                   │ debg in navigateTo url = http://localhost:61151/app/ml/overview
[00:46:18]                   │ debg TestSubjects.exists(statusPageContainer)
[00:46:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:46:20]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:46:21]                   │ debg TestSubjects.exists(mlApp)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:46:21]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:46:21]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:46:21]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:46:21]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:46:21]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:46:21]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:46:21]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:46:21]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:46:21]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:46:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:46:22]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:46:22]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:46:22]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:46:22]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:46:22]                   │ debg TestSubjects.find(~mlAnalyticsTable)
[00:46:22]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:46:22]                   │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:46:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:46:25]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsJobDeleteButton"] is not displayed
[00:46:25]                   │ debg TestSubjects.click(~mlAnalyticsTable > ~row-bm_1_1614020881755 > euiCollapsedItemActionsButton)
[00:46:25]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1614020881755"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:46:25]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1614020881755"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:46:25]                   │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:46:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=5000
[00:46:25]                   │ debg TestSubjects.click(mlAnalyticsJobCloneButton)
[00:46:25]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:46:25]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:46:25]                   │ debg TestSubjects.exists(mlAnalyticsCreationContainer)
[00:46:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationContainer"]') with timeout=120000
[00:46:26]                 └-> opens the existing job in the data frame analytics job wizard
[00:46:26]                   └-> "before each" hook: global before each
[00:46:26]                     │ debg browser[INFO] http://localhost:61151/39787/bundles/plugin/ml/ml.chunk.8.js 2:177309 "Property \"early_stopping_enabled\" is unknown."
[00:46:26]                   │ debg === TEST STEP === should open the wizard with a proper header
[00:46:26]                   │ debg TestSubjects.getVisibleText(mlDataFrameAnalyticsWizardHeaderTitle)
[00:46:26]                   │ debg TestSubjects.find(mlDataFrameAnalyticsWizardHeaderTitle)
[00:46:26]                   │ debg Find.findByCssSelector('[data-test-subj="mlDataFrameAnalyticsWizardHeaderTitle"]') with timeout=10000
[00:46:26]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardConfigurationStep active)
[00:46:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"]') with timeout=120000
[00:46:29]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"] is not displayed
[00:46:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:46:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:47:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:48:28]                   │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form opens the existing job in the data frame analytics job wizard.png"
[00:48:28]                   │ info Current URL is: http://localhost:61151/app/ml/data_frame_analytics/new_job?index=922db950-7547-11eb-b4a5-816fe983eb65&jobId=bm_1_1614020881755
[00:48:28]                   │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form opens the existing job in the data frame analytics job wizard.html
[00:48:28]                   └- ✖ fail: machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form opens the existing job in the data frame analytics job wizard
[00:48:28]                   │      Error: expected testSubject(mlAnalyticsCreateJobWizardConfigurationStep active) to exist
[00:48:28]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:48:28]                   │       at Object.assertConfigurationStepActive (test/functional/services/ml/data_frame_analytics_creation.ts:316:7)
[00:48:28]                   │       at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/cloning.ts:166:11)
[00:48:28]                   │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:48:28]                   │ 
[00:48:28]                   │ 

Stack Trace

Error: expected testSubject(mlAnalyticsCreateJobWizardConfigurationStep active) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/15/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at Object.assertConfigurationStepActive (test/functional/services/ml/data_frame_analytics_creation.ts:316:7)
    at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/cloning.ts:166:11)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list·ts.endpoint endpoint list when initially navigating to page finds data after load and polling

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ proc [kibana]   log   [19:47:05.360] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [19:47:05.364] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39728, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39730, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [19:47:05.396] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [19:47:05.401] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39742, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39740, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [19:47:05.412] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [19:47:05.415] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39752, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39750, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39760, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39758, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [19:47:05.525] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39768, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [19:47:05.591] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/02/22 19:47:05 source.ip: 172.17.0.1:39772, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding index template [metrics-metadata-current] for index patterns [metrics-endpoint.metadata_current_*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.file-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.process-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.registry-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.alerts-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.library-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.security-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [metrics-endpoint.metadata-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding component template [metrics-endpoint.metrics-mappings]
[00:00:06]             │ proc [kibana]   log   [19:47:12.028] [error][fleet][plugins] uninstalling system-0.7.0 after error installing
[00:00:06]             │ proc [kibana]   log   [19:47:12.039] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: system is installed by default and cannot be removed
[00:00:06]             │ proc [kibana]   log   [19:47:12.102] [error][fleet][plugins] uninstalling endpoint-0.16.0-dev.4 after error installing
[00:00:06]             │ proc [kibana]   log   [19:47:12.112] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: endpoint is installed by default and cannot be removed
[00:00:06]             │ proc [kibana]   log   [19:47:12.113] [error][fleet][plugins] [illegal_argument_exception] composable template [logs-system.auth] template after composition is invalid response from /_index_template/logs-system.auth: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid"}],"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [logs-system.auth] has alias and data stream definitions"}},"status":400}
[00:00:06]             │ debg --- retry.try error: expected 200 "OK", got 400 "Bad Request"
[00:00:07]             │ proc [kibana]   log   [19:47:12.668] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:07]             │ proc [kibana]   log   [19:47:12.670] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:07]             │ info [docker:registry] 2021/02/22 19:47:12 source.ip: 172.17.0.1:40192, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2021/02/22 19:47:12 source.ip: 172.17.0.1:40190, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [fleet_enroll]
[00:00:07]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [fleet_enroll]
[00:00:09]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:10]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.kibana_1/ecVQ1-aIQUSjztBJcn70aw] update_mapping [_doc]
[00:00:11]           └-: endpoint list
[00:00:11]             └-> "before all" hook
[00:00:11]             └-: when initially navigating to page
[00:00:11]               └-> "before all" hook
[00:00:11]               └-> "before all" hook
[00:00:11]                 │ debg navigateToActualUrl http://localhost:6111/app/security/administration/endpoints
[00:00:11]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1614023236683 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:11]                 │
[00:00:11]                 │ debg browser[INFO] http://localhost:6111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:11]                 │ debg currentUrl = http://localhost:6111/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1614023236683
[00:00:11]                 │          appUrl = http://localhost:6111/app/security/administration/endpoints
[00:00:11]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:11]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:13]                 │ERROR browser[SEVERE] http://localhost:6111/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:13]                 │ debg browser[INFO] http://localhost:6111/39787/bundles/core/core.entry.js 12:194725 "Detected an unhandled Promise rejection.
[00:00:13]                 │      Error: Unauthorized"
[00:00:13]                 │ERROR browser[SEVERE] http://localhost:6111/39787/bundles/core/core.entry.js 5:3002 
[00:00:13]                 │ debg Found login page
[00:00:13]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:13]                 │ debg TestSubjects.click(loginUsername)
[00:00:13]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:13]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:13]                 │ERROR browser[SEVERE] http://localhost:6111/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:13]                 │ERROR browser[SEVERE] http://localhost:6111/internal/security/me - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:14]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:14]                 │ debg TestSubjects.click(loginPassword)
[00:00:14]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:14]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:14]                 │ debg TestSubjects.click(loginSubmit)
[00:00:14]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:14]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:14]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:14]                 │ proc [kibana]   log   [19:47:19.715] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:14]                 │ debg browser[INFO] http://localhost:6111/app/security/administration/endpoints?_t=1614023236683 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:14]                 │
[00:00:14]                 │ debg browser[INFO] http://localhost:6111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:17]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:17]                 │ debg browser[INFO] http://localhost:6111/app/security/administration/endpoints?_t=1614023242396 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:17]                 │
[00:00:17]                 │ debg browser[INFO] http://localhost:6111/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:17]                 │ debg Finished login process currentUrl = http://localhost:6111/app/security/administration/endpoints
[00:00:17]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:17]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:19]                 │ proc [kibana]   log   [19:47:24.545] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:19]                 │ info [docker:registry] 2021/02/22 19:47:24 source.ip: 172.17.0.1:40960, url.original: /search?category=security
[00:00:19]                 │ proc [kibana]   log   [19:47:24.603] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:19]                 │ info [docker:registry] 2021/02/22 19:47:24 source.ip: 172.17.0.1:40966, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:19]                 │ proc [kibana]   log   [19:47:24.648] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:19]                 │ info [docker:registry] 2021/02/22 19:47:24 source.ip: 172.17.0.1:40974, url.original: /search?category=security
[00:00:19]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding index lifecycle policy [.siem-signals-default-migration-cleanup]
[00:00:19]                 │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding index lifecycle policy [.siem-signals-default]
[00:00:19]                 │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:00:19]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:00:19]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:00:19]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:00:19]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:6111/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:6111/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:20]               └-> finds no data in list and prompts onboarding to add policy
[00:00:20]                 └-> "before each" hook: global before each
[00:00:20]                 │ debg TestSubjects.exists(emptyPolicyTable)
[00:00:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="emptyPolicyTable"]') with timeout=2500
[00:00:20]                 └- ✓ pass  (37ms) "endpoint endpoint list when initially navigating to page finds no data in list and prompts onboarding to add policy"
[00:00:20]               └-> finds data after load and polling
[00:00:20]                 └-> "before each" hook: global before each
[00:00:20]                 │ info [endpoint/metadata/destination_index] Loading "data.json"
[00:00:20]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [metrics-endpoint.metadata_current_default] creating index, cause [auto(bulk api)], templates [metrics-metadata-current], shards [1]/[1]
[00:00:20]                 │ info [endpoint/metadata/destination_index] Indexed 3 docs into "metrics-endpoint.metadata_current_default"
[00:00:20]                 │ debg Waiting up to 1100ms for table to have data...
[00:00:20]                 │ debg TestSubjects.exists(endpointListTable)
[00:00:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointListTable"]') with timeout=2500
[00:00:22]                 │ debg --- retry.tryForTime error: [data-test-subj="endpointListTable"] is not displayed
[00:00:23]                 │ debg TestSubjects.find(endpointListTable)
[00:00:23]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:33]                 │ debg --- retry.waitForWithTimeout error: Waiting for element to be located By(css selector, [data-test-subj="endpointListTable"])
[00:00:33]                 │      Wait timed out after 10057ms
[00:00:34]                 │ info Taking screenshot "/dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list when initially navigating to page finds data after load and polling.png"
[00:00:34]                 │ info Current URL is: http://localhost:6111/app/security/administration/endpoints
[00:00:34]                 │ info Saving page source to: /dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list when initially navigating to page finds data after load and polling.html
[00:00:34]                 └- ✖ fail: endpoint endpoint list when initially navigating to page finds data after load and polling
[00:00:34]                 │      Error: timed out waiting for table to have data -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="endpointListTable"])
[00:00:34]                 │ Wait timed out after 10057ms
[00:00:34]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:00:34]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:34]                 │       at onFailure (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:00:34]                 │       at retryForSuccess (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:00:34]                 │       at retryForTruthy (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:00:34]                 │       at Retry.waitForWithTimeout (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry.ts:46:7)
[00:00:34]                 │       at Object.waitForTableToHaveData (test/security_solution_endpoint/page_objects/endpoint_page.ts:28:7)
[00:00:34]                 │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:88:9)
[00:00:34]                 │       at Object.apply (/dev/shm/workspace/parallel/1/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:00:34]                 │ 
[00:00:34]                 │ 

Stack Trace

Error: timed out waiting for table to have data -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="endpointListTable"])
Wait timed out after 10057ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at Retry.waitForWithTimeout (/dev/shm/workspace/parallel/1/kibana/test/common/services/retry/retry.ts:46:7)
    at Object.waitForTableToHaveData (test/security_solution_endpoint/page_objects/endpoint_page.ts:28:7)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:88:9)
    at Object.apply (/dev/shm/workspace/parallel/1/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/modules/setup_module·ts.apis Machine Learning modules module setup sets up module data for logs_ui_categories with prefix, startDatafeed true and estimateModelMemory true

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:07:31]           └-: Machine Learning
[00:07:31]             └-> "before all" hook
[00:07:31]             └-> "before all" hook
[00:07:31]               │ debg creating role ft_ml_source
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_source]
[00:07:31]               │ debg creating role ft_ml_source_readonly
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_source_readonly]
[00:07:31]               │ debg creating role ft_ml_dest
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_dest]
[00:07:31]               │ debg creating role ft_ml_dest_readonly
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_dest_readonly]
[00:07:31]               │ debg creating role ft_ml_ui_extras
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_ml_ui_extras]
[00:07:31]               │ debg creating role ft_default_space_ml_all
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_all]
[00:07:31]               │ debg creating role ft_default_space1_ml_all
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space1_ml_all]
[00:07:31]               │ debg creating role ft_all_spaces_ml_all
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_all_spaces_ml_all]
[00:07:31]               │ debg creating role ft_default_space_ml_read
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_read]
[00:07:31]               │ debg creating role ft_default_space1_ml_read
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space1_ml_read]
[00:07:31]               │ debg creating role ft_all_spaces_ml_read
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_all_spaces_ml_read]
[00:07:31]               │ debg creating role ft_default_space_ml_none
[00:07:31]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added role [ft_default_space_ml_none]
[00:07:31]               │ debg creating user ft_ml_poweruser
[00:07:31]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser]
[00:07:31]               │ debg created user ft_ml_poweruser
[00:07:31]               │ debg creating user ft_ml_poweruser_spaces
[00:07:31]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_spaces]
[00:07:31]               │ debg created user ft_ml_poweruser_spaces
[00:07:31]               │ debg creating user ft_ml_poweruser_space1
[00:07:31]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_space1]
[00:07:31]               │ debg created user ft_ml_poweruser_space1
[00:07:31]               │ debg creating user ft_ml_poweruser_all_spaces
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_poweruser_all_spaces]
[00:07:32]               │ debg created user ft_ml_poweruser_all_spaces
[00:07:32]               │ debg creating user ft_ml_viewer
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer]
[00:07:32]               │ debg created user ft_ml_viewer
[00:07:32]               │ debg creating user ft_ml_viewer_spaces
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_spaces]
[00:07:32]               │ debg created user ft_ml_viewer_spaces
[00:07:32]               │ debg creating user ft_ml_viewer_space1
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_space1]
[00:07:32]               │ debg created user ft_ml_viewer_space1
[00:07:32]               │ debg creating user ft_ml_viewer_all_spaces
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_viewer_all_spaces]
[00:07:32]               │ debg created user ft_ml_viewer_all_spaces
[00:07:32]               │ debg creating user ft_ml_unauthorized
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_unauthorized]
[00:07:32]               │ debg created user ft_ml_unauthorized
[00:07:32]               │ debg creating user ft_ml_unauthorized_spaces
[00:07:32]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] added user [ft_ml_unauthorized_spaces]
[00:07:32]               │ debg created user ft_ml_unauthorized_spaces
[00:07:32]             └-: modules
[00:07:32]               └-> "before all" hook
[00:07:47]               └-: module setup
[00:07:47]                 └-> "before all" hook
[00:07:47]                 └-> "before all" hook
[00:07:47]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:08:31]                 └-: sets up module data
[00:08:31]                   └-> "before all" hook
[00:08:31]                   └-> "before all" hook
[00:08:31]                     │ info [ml/module_logs] Loading "mappings.json"
[00:08:31]                     │ info [ml/module_logs] Loading "data.json.gz"
[00:08:31]                     │ info [ml/module_logs] Skipped restore for existing index "ft_module_logs"
[00:08:31]                     │ debg Searching for 'index-pattern' with title 'ft_module_logs'...
[00:08:31]                     │ debg  > Found '75191d00-7547-11eb-8da5-9dc58c3ebc20'
[00:08:31]                     │ debg Index pattern with title 'ft_module_logs' already exists. Nothing to create.
[00:08:31]                   └-> for logs_ui_categories with prefix, startDatafeed true and estimateModelMemory true
[00:08:31]                     └-> "before each" hook: global before each
[00:08:31]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:08:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:08:31]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:08:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:08:31]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-anomalies-shared/rhoMZUvQRByIwG8v30sh2A] update_mapping [_doc]
[00:08:31]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:08:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-config]
[00:08:31]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:08:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:08:33]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] Opening job [pf7_log-entry-categories-count]
[00:08:33]                     │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:08:33]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:08:33]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:08:33]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:08:33]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:08:33]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:08:33]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:08:33]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] [autodetect/236598] [CResourceMonitor.cc@77] Setting model memory limit to 41 MB
[00:08:33]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] Successfully set job state to [opened] for job [pf7_log-entry-categories-count]
[00:08:33]                     │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2021-02-22T19:43:49.639Z) with frequency [450000ms]
[00:08:33]                     │ debg Waiting up to 5000ms for 'pf7_log-entry-categories-count' to exist...
[00:08:33]                     │ debg Waiting up to 5000ms for 'datafeed-pf7_log-entry-categories-count' to exist...
[00:08:33]                     │ debg Waiting up to 10000ms for 'pf7_log-entry-categories-count' to have processed_record_count > 0...
[00:08:33]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:33]                     │ debg > AD job stats fetched.
[00:08:33]                     │ debg --- retry.waitForWithTimeout error: expected anomaly detection job 'pf7_log-entry-categories-count' to have processed_record_count > 0 (got 0)
[00:08:34]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-anomalies-shared/rhoMZUvQRByIwG8v30sh2A] update_mapping [_doc]
[00:08:34]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:34]                     │ debg > AD job stats fetched.
[00:08:34]                     │ debg Waiting up to 120000ms for job state to be closed...
[00:08:34]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:34]                     │ debg > AD job stats fetched.
[00:08:34]                     │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got opened
[00:08:34]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:34]                     │ debg > AD job stats fetched.
[00:08:34]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:35]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:35]                     │ debg > AD job stats fetched.
[00:08:35]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:36]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:36]                     │ debg > AD job stats fetched.
[00:08:36]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:36]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:36]                     │ debg > AD job stats fetched.
[00:08:36]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:37]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:37]                     │ debg > AD job stats fetched.
[00:08:37]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:37]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:37]                     │ debg > AD job stats fetched.
[00:08:37]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:38]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:38]                     │ debg > AD job stats fetched.
[00:08:38]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:38]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:38]                     │ debg > AD job stats fetched.
[00:08:38]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:39]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:39]                     │ debg > AD job stats fetched.
[00:08:39]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:39]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:39]                     │ debg > AD job stats fetched.
[00:08:39]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:40]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:40]                     │ debg > AD job stats fetched.
[00:08:40]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:40]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:40]                     │ debg > AD job stats fetched.
[00:08:40]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:41]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:41]                     │ debg > AD job stats fetched.
[00:08:41]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:41]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:41]                     │ debg > AD job stats fetched.
[00:08:41]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:42]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:42]                     │ debg > AD job stats fetched.
[00:08:42]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:42]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:42]                     │ debg > AD job stats fetched.
[00:08:42]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:43]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:43]                     │ debg > AD job stats fetched.
[00:08:43]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:43]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:43]                     │ debg > AD job stats fetched.
[00:08:43]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:44]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:44]                     │ debg > AD job stats fetched.
[00:08:44]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:44]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:44]                     │ debg > AD job stats fetched.
[00:08:44]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:45]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:45]                     │ debg > AD job stats fetched.
[00:08:45]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:45]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:45]                     │ debg > AD job stats fetched.
[00:08:45]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:46]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:46]                     │ debg > AD job stats fetched.
[00:08:46]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:46]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:46]                     │ debg > AD job stats fetched.
[00:08:46]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:47]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:47]                     │ debg > AD job stats fetched.
[00:08:47]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:47]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:47]                     │ debg > AD job stats fetched.
[00:08:47]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:48]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:48]                     │ debg > AD job stats fetched.
[00:08:48]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:48]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:48]                     │ debg > AD job stats fetched.
[00:08:48]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:49]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:49]                     │ debg > AD job stats fetched.
[00:08:49]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:49]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:49]                     │ debg > AD job stats fetched.
[00:08:49]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:50]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:50]                     │ debg > AD job stats fetched.
[00:08:50]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:50]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:50]                     │ debg > AD job stats fetched.
[00:08:50]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:51]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:51]                     │ debg > AD job stats fetched.
[00:08:51]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:51]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:51]                     │ debg > AD job stats fetched.
[00:08:51]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:52]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:52]                     │ debg > AD job stats fetched.
[00:08:52]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:52]                     │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] Lookback has finished
[00:08:52]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [no_realtime] attempt to stop datafeed [datafeed-pf7_log-entry-categories-count] for job [pf7_log-entry-categories-count]
[00:08:52]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [no_realtime] try lock [20s] to stop datafeed [datafeed-pf7_log-entry-categories-count] for job [pf7_log-entry-categories-count]...
[00:08:52]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [no_realtime] stopping datafeed [datafeed-pf7_log-entry-categories-count] for job [pf7_log-entry-categories-count], acquired [true]...
[00:08:52]                     │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [no_realtime] datafeed [datafeed-pf7_log-entry-categories-count] for job [pf7_log-entry-categories-count] has been stopped
[00:08:52]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] Closing job [pf7_log-entry-categories-count], because [close job (api)]
[00:08:52]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] [autodetect/236598] [CCmdSkeleton.cc@61] Handled 584 records
[00:08:52]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] [autodetect/236598] [CAnomalyJob.cc@1569] Pruning all models
[00:08:52]                     │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [.ml-anomalies-shared/rhoMZUvQRByIwG8v30sh2A] update_mapping [_doc]
[00:08:52]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:52]                     │ debg > AD job stats fetched.
[00:08:52]                     │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:08:53]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] State output finished
[00:08:53]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] 2342 buckets parsed from autodetect output
[00:08:53]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-debian-tests-xxl-1614018508765521554] [pf7_log-entry-categories-count] job closed
[00:08:53]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:53]                     │ debg > AD job stats fetched.
[00:08:53]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:08:53]                     │ debg Fetching anomaly detection job stats for job pf7_log-entry-categories-count...
[00:08:53]                     │ debg > AD job stats fetched.
[00:08:53]                     │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:08:53]                     │ debg Fetching datafeed state for datafeed datafeed-pf7_log-entry-categories-count
[00:08:54]                     └- ✖ fail: apis Machine Learning modules module setup sets up module data for logs_ui_categories with prefix, startDatafeed true and estimateModelMemory true
[00:08:54]                     │       Error: Expected job model memory limits '[{"id":"pf7_log-entry-categories-count","modelMemoryLimit":"26mb"}]' (got '[{"id":"pf7_log-entry-categories-count","modelMemoryLimit":"41mb"}]')
[00:08:54]                     │       + expected - actual
[00:08:54]                     │ 
[00:08:54]                     │        [
[00:08:54]                     │          {
[00:08:54]                     │            "id": "pf7_log-entry-categories-count"
[00:08:54]                     │       -    "modelMemoryLimit": "41mb"
[00:08:54]                     │       +    "modelMemoryLimit": "26mb"
[00:08:54]                     │          }
[00:08:54]                     │        ]
[00:08:54]                     │       
[00:08:54]                     │       at Assertion.assert (/dev/shm/workspace/parallel/13/kibana/packages/kbn-expect/expect.js:100:11)
[00:08:54]                     │       at Assertion.eql (/dev/shm/workspace/parallel/13/kibana/packages/kbn-expect/expect.js:244:8)
[00:08:54]                     │       at Context.<anonymous> (test/api_integration/apis/ml/modules/setup_module.ts:868:46)
[00:08:54]                     │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:08:54]                     │ 
[00:08:54]                     │ 

Stack Trace

Error: Expected job model memory limits '[{"id":"pf7_log-entry-categories-count","modelMemoryLimit":"26mb"}]' (got '[{"id":"pf7_log-entry-categories-count","modelMemoryLimit":"41mb"}]')
    at Assertion.assert (/dev/shm/workspace/parallel/13/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/13/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/ml/modules/setup_module.ts:868:46)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '[\n' +
    '  {\n' +
    '    "id": "pf7_log-entry-categories-count"\n' +
    '    "modelMemoryLimit": "41mb"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "id": "pf7_log-entry-categories-count"\n' +
    '    "modelMemoryLimit": "26mb"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

and 3 more failures, only showing the first 3.

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
dataEnhanced 40 93 +53

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
dataEnhanced 27.4KB 172.2KB +144.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 1003.8KB 1003.8KB +6.0B
dataEnhanced 38.9KB 41.8KB +2.8KB
total +2.8KB
Unknown metric groups

async chunk count

id before after diff
dataEnhanced 1 2 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:AsyncSearch Background search, partial results, async search services. release_note:feature Makes this part of the condensed release notes v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Search] Background session management UI
9 participants