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

[Cases] Fix connector's cypress test #115531

Merged
merged 3 commits into from
Oct 20, 2021
Merged

Conversation

cnasikas
Copy link
Member

PR #115440 skipped the cypress connector's test. This PR enables it and fixes it.

Fixes: #115438

@cnasikas cnasikas added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.16.0 Team:Threat Hunting:Cases labels Oct 19, 2021
@cnasikas cnasikas requested a review from MadameSheema October 19, 2021 10:12
@cnasikas cnasikas self-assigned this Oct 19, 2021
@cnasikas cnasikas requested a review from a team as a code owner October 19, 2021 10:12
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-cases (Team:Threat Hunting:Cases)

Copy link
Member

@MadameSheema MadameSheema left a comment

Choose a reason for hiding this comment

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

Thanks for address it :)

@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 assign to all spaces should display original 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:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_space1]
[00:00:01]             │ debg created user ft_ml_poweruser_space1
[00:00:01]             │ debg creating user ft_ml_poweruser_all_spaces
[00:00:01]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] 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] [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:26]           └-: stack management jobs
[00:05:26]             └-> "before all" hook in "stack management jobs"
[00:06:16]             └-: manage spaces
[00:06:16]               └-> "before all" hook in "manage spaces"
[00:06:16]               └-> "before all" hook in "manage spaces"
[00:06:16]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:06:16]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:06:16]                 │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:06:17]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Loading "mappings.json"
[00:06:17]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Loading "data.json.gz"
[00:06:17]                 │ info [x-pack/test/functional/es_archives/ml/ihp_outlier] Skipped restore for existing index "ft_ihp_outlier"
[00:06:17]                 │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:06:17]                 │ debg  > Found '540937a0-30ca-11ec-9891-8ba466b5cb82'
[00:06:17]                 │ debg Index pattern with title 'ft_farequote' already exists. Nothing to create.
[00:06:17]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:06:17]                 │ debg  > Not found
[00:06:17]                 │ debg Creating index pattern with title 'ft_ihp_outlier' and time field '@timestamp'
[00:06:18]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_ihp_outlier' to exist...
[00:06:18]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:06:18]                 │ debg  > Found 'f0a5d690-30ca-11ec-9891-8ba466b5cb82'
[00:06:18]                 │ debg  > Created with id 'f0a5d690-30ca-11ec-9891-8ba466b5cb82'
[00:06:18]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:06:19]                 │ debg SecurityPage.forceLogout
[00:06:19]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:19]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:19]                 │ debg Redirecting to /logout to force the logout
[00:06:19]                 │ debg Waiting on the login form to appear
[00:06:19]                 │ debg Waiting for Login Page to appear.
[00:06:19]                 │ debg Waiting up to 100000ms for login page...
[00:06:19]                 │ debg browser[INFO] http://localhost:6161/logout?_t=1634640874458 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:19]                 │
[00:06:19]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:19]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:22]                 │ warn browser[SEVERE] http://localhost:6161/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:06:22]                 │ debg browser[INFO] http://localhost:6161/47288/bundles/core/core.entry.js 7:106882 "Detected an unhandled Promise rejection.
[00:06:22]                 │      Error: Unauthorized"
[00:06:22]                 │ warn browser[SEVERE] http://localhost:6161/47288/bundles/core/core.entry.js 7:52880 
[00:06:22]                 │ debg browser[INFO] http://localhost:6161/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:22]                 │
[00:06:22]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:22]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:23]                 │ warn browser[SEVERE] http://localhost:6161/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:06:23]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:23]                 │ debg TestSubjects.exists(loginForm)
[00:06:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:23]                 │ debg Waiting for Login Form to appear.
[00:06:23]                 │ debg Waiting up to 100000ms for login form...
[00:06:23]                 │ debg TestSubjects.exists(loginForm)
[00:06:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:23]                 │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:06:23]                 │ debg TestSubjects.click(loginUsername)
[00:06:23]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:23]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:23]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:06:23]                 │ debg TestSubjects.click(loginPassword)
[00:06:23]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:23]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:23]                 │ debg TestSubjects.click(loginSubmit)
[00:06:23]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:23]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:24]                 │ debg Waiting for login result, expected: chrome.
[00:06:24]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuAvatar"]') with timeout=20000
[00:06:24]                 │ proc [kibana] [2021-10-19T10:54:38.762+00:00][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)
[00:06:26]                 │ debg browser[INFO] http://localhost:6161/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:26]                 │
[00:06:26]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:26]                 │ debg Finished login process currentUrl = http://localhost:6161/app/home#/
[00:06:26]                 │ debg Waiting up to 20000ms for logout button visible...
[00:06:26]                 │ debg TestSubjects.exists(userMenuButton)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:06:26]                 │ debg TestSubjects.exists(userMenu)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:06:29]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:06:29]                 │ debg TestSubjects.click(userMenuButton)
[00:06:29]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:29]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:29]                 │ debg TestSubjects.exists(userMenu)
[00:06:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:06:29]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:06:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:06:29]                 │ debg creating space
[00:06:30]                 │ debg created space
[00:08:43]               └-: assign to all spaces
[00:08:43]                 └-> "before all" hook for "should display original job only in assigned spaces"
[00:08:43]                 └-> "before all" hook for "should display original job only in assigned spaces"
[00:08:43]                   │ debg Creating anomaly detection job with id 'ad_job_3_1634640494254' in space 'space1' ...
[00:08:43]                   │ debg Waiting up to 5000ms for 'ad_job_3_1634640494254' to exist...
[00:08:43]                   │ debg > AD job created.
[00:08:43]                   │ debg Creating data frame analytic job with id 'dfa_job_3_1634640494254' in space 'space1' ...
[00:08:44]                   │ debg Waiting up to 5000ms for 'dfa_job_3_1634640494254' to exist...
[00:08:44]                   │ debg Fetching data frame analytics job 'dfa_job_3_1634640494254'...
[00:08:44]                   │ debg > DFA job fetched.
[00:08:44]                   │ debg > DFA job created.
[00:08:44]                 └-> should display original job only in assigned spaces
[00:08:44]                   └-> "before each" hook: global before each for "should display original job only in assigned spaces"
[00:08:44]                   │ debg === TEST STEP === AD job ad_job_3_1634640494254 and DFA job dfa_job_3_1634640494254 should not be displayed in space default
[00:08:44]                   │ debg openSpacesNav()
[00:08:44]                   │ debg TestSubjects.click(spacesNavSelector)
[00:08:44]                   │ debg Find.clickByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:08:44]                   │ debg Find.findByCssSelector('[data-test-subj="spacesNavSelector"]') with timeout=10000
[00:08:44]                   │ debg TestSubjects.click(default-gotoSpace)
[00:08:44]                   │ debg Find.clickByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:08:44]                   │ debg Find.findByCssSelector('[data-test-subj="default-gotoSpace"]') with timeout=10000
[00:08:45]                   │ debg expectRoute(default, /app/home#/)
[00:08:45]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:08:45]                   │ debg browser[INFO] http://localhost:6161/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:45]                   │
[00:08:45]                   │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:08:46]                   │ debg click "Machine Learning" app link
[00:08:46]                   │ debg TestSubjects.exists(collapsibleNav)
[00:08:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=2500
[00:08:49]                   │ debg --- retry.tryForTime error: [data-test-subj="collapsibleNav"] is not displayed
[00:08:49]                   │ debg TestSubjects.click(toggleNavButton)
[00:08:49]                   │ debg Find.clickByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:49]                   │ debg Find.findByCssSelector('[data-test-subj="toggleNavButton"]') with timeout=10000
[00:08:50]                   │ debg TestSubjects.find(collapsibleNav)
[00:08:50]                   │ debg Find.findByCssSelector('[data-test-subj="collapsibleNav"]') with timeout=10000
[00:08:50]                   │ debg Find.existsByCssSelector('[data-test-subj=collapsibleNav] > button') with timeout=2500
[00:08:52]                   │ debg TestSubjects.exists(mlApp)
[00:08:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:08:52]                   │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:08:52]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:52]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:52]                   │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:08:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:08:53]                   │ debg TestSubjects.exists(mlPageJobManagement)
[00:08:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:08:53]                   │ debg TestSubjects.exists(~mlJobListTable)
[00:08:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:08:53]                   │ debg TestSubjects.exists(mlJobListTable loaded)
[00:08:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:08:53]                   │ debg TestSubjects.find(mlJobListSearchBar)
[00:08:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:08:54]                   │ debg TestSubjects.find(~mlJobListTable)
[00:08:54]                   │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:08:54]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:08:54]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:08:54]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:08:54]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:08:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:08:54]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:08:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:08:54]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:08:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=1000
[00:08:55]                   │ debg --- retry.tryForTime error: [data-test-subj="mlNoDataFrameAnalyticsFound"] is not displayed
[00:08:56]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:08:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:08:58]                   │ debg --- retry.tryForTime error: [data-test-subj~="mlAnalyticsTable"] is not displayed
[00:09:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:07]                   │ 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:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:09:56]                   │ info Taking screenshot "/dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/screenshots/failure/machine learning  stack management jobs manage spaces assign to all spaces should display original job only in assigned spaces.png"
[00:09:57]                   │ info Current URL is: http://localhost:6161/app/ml/data_frame_analytics?_g=(refreshInterval%3A(pause%3A!f%2Cvalue%3A30000))
[00:09:57]                   │ info Saving page source to: /dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/failure_debug/html/machine learning  stack management jobs manage spaces assign to all spaces should display original job only in assigned spaces.html
[00:09:57]                   └- ✖ fail: machine learning  stack management jobs manage spaces assign to all spaces should display original job only in assigned spaces
[00:09:57]                   │      Error: expected testSubject(~mlAnalyticsTable) to exist
[00:09:57]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/6/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:09:57]                   │       at AnalyticsTable.waitForAnalyticsToLoad (test/functional/services/ml/data_frame_analytics_table.ts:130:7)
[00:09:57]                   │       at AnalyticsTable.filterWithSearchString (test/functional/services/ml/data_frame_analytics_table.ts:181:7)
[00:09:57]                   │       at AnalyticsTable.assertAnalyticsJobDisplayedInTable (test/functional/services/ml/data_frame_analytics_table.ts:206:9)
[00:09:57]                   │       at assertJobsDisplayedInSpace (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:83:5)
[00:09:57]                   │       at Context.<anonymous> (test/functional/apps/ml/stack_management_jobs/manage_spaces.ts:160:13)
[00:09:57]                   │       at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:09:57]                   │ 
[00:09:57]                   │ 

Stack Trace

Error: expected testSubject(~mlAnalyticsTable) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/6/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:160:13)
    at Object.apply (/dev/shm/workspace/parallel/6/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

cc @cnasikas

@cnasikas cnasikas merged commit c761909 into elastic:master Oct 20, 2021
@cnasikas cnasikas deleted the fix_sn_cypress branch October 20, 2021 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing Cypress test Configures a new connector.Cases connectors Configures a new connector
4 participants