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

[7.x] [Alerting] Active alerts do not recover after re-enabling a rule (#111671) #115443

Merged
merged 2 commits into from
Oct 18, 2021

Conversation

YulNaumenko
Copy link
Contributor

Backports the following commits to 7.x:

@YulNaumenko YulNaumenko enabled auto-merge (squash) October 18, 2021 19:32
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces·ts.machine learning stack management jobs manage spaces add one space and remove initial space should display updated job only in assigned spaces

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 in "machine learning"
[00:00:00]         └-: 
[00:00:00]           └-> "before all" hook in ""
[00:00:00]           └-> "before all" hook in ""
[00:00:00]             │ debg creating role ft_ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_all_spaces]
[00:00:00]             │ debg created user ft_ml_poweruser_all_spaces
[00:00:00]             │ debg creating user ft_ml_viewer
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] 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] [node-01] added user [ft_ml_unauthorized_spaces]
[00:00:01]             │ debg created user ft_ml_unauthorized_spaces
[00:05:12]           └-: stack management jobs
[00:05:12]             └-> "before all" hook in "stack management jobs"
[00:06:02]             └-: manage spaces
[00:06:02]               └-> "before all" hook in "manage spaces"
[00:06:02]               └-> "before all" hook in "manage spaces"
[00:06:02]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:06:02]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:06:02]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:06:03]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Loading "mappings.json"
[00:06:03]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Loading "data.json.gz"
[00:06:03]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Skipped restore for existing index "ft_ihp_outlier"
[00:06:03]                 │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:06:03]                 │ debg  > Found 'eedfa7e0-304e-11ec-9e6b-2db7088b7cad'
[00:06:03]                 │ debg Index pattern with title 'ft_farequote' already exists. Nothing to create.
[00:06:03]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:06:03]                 │ debg  > Not found
[00:06:03]                 │ debg Creating index pattern with title 'ft_ihp_outlier' and time field '@timestamp'
[00:06:04]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_ihp_outlier' to exist...
[00:06:04]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:06:04]                 │ debg  > Found '873f1250-304f-11ec-9e6b-2db7088b7cad'
[00:06:04]                 │ debg  > Created with id '873f1250-304f-11ec-9e6b-2db7088b7cad'
[00:06:04]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:06:05]                 │ debg SecurityPage.forceLogout
[00:06:05]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:05]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:05]                 │ debg Redirecting to /logout to force the logout
[00:06:05]                 │ debg Waiting on the login form to appear
[00:06:05]                 │ debg Waiting for Login Page to appear.
[00:06:05]                 │ debg Waiting up to 100000ms for login page...
[00:06:05]                 │ debg browser[INFO] http://localhost:61181/logout?_t=1634587869193 281 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:06:05]                 │
[00:06:05]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:05]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:08]                 │ warn browser[SEVERE] http://localhost:61181/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:06:08]                 │ debg browser[INFO] http://localhost:61181/45356/bundles/core/core.entry.js 7:107144 "Detected an unhandled Promise rejection.
[00:06:08]                 │      Error: Unauthorized"
[00:06:08]                 │ warn browser[SEVERE] http://localhost:61181/45356/bundles/core/core.entry.js 7:52900 
[00:06:08]                 │ debg browser[INFO] http://localhost:61181/login?msg=LOGGED_OUT 281 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:06:08]                 │
[00:06:08]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:08]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:08]                 │ warn browser[SEVERE] http://localhost:61181/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:06:09]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:09]                 │ debg TestSubjects.exists(loginForm)
[00:06:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:09]                 │ debg Waiting for Login Form to appear.
[00:06:09]                 │ debg Waiting up to 100000ms for login form...
[00:06:09]                 │ debg TestSubjects.exists(loginForm)
[00:06:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:09]                 │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:06:09]                 │ debg TestSubjects.click(loginUsername)
[00:06:09]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:09]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:09]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:06:09]                 │ debg TestSubjects.click(loginPassword)
[00:06:09]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:09]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:10]                 │ debg TestSubjects.click(loginSubmit)
[00:06:10]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:10]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:10]                 │ debg Waiting for login result, expected: chrome.
[00:06:10]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuAvatar"]') with timeout=20000
[00:06:10]                 │ proc [kibana]   log   [20:11:13.476] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:06:12]                 │ debg browser[INFO] http://localhost:61181/app/home 281 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:06:12]                 │
[00:06:12]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:12]                 │ debg Finished login process currentUrl = http://localhost:61181/app/home#/
[00:06:12]                 │ debg Waiting up to 20000ms for logout button visible...
[00:06:12]                 │ debg TestSubjects.exists(userMenuButton)
[00:06:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:06:12]                 │ debg TestSubjects.exists(userMenu)
[00:06:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:06:15]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:06:15]                 │ debg TestSubjects.click(userMenuButton)
[00:06:15]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:15]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:15]                 │ debg TestSubjects.exists(userMenu)
[00:06:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:06:15]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:06:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:06:15]                 │ debg creating space
[00:06:16]                 │ debg created space
[00:07:18]               └-: add one space and remove initial space
[00:07:18]                 └-> "before all" hook for "should display original job only in assigned spaces"
[00:07:18]                 └-> "before all" hook for "should display original job only in assigned spaces"
[00:07:18]                   │ debg Creating anomaly detection job with id 'ad_job_2_1634587502764' in space 'default' ...
[00:07:19]                   │ debg Waiting up to 5000ms for 'ad_job_2_1634587502764' to exist...
[00:07:19]                   │ debg > AD job created.
[00:07:19]                   │ debg Creating data frame analytic job with id 'dfa_job_2_1634587502764' in space 'default' ...
[00:07:20]                   │ debg Waiting up to 5000ms for 'dfa_job_2_1634587502764' to exist...
[00:07:20]                   │ debg Fetching data frame analytics job 'dfa_job_2_1634587502764'...
[00:07:20]                   │ debg > DFA job fetched.
[00:07:20]                   │ debg > DFA job created.
[00:07:20]                 └-> should display original job only in assigned spaces
[00:07:20]                   └-> "before each" hook: global before each for "should display original job only in assigned spaces"
[00:07:20]                   │ debg === TEST STEP === AD job ad_job_2_1634587502764 and DFA job dfa_job_2_1634587502764 should be displayed in space default
[00:07:20]                   │ debg openSpacesNav()
[00:07:20]                   │ debg TestSubjects.click(spacesNavSelector)
[00:07:20]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:20]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:20]                   │ debg TestSubjects.click(default-gotoSpace)
[00:07:20]                   │ debg Find.clickByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:07:20]                   │ debg Find.findByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:07:21]                   │ debg expectRoute(default, /app/home#/)
[00:07:21]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:07:21]                   │ debg browser[INFO] http://localhost:61181/app/home 281 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:07:21]                   │
[00:07:21]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:23]                   │ debg click "Machine Learning" app link
[00:07:23]                   │ debg TestSubjects.exists(collapsibleNav)
[00:07:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:25]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:26]                   │ debg TestSubjects.click(toggleNavButton)
[00:07:26]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:26]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:26]                   │ debg TestSubjects.find(collapsibleNav)
[00:07:26]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:26]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:29]                   │ debg TestSubjects.exists(mlApp)
[00:07:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:07:29]                   │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:07:29]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:07:29]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:07:29]                   │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:07:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:07:29]                   │ debg TestSubjects.exists(mlPageJobManagement)
[00:07:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:07:29]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:07:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:07:29]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:07:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:07:29]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:07:29]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:07:30]                   │ debg TestSubjects.find(~mlJobListTable)
[00:07:30]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:07:30]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:07:30]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:07:30]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:07:30]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:07:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:07:30]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:07:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:07:30]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:07:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:07:30]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:07:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:07:30]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:07:30]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:07:31]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:07:31]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:07:31]                   │ debg TestSubjects.find(~mlAnalyticsTable)
[00:07:31]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:07:31]                   │ debg === TEST STEP === AD job ad_job_2_1634587502764 and DFA job dfa_job_2_1634587502764 should not be displayed in space space1
[00:07:31]                   │ debg openSpacesNav()
[00:07:31]                   │ debg TestSubjects.click(spacesNavSelector)
[00:07:31]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:31]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:31]                   │ debg TestSubjects.click(space1-gotoSpace)
[00:07:31]                   │ debg Find.clickByCssSelector('[data-test-subj="space1-gotoSpace"]') with timeout=10000
[00:07:31]                   │ debg Find.findByCssSelector('[data-test-subj="space1-gotoSpace"]') with timeout=10000
[00:07:31]                   │ debg expectRoute(space1, /app/home#/)
[00:07:31]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:07:31]                   │ debg browser[INFO] http://localhost:61181/s/space1/app/home 281 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:07:31]                   │
[00:07:31]                   │ debg browser[INFO] http://localhost:61181/s/space1/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:33]                   │ debg click "Machine Learning" app link
[00:07:33]                   │ debg TestSubjects.exists(collapsibleNav)
[00:07:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:36]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:36]                   │ debg TestSubjects.click(toggleNavButton)
[00:07:36]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:36]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:36]                   │ debg TestSubjects.find(collapsibleNav)
[00:07:36]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:37]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:39]                   │ debg TestSubjects.exists(mlApp)
[00:07:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:07:39]                   │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:07:39]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:07:39]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:07:39]                   │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:07:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:07:40]                   │ debg TestSubjects.exists(mlPageJobManagement)
[00:07:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:07:40]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:07:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:07:40]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:07:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:07:41]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:07:41]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:07:41]                   │ debg TestSubjects.find(~mlJobListTable)
[00:07:41]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:07:41]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:07:41]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:07:41]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:07:41]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:07:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:07:41]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:07:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:07:41]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:07:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=1000
[00:07:42]                   └- ✓ pass  (21.4s)
[00:07:42]                 └-> should display the initial job space correctly in the AD and DFA jobs lists
[00:07:42]                   └-> "before each" hook: global before each for "should display the initial job space correctly in the AD and DFA jobs lists"
[00:07:42]                   │ debg openSpacesNav()
[00:07:42]                   │ debg TestSubjects.click(spacesNavSelector)
[00:07:42]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:42]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:42]                   │ debg TestSubjects.click(default-gotoSpace)
[00:07:42]                   │ debg Find.clickByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:07:42]                   │ debg Find.findByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:07:42]                   │ debg expectRoute(default, /app/home#/)
[00:07:42]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:07:42]                   │ debg browser[INFO] http://localhost:61181/app/home 281 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:07:42]                   │
[00:07:42]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:07:44]                   │ debg click "Stack Management" app link
[00:07:44]                   │ debg TestSubjects.exists(collapsibleNav)
[00:07:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:07:46]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:07:47]                   │ debg TestSubjects.click(toggleNavButton)
[00:07:47]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:47]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:07:47]                   │ debg TestSubjects.find(collapsibleNav)
[00:07:47]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:07:47]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:07:50]                   │ debg TestSubjects.exists(jobsListLink)
[00:07:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="jobsListLink"]') with timeout=2000
[00:07:50]                   │ debg TestSubjects.click(jobsListLink)
[00:07:50]                   │ debg Find.clickByCssSelector('[data-test-subj="jobsListLink"]') with timeout=10000
[00:07:50]                   │ debg Find.findByCssSelector('[data-test-subj="jobsListLink"]') with timeout=10000
[00:07:50]                   │ debg TestSubjects.exists(mlPageStackManagementJobsList)
[00:07:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageStackManagementJobsList"]') with timeout=120000
[00:07:50]                   │ debg TestSubjects.exists(ml-jobs-list)
[00:07:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="ml-jobs-list"]') with timeout=120000
[00:07:50]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:07:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:07:50]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:07:50]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:07:51]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:07:51]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:07:51]                   │ debg TestSubjects.find(~mlJobListTable)
[00:07:51]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:07:51]                   │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:07:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:07:51]                   │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:07:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:07:51]                   │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:07:51]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:07:51]                   │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:07:52]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:07:52]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:07:52]                   │ debg TestSubjects.find(~mlJobListTable)
[00:07:52]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.click(mlStackManagementJobsListAnalyticsTab)
[00:07:52]                   │ debg Find.clickByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:07:52]                   │ debg Find.findByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(mlAnalyticsJobList)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobList"]') with timeout=120000
[00:07:52]                   │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:07:52]                   │ debg TestSubjects.click(~mlAnalyticsRefreshListButton)
[00:07:52]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:07:52]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:07:52]                   │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:07:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:07:53]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:07:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:07:53]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:07:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:07:53]                   │ debg TestSubjects.find(~mlAnalyticsTable)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:07:53]                   └- ✓ pass  (11.1s)
[00:07:53]                 └-> should edit job space assignment
[00:07:53]                   └-> "before each" hook: global before each for "should edit job space assignment"
[00:07:53]                   │ debg TestSubjects.click(mlStackManagementJobsListAnomalyDetectionTab)
[00:07:53]                   │ debg Find.clickByCssSelector('[data-test-subj="mlStackManagementJobsListAnomalyDetectionTab"]') with timeout=10000
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlStackManagementJobsListAnomalyDetectionTab"]') with timeout=10000
[00:07:53]                   │ debg TestSubjects.exists(ml-jobs-list)
[00:07:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="ml-jobs-list"]') with timeout=120000
[00:07:53]                   │ debg TestSubjects.click(~mlJobListTable > ~row-ad_job_2_1634587502764 > mlJobListRowManageSpacesButton)
[00:07:53]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-ad_job_2_1634587502764"] [data-test-subj="mlJobListRowManageSpacesButton"]') with timeout=1000
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-ad_job_2_1634587502764"] [data-test-subj="mlJobListRowManageSpacesButton"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.exists(share-to-space-flyout)
[00:07:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="share-to-space-flyout"]') with timeout=2000
[00:07:53]                   │ debg TestSubjects.getAttribute(shareToExplicitSpacesId, id, tryTimeout=120000, findTimeout=1000)
[00:07:53]                   │ debg TestSubjects.find(shareToExplicitSpacesId)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="shareToExplicitSpacesId"]') with timeout=1000
[00:07:53]                   │ debg Find.findByCssSelector('[for="ic8b35bb1-304f-11ec-a3f6-57c78f302209"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.getAttribute(shareToExplicitSpacesId, checked, tryTimeout=120000, findTimeout=1000)
[00:07:53]                   │ debg TestSubjects.find(shareToExplicitSpacesId)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="shareToExplicitSpacesId"]') with timeout=1000
[00:07:53]                   │ debg Find.findByCssSelector('[for="ic8b35bb1-304f-11ec-a3f6-57c78f302209"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-space1, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:53]                   │ debg TestSubjects.find(sts-space-selector-row-space1)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.click(sts-space-selector-row-space1)
[00:07:53]                   │ debg Find.clickByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-space1, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:53]                   │ debg TestSubjects.find(sts-space-selector-row-space1)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:53]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-default, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:53]                   │ debg TestSubjects.find(sts-space-selector-row-default)
[00:07:53]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:54]                   │ debg TestSubjects.click(sts-space-selector-row-default)
[00:07:54]                   │ debg Find.clickByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:54]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:54]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-default, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:54]                   │ debg TestSubjects.find(sts-space-selector-row-default)
[00:07:54]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:54]                   │ debg TestSubjects.clickWhenNotDisabled(sts-save-button)
[00:07:54]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="sts-save-button"]') with timeout=2000
[00:07:54]                   │ debg Find.findByCssSelector('[data-test-subj="sts-save-button"]') with timeout=2000
[00:07:54]                   │ debg TestSubjects.missingOrFail(share-to-space-flyout)
[00:07:54]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="share-to-space-flyout"]') with timeout=2000
[00:07:55]                   │ debg TestSubjects.click(mlStackManagementJobsListAnalyticsTab)
[00:07:55]                   │ debg Find.clickByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:07:55]                   │ debg Find.findByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:07:55]                   │ debg TestSubjects.exists(mlAnalyticsJobList)
[00:07:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobList"]') with timeout=120000
[00:07:55]                   │ debg TestSubjects.click(~mlAnalyticsTable > ~row-dfa_job_2_1634587502764 > mlJobListRowManageSpacesButton)
[00:07:55]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-dfa_job_2_1634587502764"] [data-test-subj="mlJobListRowManageSpacesButton"]') with timeout=1000
[00:07:55]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-dfa_job_2_1634587502764"] [data-test-subj="mlJobListRowManageSpacesButton"]') with timeout=1000
[00:07:55]                   │ debg TestSubjects.exists(share-to-space-flyout)
[00:07:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="share-to-space-flyout"]') with timeout=2000
[00:07:55]                   │ debg TestSubjects.getAttribute(shareToExplicitSpacesId, id, tryTimeout=120000, findTimeout=1000)
[00:07:55]                   │ debg TestSubjects.find(shareToExplicitSpacesId)
[00:07:55]                   │ debg Find.findByCssSelector('[data-test-subj="shareToExplicitSpacesId"]') with timeout=1000
[00:07:55]                   │ debg Find.findByCssSelector('[for="ica1312c2-304f-11ec-a3f6-57c78f302209"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.getAttribute(shareToExplicitSpacesId, checked, tryTimeout=120000, findTimeout=1000)
[00:07:56]                   │ debg TestSubjects.find(shareToExplicitSpacesId)
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="shareToExplicitSpacesId"]') with timeout=1000
[00:07:56]                   │ debg Find.findByCssSelector('[for="ica1312c2-304f-11ec-a3f6-57c78f302209"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-space1, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:56]                   │ debg TestSubjects.find(sts-space-selector-row-space1)
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.click(sts-space-selector-row-space1)
[00:07:56]                   │ debg Find.clickByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-space1, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:56]                   │ debg TestSubjects.find(sts-space-selector-row-space1)
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-space1"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-default, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:56]                   │ debg TestSubjects.find(sts-space-selector-row-default)
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.click(sts-space-selector-row-default)
[00:07:56]                   │ debg Find.clickByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.getAttribute(sts-space-selector-row-default, aria-selected, tryTimeout=120000, findTimeout=1000)
[00:07:56]                   │ debg TestSubjects.find(sts-space-selector-row-default)
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-space-selector-row-default"]') with timeout=1000
[00:07:56]                   │ debg TestSubjects.clickWhenNotDisabled(sts-save-button)
[00:07:56]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="sts-save-button"]') with timeout=2000
[00:07:56]                   │ debg Find.findByCssSelector('[data-test-subj="sts-save-button"]') with timeout=2000
[00:07:56]                   │ debg TestSubjects.missingOrFail(share-to-space-flyout)
[00:07:56]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="share-to-space-flyout"]') with timeout=2000
[00:07:58]                   └- ✓ pass  (5.3s)
[00:07:58]                 └-> should display the updated job spaces correctly in the jobs list
[00:07:58]                   └-> "before each" hook: global before each for "should display the updated job spaces correctly in the jobs list"
[00:07:58]                   │ debg openSpacesNav()
[00:07:58]                   │ debg TestSubjects.click(spacesNavSelector)
[00:07:58]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:58]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:07:58]                   │ debg TestSubjects.click(space1-gotoSpace)
[00:07:58]                   │ debg Find.clickByCssSelector('[data-test-subj="space1-gotoSpace"]') with timeout=10000
[00:07:58]                   │ debg Find.findByCssSelector('[data-test-subj="space1-gotoSpace"]') with timeout=10000
[00:07:58]                   │ debg expectRoute(space1, /app/home#/)
[00:07:58]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:07:58]                   │ debg browser[INFO] http://localhost:61181/s/space1/app/home 281 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:07:58]                   │
[00:07:58]                   │ debg browser[INFO] http://localhost:61181/s/space1/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:00]                   │ debg click "Stack Management" app link
[00:08:00]                   │ debg TestSubjects.exists(collapsibleNav)
[00:08:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:03]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:03]                   │ debg TestSubjects.click(toggleNavButton)
[00:08:03]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:03]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:03]                   │ debg TestSubjects.find(collapsibleNav)
[00:08:03]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:04]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:06]                   │ debg TestSubjects.exists(jobsListLink)
[00:08:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="jobsListLink"]') with timeout=2000
[00:08:06]                   │ debg TestSubjects.click(jobsListLink)
[00:08:06]                   │ debg Find.clickByCssSelector('[data-test-subj="jobsListLink"]') with timeout=10000
[00:08:06]                   │ debg Find.findByCssSelector('[data-test-subj="jobsListLink"]') with timeout=10000
[00:08:06]                   │ debg TestSubjects.exists(mlPageStackManagementJobsList)
[00:08:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageStackManagementJobsList"]') with timeout=120000
[00:08:07]                   │ debg TestSubjects.exists(ml-jobs-list)
[00:08:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="ml-jobs-list"]') with timeout=120000
[00:08:07]                   │ debg TestSubjects.click(mlStackManagementJobsListAnomalyDetectionTab)
[00:08:07]                   │ debg Find.clickByCssSelector('[data-test-subj="mlStackManagementJobsListAnomalyDetectionTab"]') with timeout=10000
[00:08:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlStackManagementJobsListAnomalyDetectionTab"]') with timeout=10000
[00:08:07]                   │ debg TestSubjects.exists(ml-jobs-list)
[00:08:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="ml-jobs-list"]') with timeout=120000
[00:08:07]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:08:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:08:07]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:08:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:08:07]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:08:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.find(~mlJobListTable)
[00:08:08]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:08:08]                   │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:08:08]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:08:08]                   │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:08:08]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:08:08]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:08:08]                   │ debg TestSubjects.find(~mlJobListTable)
[00:08:08]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.click(mlStackManagementJobsListAnalyticsTab)
[00:08:08]                   │ debg Find.clickByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:08:08]                   │ debg Find.findByCssSelector('[data-test-subj="mlStackManagementJobsListAnalyticsTab"]') with timeout=10000
[00:08:08]                   │ debg TestSubjects.exists(mlAnalyticsJobList)
[00:08:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobList"]') with timeout=120000
[00:08:09]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:08:09]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:08:09]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:08:09]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:08:09]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.find(~mlAnalyticsTable)
[00:08:09]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:08:09]                   │ debg TestSubjects.click(~mlAnalyticsRefreshListButton)
[00:08:09]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:08:09]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:08:09]                   │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:08:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:08:10]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:08:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:08:10]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:08:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:08:10]                   │ debg TestSubjects.find(~mlAnalyticsTable)
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:08:10]                   └- ✓ pass  (11.8s)
[00:08:10]                 └-> should display updated job only in assigned spaces
[00:08:10]                   └-> "before each" hook: global before each for "should display updated job only in assigned spaces"
[00:08:10]                   │ debg === TEST STEP === AD job ad_job_2_1634587502764 and DFA job dfa_job_2_1634587502764 should not be displayed in space default
[00:08:10]                   │ debg openSpacesNav()
[00:08:10]                   │ debg TestSubjects.click(spacesNavSelector)
[00:08:10]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:08:10]                   │ debg TestSubjects.click(default-gotoSpace)
[00:08:10]                   │ debg Find.clickByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:08:10]                   │ debg expectRoute(default, /app/home#/)
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:08:10]                   │ debg browser[INFO] http://localhost:61181/app/home 281 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:08:10]                   │
[00:08:10]                   │ debg browser[INFO] http://localhost:61181/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:12]                   │ debg click "Machine Learning" app link
[00:08:12]                   │ debg TestSubjects.exists(collapsibleNav)
[00:08:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:14]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:15]                   │ debg TestSubjects.click(toggleNavButton)
[00:08:15]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:15]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:15]                   │ debg TestSubjects.find(collapsibleNav)
[00:08:15]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:15]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:18]                   │ debg TestSubjects.exists(mlApp)
[00:08:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:08:18]                   │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:08:18]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:18]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:18]                   │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:08:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:08:19]                   │ debg TestSubjects.exists(mlPageJobManagement)
[00:08:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:08:19]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:08:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:08:19]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:08:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:08:19]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:08:19]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:08:19]                   │ debg TestSubjects.find(~mlJobListTable)
[00:08:19]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:08:19]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:08:19]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:08:19]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:08:19]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:08:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:08:20]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:08:20]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=1000
[00:08:21]                   │ debg --- retry.tryForTime error: [data-test-subj="mlNoDataFrameAnalyticsFound"] is not displayed
[00:08:21]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:08:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:08:24]                   │ debg --- retry.tryForTime error: [data-test-subj~="mlAnalyticsTable"] is not displayed
[00:08:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:08:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:22]                   │ info Taking screenshot "/dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/screenshots/failure/machine learning  stack management jobs manage spaces add one space and remove initial space should display updated job only in assigned spaces.png"
[00:09:22]                   │ info Current URL is: http://localhost:61181/app/ml/data_frame_analytics?_g=(refreshInterval%3A(pause%3A!f%2Cvalue%3A30000))
[00:09:22]                   │ info Saving page source to: /dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/failure_debug/html/machine learning  stack management jobs manage spaces add one space and remove initial space should display updated job only in assigned spaces.html
[00:09:22]                   └- ✖ fail: machine learning  stack management jobs manage spaces add one space and remove initial space should display updated job only in assigned spaces
[00:09:22]                   │      Error: expected testSubject(~mlAnalyticsTable) to exist
[00:09:22]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/18/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:09:22]                   │       at AnalyticsTable.waitForAnalyticsToLoad (test/functional/services/ml/data_frame_analytics_table.ts:130:7)
[00:09:22]                   │       at AnalyticsTable.filterWithSearchString (test/functional/services/ml/data_frame_analytics_table.ts:181:7)
[00:09:22]                   │       at AnalyticsTable.assertAnalyticsJobDisplayedInTable (test/functional/services/ml/data_frame_analytics_table.ts:206:9)
[00:09:22]                   │       at assertJobsDisplayedInSpace (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:83:5)
[00:09:22]                   │       at Context.<anonymous> (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:240:13)
[00:09:22]                   │       at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:09:22]                   │ 
[00:09:22]                   │ 

Stack Trace

Error: expected testSubject(~mlAnalyticsTable) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/18/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at AnalyticsTable.waitForAnalyticsToLoad (test/functional/services/ml/data_frame_analytics_table.ts:130:7)
    at AnalyticsTable.filterWithSearchString (test/functional/services/ml/data_frame_analytics_table.ts:181:7)
    at AnalyticsTable.assertAnalyticsJobDisplayedInTable (test/functional/services/ml/data_frame_analytics_table.ts:206:9)
    at assertJobsDisplayedInSpace (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:83:5)
    at Context.<anonymous> (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:240:13)
    at Object.apply (/dev/shm/workspace/parallel/18/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

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

@YulNaumenko YulNaumenko merged commit 21f3eb7 into elastic:7.x Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants